.vine-auth-shell {
    width: min(100% - 32px, 760px);
    margin: 36px auto 72px;
}

.vine-auth-card {
    width: 100%;
    padding: 38px 40px;
    border: 1px solid #dfe3ef;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(39, 42, 70, .10);
    box-sizing: border-box;
}

.vine-auth-card h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    color: #1d1e2c;
}

.vine-auth-subtitle {
    margin: 10px 0 28px;
    color: #77798a;
    font-size: 15px;
}

.vine-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.vine-field {
    display: block;
    margin: 0;
}

.vine-field span {
    display: block;
    margin-bottom: 8px;
    color: #343646;
    font-size: 14px;
    font-weight: 600;
}

.vine-field input {
    display: block;
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #d5dae9;
    border-radius: 15px;
    background: #ffffff;
    color: #1d1e2c;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

.vine-field input:focus {
    border-color: #7057ed;
    box-shadow: 0 0 0 4px rgba(112, 87, 237, .12);
}

.vine-password-match {
    min-height: 20px;
    margin-top: -8px;
    font-size: 14px;
}

.vine-password-match.success {
    color: #159451;
}

.vine-password-match.error {
    color: #c7364c;
}

.vine-turnstile-block {
    width: 100%;
    margin: 2px 0 0;
}

.vine-turnstile-block .cf-turnstile {
    display: block;
    width: 100%;
    min-height: 65px;
    overflow: visible;
}

.vine-turnstile-block iframe {
    max-width: 100% !important;
}

.vine-turnstile-help {
    margin: 8px 0 0;
    color: #77798a;
    font-size: 13px;
}

.vine-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: auto;
    min-width: 150px;
    height: 52px;
    margin: 4px 0 0;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: #6c51ed;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.vine-primary-button:hover {
    background: #5940d7;
}

.vine-primary-button:disabled {
    opacity: .65;
    cursor: wait;
}

.vine-register-button {
    min-width: 220px;
}

.vine-auth-footer {
    margin-top: 22px;
    color: #30313e;
    font-size: 15px;
}

.vine-auth-footer a {
    color: #6047db;
    font-weight: 600;
}

.vine-auth-messages {
    width: min(100% - 32px, 1080px);
    margin: 18px auto 0;
}

.vine-auth-message {
    padding: 14px 16px;
    border-radius: 13px;
    background: #eef3ff;
    color: #334a8b;
}

.vine-auth-message.error {
    background: #fff0f2;
    color: #ae2d42;
}

.vine-auth-message.success {
    background: #ecfff4;
    color: #167348;
}

@media (max-width: 700px) {
    .vine-auth-shell {
        width: min(100% - 24px, 760px);
        margin-top: 22px;
    }

    .vine-auth-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .vine-auth-card h1 {
        font-size: 32px;
    }

    .vine-field input {
        height: 54px;
        font-size: 15px;
    }

    .vine-primary-button,
    .vine-register-button {
        width: 100%;
        min-width: 0;
        height: 52px;
    }

    .vine-turnstile-block {
        overflow-x: auto;
    }
}


/* FINAL REGISTER UI */

.vine-primary-button,
.vine-register-button {
    align-self:center !important;
    justify-self:center !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:auto !important;
    min-width:220px !important;

    height:52px !important;
    padding:0 32px !important;

    margin:10px auto 0 !important;
}


.vine-password-match {
    min-height:18px !important;
    height:auto !important;
}


.vine-turnstile-block {
    width:100% !important;
    min-height:0 !important;
    margin:4px auto 0 !important;
    overflow:hidden !important;
    display:flex !important;
    justify-content:center !important;
}


.vine-turnstile-block .cf-turnstile {
    width:fit-content !important;
    min-height:0 !important;
    transform-origin:center !important;
}


/* 删除旧留白 */
.vine-turnstile-help {
    margin:4px 0 0 !important;
}


@media(max-width:600px){

.vine-primary-button,
.vine-register-button{
    width:100% !important;
    min-width:0 !important;
}

}
