body.v2-member-login {
    margin: 0;
    background: #e8eaee;
    overflow: hidden;
}

body.v2-member-register {
    overflow: auto;
}

.v2-login,
.v2-login *,
.v2-login *::before,
.v2-login *::after {
    box-sizing: border-box;
}

body.v2-member-login #wpadminbar {
    position: absolute;
}

.v2-login {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background: #e8eaee;
}

.v2-login__photo,
.v2-login__grade,
.v2-login__shade,
.v2-login__band,
.v2-login__slash {
    position: absolute;
    inset: 0;
}

.v2-login__photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 62% 46%;
}

.v2-login__grade {
    background: #8f0814;
    mix-blend-mode: color;
    opacity: 0.78;
    clip-path: polygon(0 0, 69.7% 0, 53.5% 100%, 0 100%);
    pointer-events: none;
}

.v2-login__shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 34%, rgba(0, 0, 0, 0.12) 58%, transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, rgba(0, 0, 0, 0.62));
    clip-path: polygon(0 0, 69.7% 0, 53.5% 100%, 0 100%);
}

.v2-login__band,
.v2-login__slash {
    z-index: 2;
    pointer-events: none;
}

.v2-login__band {
    background: #f7f8fa;
    clip-path: polygon(69.85% 0, 72.6% 0, 56.5% 100%, 53.7% 100%);
}

.v2-login__slash {
    background: #e10612;
    clip-path: polygon(69.55% 0, 69.9% 0, 53.75% 100%, 53.4% 100%);
}

.v2-login__brand {
    position: absolute;
    z-index: 4;
    top: 26px;
    left: 34%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.v2-login__badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.v2-login__badge .v2-icon {
    width: 40px;
    height: 40px;
    fill: #fff;
    stroke: none;
}

.v2-login__brand strong {
    margin-top: -4px;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 0.85;
    text-transform: uppercase;
}

.v2-login__brand em {
    margin-top: -4px;
    font-family: "Great Vibes", cursive;
    font-style: normal;
    font-size: 34px;
    line-height: 1;
}

.v2-login__copy {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(460px, 40vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 12px 56px 52px;
}

.v2-login__kicker {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.v2-login h1 {
    margin: 0;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(4rem, 5.1vw, 5.5rem);
    font-weight: 400;
    line-height: 0.84;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.v2-login h1 span {
    color: #e10612;
}

.v2-login__lead {
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.5;
}

.v2-login__perks {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.v2-login__perks li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
}

.v2-login__perks li > span {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e10612;
}

.v2-login__perks .v2-icon {
    width: 17px;
    height: 17px;
}

.v2-login__perks strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}

.v2-login__perks small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.25;
}

.v2-login__sign {
    margin-top: 26px;
}

.v2-login__sign em {
    display: block;
    font-family: "Great Vibes", cursive;
    font-style: normal;
    font-size: 52px;
    line-height: 0.8;
}

.v2-login__sign span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.v2-login__legal {
    position: absolute;
    z-index: 4;
    left: 28px;
    bottom: 28px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.v2-login__panel {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 28px 4.6vw 28px 0;
    background: #e7e9ed;
    clip-path: polygon(72.6% 0, 100% 0, 100% 100%, 56.5% 100%);
    pointer-events: none;
}

.v2-login__panel::before,
.v2-login__panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.v2-login__panel::before {
    top: -8%;
    right: 8%;
    width: 46%;
    height: 70%;
    background: rgba(255, 255, 255, 0.78);
    clip-path: polygon(18% 0, 100% 0, 72% 100%, 0 78%);
    transform: skewX(-14deg);
}

.v2-login__panel::after {
    right: -6%;
    bottom: -10%;
    width: 42%;
    height: 48%;
    background: rgba(255, 255, 255, 0.38);
    clip-path: polygon(20% 0, 100% 18%, 80% 100%, 0 70%);
}

.v2-login__card,
.v2-login__foot {
    pointer-events: auto;
}

.v2-login__card {
    position: relative;
    width: min(420px, 28vw);
    padding: 26px 24px 20px;
    border-radius: 22px;
    background: #fff;
    color: #161616;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.1);
}

.v2-login__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    color: #9aa0a8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.v2-login__label::before,
.v2-login__label::after {
    content: "";
    width: 18px;
    height: 1px;
    background: #d5d8de;
}

.v2-login__card h2 {
    margin: 10px 0 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.v2-login__card h2 span {
    color: #e10612;
}

.v2-login__card > p {
    margin: 8px 0 0;
    color: #8b919a;
    font-size: 13.5px;
    line-height: 1.45;
}

.v2-login__notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f4f5f7;
    font-size: 13px;
}

.v2-login__notice.is-error {
    background: #fff1f1;
    color: #b00010;
}

.v2-login__notice.is-success {
    background: #eefaf1;
    color: #0d7a32;
}

.v2-login__form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.v2-login__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.v2-login__consent {
    display: flex;
    align-items: flex-start;
    color: #5c6370;
    font-weight: 500;
    line-height: 1.4;
}

.v2-login__consent span {
    margin-top: 1px;
}

.v2-login__consent a {
    color: #e10612;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.v2-login--register {
    overflow: visible;
}

.v2-login--register .v2-login__panel {
    position: relative;
    min-height: 100vh;
    height: auto;
}

.v2-login--register .v2-login__card,
.v2-login--register .v2-login__foot {
    width: min(440px, 30vw);
}

.v2-login__field {
    position: relative;
}

.v2-login__field > .v2-icon {
    position: absolute;
    top: 16px;
    left: 14px;
    width: 16px;
    height: 16px;
    color: #b0b5bd;
}

.v2-login__field input {
    width: 100%;
    height: 48px;
    padding: 0 42px;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    background: #fff;
    color: #161616;
    font: 500 14px/1 Inter, sans-serif;
}

.v2-login__field input::placeholder {
    color: #b0b5bd;
}

.v2-login__field input:focus {
    outline: 2px solid rgba(225, 6, 18, 0.18);
    border-color: #e10612;
}

.v2-login__eye {
    position: absolute;
    top: 8px;
    right: 6px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #b0b5bd;
    cursor: pointer;
}

.v2-login__eye .v2-icon {
    width: 16px;
    height: 16px;
}

.v2-login__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.v2-login__keep {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3d4350;
    font-weight: 600;
    cursor: pointer;
}

.v2-login__keep input {
    position: absolute;
    opacity: 0;
}

.v2-login__keep span {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 4px;
    background: #e10612;
}

.v2-login__keep span::after {
    content: "";
    display: block;
    width: 8px;
    height: 5px;
    margin: 3px 0 0 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.v2-login__keep input:not(:checked) + span {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #d5d8de;
}

.v2-login__keep input:not(:checked) + span::after {
    content: none;
}

.v2-login__row > a,
.v2-login__join a {
    color: #e10612;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-login__row > a:hover,
.v2-login__join a:hover {
    text-decoration: underline;
}

.v2-login__submit {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    background: #e10612;
    color: #fff;
    font: 700 15px/1 Inter, sans-serif;
    cursor: pointer;
}

.v2-login__submit:hover {
    background: #c10510;
}

.v2-login__submit .v2-icon {
    width: 16px;
    height: 16px;
}

.v2-login__or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 10px;
    color: #9aa0a8;
    font-size: 13px;
}

.v2-login__or::before,
.v2-login__or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eceef2;
}

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

.v2-login__provider {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    background: #fff;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

a.v2-login__provider:hover {
    border-color: #c8ccd4;
}

.v2-login__provider svg,
.v2-login__provider .v2-icon {
    width: 16px;
    height: 16px;
}

.v2-login__provider .v2-icon--fill {
    fill: currentColor;
    stroke: none;
}

.v2-login__join {
    margin: 14px 0 0;
    color: #8b919a;
    font-size: 13.5px;
    text-align: center;
}

.v2-login__join .v2-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: -2px;
}

.v2-login__foot {
    position: relative;
    z-index: 4;
    width: min(420px, 28vw);
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #4e5560;
    font-size: 13px;
}

.v2-login__foot nav {
    display: flex;
    gap: 16px;
}

.v2-login__foot a {
    color: #6d7380;
    text-decoration: none;
}

.v2-login__foot a:hover {
    color: #111;
}

.v2-login__rule {
    width: 1px;
    height: 16px;
    background: #e10612;
}

.v2-login__socials {
    display: flex;
    gap: 12px;
}

.v2-login__socials .v2-icon {
    width: 18px;
    height: 18px;
    color: #1a1a1a;
}

.v2-login .v2-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v2-login__badge .v2-icon {
    fill: #fff;
    stroke: none;
}

.v2-login__provider .v2-icon--fill {
    fill: currentColor;
    stroke: none;
}

.v2-login__provider--twitch .v2-icon {
    width: 18px;
    height: 18px;
    color: #9146ff;
    fill: #9146ff;
    stroke: none;
}

.v2-login__socials .v2-icon--fill {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 1100px) {
    body.v2-member-login {
        overflow: auto;
    }

    .v2-login {
        min-height: 100vh;
    }

    .v2-login__shade,
    .v2-login__grade,
    .v2-login__slash,
    .v2-login__band,
    .v2-login__panel {
        clip-path: none;
    }

    .v2-login__slash,
    .v2-login__band,
    .v2-login__panel::before,
    .v2-login__panel::after {
        display: none;
    }

    .v2-login__photo {
        position: relative;
        height: 72vh;
    }

    .v2-login__shade {
        position: absolute;
        inset: 0 0 auto;
        height: 72vh;
    }

    .v2-login__brand,
    .v2-login__copy,
    .v2-login__legal {
        position: absolute;
    }

    .v2-login__copy {
        width: min(560px, 100%);
        height: 72vh;
        padding: 96px 24px 48px;
    }

    .v2-login__brand {
        left: 50%;
    }

    .v2-login__panel {
        position: relative;
        background: #e8eaee;
        padding: 28px 16px 24px;
    }

    .v2-login__card,
    .v2-login__foot {
        position: static;
        width: min(100%, 440px);
        margin: 0 auto;
        transform: none;
    }

    .v2-login__foot {
        margin-top: 18px;
    }

    .v2-login--register .v2-login__card,
    .v2-login--register .v2-login__foot {
        width: min(100%, 440px);
    }

    .v2-login__pair {
        grid-template-columns: 1fr;
    }
}
