.instay-member-body {
    --instay-member-ink: #111111;
    --instay-member-navy: #081827;
    --instay-member-muted: #737771;
    --instay-member-line: #dcded9;
    --instay-member-soft: #f4f5f2;
    --instay-member-paper: #ffffff;
    margin: 0;
    min-width: 320px;
    background: var(--instay-member-soft);
    color: var(--instay-member-ink);
    font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
    word-break: keep-all;
}

.instay-member-body * {
    box-sizing: border-box;
}

.instay-member-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 76px) 0;
}

.instay-member-shell a {
    color: inherit;
    text-decoration: none;
}

.instay-member-logo {
    display: inline-block;
    margin: 0 0 34px;
    color: var(--instay-member-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.055em;
}

.instay-member-login-card {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
    overflow: hidden;
    min-height: 650px;
    border: 1px solid var(--instay-member-line);
    border-radius: 2px;
    background: var(--instay-member-paper);
    box-shadow: 0 22px 70px rgba(8, 24, 39, .08);
}

.instay-member-login-story {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 6vw, 86px) clamp(38px, 5vw, 70px);
    background: var(--instay-member-navy);
    color: #fff;
}

.instay-member-login-story h1 {
    position: relative;
    z-index: 1;
    margin: 84px 0 28px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.18;
    letter-spacing: -.055em;
}

.instay-member-login-story p:not(.instay-member-eyebrow) {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 15px;
    line-height: 1.85;
}

.instay-member-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.instay-member-story-mark {
    position: absolute;
    right: -14px;
    bottom: -150px;
    color: rgba(255, 255, 255, .035);
    font-size: 560px;
    font-weight: 900;
    line-height: 1;
}

.instay-member-login-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(46px, 6vw, 82px) clamp(34px, 6vw, 86px);
}

.instay-member-heading {
    margin-bottom: 34px;
}

.instay-member-heading h1,
.instay-member-heading h2 {
    margin: 7px 0 12px;
    color: var(--instay-member-ink);
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.055em;
}

.instay-member-heading p:not(.instay-member-step-label) {
    margin: 0;
    color: var(--instay-member-muted);
    font-size: 14px;
    line-height: 1.7;
}

.instay-member-heading-small h2 {
    font-size: 30px;
}

.instay-member-step-label {
    margin: 0;
    color: #8d928b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.instay-member-form {
    display: grid;
    gap: 18px;
}

.instay-member-field {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.instay-member-field label {
    color: #292c28;
    font-size: 13px;
    font-weight: 700;
}

.instay-member-field label b {
    margin-left: 4px;
    color: #eb4c33;
    font-size: 10px;
}

.instay-member-field input,
.instay-member-field select,
.instay-member-field textarea {
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid #cfd2cc;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: var(--instay-member-ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.instay-member-field input:focus,
.instay-member-field select:focus,
.instay-member-field textarea:focus {
    border-color: var(--instay-member-ink);
    box-shadow: 0 0 0 1px var(--instay-member-ink);
}

.instay-member-field input[readonly] {
    background: #f6f6f4;
    color: #656963;
}

.instay-member-field input::placeholder {
    color: #a4a8a1;
}

.instay-member-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.instay-member-field-message {
    min-height: 0;
    color: #62675f;
    font-size: 12px;
}

.instay-member-field-error {
    color: #d63f2d;
}

.instay-member-help {
    margin: 0;
    color: #888d86;
    font-size: 12px;
    line-height: 1.6;
}

.instay-member-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -2px;
    color: #636760;
    font-size: 12px;
}

.instay-member-form-meta a {
    border-bottom: 1px solid #a8aba6;
}

.instay-member-find-trigger {
    padding: 0 0 2px;
    border: 0;
    border-bottom: 1px solid #a8aba6;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.instay-member-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: #474b45;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.instay-member-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    accent-color: var(--instay-member-ink);
}

.instay-member-check em {
    margin-left: 3px;
    color: #91958f;
    font-size: 11px;
    font-style: normal;
}

.instay-member-check-block {
    display: flex;
    width: 100%;
}

.instay-member-check-strong {
    color: var(--instay-member-ink);
    font-size: 15px;
    font-weight: 700;
}

.instay-member-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--instay-member-ink);
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.instay-member-button-dark {
    background: var(--instay-member-ink);
    color: #fff !important;
}

.instay-member-button-dark:hover {
    background: #2b2b2b;
}

.instay-member-button-outline {
    background: #fff;
    color: var(--instay-member-ink);
}

.instay-member-button-outline:hover {
    background: #f1f2ef;
}

.instay-member-button:disabled {
    opacity: .55;
    cursor: wait;
}

.instay-member-login-join {
    margin: 25px 0 0;
    color: #71756f;
    font-size: 13px;
    text-align: center;
}

.instay-member-login-join a {
    margin-left: 5px;
    border-bottom: 1px solid var(--instay-member-ink);
    color: var(--instay-member-ink);
    font-weight: 700;
}

.instay-member-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 26px 0 19px;
    color: #949892;
    font-size: 11px;
    text-align: center;
}

.instay-member-divider::before,
.instay-member-divider::after {
    height: 1px;
    flex: 1;
    background: #e1e3df;
    content: "";
}

.instay-member-social h3,
.instay-member-social h2 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}

.instay-member-social > p {
    margin: -4px 0 20px;
    color: var(--instay-member-muted);
    font-size: 12px;
    text-align: center;
}

.instay-member-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.instay-member-social-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #d8dad5;
    background: #fff;
    color: #30332f;
    font-size: 12px;
    font-weight: 700;
}

.instay-member-social-button i {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
}

.instay-member-social-naver i {
    background: #03c75a;
}

.instay-member-social-kakao i {
    background: #fee500;
    color: #111;
}

.instay-member-social-google i {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #4285f4;
}

.instay-member-social-facebook i {
    background: #1877f2;
}

.instay-member-social-twitter i {
    background: #111;
}

.instay-member-social-payco i {
    background: #fa2828;
}

.instay-member-social-register {
    margin: 0 0 34px;
    padding: 28px;
    border: 1px solid #e0e2dd;
    background: #fafbf9;
}

.instay-member-guest {
    width: min(680px, 100%);
    margin: 46px auto 0;
    padding: clamp(30px, 5vw, 50px);
    border: 1px solid var(--instay-member-line);
    background: #fff;
}

.instay-member-privacy-box {
    max-height: 190px;
    overflow: auto;
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid #e0e2dd;
    background: #f8f9f7;
    color: #666a64;
    font-size: 12px;
    line-height: 1.75;
}

.instay-member-guest > .instay-member-button {
    width: 100%;
    margin-top: 22px;
}

.instay-member-back {
    display: table;
    margin: 27px auto 0;
    border-bottom: 1px solid #a7aaa5;
    color: #646861;
    font-size: 12px;
}

.instay-member-panel {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: clamp(34px, 6vw, 72px);
    border: 1px solid var(--instay-member-line);
    background: #fff;
    box-shadow: 0 18px 60px rgba(8, 24, 39, .055);
}

.instay-member-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 46px;
    padding: 0;
    list-style: none;
}

.instay-member-steps li {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #d7d9d5;
    border-bottom: 1px solid #d7d9d5;
    color: #a0a39e;
    font-size: 12px;
}

.instay-member-steps li + li {
    border-left: 1px solid #e2e3e0;
}

.instay-member-steps li span {
    font-size: 10px;
    font-weight: 800;
}

.instay-member-steps .instay-member-step-active {
    border-color: var(--instay-member-ink);
    background: var(--instay-member-ink);
    color: #fff;
    font-weight: 700;
}

.instay-member-agreement-form {
    display: grid;
    gap: 12px;
}

.instay-member-agree-all {
    padding: 20px 22px;
    border: 1px solid var(--instay-member-ink);
    background: #fafbf9;
}

.instay-member-agree-all p {
    margin: 8px 0 0 28px;
    color: #858982;
    font-size: 11px;
    line-height: 1.6;
}

.instay-member-agree-list {
    border: 1px solid #dedfdb;
    background: #fff;
}

.instay-member-agree-item + .instay-member-agree-item {
    border-top: 1px solid #e5e6e2;
}

.instay-member-agree-row {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 20px;
    padding: 0 22px;
}

.instay-member-agree-row .instay-member-check {
    flex: 1 1 auto;
    align-items: center;
    color: #2c2f2b;
    font-weight: 700;
}

.instay-member-required {
    display: inline-flex;
    margin-right: 8px;
    padding: 3px 6px;
    background: var(--instay-member-navy);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    vertical-align: 1px;
}

.instay-member-terms-button {
    flex: 0 0 auto;
    padding: 4px 0 3px;
    border: 0;
    border-bottom: 1px solid #a8aba6;
    background: transparent;
    color: #747871;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.instay-member-terms-button[aria-expanded="true"] {
    color: var(--instay-member-ink);
}

.instay-member-terms {
    border: 1px solid #dedfdb;
    background: #fff;
}

.instay-member-terms summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px;
    color: #2c2f2b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.instay-member-terms summary::-webkit-details-marker {
    display: none;
}

.instay-member-terms summary b {
    display: inline-flex;
    margin-right: 8px;
    padding: 3px 6px;
    background: var(--instay-member-navy);
    color: #fff;
    font-size: 9px;
}

.instay-member-terms-toggle {
    color: #91958f;
    font-size: 11px;
    font-weight: 500;
}

.instay-member-terms[open] .instay-member-terms-toggle {
    color: transparent;
}

.instay-member-terms[open] .instay-member-terms-toggle::after {
    color: #91958f;
    content: "닫기";
}

.instay-member-terms-content {
    max-height: 230px;
    overflow: auto;
    padding: 20px 22px;
    border-top: 1px solid #e5e6e2;
    background: #f8f9f7;
    color: #5f635d;
    font-size: 12px;
    line-height: 1.75;
}

.instay-member-terms-content[hidden] {
    display: none;
}

.instay-member-terms-content pre {
    margin: 0;
    white-space: pre-wrap;
    color: inherit;
    font: inherit;
}

.instay-member-terms-content p {
    margin: 0;
}

.instay-member-terms > .instay-member-check {
    padding: 17px 22px;
    border-top: 1px solid #e5e6e2;
}

.instay-member-terms-compact {
    margin-top: 12px;
}

.instay-member-terms-compact summary {
    min-height: 54px;
}

.instay-member-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.instay-member-table {
    width: 100%;
    min-width: 590px;
    border-collapse: collapse;
    text-align: left;
}

.instay-member-table th,
.instay-member-table td {
    padding: 13px 14px;
    border: 1px solid #dfe1dc;
    vertical-align: top;
}

.instay-member-table th {
    background: #eff0ed;
    color: #363a35;
    font-weight: 700;
}

.instay-member-actions {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 10px;
    margin-top: 28px;
}

.instay-member-actions-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.instay-member-actions-center .instay-member-button {
    width: min(280px, 100%);
}

.instay-member-modal-open {
    overflow: hidden;
}

.instay-member-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.instay-member-modal[hidden] {
    display: none;
}

.instay-member-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(8, 24, 39, .72);
    cursor: default;
}

.instay-member-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 42px;
    border: 1px solid #d8dad5;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
}

.instay-member-modal-dialog h2 {
    margin: 8px 0 13px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.05em;
}

.instay-member-modal-copy {
    margin: 0 0 25px;
    color: var(--instay-member-muted);
    font-size: 13px;
    line-height: 1.7;
}

.instay-member-modal-close {
    position: absolute;
    top: 15px;
    right: 17px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font: 300 32px/1 Arial, sans-serif;
    cursor: pointer;
}

.instay-member-modal-captcha #captcha {
    display: grid;
    grid-template-columns: auto minmax(110px, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 15px;
    border: 1px solid #dfe1dc;
    background: #f6f7f4;
}

.instay-member-modal-captcha #captcha legend,
.instay-member-modal-captcha #captcha_info {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.instay-member-modal-captcha #captcha_img {
    width: 100px;
    height: 40px;
}

.instay-member-modal-captcha #captcha_key {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 11px;
    border: 1px solid #cfd2cc;
    background: #fff;
    font: inherit;
}

.instay-member-modal-captcha #captcha_mp3,
.instay-member-modal-captcha #captcha_reload {
    width: 40px;
    height: 40px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #cfd2cc;
    background: #fff;
    color: transparent;
    font-size: 0;
    cursor: pointer;
}

.instay-member-modal-captcha #captcha_mp3::after,
.instay-member-modal-captcha #captcha_reload::after {
    color: #222;
    font-size: 15px;
}

.instay-member-modal-captcha #captcha_mp3::after {
    content: "♪";
}

.instay-member-modal-captcha #captcha_reload::after {
    content: "↻";
}

.instay-member-modal-note {
    margin: 17px 0 0;
    color: #858982;
    font-size: 11px;
    text-align: center;
}

.instay-member-result-frame {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

.instay-member-register-form {
    gap: 28px;
}

.instay-member-form-section {
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid #dfe1dc;
}

.instay-member-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 2px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eceeeb;
}

.instay-member-section-head > span {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--instay-member-navy);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.instay-member-section-head h2 {
    margin: 0 0 5px;
    color: #1c1e1b;
    font-size: 19px;
    letter-spacing: -.035em;
}

.instay-member-section-head p {
    margin: 0;
    color: #858982;
    font-size: 11px;
    line-height: 1.55;
}

.instay-member-certify {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    background: #f4f5f2;
}

.instay-member-certify strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.instay-member-certify p {
    margin: 0;
    color: #777b75;
    font-size: 11px;
}

.instay-member-certify-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.instay-member-mini-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #c8cbc5;
    border-radius: 0;
    background: #fff;
    color: #2f322e;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.instay-member-postcode {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.instay-member-choice-list {
    display: grid;
    gap: 0;
    border-top: 1px solid #e2e4df;
}

.instay-member-choice-list .instay-member-check {
    min-height: 54px;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid #e2e4df;
}

.instay-member-captcha {
    overflow: hidden;
    padding: 18px;
    border: 1px solid #e1e3df;
    background: #f8f9f7;
}

.instay-member-captcha img {
    max-width: 100%;
    height: auto;
}

.instay-member-captcha input {
    max-width: 180px;
    height: 44px;
    border: 1px solid #cfd2cc;
}

.instay-member-shell-result {
    display: flex;
    flex-direction: column;
}

.instay-member-result {
    width: min(760px, 100%);
    text-align: center;
}

.instay-member-result-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--instay-member-navy);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.instay-member-result h1 {
    margin: 9px 0 16px;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -.06em;
}

.instay-member-result-lead {
    margin: 0 0 38px;
    color: #6d716b;
    font-size: 15px;
    line-height: 1.75;
}

.instay-member-result .instay-member-steps {
    margin-bottom: 34px;
}

.instay-member-notice {
    padding: 30px;
    background: #f3f4f1;
    text-align: left;
}

.instay-member-notice > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.instay-member-notice > p {
    margin: 0;
    color: #6a6e67;
    font-size: 13px;
    line-height: 1.7;
}

.instay-member-notice dl {
    margin: 23px 0 0;
    border-top: 1px solid #d9dbd6;
}

.instay-member-notice dl div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #d9dbd6;
}

.instay-member-notice dt,
.instay-member-notice dd {
    margin: 0;
    font-size: 13px;
}

.instay-member-notice dt {
    color: #777b74;
}

.instay-member-notice dd {
    overflow-wrap: anywhere;
    font-weight: 700;
}

.instay-member-security-note {
    margin: 24px 0 0;
    color: #8b8f88;
    font-size: 11px;
    line-height: 1.6;
}

.instay-member-provider-badge {
    display: table;
    margin: 0 0 24px;
    padding: 7px 10px;
    background: var(--instay-member-navy);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.instay-member-social-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 32px;
}

.instay-member-social-choice-button {
    display: grid;
    min-height: 96px;
    align-content: center;
    gap: 7px;
    padding: 20px;
    border: 1px solid #d4d7d1;
    border-radius: 0;
    background: #fff;
    color: #31342f;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.instay-member-social-choice-button strong {
    font-size: 14px;
}

.instay-member-social-choice-button span {
    color: #858a82;
    font-size: 11px;
}

.instay-member-social-choice-active {
    border-color: var(--instay-member-navy);
    background: var(--instay-member-navy);
    color: #fff;
}

.instay-member-social-choice-active span {
    color: rgba(255, 255, 255, .66);
}

.instay-member-social-panel[hidden] {
    display: none;
}

.instay-member-account-link-copy {
    margin: 8px 0 30px;
    padding: 28px;
    background: #f3f4f1;
}

.instay-member-account-link-copy h2 {
    margin: 0 0 9px;
    font-size: 23px;
    letter-spacing: -.04em;
}

.instay-member-account-link-copy p {
    margin: 0;
    color: #70746d;
    font-size: 13px;
    line-height: 1.75;
}

.instay-member-account-link-form {
    width: min(520px, 100%);
    margin: 0 auto;
}

.instay-member-account-link-form .instay-member-button {
    width: 100%;
    margin-top: 8px;
}

.instay-member-text-link {
    display: table;
    margin: 4px auto 0;
    border-bottom: 1px solid #a5a9a2;
    color: #696d66;
    font-size: 12px;
}

.instay-member-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 860px) {
    .instay-member-login-card {
        grid-template-columns: 1fr;
    }

    .instay-member-login-story {
        min-height: 300px;
    }

    .instay-member-login-story h1 {
        margin-top: 52px;
    }

    .instay-member-login-main {
        padding: 48px clamp(26px, 7vw, 58px);
    }

    .instay-member-story-mark {
        right: 10px;
        bottom: -120px;
        font-size: 400px;
    }
}

@media (max-width: 640px) {
    .instay-member-shell {
        width: min(100% - 28px, 100%);
        padding: 26px 0 42px;
    }

    .instay-member-logo {
        margin-bottom: 24px;
    }

    .instay-member-login-card {
        min-height: 0;
        box-shadow: none;
    }

    .instay-member-login-story {
        min-height: 240px;
        padding: 34px 27px;
    }

    .instay-member-login-story h1 {
        margin: 38px 0 16px;
        font-size: 31px;
    }

    .instay-member-login-story p:not(.instay-member-eyebrow) {
        font-size: 13px;
    }

    .instay-member-login-main {
        padding: 38px 25px;
    }

    .instay-member-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .instay-member-panel {
        padding: 32px 20px;
        box-shadow: none;
    }

    .instay-member-steps {
        margin-bottom: 32px;
    }

    .instay-member-steps li {
        min-height: 48px;
        gap: 4px;
        font-size: 10px;
    }

    .instay-member-steps li span {
        display: none;
    }

    .instay-member-agree-all {
        padding: 18px;
    }

    .instay-member-agree-row {
        min-height: 60px;
        gap: 12px;
        padding: 0 18px;
    }

    .instay-member-agree-row .instay-member-check {
        font-size: 12px;
    }

    .instay-member-required {
        margin-right: 5px;
    }

    .instay-member-social-register {
        padding: 22px 18px;
    }

    .instay-member-field-grid {
        grid-template-columns: 1fr;
    }

    .instay-member-form-section {
        padding: 23px 18px;
    }

    .instay-member-certify {
        align-items: flex-start;
        flex-direction: column;
    }

    .instay-member-certify-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .instay-member-postcode {
        grid-template-columns: minmax(0, 1fr) 104px;
    }

    .instay-member-actions {
        grid-template-columns: 1fr;
    }

    .instay-member-modal {
        padding: 14px;
    }

    .instay-member-modal-dialog {
        max-height: calc(100vh - 28px);
        padding: 35px 20px 26px;
    }

    .instay-member-modal-captcha #captcha {
        grid-template-columns: 100px minmax(0, 1fr) 40px;
    }

    .instay-member-modal-captcha #captcha_mp3 {
        display: none;
    }

    .instay-member-social-choice {
        grid-template-columns: 1fr;
    }

    .instay-member-social-choice-button {
        min-height: 82px;
    }

    .instay-member-notice {
        padding: 22px;
    }

    .instay-member-notice dl div {
        grid-template-columns: 70px minmax(0, 1fr);
    }
}

@media (max-width: 390px) {
    .instay-member-shell {
        width: min(100% - 20px, 100%);
    }

    .instay-member-login-main,
    .instay-member-panel {
        padding-right: 17px;
        padding-left: 17px;
    }

    .instay-member-form-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .instay-member-social-grid {
        grid-template-columns: 1fr;
    }

    .instay-member-postcode {
        grid-template-columns: 1fr;
    }
}
