/* My Garden World public player registration. Loaded after all legacy themes. */
body.s33-register-page {
    --register-ink: #24372f;
    --register-muted: #67756e;
    --register-green: #2f6b55;
    --register-green-dark: #214d3e;
    --register-coral: #c85d50;
    --register-gold: #b98532;
    --register-line: #d4e2d9;
    min-width: 320px !important;
    min-height: 100svh !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    color: var(--register-ink) !important;
    background: #e9f2ed !important;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important;
    letter-spacing: 0 !important;
}

body.s33-register-page *,
body.s33-register-page *::before,
body.s33-register-page *::after {
    box-sizing: border-box;
    letter-spacing: 0 !important;
}

body.s33-register-page::before {
    display: none !important;
}

body.s33-register-page .zxr-auth-motion {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    background-color: #e9f2ed !important;
    background-image: url('/images/wdhysj/client/garden-bg.png') !important;
    background-position: center top !important;
    background-size: 640px auto !important;
    background-repeat: repeat-x !important;
}

body.s33-register-page .zxr-auth-motion__scrim {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    background: rgba(236, 244, 239, .78) !important;
}

.wdhysj-register-shell {
    position: relative;
    z-index: 2;
    width: min(1160px, calc(100% - 40px));
    min-height: 100svh;
    margin: 0 auto;
    padding: 22px 0 30px;
}

.wdhysj-register-header {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.wdhysj-register-brand {
    display: inline-flex;
    width: 142px;
    height: 58px;
    align-items: center;
    justify-content: flex-start;
}

.wdhysj-register-brand img {
    display: block;
    width: 132px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(36, 55, 47, .14));
}

.wdhysj-register-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wdhysj-register-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    color: var(--register-green-dark) !important;
    background: rgba(255, 255, 255, .84) !important;
    border: 1px solid var(--register-line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.wdhysj-register-actions a.is-primary {
    color: #ffffff !important;
    background: var(--register-green) !important;
    border-color: var(--register-green) !important;
}

.wdhysj-register-workspace {
    display: grid;
    min-height: 690px;
    grid-template-columns: minmax(360px, .84fr) minmax(520px, 1.16fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--register-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(36, 55, 47, .1);
}

.wdhysj-register-scene {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    padding: 38px 34px;
    background-color: #dfefe6;
    background-image: url('/images/wdhysj/client/garden-bg.png');
    background-position: center top;
    background-size: cover;
    border-right: 1px solid var(--register-line);
}

.wdhysj-register-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(244, 249, 246, .2);
    pointer-events: none;
}

.wdhysj-register-scene__copy {
    position: relative;
    z-index: 4;
    max-width: 350px;
}

.wdhysj-register-scene__copy span,
.wdhysj-register-panel__head > div > span {
    display: block;
    color: var(--register-coral);
    font-size: 11px;
    font-weight: 900;
}

.wdhysj-register-scene__copy h1 {
    max-width: 320px;
    margin: 10px 0 12px;
    color: var(--register-green-dark);
    font-family: "Songti SC", STSong, serif;
    font-size: 38px;
    line-height: 1.18;
    font-weight: 900;
}

.wdhysj-register-scene__copy p {
    max-width: 320px;
    margin: 0;
    color: var(--register-muted);
    font-size: 14px;
    line-height: 1.75;
}

.wdhysj-register-scene__garden,
.wdhysj-register-scene__florist {
    position: absolute;
    display: block;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.wdhysj-register-scene__garden {
    z-index: 2;
    left: -36px;
    bottom: -26px;
    width: 410px;
    filter: drop-shadow(0 18px 28px rgba(33, 77, 62, .16));
}

.wdhysj-register-scene__florist {
    z-index: 3;
    right: -22px;
    bottom: -48px;
    width: 205px;
    filter: drop-shadow(0 18px 26px rgba(33, 77, 62, .18));
}

.wdhysj-register-panel {
    min-width: 0;
    padding: 36px 44px 28px;
    background: #ffffff;
}

.wdhysj-register-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.wdhysj-register-panel__head h2 {
    margin: 5px 0 7px;
    color: var(--register-green-dark);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.wdhysj-register-panel__head p {
    margin: 0;
    color: var(--register-muted);
    font-size: 13px;
    line-height: 1.65;
}

.wdhysj-register-invite-state {
    flex: 0 0 auto;
    padding: 6px 9px;
    color: #7b5420;
    background: #fff7e8;
    border: 1px solid #ead7b2;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}

.wdhysj-register-alert {
    margin-bottom: 16px;
    padding: 11px 12px;
    color: #9d352d;
    background: #fff2f0;
    border: 1px solid #efc5c0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 750;
}

.wdhysj-register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.wdhysj-register-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.wdhysj-register-field.is-full,
.wdhysj-register-submit {
    grid-column: 1 / -1;
}

.wdhysj-register-field > label {
    color: var(--register-ink);
    font-size: 13px;
    font-weight: 800;
}

.wdhysj-register-field > small {
    min-height: 17px;
    color: var(--register-muted);
    font-size: 11px;
    line-height: 1.45;
}

.wdhysj-register-field input,
.wdhysj-register-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    color: var(--register-ink) !important;
    background: #f8fbf9 !important;
    border: 1px solid #bfd1c6 !important;
    border-radius: 6px !important;
    outline: none !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px;
}

.wdhysj-register-field input[readonly] {
    color: #53645c !important;
    background: #eef4f0 !important;
}

.wdhysj-register-field input::placeholder {
    color: #8a9891;
    opacity: 1;
}

.wdhysj-register-field input:focus,
.wdhysj-register-field select:focus {
    background: #ffffff !important;
    border-color: var(--register-green) !important;
    box-shadow: 0 0 0 3px rgba(47, 107, 85, .12) !important;
}

.wdhysj-register-input-shell {
    position: relative;
    min-width: 0;
}

.wdhysj-register-input-shell input {
    padding-right: 62px;
}

body.s33-register-page .wdhysj-register-password-toggle {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 52px !important;
    height: 36px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--register-green-dark) !important;
    background: #e9f2ed !important;
    border: 0 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.wdhysj-register-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
    align-items: center;
}

body.s33-register-page .wdhysj-register-captcha__image {
    display: block !important;
    width: 150px !important;
    height: 46px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #edf7f1 !important;
    border: 1px solid #9ebdad !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    cursor: pointer;
}

.wdhysj-register-captcha__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.s33-register-page .wdhysj-register-submit {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px 0 0 !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    background: var(--register-green) !important;
    border: 1px solid var(--register-green) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 15px !important;
    font-weight: 900 !important;
}

body.s33-register-page .wdhysj-register-submit:hover {
    background: var(--register-green-dark) !important;
    border-color: var(--register-green-dark) !important;
}

body.s33-register-page .wdhysj-register-submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.wdhysj-register-panel__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    color: var(--register-muted);
    border-top: 1px solid #e3ece6;
    font-size: 13px;
}

.wdhysj-register-panel__foot a {
    color: var(--register-coral);
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 980px) {
    .wdhysj-register-shell {
        width: min(920px, calc(100% - 28px));
    }

    .wdhysj-register-workspace {
        grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.28fr);
    }

    .wdhysj-register-scene {
        padding: 30px 26px;
    }

    .wdhysj-register-scene__copy h1 {
        font-size: 32px;
    }

    .wdhysj-register-scene__garden {
        left: -62px;
        width: 350px;
    }

    .wdhysj-register-scene__florist {
        right: -40px;
        width: 178px;
    }

    .wdhysj-register-panel {
        padding-inline: 30px;
    }
}

@media (max-width: 760px) {
    body.s33-register-page .zxr-auth-motion {
        background-image: url('/images/wdhysj/client/login-mobile-bg.png') !important;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    body.s33-register-page .zxr-auth-motion__scrim {
        background: rgba(239, 247, 242, .86) !important;
    }

    .wdhysj-register-shell {
        width: min(100% - 20px, 640px);
        padding: 10px 0 20px;
    }

    .wdhysj-register-header {
        min-height: 50px;
        margin-bottom: 10px;
    }

    .wdhysj-register-brand {
        width: 112px;
        height: 48px;
    }

    .wdhysj-register-brand img {
        width: 108px;
        max-height: 48px;
    }

    .wdhysj-register-actions {
        gap: 5px;
    }

    .wdhysj-register-actions a {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .wdhysj-register-workspace {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .wdhysj-register-scene {
        min-height: 188px;
        padding: 20px;
        background-image: url('/images/wdhysj/client/login-mobile-bg.png');
        background-position: center 28%;
        background-size: cover;
        border-right: 0;
        border-bottom: 1px solid var(--register-line);
    }

    .wdhysj-register-scene::after {
        background: rgba(245, 250, 247, .2);
    }

    .wdhysj-register-scene__copy {
        max-width: 240px;
    }

    .wdhysj-register-scene__copy h1 {
        max-width: 240px;
        margin-block: 5px 7px;
        font-size: 26px;
    }

    .wdhysj-register-scene__copy p {
        max-width: 220px;
        font-size: 12px;
        line-height: 1.55;
    }

    .wdhysj-register-scene__garden {
        left: auto;
        right: 36px;
        bottom: -32px;
        width: 210px;
        opacity: .82;
    }

    .wdhysj-register-scene__florist {
        right: -10px;
        bottom: -56px;
        width: 116px;
    }

    .wdhysj-register-panel {
        padding: 24px 20px 22px;
    }
}

@media (max-width: 540px) {
    .wdhysj-register-panel__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .wdhysj-register-panel__head h2 {
        font-size: 24px;
    }

    .wdhysj-register-form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .wdhysj-register-field,
    .wdhysj-register-field.is-full,
    .wdhysj-register-submit {
        grid-column: 1;
    }

    .wdhysj-register-captcha {
        grid-template-columns: minmax(0, 1fr) 132px;
    }

    body.s33-register-page .wdhysj-register-captcha__image {
        width: 132px !important;
    }
}

@media (max-width: 370px) {
    .wdhysj-register-shell {
        width: min(100% - 14px, 640px);
    }

    .wdhysj-register-actions a {
        padding-inline: 7px;
        font-size: 10px;
    }

    .wdhysj-register-panel {
        padding-inline: 15px;
    }

    .wdhysj-register-captcha {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    body.s33-register-page .wdhysj-register-captcha__image {
        width: 118px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wdhysj-register-actions a,
    .wdhysj-register-submit,
    .wdhysj-register-field input,
    .wdhysj-register-field select {
        transition: none !important;
    }
}
