/* Reference-style member login surface. */
.mb-reference-login,
.mb-reference-login * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.mb-reference-login {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: #333333;
    background: #ffffff;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.mb-reference-login a {
    text-decoration: none;
}

.mb-login-bg {
    position: relative;
    width: 100%;
    height: 790px;
    min-height: 790px;
    padding-top: 20px;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(26, 28, 28, .78) 0%, rgba(34, 35, 35, .58) 46%, rgba(25, 26, 27, .7) 100%),
        url("/static/home/images/media-box-generated/hero-publishing.webp") center center / cover no-repeat;
}

.mb-login-header {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    height: 45px;
    padding: 0 40px;
    align-items: center;
    justify-content: space-between;
}

.mb-login-logo {
    display: inline-flex;
    min-width: 0;
    height: 45px;
    align-items: center;
    color: #ffffff;
}

.mb-login-logo:hover,
.mb-login-logo:focus {
    color: #ffffff;
    text-decoration: none;
}

.mb-login-logo__mark,
.mb-login-promo__mark {
    display: inline-flex;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
}

.mb-login-logo__mark img,
.mb-login-promo__mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mb-login-logo__name {
    display: flex;
    margin-left: 10px;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

.mb-login-logo__name strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.mb-login-logo__name small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .82);
    font-size: 10px;
    line-height: 1;
}

.mb-login-logo__divider {
    width: 1px;
    height: 28px;
    margin: 0 18px;
    background: rgba(255, 255, 255, .78);
}

.mb-login-logo__tagline {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.18;
    white-space: nowrap;
}

.mb-login-nav {
    display: flex;
    align-items: center;
}

.mb-login-nav a {
    display: block;
    height: 26px;
    padding: 0 20px;
    color: #ffffff;
    font-size: 14px;
    line-height: 26px;
    white-space: nowrap;
}

.mb-login-nav a:first-child {
    padding-left: 0;
}

.mb-login-nav a:hover,
.mb-login-nav a:focus {
    color: #ffd9d4;
}

.mb-login-main {
    position: relative;
    width: 100%;
    height: 725px;
}

.mb-login-copy {
    position: absolute;
    top: 145px;
    right: calc(12% + 530px);
    left: clamp(40px, 10vw, 150px);
    width: auto;
    color: #ffffff;
}

.mb-login-copy h1,
.mb-login-copy h2,
.mb-login-copy p {
    margin: 0;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}

.mb-login-copy h1 {
    font-size: 72px;
    line-height: 1.08;
}

.mb-login-copy h2 {
    margin-top: 17px;
    font-size: 34px;
    line-height: 1.25;
    white-space: normal;
}

.mb-login-copy p {
    display: inline-block;
    margin-top: 48px;
    padding: 8px 20px 10px;
    color: #fff0a4;
    background: rgba(207, 58, 55, .88);
    font-size: 25px;
    line-height: 1.35;
}

.mb-login-card {
    position: absolute;
    top: 70px;
    right: 12%;
    z-index: 4;
    display: block;
    width: 476px;
    min-height: 578px;
    margin: 0;
    padding: 40px 35px 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .91);
    box-shadow: -13px 13px 19px 1px rgba(0, 0, 0, .2);
}

.mb-login-card__title h1 {
    margin: 0 0 2px;
    color: #333333;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.25;
}

.mb-login-card__title p {
    margin: 0;
    color: #999999;
    font-size: 14px;
    line-height: 1.6;
}

.mb-login-card__title p a {
    color: #ca3939;
    font-weight: 700;
}

.mb-login-tabs {
    display: flex;
    height: 30px;
    margin: 40px 0 40px;
    align-items: flex-start;
    justify-content: center;
}

.mb-login-tabs button {
    position: relative;
    height: 30px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: #999999;
    background: transparent;
    font-family: inherit;
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
}

.mb-login-tabs button.is-active {
    color: #df5151;
}

.mb-login-tabs button.is-active::after {
    position: absolute;
    right: 50%;
    bottom: -1px;
    width: 30px;
    height: 2px;
    border-radius: 1px;
    content: "";
    background: #df5151;
    transform: translateX(50%);
}

.mb-login-tabs > span {
    width: 1px;
    height: 20px;
    margin-top: 1px;
    background: #cbcbcb;
}

.mb-login-fields {
    width: 100%;
}

.mb-login-panel[hidden] {
    display: none;
}

.mb-login-input {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    margin: 0 0 20px;
}

.mb-login-input input {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    outline: none;
    color: #333333;
    background: rgba(255, 255, 255, .88);
    font-family: inherit;
    font-size: 16px;
    line-height: 48px;
}

.mb-login-input input:focus {
    border-color: #3686ff;
}

.mb-login-input input::placeholder {
    color: #bdbdbd;
}

.mb-login-eye {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 50px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: #999999;
    cursor: pointer;
}

.mb-login-captcha {
    display: grid;
    height: 48px;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 10px;
}

.mb-login-captcha > a {
    display: flex;
    width: 110px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    background: #f3fbfe;
}

.mb-login-captcha img {
    display: block;
    width: 110px;
    height: 37px;
    object-fit: contain;
}

.mb-login-mobile-code {
    display: grid;
    height: 48px;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 10px;
}

.mb-login-mobile-code button {
    width: 110px;
    height: 48px;
    padding: 0;
    border: 1px solid #e5b7b2;
    border-radius: 3px;
    color: #bd5047;
    background: #fff4f2;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.mb-login-mobile-code button:hover,
.mb-login-mobile-code button:focus {
    color: #ffffff;
    background: #c7483b;
}

.mb-login-mobile-code button:disabled {
    color: #aaa;
    background: #f5f5f5;
    border-color: #dedede;
    cursor: not-allowed;
}

.mb-login-error {
    min-height: 20px;
    margin: -4px 0 10px;
    color: #e45547;
    font-size: 12px;
    line-height: 1.6;
}

.mb-login-error .tips {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mb-login-error img {
    width: 16px;
    height: 16px;
}

.mb-login-submit {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    border-radius: 23px;
    color: #ffffff;
    background: #c7483b;
    font-family: inherit;
    font-size: 18px;
    line-height: 46px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.mb-login-submit:hover,
.mb-login-submit:focus {
    color: #ffffff;
    background: #ad3930;
}

.mb-login-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 24px;
}

.mb-login-links a {
    color: #666666;
}

.mb-login-links span a {
    color: #ca3939;
}

.mb-login-social {
    margin-top: 15px;
    text-align: center;
}

.mb-login-social p {
    margin: 0;
    color: #df5151;
    font-size: 18px;
    line-height: 1.5;
}

.mb-login-social > div {
    display: flex;
    width: 134px;
    margin: 14px auto 0;
    justify-content: center;
    gap: 20px;
}

.mb-login-social a,
.mb-login-social button {
    display: inline-flex;
    width: 45px;
    height: 45px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-family: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease;
}

.mb-login-social a:hover,
.mb-login-social a:focus,
.mb-login-social button:hover,
.mb-login-social button:focus {
    color: #ffffff;
    transform: translateY(-1px);
}

.mb-login-social__wechat {
    background: #39b54a;
}

.mb-login-social__qq {
    background: #1f2933;
}

.mb-login-promo {
    min-height: 148px;
    padding: 24px 40px;
    background: #ffffff;
}

.mb-login-promo__inner {
    display: flex;
    width: min(960px, 100%);
    min-height: 100px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.mb-login-promo__mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 31px;
}

.mb-login-promo__inner > div {
    display: flex;
    flex-direction: column;
}

.mb-login-promo__inner strong {
    color: #333333;
    font-size: 26px;
    line-height: 1.4;
}

.mb-login-promo__inner small {
    margin-top: 5px;
    color: #888888;
    font-size: 14px;
}

.mb-login-promo__inner > a {
    display: inline-flex;
    min-width: 126px;
    height: 42px;
    margin-left: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    color: #ffffff;
    background: #c7483b;
    font-size: 15px;
}

.mb-login-promo__inner > a:hover,
.mb-login-promo__inner > a:focus {
    color: #ffffff;
    background: #ad3930;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1200px) {
    .mb-login-nav a {
        padding-right: 12px;
        padding-left: 12px;
    }

    .mb-login-logo__tagline,
    .mb-login-logo__divider {
        display: none;
    }

    .mb-login-copy {
        right: calc(12% + 510px);
        left: 6%;
        width: auto;
    }

    .mb-login-copy h1 {
        font-size: 68px;
    }

    .mb-login-copy h2 {
        font-size: 32px;
    }

    .mb-login-copy p {
        margin-top: 36px;
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .mb-login-header {
        padding-right: 24px;
        padding-left: 24px;
    }

    .mb-login-nav a:nth-child(4) {
        display: none;
    }

    .mb-login-card {
        right: 5%;
        width: 440px;
    }

    .mb-login-copy {
        left: 5%;
        right: calc(5% + 475px);
        width: auto;
    }

    .mb-login-copy h1 {
        font-size: 56px;
    }

    .mb-login-copy h2 {
        font-size: 27px;
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .mb-login-bg {
        height: auto;
        min-height: 720px;
        padding-top: 16px;
        background-position: center top;
    }

    .mb-login-header {
        height: 45px;
        padding: 0 18px;
    }

    .mb-login-logo__mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 23px;
    }

    .mb-login-logo__name strong {
        font-size: 18px;
    }

    .mb-login-logo__name small {
        font-size: 9px;
    }

    .mb-login-nav {
        display: block;
    }

    .mb-login-nav a {
        display: none;
    }

    .mb-login-nav a:first-child {
        display: block;
        padding: 0;
        font-size: 14px;
    }

    .mb-login-main {
        height: auto;
        min-height: 650px;
        padding: 0 0 30px;
    }

    .mb-login-copy {
        display: none;
    }

    .mb-login-card {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 36px);
        min-height: 0;
        margin: 88px auto 0;
        padding: 26px 18px 24px;
    }

    .mb-login-card__title h1 {
        font-size: 29px;
    }

    .mb-login-tabs {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .mb-login-tabs button {
        padding: 0 8px;
        font-size: 15px;
    }

    .mb-login-promo {
        min-height: 0;
        padding: 24px 18px 30px;
    }

    .mb-login-promo__inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .mb-login-promo__mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 25px;
    }

    .mb-login-promo__inner strong {
        font-size: 20px;
    }

    .mb-login-promo__inner small {
        font-size: 12px;
    }

    .mb-login-promo__inner > a {
        width: 100%;
        margin: 4px 0 0;
    }
}

@media (max-width: 420px) {
    .mb-login-card {
        width: calc(100% - 24px);
        margin-top: 70px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .mb-login-captcha {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .mb-login-captcha > a,
    .mb-login-captcha img {
        width: 96px;
    }

    .mb-login-mobile-code {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .mb-login-mobile-code button {
        width: 96px;
    }

    .mb-login-links {
        font-size: 13px;
    }
}
