html,body{
    width: 100%;
    height: 100%;
}

.log-box{
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}
.log-box .box-l{
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    background: url("/assets/s31073.pcdn.co/wf-assets/images/publisher-support-p-500.png");
    background-position: right center;
    background-size: cover;
}
.log-box .box-r{
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.log-box .box-r form{
    width: min(410px, calc(100% - 96px));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.log-box .box-r .back{
    cursor: pointer;
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url(../newimg/6d043e0d73ddbe10ce39b2ce5bb36197373d33c3.png);
    background-size: cover;
    top: 60px;
    left: 0;
}
.log-box .box-r .item{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.log-box .box-r .item input{
    width: 100%;
    height: 83px;
    line-height: 83px;
    border-radius: 30px;
    border: 1px solid rgba(229, 229, 229, 1);
    color: rgba(166, 166, 166, 1);
    font-size: 15px;
    font-weight: 300;
    font-family: 'HarmonyOSSansTCLight';
    padding: 0 50px;
}
.log-box .box-r.reg .item{
    margin-top: 22px;
}
.log-box .box-r.reg .item input{
    height: 76px;
    line-height: 76px;
}
.log-box .box-r .item .pass{
    text-align: right;
    width: 100%;
}
.log-box .box-r .item .pass a{
    color: #ea1b22;
    font-size: 15px;
    font-weight: 500;
    font-family: 'HarmonyOSSansTCMedium';
}
.log-box .box-r h2{
    color: rgba(0, 0, 0, 1);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'HarmonyOSSansTCBlack';
}
.log-box .box-r .text{
    color: rgba(0, 0, 0, 1);
    font-size: 13px;
    font-weight: 300;
    font-family: 'HarmonyOSSansTCLight';
    margin-bottom: 10px;
}
.log-box .box-r .text a{
    font-weight: 700;
}
.log-box .box-r .links{
    color: #444;
    font-size: 12px;
    transform: scale(0.92);
    white-space: nowrap;
    font-weight: 300;
    font-family: 'HarmonyOSSansTCLight';
}
.log-box .box-r .links a{
    color: #444;
}

.log-box .box-r .foot{
    color: rgba(56, 56, 56, 1);
    font-size: 12px;
    font-weight: 400;
    font-family: 'SourceHanSansCN-Regular';
}
.log-box .box-r .mysend{
    position: absolute;
    top: 7px;
    right: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    mix-blend-mode: normal;
    background: rgba(189, 113, 32, 1);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: 'HarmonyOSSansTCBold';
    border: 0;
    height: 62px;
    padding: 0 30px;
}
.log-box .box-r .type{
    width: 75%;
    color: rgba(166, 166, 166, 1);
    font-size: 18px;
    font-weight: 500;
    font-family: 'HarmonyOSSansTCMedium';
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}
.log-box .box-r .t1,.log-box .box-r .t2{
    cursor: pointer;
}
.log-box .box-r .type span{
    flex: 1;
    text-align: center;
}
.log-box .box-r .type span.cur{
    color: #000;
}
.log-box .box-r .type span.t0{
    color: #000;
    font-weight: bold;
}
.log-box .box-r .line{
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.log-box .box-r .line span{
    background: #000;
    flex: 1;
    height: 10px;
}
.log-box .box-r .line span.cur{
    background: rgba(189, 113, 32, 1);
}

#btlogin,#btreg,#btpwd{
    margin-top: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    mix-blend-mode: normal;
    background: rgba(166, 166, 166, 1);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: 'HarmonyOSSansTCBold';
}
#btlogin.cur,#btreg.cur,#btpwd.cur{
    background: #5f6368;
}

@media (min-width: 901px) {
    .log-box .box-r .back {
        left: calc(48px - ((50vw - min(410px, calc(50vw - 96px))) / 2));
    }
}

@media (max-width: 900px) {
    html, body {
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
    }

    .log-box,
    .log-box * {
        box-sizing: border-box;
    }

    .log-box {
        position: relative;
        display: block;
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        overflow-x: hidden;
        background: #f3f8ff;
    }

    .log-box .box-l {
        position: fixed;
        inset: 0;
        z-index: 0;
        float: none;
        width: 100%;
        height: 100%;
        opacity: .14;
        background-position: center;
        pointer-events: none;
    }

    .log-box .box-r {
        position: relative;
        z-index: 1;
        flex: none;
        float: none;
        width: min(430px, calc(100% - 32px));
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        margin: 0 auto;
        padding: max(22px, env(safe-area-inset-top)) 0 max(22px, env(safe-area-inset-bottom));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .log-box .box-r form {
        width: 100%;
        min-height: auto;
        height: auto;
        padding: 42px 0 20px;
        justify-content: center;
    }

    .log-box .box-r .back {
        top: 0;
        left: 0;
        width: 24px;
        height: 24px;
    }

    .log-box .box-r h2 {
        width: 100%;
        margin-bottom: 18px;
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.12;
        text-align: center;
    }

    .log-box .box-r .text {
        width: 100%;
        margin-bottom: 14px;
        font-size: 15px;
        line-height: 1.45;
        text-align: center;
    }

    .log-box .box-r .item,
    .log-box .box-r.reg .item {
        width: 100%;
        margin-top: 18px;
    }

    .log-box .box-r .item input,
    .log-box .box-r.reg .item input {
        width: 100%;
        height: 60px;
        line-height: normal;
        border-radius: 22px;
        padding: 0 22px;
        font-size: 15px;
    }

    .log-box .box-r .item .pass {
        text-align: center;
    }

    .log-box .box-r .item .pass a {
        font-size: 17px;
        line-height: 1.45;
    }

    #btlogin,
    #btreg,
    #btpwd {
        height: 64px;
        margin-top: 2px;
        border-radius: 24px;
        font-size: 24px;
    }

    .log-box .box-r .foot {
        width: 100%;
        font-size: 11px;
        line-height: 1.45;
        text-align: center;
    }

    .log-box .box-r .type,
    .log-box .box-r .line {
        width: 100%;
    }

    .log-box .box-r .links {
        width: 100%;
        white-space: normal;
        transform: none;
        line-height: 1.45;
        text-align: center;
    }

    .log-box .box-r .mysend {
        top: 8px;
        right: 8px;
        height: 44px;
        padding: 0 14px;
        border-radius: 18px;
        font-size: 14px;
    }

    .log-box .box-r.reg .item input#mailcode {
        padding-right: 86px;
    }

    .log-box .box-r.reg .item input#regcode {
        width: auto;
        min-width: 0;
        flex: 1;
    }

    .log-box .box-r.reg .item img {
        flex: 0 0 auto;
        max-width: 36%;
        height: 52px !important;
        margin-left: 10px !important;
    }
}

@media (max-width: 420px) {
    .log-box .box-r {
        width: calc(100% - 28px);
    }

    .log-box .box-r form {
        padding-top: 38px;
    }

    .log-box .box-r h2 {
        font-size: 30px;
    }

    .log-box .box-r .text {
        font-size: 14px;
    }

    .log-box .box-r .item,
    .log-box .box-r.reg .item {
        margin-top: 16px;
    }

    .log-box .box-r .item input,
    .log-box .box-r.reg .item input {
        height: 56px;
        border-radius: 20px;
    }

    #btlogin,
    #btreg,
    #btpwd {
        height: 60px;
        font-size: 22px;
    }
}
