.header .logo img{
    width: 198px;
    height: auto;
    display: block;
}

.bj-3d7bf8{
    background: #3d7bf8;
}

.wow{
    visibility: visible !important;
}

.lanhai-footer-logo{
    display: inline-block;
    width: 172px;
}

.lanhai-footer-logo img{
    display: block;
    width: 100%;
    height: auto;
}

.lanhai-support-float{
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 104px;
    min-height: 48px;
    padding: 6px 14px 6px 8px;
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #17315f;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 14px 30px rgba(23, 49, 95, .16);
    backdrop-filter: blur(10px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lanhai-support-float:hover{
    transform: translateY(-2px);
    border-color: rgba(37,99,235,.34);
    box-shadow: 0 18px 38px rgba(23, 49, 95, .21);
}

.lanhai-support-float.is-dragging{
    cursor: grabbing;
    transform: none;
    transition: none;
}

.lanhai-support-icon{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 18px rgba(37,99,235,.28);
}

.lanhai-support-icon i{
    position: relative;
    width: 18px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 9px;
}

.lanhai-support-icon i:after{
    content: "";
    position: absolute;
    left: 2px;
    bottom: -5px;
    width: 7px;
    height: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-radius: 0 0 0 5px;
    background: #fff;
    transform: rotate(-25deg);
}

.lanhai-support-text{
    display: block;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.auth-switch{
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.login2{
    background: url("../Public/theme/view4/images/banner.jpg") no-repeat center;
    background-size: cover;
}

.login-wp{
    width: min(620px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.login2 .txt,
.login1 .txt,
.login-btn .btn{
    max-width: 100%;
    box-sizing: border-box;
}

.auth-switch button{
    flex: 1;
    height: 46px;
    border: 1px solid #d8e4ff;
    border-radius: 5px;
    background: #f7f9ff;
    color: #4a5875;
    cursor: pointer;
    font-weight: 700;
}

.auth-switch button.active{
    background: #6e94ff;
    color: #fff;
    border-color: #6e94ff;
}

#registerPanel{
    display: none;
}

#dashboard{
    display: none;
    width: min(1180px, calc(100% - 28px));
    margin: 36px auto 60px;
    color: #172033;
}

.order-login-required{
    width: min(720px, calc(100% - 28px));
    margin: 72px auto;
    padding: 42px 28px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 16px 45px rgba(54, 86, 138, .12);
}

.order-login-required h2{
    margin: 0 0 12px;
    color: #24304a;
    font-size: 26px;
}

.order-login-required p{
    margin: 0 0 24px;
    color: #7a849b;
    font-size: 15px;
}

.order-login-required a{
    display: inline-block;
    min-width: 150px;
    height: 48px;
    line-height: 48px;
    color: #fff;
    background: #3d7bf8;
    border-radius: 5px;
    font-weight: 800;
}

.order-auth-stubs{
    display: none;
}

#dashboard .dashboard-title{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 16px;
}

#dashboard .dashboard-title h2{
    margin: 0;
    color: #24304a;
    font-size: 24px;
    font-weight: 800;
}

#dashboard .eyebrow{
    color: #3d7bf8;
    font-size: 13px;
    font-weight: 800;
}

#dashboard .card{
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    grid-template-areas: "head nav" "substats list" "quick list";
    gap: 12px;
}

#dashboard .head{
    position: relative;
    grid-area: head;
    min-height: 228px;
    padding: 18px 16px;
    overflow: hidden;
    border-radius: 6px;
    color: #ecfeff;
    background: linear-gradient(145deg, #3d7bf8 0%, #49a7f8 52%, #47e7c4 100%);
    box-shadow: 0 16px 38px rgba(62, 123, 248, .16);
}

#dashboard .head:after{
    content: "";
    position: absolute;
    right: -42px;
    bottom: -54px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

#dashboard .muted{
    color: rgba(255,255,255,.84);
    font-weight: 700;
}

#dashboard .balance{
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 900;
}

#dashboard .stats{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

#dashboard .stats div{
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 5px;
    background: rgba(255,255,255,.16);
    font-size: 12px;
}

#dashboard .stats span{
    display: block;
    margin-top: 3px;
    font-size: 15px;
    font-weight: 800;
}

#dashboard .accept{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

#dashboard .switch{
    width: 52px;
    height: 30px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(15,23,42,.38);
    cursor: pointer;
    transition: all .2s;
}

#dashboard .switch i{
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15,23,42,.22);
    transition: transform .2s;
}

#dashboard .switch.on{
    background: #10b981;
}

#dashboard .switch.on i{
    transform: translateX(22px);
}

#dashboard .substats{
    grid-area: substats;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

#dashboard .substats .col,
#dashboard .tile,
#dashboard .order,
#dashboard .list .item{
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(62,123,248,.08);
}

#dashboard .substats .col{
    padding: 12px;
}

#dashboard .substats .title{
    color: #6b7890;
    font-size: 12px;
    font-weight: 700;
}

#dashboard .substats .val{
    margin-top: 7px;
    color: #24304a;
    font-size: 20px;
    font-weight: 900;
}

#dashboard .grid{
    grid-area: quick;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#dashboard .tile{
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    color: #4a5875;
    font-weight: 700;
}

#dashboard .tile .icon{
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #edf4ff;
    color: #3d7bf8;
    font-weight: 900;
}

#dashboard .nav{
    grid-area: nav;
    display: flex;
    gap: 8px;
    padding: 8px;
    overflow: auto;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #f2f7ff;
}

#dashboard .nav a{
    flex: 1;
    min-width: max-content;
    padding: 9px 11px;
    border-radius: 5px;
    color: #315073;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

#dashboard .nav a.active{
    color: #fff;
    background: #3d7bf8;
}

#dashboard .list{
    grid-area: list;
    min-height: 220px;
}

#dashboard .empty{
    padding: 44px 0;
    color: #7c8fa3;
    text-align: center;
    font-weight: 800;
}

#dashboard .order{
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 13px;
}

#dashboard .order .row{
    display: block;
    margin: 0;
    line-height: 1.35;
}

#dashboard .order .id{
    color: #35556f;
    font-weight: 800;
}

#dashboard .order .status{
    color: #64748b;
    font-weight: 700;
}

#dashboard .order .amounts{
    font-weight: 800;
}

#dashboard .order .recv{
    color: #ef4444;
}

#dashboard .order .rebate{
    color: #f59e0b;
}

#dashboard .order .type{
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    background: #f8fdff;
    color: #3d7bf8;
    font-weight: 800;
}

#dashboard .btn,
#dashboard .btn-primary,
#dashboard .btn-q{
    width: auto;
    height: auto;
    min-height: 42px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 5px;
    background: #3d7bf8;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    box-shadow: none;
}

#dashboard .btn.link{
    border: 1px solid #dbeafe;
    background: #fff;
    color: #315073;
}

#dashboard .btn.secondary{
    background: #1f2937;
}

#dashboard .toolbar{
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.modal-mask{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(15,23,42,.46);
}

.modal{
    width: min(94vw, 540px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15,23,42,.24);
}

.modal .bar{
    padding: 13px 16px;
    background: #3d7bf8;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
}

.modal .content{
    padding: 14px;
    overflow: auto;
}

.modal .footer{
    padding: 14px;
    border-top: 1px solid #edf2ff;
}

body.orders-page #dialogMask{
    padding: 24px;
    background: rgba(12, 20, 36, .38);
    backdrop-filter: blur(3px);
}

body.orders-page #dialogMask.prompt-mode{
    background: rgba(12, 20, 36, .18);
    backdrop-filter: blur(2px);
}

body.orders-page #dialogMask .order-prompt-modal{
    position: relative;
    width: min(92vw, 540px);
    max-height: 88vh;
    border: 1px solid rgba(215, 227, 248, .95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(8, 15, 30, .26);
}

body.orders-page #dialogMask.prompt-mode .order-prompt-modal{
    width: min(88vw, 680px);
    min-height: 218px;
    padding: 0;
    border-color: rgba(215, 227, 248, .95);
    background: #fff;
    color: #34445f;
    text-align: left;
    backdrop-filter: none;
    box-shadow: 0 28px 76px rgba(8, 15, 30, .24);
}

body.orders-page #dialogMask.guide-mode .order-prompt-modal{
    width: min(92vw, 760px);
}

body.orders-page #dialogMask.withdraw-mode .order-prompt-modal{
    width: min(92vw, 860px);
}

body.orders-page #dialogMask.transfer-mode .order-prompt-modal{
    width: min(92vw, 620px);
}

body.orders-page #dialogMask.collect-mode .order-prompt-modal{
    width: min(94vw, 1040px);
}

body.orders-page #dialogMask.vip-grab-mode .order-prompt-modal{
    width: min(94vw, 720px);
}

body.orders-page #dialogMask .modal-x{
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #d5e2f4;
    border-radius: 50%;
    background: #fff;
    color: #253b5c;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(31, 45, 78, .08);
}

body.orders-page #dialogMask .modal-x:hover{
    border-color: #2f6df6;
    color: #2f6df6;
}

body.orders-page #dialogMask.prompt-mode .modal-x{
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-color: #d5e2f4;
    background: #fff;
    color: #253b5c;
    box-shadow: 0 8px 18px rgba(31, 45, 78, .08);
}

body.orders-page #dialogMask.prompt-mode .modal-x:hover{
    border-color: #2f6df6;
    color: #2f6df6;
}

body.orders-page #dialogMask .bar{
    padding: 18px 58px 16px 22px;
    background: linear-gradient(135deg, #2f6df6, #16a9c3);
    color: #fff;
    text-align: left;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

body.orders-page #dialogMask .bar:after{
    display: none;
}

body.orders-page #dialogMask.prompt-mode .bar{
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 24px 76px 24px 28px;
    background: linear-gradient(135deg, #2f6df6, #16a9c3);
    color: #fff;
}

body.orders-page #dialogMask.guide-mode .bar{
    background: #fff;
    color: #172033;
    border-bottom: 1px solid #edf2fa;
}

body.orders-page #dialogMask .content{
    padding: 22px;
    overflow: auto;
    color: #34445f;
    font-size: 14px;
    line-height: 1.65;
}

body.orders-page #dialogMask.prompt-mode .content{
    display: flex;
    align-items: center;
    min-height: 136px;
    padding: 34px 28px 42px;
    overflow: visible;
    color: #34445f;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 800;
    text-align: left;
}

body.orders-page #dialogMask.prompt-mode .prompt-message{
    width: 100%;
    text-align: left;
}

body.orders-page #dialogMask .footer{
    padding: 16px 22px 22px;
    border-top: 1px solid #edf2fa;
    background: #fff;
}

body.orders-page #dialogMask.prompt-mode .footer,
body.orders-page #dialogMask.guide-mode .footer{
    display: none;
}

body.orders-page #dialogMask .footer > div{
    display: flex;
    gap: 10px;
}

body.orders-page #dialogMask .dialog-main,
body.orders-page #dialogMask .dialog-secondary{
    min-height: 44px;
    margin: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    transition: transform .16s, box-shadow .16s, opacity .16s;
}

body.orders-page #dialogMask .dialog-main{
    flex: 2 1 0;
    border: 0;
    background: #2f6df6;
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 109, 246, .2);
}

body.orders-page #dialogMask .dialog-secondary{
    flex: 1 1 0;
    border: 1px solid #d5e2f4;
    background: #f6f8fc !important;
    color: #354b68 !important;
    box-shadow: none;
}

body.orders-page #dialogMask .dialog-main:hover,
body.orders-page #dialogMask .dialog-secondary:hover{
    transform: translateY(-1px);
}

body.orders-page #dialogMask .dialog-main.is-loading,
body.orders-page #dialogMask .dialog-secondary.is-loading{
    opacity: .72;
    cursor: wait;
    transform: none;
}

body.orders-page #dialogMask .btn-primary.has-inline-spinner{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

@keyframes lanhaiButtonSpin{
    to{ transform: rotate(360deg); }
}

.login-btn .btn.is-loading,
a.is-loading,
.commission-address-card button.is-loading,
.collect-overview button.is-loading,
.collect-section-head button.is-loading,
.collect-card-top button.is-loading,
body.orders-page #dialogMask .dialog-main.is-loading,
body.orders-page #dialogMask .dialog-secondary.is-loading{
    pointer-events: none;
}

.login-btn .btn.is-loading:before,
a.is-loading:before,
.commission-address-card button.is-loading:before,
.collect-overview button.is-loading:before,
.collect-section-head button.is-loading:before,
.collect-card-top button.is-loading:before,
body.orders-page #dialogMask .dialog-main.is-loading:before,
body.orders-page #dialogMask .dialog-secondary.is-loading:before{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: lanhaiButtonSpin .72s linear infinite;
}

body.orders-page #dialogMask .btn-primary.has-inline-spinner:before{
    content: none;
}

body.orders-page #dialogMask .button-spinner{
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lanhaiButtonSpin .72s linear infinite;
}

.header .nav a.is-loading:before{
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.dialog-form{
    display: grid;
    gap: 16px;
}

.dialog-form-head{
    padding: 14px;
    border: 1px solid #e0e9f7;
    border-radius: 8px;
    background: #f8fbff;
}

.dialog-form-head span,
.dialog-field > span,
.confirm-amount span,
.confirm-lines span,
.guide-hero span,
.guide-checklist span{
    display: block;
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.commission-address-card button.is-loading{
    pointer-events: none;
    opacity: .72;
}

.dialog-form-head strong,
.guide-hero strong{
    display: block;
    margin-top: 5px;
    color: #172033;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

.dialog-field{
    display: grid;
    gap: 8px;
}

.amount-input-shell,
.dialog-input{
    min-height: 54px;
    border: 1px solid #d6e2f4;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(15,23,42,.03);
}

.amount-input-shell{
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.amount-input-shell em{
    margin-right: 8px;
    color: #2f6df6;
    font-style: normal;
    font-size: 22px;
    font-weight: 900;
}

.amount-input-shell input,
.dialog-input{
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #172033;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.dialog-input{
    padding: 0 14px;
    font-size: 17px;
}

.amount-input-shell:focus-within,
.dialog-input:focus{
    border-color: #2f6df6;
    box-shadow: 0 0 0 4px rgba(47, 109, 246, .1);
}

.amount-presets{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.amount-presets button{
    min-height: 40px;
    border: 1px solid #d6e2f4;
    border-radius: 7px;
    background: #f8fbff;
    color: #284369;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
}

.amount-presets button:hover{
    border-color: #2f6df6;
    color: #2f6df6;
}

.dialog-hint{
    display: none;
    min-height: 0;
    color: #6f7e95;
    font-size: 13px;
    font-weight: 800;
}

.dialog-hint.error{
    display: block;
    min-height: 22px;
    color: #dc2626;
}

.quota-steps{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.quota-steps span{
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 999px;
    background: #eef4ff;
    color: #58708f;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.quota-steps span.active{
    background: #2f6df6;
    color: #fff;
}

.confirm-amount{
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f6ff, #eefcff);
    text-align: center;
}

.confirm-amount strong{
    display: block;
    margin-top: 6px;
    color: #172033;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

.confirm-lines{
    display: grid;
    gap: 8px;
}

.confirm-lines div{
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e0e9f7;
    border-radius: 8px;
    background: #fbfdff;
}

.confirm-lines strong{
    min-width: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    word-break: break-word;
}

.stake-panel{
    display: grid;
    gap: 14px;
}

.stake-amount{
    background: linear-gradient(135deg, #edf5ff, #ecfff8);
}

.stake-lines .mono{
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
}

.stake-status{
    padding: 13px 14px;
    border-radius: 8px;
    background: #eef6ff;
    color: #275caa;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
}

.stake-status.paid{
    background: #ecfdf3;
    color: #13834b;
}

.stake-status.canceled,
.stake-status.error{
    background: #fff1f0;
    color: #c43d35;
}

.stake-actions{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.stake-actions button{
    min-height: 42px;
    border: 1px solid #d6e2f4;
    border-radius: 7px;
    background: #fff;
    color: #284369;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.stake-actions button:hover{
    border-color: #2f6df6;
    color: #2f6df6;
}

.order-guide{
    display: grid;
    gap: 16px;
}

.guide-hero{
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f2f7ff, #eefcff);
}

.guide-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.guide-grid div{
    min-height: 150px;
    padding: 15px;
    border: 1px solid #e0e9f7;
    border-radius: 8px;
    background: #fff;
}

.guide-grid b{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6df6;
    font-size: 13px;
}

.guide-grid strong{
    display: block;
    margin-top: 10px;
    color: #172033;
    font-size: 16px;
    font-weight: 900;
}

.guide-grid p{
    margin: 8px 0 0;
    color: #63738b;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 700;
}

.guide-checklist{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 13px 14px;
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    background: #fbfdff;
}

.guide-checklist strong{
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f8f78;
    font-size: 12px;
    font-weight: 900;
}

.commission-panel{
    display: grid;
    gap: 16px;
}

.commission-hero{
    padding: 18px;
    border: 1px solid #dbe8f8;
    border-radius: 8px;
    background: linear-gradient(135deg, #f2f7ff, #eefcff);
}

.commission-hero span,
.commission-metrics span,
.commission-address-card span{
    display: block;
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.commission-hero strong{
    display: block;
    margin-top: 7px;
    color: #172033;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 900;
    word-break: break-word;
}

.commission-metrics{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.commission-metrics div{
    min-height: 92px;
    padding: 16px;
    border: 1px solid #e0e9f7;
    border-radius: 8px;
    background: #fbfdff;
}

.commission-metrics strong{
    display: block;
    margin-top: 8px;
    color: #172033;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    word-break: break-word;
}

.commission-address-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dbe8f8;
    border-radius: 8px;
    background: #f8fbff;
}

.commission-address-card strong{
    display: block;
    margin-top: 7px;
    color: #172033;
    font-size: 17px;
    font-weight: 900;
    word-break: break-word;
}

.commission-address-card button{
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #bfd2f0;
    border-radius: 6px;
    background: #fff;
    color: #275caa;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.transfer-metrics{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collect-manager,
.collect-add-panel{
    display: grid;
    gap: 14px;
}

.collect-overview{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dbe8f8;
    border-radius: 8px;
    background: linear-gradient(135deg, #f4f8ff, #f0fcff);
}

.collect-overview span,
.collect-section-head span,
.collect-card-top span,
.collect-card-lines span{
    display: block;
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.collect-overview strong,
.collect-section-head strong,
.collect-card-top strong{
    display: block;
    margin-top: 5px;
    color: #172033;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    word-break: break-word;
}

.collect-overview button,
.collect-section-head button,
.collect-card-top button{
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 6px;
    background: #2f6df6;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(47,109,246,.16);
}

.collect-section-head button{
    background: #fff;
    color: #2f6df6;
    border: 1px solid #bfd2f0;
    box-shadow: none;
}

.collect-sections{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.collect-section{
    min-width: 0;
    padding: 13px;
    border: 1px solid #e0e9f7;
    border-radius: 8px;
    background: #fff;
}

.collect-section-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2fa;
}

.collect-empty{
    margin-top: 10px;
    padding: 18px 12px;
    border: 1px dashed #d5e2f4;
    border-radius: 8px;
    background: #fbfdff;
    color: #7a879d;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.collect-card-list{
    max-height: 260px;
    margin-top: 10px;
    display: grid;
    gap: 9px;
    overflow: auto;
    padding-right: 2px;
}

.collect-card{
    padding: 12px;
    border: 1px solid #dfe8f7;
    border-radius: 8px;
    background: #f8fbff;
}

.collect-card-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.collect-card-top button{
    background: #fff1f2;
    color: #dc2626;
    border: 1px solid #fecdd3;
    box-shadow: none;
}

.collect-card-lines{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.collect-card-lines div{
    min-width: 0;
    padding: 9px;
    border-radius: 7px;
    background: #fff;
}

.collect-card-lines strong{
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 13px;
    font-weight: 900;
    word-break: break-word;
}

.collect-type-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.collect-type-tabs button{
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d6e2f4;
    border-radius: 999px;
    background: #fff;
    color: #435a78;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.collect-type-tabs button.active{
    border-color: #2f6df6;
    background: #2f6df6;
    color: #fff;
}

.collect-add-fields{
    display: grid;
    gap: 12px;
}

.bank-picker{
    max-height: 156px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #d6e2f4;
    border-radius: 8px;
    background: #fbfdff;
}

.bank-picker button{
    min-height: 36px;
    border: 1px solid #d8e4f5;
    border-radius: 7px;
    background: #fff;
    color: #344963;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.bank-picker button.active,
.bank-picker button:hover{
    border-color: #2f6df6;
    background: #eef5ff;
    color: #2f6df6;
}

.collect-upload{
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px dashed #bfd2f0;
    border-radius: 8px;
    background: #fbfdff;
    cursor: pointer;
}

.collect-upload input{
    display: none;
}

.collect-upload strong{
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 6px;
    background: #2f6df6;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.collect-upload em{
    min-width: 0;
    overflow: hidden;
    color: #66758f;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collect-upload-preview,
.collect-qr-preview{
    min-width: 0;
}

.collect-upload-preview img{
    display: block;
    width: 116px;
    height: 116px;
    margin-top: 10px;
    object-fit: cover;
    border: 1px solid #dbe8f8;
    border-radius: 8px;
    background: #fff;
}

.collect-qr-preview img{
    display: block;
    width: 72px;
    height: 72px;
    margin-top: 6px;
    object-fit: cover;
    border: 1px solid #dbe8f8;
    border-radius: 7px;
    background: #fff;
}

.repayment-panel{
    display: grid;
    gap: 14px;
}

.vip-grab-panel,
.vip-paypass-panel{
    display: grid;
    gap: 14px;
}

.vip-grab-hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px;
    border: 1px solid #dce8f8;
    border-radius: 8px;
    background: #f8fbff;
}

.vip-grab-hero span,
.vip-grab-grid span,
.vip-grab-section-title span,
.vip-grab-method-head span,
.vip-grab-method-lines span,
.vip-paypass-summary span{
    display: block;
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.vip-grab-hero strong{
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.vip-grab-hero em{
    flex: 0 0 auto;
    max-width: 45%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2f6df6;
    font-style: normal;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
}

.vip-grab-grid,
.vip-paypass-summary{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vip-grab-grid div,
.vip-paypass-summary div{
    min-width: 0;
    padding: 12px;
    border: 1px solid #e1e9f6;
    border-radius: 8px;
    background: #fff;
}

.vip-grab-grid strong,
.vip-paypass-summary strong{
    display: block;
    min-width: 0;
    margin-top: 5px;
    color: #172033;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    word-break: break-word;
}

.vip-grab-method,
.vip-payment-detail{
    display: grid;
    gap: 10px;
    padding: 13px;
    border: 1px solid #e1e9f6;
    border-radius: 8px;
    background: #f8fbff;
}

.vip-grab-section-title,
.vip-grab-method-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vip-grab-section-title strong,
.vip-grab-method-head strong{
    min-width: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
    word-break: break-word;
}

.vip-grab-method-lines{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vip-grab-method-lines div{
    min-width: 0;
    padding: 10px;
    border: 1px solid #e4edf8;
    border-radius: 7px;
    background: #fff;
}

.vip-grab-method-lines strong{
    display: block;
    margin-top: 4px;
    color: #172033;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
    word-break: break-word;
}

.vip-grab-empty{
    padding: 12px;
    border: 1px dashed #f0b7b7;
    border-radius: 8px;
    background: #fff7f7;
    color: #c43d35;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.6;
}

.vip-payment-empty{
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd9ee;
    border-radius: 8px;
    background: #fff;
    color: #7b8798;
    font-size: 14px;
    font-weight: 900;
}

.repayment-hero{
    display: grid;
    gap: 6px;
    padding: 15px;
    border: 1px solid #dbe8f8;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5f9ff, #eefcff);
}

.repayment-hero span{
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.repayment-hero strong{
    color: #172033;
    font-size: 22px;
    font-weight: 900;
}

.repayment-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.repayment-grid button{
    min-width: 0;
    min-height: 74px;
    padding: 13px;
    border: 1px solid #d8e4f5;
    border-radius: 8px;
    background: #fff;
    color: #24304a;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}

.repayment-grid button:hover,
.repayment-grid button.active{
    border-color: #2f6df6;
    background: #f1f7ff;
    box-shadow: 0 12px 24px rgba(47,109,246,.1);
    transform: translateY(-1px);
}

.repayment-grid strong,
.repayment-grid span{
    display: block;
}

.repayment-grid strong{
    color: #172033;
    font-size: 14px;
    font-weight: 900;
}

.repayment-grid span{
    margin-top: 6px;
    color: #72819a;
    font-size: 12px;
    font-weight: 800;
}

.repayment-grid button.active span{
    color: #2f6df6;
}

.rate-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rate-item{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #f8fdff;
}

.rate-item .k{
    color: #25445f;
    font-weight: 700;
}

.rate-item .v{
    color: #3d7bf8;
    font-weight: 900;
}

@media screen and (max-width: 650px){
    body.auth-page{
        min-height: 100vh;
        background: linear-gradient(180deg, #3d7bf8 0%, #2497ee 47%, #f5f8ff 47%, #f5f8ff 100%);
    }

    body.auth-page .header.bj-3d7bf8{
        height: 86px;
        padding-bottom: 0;
        background: transparent;
    }

    body.auth-page .header .wrapper{
        height: 86px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 0 18px;
        width: 100%;
    }

    body.auth-page .header .logo{
        float: none;
    }

    .header .logo img{
        width: 164px;
    }

    body.auth-page .header .logo img{
        width: 156px;
        filter: none;
    }

    body.auth-page .gh{
        float: none;
        margin: 0;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: rgba(255,255,255,.12);
    }

    body.auth-page .gh a,
    body.auth-page .gh a:before,
    body.auth-page .gh a:after{
        background-color: #fff;
    }

    body.auth-page .header .nav-wrap{
        top: 86px;
        border-radius: 0 0 18px 18px;
        background: rgba(38, 113, 232, .98);
    }

    body.auth-page #authBox{
        display: block;
        min-height: calc(100vh - 86px);
        background: transparent;
    }

    body.auth-page .login2{
        min-height: auto;
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 16px 15px 28px !important;
        box-sizing: border-box !important;
        overflow: hidden;
        background: transparent;
        text-align: left;
    }

    body.auth-page .login-wp{
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 22px 18px 20px;
        box-sizing: border-box !important;
        overflow: visible;
        border: 1px solid rgba(255,255,255,.82);
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 18px 46px rgba(24, 72, 136, .18);
        backdrop-filter: blur(12px);
    }

    body.auth-page .login-wp *,
    body.auth-page .login-bd,
    body.auth-page .formLogin,
    body.auth-page .login-bd ul,
    body.auth-page .login-bd li,
    body.auth-page .login-btn{
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.auth-page .login-hd{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    body.auth-page .login-hd h2{
        padding-left: 12px;
        border-left: #3d7bf8 solid 3px;
        color: #1f2d46;
        font-size: 21px;
        font-weight: 900;
        line-height: 1.2;
    }

    body.auth-page .auth-switch{
        width: 100%;
        margin-top: 18px;
        gap: 6px;
        padding: 4px;
        box-sizing: border-box !important;
        border: 1px solid #e5ecfb;
        border-radius: 12px;
        background: #f3f6ff;
    }

    body.auth-page .auth-switch button{
        height: 42px;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: #66758f;
        font-size: 15px;
        font-weight: 900;
        box-shadow: none;
    }

    body.auth-page .auth-switch button.active{
        background: #3d7bf8;
        color: #fff;
        box-shadow: 0 8px 18px rgba(61,123,248,.24);
    }

    body.auth-page .login-bd{
        height: auto;
        margin-top: 14px;
        box-sizing: border-box !important;
        overflow: visible;
    }

    body.auth-page .login-bd ul{
        display: grid;
        gap: 12px;
    }

    body.auth-page .login-bd li{
        position: relative;
    }

    body.auth-page .login2 .txt,
    body.auth-page .login1 .txt{
        width: 100%;
        height: 48px;
        line-height: 48px;
        margin-top: 0;
        padding: 0 14px;
        box-sizing: border-box !important;
        border: 1px solid #dfe7f6;
        border-radius: 11px;
        background: #f9fbff;
        color: #1f2d46;
        font-size: 15px;
        font-weight: 800;
        appearance: none;
        -webkit-appearance: none;
    }

    body.auth-page .login2 .txt:focus,
    body.auth-page .login1 .txt:focus{
        border-color: #7ea4ff;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(61,123,248,.12);
    }

    body.auth-page .login2 .txt::placeholder,
    body.auth-page .login1 .txt::placeholder{
        color: #a7b2c5;
        font-weight: 700;
    }

    body.auth-page .login-btn{
        margin-top: 16px;
    }

    body.auth-page .login-btn .btn{
        width: 100%;
        height: 48px;
        line-height: 48px;
        margin-bottom: 18px;
        box-sizing: border-box !important;
        border: 0;
        border-radius: 12px;
        background: linear-gradient(135deg, #3d7bf8 0%, #5b8dff 100%);
        color: #fff;
        font-size: 17px;
        font-weight: 900;
        box-shadow: 0 12px 24px rgba(61,123,248,.28);
    }

    body.auth-page .login-ft{
        float: none;
        color: #6f7e96;
        text-align: center;
        font-size: 14px;
        font-weight: 800;
    }

    body.auth-page .login-ft a{
        color: #2f6df6;
        font-size: 14px;
        font-weight: 900;
    }

    body.auth-page .footer,
    body.auth-page .copyright{
        display: none;
    }

    .hbanner{
        overflow: hidden;
    }

    .hbanner .wrapper,
    .hnav .wrapper,
    .hnav ul{
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .g-txt{
        width: 358px !important;
        max-width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 0 !important;
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }

    .g-txt h2,
    .g-txt h2 font,
    .g-txt p{
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .g-txt h2,
    .g-txt h2 font{
        display: block;
        width: 100%;
        font-size: 22px !important;
        line-height: 1.35;
    }

    .hnav ul{
        display: grid;
        grid-template-columns: 1fr;
    }

    .hnav li{
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .copyright .wrapper{
        width: 358px !important;
        max-width: calc(100% - 32px) !important;
        margin-left: 16px !important;
        margin-right: 0 !important;
        white-space: normal;
        line-height: 1.6;
    }

    #dashboard{
        width: calc(100% - 20px);
        margin-top: 22px;
    }

    #dashboard .card{
        grid-template-columns: 1fr;
        grid-template-areas: "head" "substats" "quick" "nav" "list";
    }

    #dashboard .dashboard-title{
        align-items: center;
    }

    #dashboard .substats{
        grid-template-columns: 1fr;
    }

    #dashboard .order{
        display: block;
    }

    .rate-grid{
        grid-template-columns: 1fr;
    }
}

/* Orders workbench */
body.orders-page{
    min-height: 100vh;
    background: #f5f7fb;
}

.orders-page #dashboard{
    width: min(1180px, calc(100% - 180px));
    margin: 28px auto 48px;
    color: #172033;
}

.orders-page #dashboard .dashboard-title{
    align-items: center;
    margin: 0 0 18px;
    padding: 0;
}

.orders-page #dashboard .dashboard-title h2{
    margin: 4px 0 0;
    color: #18243a;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

.orders-page #dashboard .dashboard-title p{
    margin: 8px 0 0;
    color: #6a7892;
    font-size: 14px;
    font-weight: 700;
}

.orders-page #dashboard .eyebrow{
    color: #2d72f6;
    letter-spacing: 0;
}

.orders-title-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.orders-page #dashboard .btn,
.orders-page #dashboard .btn-primary,
.orders-page #dashboard .btn-q{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 6px;
    background: #2f6df6;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(47, 109, 246, .18);
}

.orders-page #dashboard .btn .iconfont,
.orders-page #dashboard .btn-q .iconfont{
    font-size: 15px;
}

.orders-page #dashboard .btn.link{
    border: 1px solid #d7e3f8;
    background: #fff;
    color: #284369;
    box-shadow: none;
}

.orders-page #dashboard .btn.secondary{
    background: #172033;
    box-shadow: none;
}

.orders-page #dashboard .card{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    align-items: start;
    gap: 16px;
}

.orders-side{
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
}

.orders-page #dashboard .orders-side .head,
.orders-page #dashboard .orders-side .substats,
.orders-page #dashboard .orders-side .grid{
    grid-area: auto;
}

.orders-page #dashboard .head{
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1fr);
    grid-template-areas:
        "muted stats"
        "balance stats"
        "account stats";
    align-items: center;
    min-height: 164px;
    padding: 20px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 100%, rgba(255,255,255,.24), transparent 34%),
        linear-gradient(145deg, rgba(47, 109, 246, .96), rgba(47, 154, 210, .94)),
        #2f6df6;
    box-shadow: 0 20px 38px rgba(47, 109, 246, .17);
}

.orders-page #dashboard .head:after{
    right: -58px;
    bottom: -66px;
    width: 210px;
    height: 210px;
    background: rgba(255,255,255,.16);
}

.orders-page #dashboard .muted{
    grid-area: muted;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.orders-page #dashboard .balance{
    grid-area: balance;
    margin-top: 12px;
    font-size: clamp(36px, 3vw, 46px);
    letter-spacing: 0;
}

.orders-page #dashboard .account-line{
    grid-area: account;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 800;
}

.orders-page #dashboard .vip-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(210,233,255,.78));
    color: #1f5ac8;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(13, 55, 145, .18);
    vertical-align: middle;
}

.orders-page #dashboard .invite-pill{
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(18, 61, 160, .18);
    color: rgba(255,255,255,.96);
    font-size: 12px;
    font-weight: 900;
}

.orders-page #dashboard .stats{
    grid-area: stats;
    margin-top: 0;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.orders-page #dashboard .stats div{
    padding: 10px;
    border-color: rgba(255,255,255,.28);
    border-radius: 6px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.84);
}

.orders-page #dashboard .stats span{
    color: #fff;
}

.orders-page #dashboard .substats{
    grid-template-columns: 1fr;
    gap: 9px;
}

.orders-page #dashboard .substats .col{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 64px;
    padding: 13px 16px;
    border: 1px solid #dfe8f7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(31, 45, 78, .05);
}

.orders-page #dashboard .substats .title{
    color: #66758f;
    font-size: 13px;
}

.orders-page #dashboard .substats .val{
    margin-top: 0;
    color: #18243a;
    font-size: 23px;
}

.orders-page #dashboard .grid{
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
}

.orders-page #dashboard .tile{
    --action-accent: #2f6df6;
    position: relative;
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 7px;
    padding: 11px;
    overflow: hidden;
    border: 1px solid #d9e5f6;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    color: #24304a;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 20px rgba(31, 45, 78, .045);
    transition: border-color .18s, transform .18s, box-shadow .18s, background .18s;
}

.orders-page #dashboard .tile:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--action-accent);
}

.orders-page #dashboard .tile:hover{
    border-color: color-mix(in srgb, var(--action-accent) 48%, #d9e5f6);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(47, 109, 246, .1);
}

.orders-page #dashboard .tile .icon{
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--action-accent) 12%, #fff);
    color: var(--action-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action-accent) 18%, transparent);
}

.orders-page #dashboard .tile .iconfont{
    font-size: 18px;
}

.orders-page #dashboard .tile strong,
.orders-page #dashboard .tile span{
    display: block;
    min-width: 0;
}

.orders-page #dashboard .tile strong{
    color: #18243a;
    font-size: 14px;
    line-height: 1.25;
}

.orders-page #dashboard .tile span{
    margin-top: 3px;
    color: #77849a;
    font-size: 11px;
    font-weight: 700;
}

.orders-page #dashboard .action-unstake{
    --action-accent: #2452a8;
}

.orders-page #dashboard .action-repayment{
    --action-accent: #0ea5e9;
}

.orders-page #dashboard .action-withdraw{
    --action-accent: #0f8f78;
}

.orders-page #dashboard .action-address{
    --action-accent: #7c5cff;
}

.orders-page #dashboard .action-transfer{
    --action-accent: #f59e0b;
}

.orders-page #dashboard .action-collect{
    --action-accent: #16a9c3;
}

.orders-page #dashboard .action-quota{
    --action-accent: #e34949;
}

.orders-board{
    min-width: 0;
    min-height: 640px;
    padding: 18px;
    border: 1px solid #dfe8f7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(31, 45, 78, .06);
}

.orders-board-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.orders-board-head h3{
    margin: 3px 0 0;
    color: #18243a;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.orders-livebar{
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.orders-livebar div{
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #e2e8f3;
    border-radius: 8px;
    background: #fbfdff;
    color: #66758f;
    font-size: 12px;
    font-weight: 800;
}

.orders-livebar div:first-child{
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-livebar i{
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #16b39b;
    box-shadow: 0 0 0 5px rgba(22,179,155,.12);
}

.orders-livebar span,
.orders-livebar strong{
    display: block;
}

.orders-livebar strong{
    margin-top: 4px;
    color: #18243a;
    font-size: 15px;
}

.orders-livebar div:first-child strong{
    margin-top: 0;
    color: #16a085;
}

.channel-panel{
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #e1e9f6;
    border-radius: 8px;
    background: #f8fbff;
}

.channel-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.channel-head span{
    display: block;
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.channel-head strong{
    display: block;
    margin-top: 2px;
    color: #18243a;
    font-size: 15px;
}

.channel-reset{
    height: 34px;
    padding: 0 12px;
    border: 1px solid #d5e2f4;
    border-radius: 6px;
    background: #fff;
    color: #385170;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.channel-filters{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.channel-filter{
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #d9e5f6;
    border-radius: 7px;
    background: #fff;
    color: #344963;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    transition: border-color .18s, background .18s, color .18s;
}

.channel-filter:hover{
    border-color: #94b7ff;
}

.channel-filter.active{
    border-color: #2f6df6;
    background: #2f6df6;
    color: #fff;
}

.channel-filter .channel-name{
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.channel-filter .channel-title{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-filter em{
    flex: 0 0 auto;
    color: #7b8da7;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.channel-filter.active em{
    color: rgba(255,255,255,.82);
}

.channel-filter strong{
    min-width: 26px;
    height: 24px;
    line-height: 24px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6df6;
    text-align: center;
    font-size: 12px;
}

.channel-filter.active strong{
    background: rgba(255,255,255,.2);
    color: #fff;
}

.orders-page #dashboard .nav{
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid #dfe8f7;
    border-radius: 8px;
    background: #f6f8fc;
}

.orders-page #dashboard .nav a{
    min-width: 92px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #48607f;
    white-space: nowrap;
}

.orders-page #dashboard .nav a.active{
    color: #fff;
    background: #2f6df6;
    box-shadow: 0 8px 18px rgba(47, 109, 246, .16);
}

.orders-page #dashboard .order-date-filter{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 12px;
    padding: 8px;
    border: 1px solid #e1e9f6;
    border-radius: 8px;
    background: #fbfdff;
}

.orders-page #dashboard .order-date-filter > span{
    flex: 0 0 auto;
    padding: 0 4px;
    color: #66758f;
    font-size: 13px;
    font-weight: 900;
}

.orders-page #dashboard .order-date-filter button{
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #d9e5f6;
    border-radius: 6px;
    background: #fff;
    color: #48607f;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.orders-page #dashboard .order-date-filter button.active{
    border-color: #2f6df6;
    background: #2f6df6;
    color: #fff;
    box-shadow: 0 8px 18px rgba(47, 109, 246, .16);
}

.orders-page #dashboard .list{
    min-height: 460px;
    max-height: 720px;
    margin-top: 12px;
    padding-right: 4px;
    overflow: auto;
}

.orders-page #dashboard .order{
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(190px, .85fr) minmax(180px, .8fr) minmax(190px, .9fr) minmax(150px, auto);
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    padding: 15px 14px 15px 18px;
    border: 1px solid #e0e8f5;
    border-left: 4px solid #2f6df6;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.orders-page #dashboard .order:hover{
    border-color: #bcd1f7;
    border-left-color: #16b39b;
    background: #fbfdff;
}

.orders-page #dashboard .order-status-trading{
    border-left-color: #7c5cff;
}

.orders-page #dashboard .order-status-paused{
    border-left-color: #f59e0b;
}

.orders-page #dashboard .order-status-completed{
    border-left-color: #16b39b;
}

.orders-page #dashboard .order-status-canceled{
    border-left-color: #94a3b8;
}

.orders-page #dashboard .commission-record{
    grid-template-columns: minmax(260px, 1.2fr) minmax(220px, 1fr) minmax(210px, .9fr) minmax(180px, .8fr) minmax(180px, .8fr);
    border-left-color: #16b39b;
}

.orders-page #dashboard .commission-record .status{
    background: #ecfdf5;
    color: #0f8f78;
}

.orders-page #dashboard .order .row{
    display: block;
    min-width: 0;
    color: #314158;
    font-size: 14px;
    line-height: 1.45;
}

.orders-page #dashboard .order .id{
    color: #1f3657;
    font-size: 14px;
    word-break: break-word;
}

.orders-page #dashboard .order .status{
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2f6df6;
    font-size: 12px;
    font-weight: 900;
}

.orders-page #dashboard .order-status-trading .status{
    background: #f1efff;
    color: #6b50df;
}

.orders-page #dashboard .order-status-paused .status{
    background: #fff7e6;
    color: #b86a00;
}

.orders-page #dashboard .order-status-completed .status{
    background: #ecfdf5;
    color: #0f8f78;
}

.orders-page #dashboard .order-status-canceled .status{
    background: #f1f5f9;
    color: #64748b;
}

.orders-page #dashboard .order .amounts{
    color: #1c2d45;
    font-size: 14px;
}

.orders-page #dashboard .order .recv{
    color: #e34949;
    font-size: 16px;
    font-weight: 900;
}

.orders-page #dashboard .order .rebate{
    color: #e08a00;
    font-size: 16px;
    font-weight: 900;
}

.orders-page #dashboard .order .type{
    padding: 5px 10px;
    border-color: #cfe0ff;
    border-radius: 999px;
    background: #f3f8ff;
    color: #2f6df6;
    white-space: nowrap;
}

.orders-page #dashboard .order .actions{
    min-width: 0;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-page #dashboard .btn-q,
.orders-page #dashboard .btn-detail{
    min-width: 66px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 6px;
}

.orders-page #dashboard .btn-detail{
    border: 1px solid #d5e2f4;
    background: #fff;
    color: #284369;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
}

.orders-page #dashboard .empty{
    padding: 72px 0;
    border: 1px dashed #d4deec;
    border-radius: 8px;
    background: #fbfdff;
    color: #71819a;
}

.order-loading{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 18, 33, .26);
    backdrop-filter: blur(2px);
}

.order-loading.show{
    display: flex;
}

.order-loading-card{
    min-width: 230px;
    padding: 26px 24px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .24);
}

.order-spinner{
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid #e8eef8;
    border-top-color: #2f6df6;
    border-right-color: #16b39b;
    border-radius: 50%;
    animation: order-spin .75s linear infinite;
}

.order-loading-card strong,
.order-loading-card span{
    display: block;
}

.order-loading-card strong{
    color: #18243a;
    font-size: 17px;
}

.order-loading-card span{
    margin-top: 6px;
    color: #77849a;
    font-size: 13px;
}

@keyframes order-spin{
    to{ transform: rotate(360deg); }
}

.order-detail-mask{
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
    background: rgba(10, 18, 33, .34);
}

.order-detail-mask.show{
    display: flex;
}

.order-detail{
    width: min(520px, 100%);
    height: 100%;
    padding: 24px;
    overflow: auto;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, .2);
}

.order-detail-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.order-detail-head span{
    color: #2f6df6;
    font-size: 13px;
    font-weight: 900;
}

.order-detail-head h3{
    margin: 6px 0 0;
    color: #18243a;
    font-size: 24px;
    word-break: break-word;
}

.order-detail-head button{
    min-width: 70px;
    height: 38px;
    border: 1px solid #d5e2f4;
    border-radius: 6px;
    background: #fff;
    color: #284369;
    cursor: pointer;
    font-weight: 900;
}

.order-detail-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.order-detail-grid div{
    min-height: 76px;
    padding: 13px;
    border: 1px solid #e1e9f6;
    border-radius: 8px;
    background: #f8fbff;
}

.order-detail-grid span,
.order-detail-grid strong{
    display: block;
}

.order-detail-grid span{
    color: #66758f;
    font-size: 12px;
    font-weight: 900;
}

.order-detail-grid strong{
    margin-top: 7px;
    color: #18243a;
    font-size: 18px;
    word-break: break-word;
}

.order-detail-flow{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 22px 0;
    padding: 18px 0 4px;
    border-top: 1px solid #edf2fa;
    border-bottom: 1px solid #edf2fa;
}

.order-detail-flow div{
    position: relative;
    text-align: center;
    color: #7a879d;
    font-size: 12px;
    font-weight: 900;
}

.order-detail-flow div:before{
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5edf8;
}

.order-detail-flow div:first-child:before{
    left: 50%;
}

.order-detail-flow div:last-child:before{
    right: 50%;
}

.order-detail-flow i{
    position: relative;
    z-index: 1;
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto 10px;
    border: 3px solid #d9e5f6;
    border-radius: 50%;
    background: #fff;
}

.order-detail-flow .done i,
.order-detail-flow .active i{
    border-color: #2f6df6;
    background: #2f6df6;
}

.order-detail-flow .active span{
    color: #2f6df6;
}

.order-detail-flow.flow-completed .done i,
.order-detail-flow.flow-completed .active i{
    border-color: #16b39b;
    background: #16b39b;
}

.order-detail-flow.flow-completed .done span,
.order-detail-flow.flow-completed .active span{
    color: #0f8f78;
}

.order-detail-flow.flow-paused .active i{
    border-color: #f59e0b;
    background: #f59e0b;
}

.order-detail-flow.flow-paused .active span{
    color: #b86a00;
}

.order-detail-flow.flow-canceled .active i{
    border-color: #94a3b8;
    background: #94a3b8;
}

.order-detail-flow.flow-canceled .active span{
    color: #64748b;
}

.order-detail-actions{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    margin-top: 10px;
}

.order-detail-actions .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 220px);
    min-height: 34px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    background: #2f6df6;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(47, 109, 246, .14);
}

.order-detail-actions .btn.link{
    border: 1px solid #d5e2f4;
    background: #fff;
    color: #284369;
    box-shadow: none;
}

@media screen and (max-width: 1180px){
    .orders-page #dashboard .card{
        grid-template-columns: 1fr;
    }

    .orders-side{
        grid-template-columns: 1fr;
    }

    .orders-page #dashboard .orders-side .grid{
        grid-column: auto;
    }

    .orders-page #dashboard .grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .orders-page #dashboard .tile{
        min-height: 86px;
    }
}

@media screen and (max-width: 980px){
    .orders-page #dashboard{
        width: calc(100% - 42px);
        margin-top: 22px;
    }

    .orders-page #dashboard .dashboard-title{
        align-items: flex-start;
        flex-direction: column;
    }

    .orders-title-actions{
        width: 100%;
        justify-content: flex-start;
    }

    .orders-side{
        grid-template-columns: 1fr;
    }

    .orders-page #dashboard .orders-side .grid{
        grid-column: auto;
    }

    .orders-page #dashboard .card{
        grid-template-columns: 1fr;
    }

    .orders-page #dashboard .head{
        grid-template-columns: 1fr;
        grid-template-areas:
            "muted"
            "balance"
            "account"
            "stats";
        align-items: start;
    }

    .orders-page #dashboard .stats{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
    }

    .orders-board{
        min-height: 0;
    }

    .orders-page #dashboard .substats{
        grid-template-columns: repeat(3, 1fr);
    }

    .orders-page #dashboard .grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-livebar,
    .channel-filters{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-page #dashboard .order{
        grid-template-columns: 1fr 1fr;
    }

    .orders-page #dashboard .order .actions{
        justify-self: start;
    }
}

@media screen and (max-width: 650px){
    .orders-page #dashboard{
        width: calc(100% - 16px);
        margin-top: 12px;
    }

    .orders-page #dashboard .dashboard-title h2{
        font-size: 22px;
    }

    .orders-page #dashboard .dashboard-title{
        margin-bottom: 10px;
    }

    .orders-page #dashboard .dashboard-title p{
        margin-top: 4px;
        font-size: 12px;
    }

    .orders-title-actions{
        display: flex;
        gap: 6px;
    }

    .orders-title-actions .btn{
        flex: 1 1 0;
        min-height: 34px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .orders-page #dashboard .head{
        min-height: 0;
        padding: 14px;
    }

    .orders-page #dashboard .balance{
        margin-top: 6px;
        font-size: 32px;
    }

    .orders-page #dashboard .account-line{
        margin-top: 5px;
        font-size: 12px;
        gap: 6px;
    }

    .orders-page #dashboard .vip-badge,
    .orders-page #dashboard .invite-pill{
        min-height: 22px;
        padding: 0 8px;
        font-size: 11px;
    }

    .orders-page #dashboard .grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .orders-page #dashboard .stats{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .orders-page #dashboard .stats div{
        min-height: 45px;
        padding: 7px 8px;
        font-size: 11px;
    }

    .orders-page #dashboard .stats span{
        margin-top: 2px;
        font-size: 14px;
    }

    .orders-page #dashboard .tile{
        min-height: 58px;
        gap: 4px;
        padding: 7px 4px;
        border-radius: 7px;
    }

    .orders-page #dashboard .tile:before{
        height: 2px;
    }

    .orders-page #dashboard .tile .icon{
        width: 25px;
        height: 25px;
        border-radius: 7px;
    }

    .orders-page #dashboard .tile .iconfont{
        font-size: 14px;
    }

    .orders-page #dashboard .tile strong{
        font-size: 11px;
        line-height: 1.15;
    }

    .orders-page #dashboard .tile span{
        display: none;
    }

    .orders-board{
        min-height: 0;
        padding: 10px;
    }

    .orders-board-head{
        align-items: center;
        flex-direction: row;
        margin-bottom: 8px;
    }

    .orders-board-head h3{
        font-size: 18px;
    }

    .orders-board-head .eyebrow{
        font-size: 11px;
    }

    .orders-board-head .btn{
        width: auto;
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .channel-filters,
    .commission-metrics,
    .transfer-metrics,
    .collect-overview,
    .collect-sections,
    .collect-card-lines,
    .bank-picker,
    .order-detail-grid,
    .order-detail-actions{
        grid-template-columns: 1fr;
    }

    .orders-livebar{
        display: none;
    }

    .collect-overview{
        align-items: stretch;
    }

    .collect-overview button,
    .collect-section-head button{
        width: 100%;
    }

    .collect-section-head,
    .commission-address-card{
        align-items: flex-start;
        flex-direction: column;
    }

    .commission-address-card button{
        width: 100%;
    }

    .channel-head{
        align-items: center;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 8px;
    }

    .channel-reset{
        width: auto;
        height: 30px;
        padding: 0 9px;
        font-size: 12px;
    }

    .channel-panel{
        padding: 9px;
        margin-bottom: 8px;
    }

    .channel-head span{
        font-size: 11px;
    }

    .channel-head strong{
        font-size: 13px;
    }

    .channel-filters{
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .channel-filter{
        flex: 0 0 auto;
        min-height: 34px;
        min-width: 78px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .channel-filter .channel-name{
        gap: 0;
    }

    .channel-filter em,
    .channel-filter strong{
        display: none;
    }

    .orders-page #dashboard .nav{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
        padding: 4px;
    }

    .orders-page #dashboard .nav a{
        flex: 0 0 auto;
        min-width: 72px;
        padding: 8px 9px;
        font-size: 12px;
    }

    .orders-page #dashboard .order-date-filter{
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 5px;
        margin: 8px 0 8px;
        padding: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .orders-page #dashboard .order-date-filter button{
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .orders-page #dashboard .list{
        margin-top: 8px;
        max-height: none;
        padding-right: 0;
        overflow: visible;
    }

    .orders-page #dashboard .order{
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 7px;
        padding: 9px;
        border-left-width: 3px;
    }

    .orders-page #dashboard .commission-record{
        grid-template-columns: 1fr;
    }

    .orders-page #dashboard .order .row{
        gap: 5px;
        font-size: 11px;
        line-height: 1.32;
    }

    .orders-page #dashboard .order .id{
        font-size: 12px;
        line-height: 1.28;
    }

    .orders-page #dashboard .order .status{
        min-height: 24px;
        margin-top: 4px;
        padding: 3px 8px;
        font-size: 11px;
    }

    .orders-page #dashboard .order .amounts{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 7px 8px;
        border-radius: 7px;
        background: #f8fbff;
        font-size: 11px;
    }

    .orders-page #dashboard .order .recv,
    .orders-page #dashboard .order .rebate{
        display: block;
        margin-top: 2px;
        font-size: 15px;
        line-height: 1.15;
    }

    .orders-page #dashboard .order .type{
        display: inline-flex;
        width: max-content;
        max-width: 100%;
        padding: 3px 8px;
        font-size: 11px;
    }

    .orders-page #dashboard .order .actions,
    .orders-page #dashboard .btn-q,
    .orders-page #dashboard .btn-detail{
        width: 100%;
    }

    .orders-page #dashboard .order .actions{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .orders-page #dashboard .btn-q,
    .orders-page #dashboard .btn-detail{
        min-height: 32px;
        padding: 6px 9px;
        font-size: 12px;
    }

    .order-detail-mask{
        top: var(--order-detail-top, 0);
        right: 0;
        bottom: auto;
        left: 0;
        height: var(--order-detail-vh, 100vh);
        height: var(--order-detail-vh, 100dvh);
        align-items: flex-end;
    }

    .order-detail{
        width: 100%;
        height: auto;
        max-height: calc(100% - 18px);
        align-self: flex-end;
        padding: 14px 14px 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -18px 46px rgba(15, 23, 42, .18);
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .order-detail-head{
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .order-detail-head span{
        font-size: 11px;
    }

    .order-detail-head h3{
        margin-top: 3px;
        font-size: 18px;
        line-height: 1.25;
    }

    .order-detail-head button{
        min-width: 58px;
        height: 32px;
        border-radius: 8px;
        font-size: 13px;
    }

    .order-detail-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .order-detail-grid div{
        min-height: 62px;
        padding: 10px;
        border-radius: 8px;
    }

    .order-detail-grid span{
        font-size: 11px;
    }

    .order-detail-grid strong{
        margin-top: 4px;
        font-size: 15px;
        line-height: 1.25;
    }

    .order-detail-flow{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        margin: 12px 0;
        padding: 12px 0 10px;
        overflow: hidden;
    }

    .order-detail-flow div:before{
        display: block;
        top: 6px;
        height: 2px;
    }

    .order-detail-flow i{
        width: 14px;
        height: 14px;
        margin-bottom: 6px;
        border-width: 3px;
    }

    .order-detail-flow div{
        font-size: 11px;
        line-height: 1.2;
    }

    .order-detail-flow span{
        display: block;
        max-width: 58px;
        margin: 0 auto;
        white-space: normal;
    }

    .order-detail-actions{
        position: sticky;
        bottom: 0;
        grid-template-columns: 1fr;
        gap: 6px;
        justify-items: center;
        margin: 10px -14px 0;
        padding: 10px 14px calc(max(12px, env(safe-area-inset-bottom)) + 2px);
        border-top: 1px solid #edf2fa;
        background: linear-gradient(180deg, rgba(255,255,255,.92), #fff 22%);
    }

    .order-detail-actions .btn{
        width: min(100%, 220px);
        min-height: 34px;
        height: auto;
        margin: 0;
        padding: 6px 12px;
        border-radius: 7px;
        font-size: 13px;
        line-height: 1.25;
        box-shadow: 0 6px 14px rgba(47, 109, 246, .12);
    }

    .order-detail-actions .btn.link{
        box-shadow: none;
    }

    body.orders-page #dialogMask{
        --dialog-mobile-top-gap: max(54px, calc(env(safe-area-inset-top) + 18px));
        --dialog-mobile-bottom-gap: max(14px, env(safe-area-inset-bottom));
        align-items: flex-start;
        padding: var(--dialog-mobile-top-gap) 14px var(--dialog-mobile-bottom-gap);
    }

    body.orders-page #dialogMask .order-prompt-modal{
        width: min(100%, 520px);
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        max-height: calc(100dvh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        overflow: hidden;
        min-height: 0;
    }

    body.orders-page #dialogMask .modal-x{
        top: 9px;
        right: 12px;
        width: 32px;
        height: 32px;
        transform: none;
    }

    body.orders-page #dialogMask.prompt-mode .order-prompt-modal{
        width: min(100%, 520px);
        min-height: 206px;
        padding: 0;
    }

    body.orders-page #dialogMask .bar{
        flex: 0 0 auto;
        padding: 17px 54px 15px 18px;
        font-size: 18px;
    }

    body.orders-page #dialogMask .content{
        flex: 1 1 auto;
        min-height: 0;
        padding: 18px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.orders-page #dialogMask .content > *{
        max-width: 100%;
    }

    body.orders-page #dialogMask.prompt-mode .content{
        min-height: 124px;
        padding: 30px 22px 36px;
        font-size: 16px;
    }

    body.orders-page #dialogMask.prompt-mode .bar{
        min-height: 82px;
        padding: 23px 68px 23px 22px;
    }

    body.orders-page #dialogMask.prompt-mode .modal-x{
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
    }

    body.orders-page #dialogMask .footer{
        flex: 0 0 auto;
        padding: 14px 18px 18px;
    }

    body.orders-page #dialogMask .footer > div{
        gap: 8px !important;
    }

    body.orders-page #dialogMask .dialog-main,
    body.orders-page #dialogMask .dialog-secondary{
        min-width: 0;
        white-space: normal;
    }

    body.orders-page #dialogMask.recharge-mode{
        align-items: flex-start;
        padding-top: var(--dialog-mobile-top-gap);
        padding-bottom: var(--dialog-mobile-bottom-gap);
    }

    body.orders-page #dialogMask.recharge-mode .order-prompt-modal{
        width: min(100%, 390px);
        max-height: calc(100vh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        max-height: calc(100dvh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        border-radius: 12px;
        overflow: hidden;
    }

    body.orders-page #dialogMask.recharge-mode .bar{
        padding: 13px 50px 12px 16px;
        font-size: 18px;
    }

    body.orders-page #dialogMask.recharge-mode .modal-x{
        top: 9px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    body.orders-page #dialogMask.recharge-mode .content{
        padding: 14px;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-form{
        gap: 10px;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-form-head{
        padding: 11px 12px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-form-head strong{
        margin-top: 3px;
        font-size: 14px;
        line-height: 1.35;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-field{
        gap: 5px;
    }

    body.orders-page #dialogMask.recharge-mode .amount-input-shell,
    body.orders-page #dialogMask.recharge-mode .dialog-input{
        min-height: 46px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.recharge-mode .amount-input-shell{
        padding: 0 12px;
    }

    body.orders-page #dialogMask.recharge-mode .amount-input-shell em{
        margin-right: 7px;
        font-size: 20px;
    }

    body.orders-page #dialogMask.recharge-mode .amount-input-shell input{
        font-size: 19px;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-input{
        padding: 0 12px;
        font-size: 14px;
    }

    body.orders-page #dialogMask.recharge-mode .amount-presets{
        display: flex;
        grid-template-columns: none;
        gap: 7px;
        overflow-x: auto;
        padding: 1px 0 3px;
        -webkit-overflow-scrolling: touch;
    }

    body.orders-page #dialogMask.recharge-mode .amount-presets button{
        flex: 0 0 auto;
        min-width: 76px;
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        font-size: 13px;
    }

    body.orders-page #dialogMask.recharge-mode .footer{
        padding: 12px 14px 14px;
    }

    body.orders-page #dialogMask.recharge-mode .dialog-main,
    body.orders-page #dialogMask.recharge-mode .dialog-secondary{
        min-height: 40px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode{
        align-items: flex-start;
        padding-top: var(--dialog-mobile-top-gap);
        padding-bottom: var(--dialog-mobile-bottom-gap);
    }

    body.orders-page #dialogMask.commission-withdraw-mode .order-prompt-modal{
        width: min(100%, 390px);
        max-height: calc(100vh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        max-height: calc(100dvh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        border-radius: 12px;
        overflow: hidden;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .bar{
        padding: 13px 50px 12px 16px;
        font-size: 18px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .modal-x{
        top: 9px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .content{
        padding: 14px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-panel{
        gap: 10px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-metrics{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-metrics div{
        min-height: 58px;
        padding: 10px 11px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-metrics div:nth-child(3){
        grid-column: 1 / -1;
        min-height: 52px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-metrics span,
    body.orders-page #dialogMask.commission-withdraw-mode .commission-address-card span{
        font-size: 11px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-metrics strong{
        margin-top: 4px;
        font-size: 18px;
        line-height: 1.15;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-address-card{
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 10px 11px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-address-card strong{
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.25;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .commission-address-card button{
        width: auto;
        min-height: 32px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .dialog-field{
        gap: 5px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .amount-input-shell{
        min-height: 46px;
        padding: 0 12px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .amount-input-shell em{
        margin-right: 7px;
        font-size: 20px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .amount-input-shell input{
        font-size: 19px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .footer{
        padding: 12px 14px 14px;
    }

    body.orders-page #dialogMask.commission-withdraw-mode .dialog-main,
    body.orders-page #dialogMask.commission-withdraw-mode .dialog-secondary{
        min-height: 40px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode{
        align-items: flex-start;
        padding-top: var(--dialog-mobile-top-gap);
        padding-bottom: var(--dialog-mobile-bottom-gap);
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .order-prompt-modal{
        width: min(100%, 390px);
        max-height: calc(100vh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        max-height: calc(100dvh - var(--dialog-mobile-top-gap) - var(--dialog-mobile-bottom-gap));
        border-radius: 12px;
        overflow: hidden;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .bar{
        padding: 13px 50px 12px 16px;
        font-size: 18px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .modal-x{
        top: 9px;
        right: 12px;
        width: 32px;
        height: 32px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .content{
        padding: 14px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .dialog-form{
        gap: 10px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .quota-steps{
        gap: 6px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .quota-steps span{
        min-height: 32px;
        padding: 5px 7px;
        font-size: 11px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-amount{
        padding: 12px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-amount strong{
        margin-top: 3px;
        font-size: 24px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines div{
        display: block;
        min-height: 70px;
        padding: 10px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines span{
        font-size: 11px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines strong{
        display: block;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.25;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .footer{
        padding: 12px 14px 14px;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .dialog-main,
    body.orders-page #dialogMask.quota-mode.confirm-mode .dialog-secondary{
        min-height: 40px;
        border-radius: 8px;
        font-size: 14px;
    }

    body.orders-page #dialogMask.transfer-mode .transfer-metrics{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.orders-page #dialogMask.transfer-mode .transfer-metrics div{
        min-height: 58px;
        padding: 10px 11px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.transfer-mode .transfer-metrics strong{
        margin-top: 4px;
        font-size: 18px;
        line-height: 1.15;
    }

    body.orders-page #dialogMask.transfer-mode .dialog-form{
        gap: 10px;
    }

    body.orders-page #dialogMask.transfer-mode .dialog-field{
        gap: 5px;
    }

    body.orders-page #dialogMask.transfer-mode .amount-input-shell,
    body.orders-page #dialogMask.transfer-mode .dialog-input{
        min-height: 46px;
        border-radius: 8px;
    }

    body.orders-page #dialogMask.transfer-mode .amount-input-shell{
        padding: 0 12px;
    }

    body.orders-page #dialogMask.transfer-mode .amount-input-shell em{
        margin-right: 7px;
        font-size: 20px;
    }

    body.orders-page #dialogMask.transfer-mode .amount-input-shell input{
        font-size: 19px;
    }

    body.orders-page #dialogMask.transfer-mode .dialog-input{
        padding: 0 12px;
        font-size: 14px;
    }

    .amount-presets,
    .guide-grid,
    .confirm-lines div{
        grid-template-columns: 1fr;
    }

    .quota-steps{
        gap: 5px;
    }

    .quota-steps span{
        min-height: 32px;
        font-size: 11px;
    }

    .repayment-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .repayment-grid button{
        min-height: 58px;
        padding: 10px;
    }

    .repayment-grid strong{
        font-size: 12px;
    }

    .repayment-grid span{
        margin-top: 4px;
        font-size: 11px;
    }

    .vip-grab-hero{
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
    }

    .vip-grab-hero strong{
        font-size: 20px;
    }

    .vip-grab-hero em{
        max-width: 100%;
    }

    .vip-grab-grid,
    .vip-paypass-summary,
    .vip-grab-method-lines{
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .vip-grab-grid div,
    .vip-paypass-summary div,
    .vip-grab-method-lines div{
        padding: 10px;
    }

    .vip-grab-section-title,
    .vip-grab-method-head{
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .vip-grab-section-title strong,
    .vip-grab-method-head strong{
        text-align: left;
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.orders-page #dialogMask.quota-mode.confirm-mode .confirm-lines div{
        display: block;
        min-height: 70px;
        padding: 10px;
    }

    .confirm-amount strong{
        font-size: 25px;
    }

    .lanhai-support-float{
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        min-width: 48px;
        width: 48px;
        min-height: 48px;
        padding: 6px;
        justify-content: center;
    }

    .lanhai-support-icon{
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .lanhai-support-text{
        display: none;
    }
}
