@media screen and (max-width: 768px) {
    html,
    body {
        box-sizing: border-box;
        min-width: 0;
        min-height: 100%;
        height: auto;
        overflow-x: hidden;
    }

    .login_wrap {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 720px !important;
        min-height: max(720px, 100vh) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 64px 12px 68px;
        overflow: visible;
        background-position: center;
        background-size: cover;
    }

    .language-control {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
    }

    .language-trigger {
        min-width: 120px;
        height: 40px;
    }

    body .login_wrap .login_form_wrap,
    [lang^="en"] body .login_wrap .login_form_wrap {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 380px;
        height: 588px;
        margin: 0 auto;
        padding: 24px 20px 0;
        transform: none;
    }

    .login_wrap .top {
        display: none;
    }

    body .login_wrap .login_form_wrap .form_group,
    body .login_wrap .login_form_wrap .login-other {
        width: 100%;
    }

    .veri_code {
        gap: 12px;
    }

    .code {
        width: calc(100% - 108px);
    }

    #yzphoto,
    #phone_yzphoto {
        flex: 0 0 96px;
        width: 96px;
    }

    .balloon_logo {
        width: 80px;
        height: 80px;
        margin-top: 6px;
        background-size: 76px 76px;
    }

    .title {
        padding: 20px 0 22px;
        font-size: 22px;
        line-height: 30px;
    }

    .title_aoc {
        margin: 30px 0 28px;
        font-size: 28px;
        line-height: 38px;
        text-align: center;
    }

    .title_aoc_top {
        font-size: 42px;
        line-height: 52px;
    }

    .aoc-logo {
        right: 20px;
        bottom: 18px;
        width: 92px;
        height: 32px;
    }

    .footer {
        box-sizing: border-box;
        bottom: env(safe-area-inset-bottom);
        height: auto;
        min-height: 37px;
        padding: 0 12px;
    }

    .footer .content {
        padding: 9px 0;
        line-height: 18px;
        white-space: normal;
    }
}
