/* Membership screens. Existing content artwork and public theme are retained. */
.member-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 28px 80px;
}
.member-auth-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1000px;
}
.member-card {
    background: #fff;
    border: 1px solid #e8e6e9;
    border-radius: 24px;
    padding: 36px;
    min-width: 0;
}
.member-kicker {
    display: block;
    color: #82738b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}
.member-wrap h1 {
    font-family: SUITE, var(--font);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.45;
    margin: 0 0 16px;
}
.member-wrap h2 {
    font-size: 23px;
    margin: 0 0 12px;
}
.member-welcome {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 560px;
    font-family: var(--font);
    background: #625267;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 34px 30px;
    color: #fff;
}
.member-welcome-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}
.member-welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, #352d4bba 0%, #3b304b5c 39%, #3b304b08 66%, #30243dba 100%),
        linear-gradient(90deg, #43354a45, transparent 80%);
}
.member-welcome .member-kicker {
    color: #f5e7ed;
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.member-welcome h1 {
    color: #fff;
    font-family: var(--font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.045em;
    margin-bottom: 17px;
    text-shadow: 0 2px 18px #30243d26;
}
.member-welcome-copy > p {
    color: #fff4f5;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 0;
}
.member-welcome-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.member-welcome-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    background: #fff2;
    border: 1px solid #fff4;
    border-radius: 100px;
    color: #fff;
    font-size: 10px;
    backdrop-filter: blur(10px);
}
.member-welcome-tags .icon {
    width: 13px;
    height: 13px;
}
.member-welcome .member-small {
    margin: 0;
    color: #ffeff4;
    font-size: 11px;
}
.member-subtext {
    color: #79717f;
    font-size: 13px;
    line-height: 1.85;
}
.member-small {
    color: #77717c;
    font-size: 12px;
    line-height: 1.85;
}
.member-auth-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
}
.member-auth-card > .member-back { margin-top: auto; }
.member-login-options {
    display: grid;
    gap: 12px;
    margin: 28px 0 20px;
}
.member-provider {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    height: 58px;
    min-height: 58px;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e3e8;
    text-align: left;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #37313e;
}
.member-provider:not(:disabled):hover {
    box-shadow: 0 3px 10px #30243a0c;
}
.member-provider:disabled {
    opacity: 1;
    color: #79747f;
    background: #f7f7f9;
    border-color: #e8e6ec;
}
.member-provider > span:not(.provider-letter) {
    display: block;
}
.member-provider small {
    font-size: 10px;
    line-height: 1.4;
    font-weight: 400;
    white-space: nowrap;
    color: #928b99;
}
.provider-letter {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
}
.provider-letter .icon {
    width: 22px;
    height: 22px;
}
.member-auth-card h2 {
    font-family: var(--font);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.045em;
    margin-bottom: 12px;
}
.member-auth-card > .member-subtext {
    font-size: 13px;
    line-height: 1.85;
}
.member-auth-card .member-login-options form {
    margin: 0;
}
.provider-kakao:not(:disabled) {
    background: #fee500;
    border-color: #fee500;
    color: #191919;
}
.provider-naver:not(:disabled) {
    background: #03c75a;
    border-color: #03c75a;
    color: #fff;
}
.provider-google .provider-letter {
    color: #4285f4;
}
.member-back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #756487;
    font-size: 13px;
    padding-top: 10px;
}
.member-back .icon {
    width: 17px;
    height: 17px;
}
.member-narrow {
    max-width: 620px;
}
.member-form {
    gap: 10px;
}
.member-form > label {
    font-size: 13px;
}
.member-form .member-small {
    margin: 0 0 16px;
}
.member-consents {
    padding: 20px 0;
    border: 0;
    border-top: 1px solid #e9e6eb;
    margin: 4px 0 0;
    min-width: 0;
}
.member-consents legend {
    font-size: 12px;
    font-weight: 600;
    color: #77717c;
    padding: 0 12px 0 0;
}
.member-consents label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin: 12px 0;
}
.member-consents input[type="checkbox"],
.member-delete-confirm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 2px 0 0;
    accent-color: #7d6b90;
}
.member-consents small {
    color: #8e8494;
    font-size: 10px;
}
.member-consents a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.member-form .button {
    width: 100%;
    justify-content: center;
}
.member-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.member-page-heading h1 {
    margin: 0;
}
.member-my-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.member-avatar {
    display: grid;
    place-items: center;
    background: #ede6f1;
    color: #7d668e;
    font-family: SUITE, var(--font);
    width: 76px;
    height: 76px;
    border-radius: 26px;
    font-size: 30px;
    margin-bottom: 22px;
}
.member-profile h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
}
.member-profile h2 > span {
    font-size: 14px;
    font-weight: 400;
    margin-left: 5px;
    color: #8a808f;
}
.member-identity-list {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.member-identity-list span {
    background: #f4f2f5;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 11px;
    color: #7c7086;
}
.member-settings {
    padding: 18px 0;
    margin: 14px 0;
    border-top: 1px solid #eee9f0;
    border-bottom: 1px solid #eee9f0;
}
.member-settings summary {
    cursor: pointer;
    font-size: 13px;
}
.member-settings form {
    margin-top: 18px;
}
.member-profile .text-button {
    color: #8b8292;
    font-size: 12px;
}
.member-section-heading {
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
}
.member-section-heading h2 {
    margin: 0 0 12px;
}
.member-history-list {
    margin-top: 24px;
}
.member-history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #ede9ef;
    padding: 22px 0;
}
.member-history-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #f3eff6;
    color: #8b769b;
    border-radius: 13px;
}
.member-history-item h3 {
    margin: 0 0 5px;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.member-history-item p {
    margin: 0;
    font-size: 11px;
    color: #928796;
}
.member-history-link {
    color: #796387;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}
.member-history-link .icon {
    width: 15px;
    height: 15px;
}
.member-empty {
    padding: 50px 10px;
    text-align: center;
}
.member-empty > .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    color: #ad9ab9;
}
.member-empty p {
    font-size: 13px;
    color: #8a7f92;
}
.member-delete {
    max-width: 600px;
    margin: 35px 0 0 auto;
    color: #8b8290;
    font-size: 12px;
}
.member-delete summary {
    cursor: pointer;
    padding: 15px 0;
}
.member-delete p {
    line-height: 1.9;
}
.member-delete-confirm {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
}
.member-delete .form-stack > label {
    font-size: 12px;
}
.member-delete input[name="confirmation"] {
    max-width: 200px;
}
.member-header-link {
    font-size: 12px;
    line-height: 25px;
    white-space: nowrap;
    padding: 8px 13px;
    border: 1px solid #e6e1ed;
    border-radius: 12px;
    color: #71627e;
}
.member-policy-note {
    border: 1px solid #e8e2eb;
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
}
.member-policy-note h2 {
    font-size: 18px;
}
.member-policy-note p {
    font-size: 13px;
}
@media (max-width: 760px) {
    .member-wrap {
        padding: 36px 18px 54px;
    }
    .member-auth-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 500px;
    }
    .member-card {
        padding: 26px 22px;
        border-radius: 20px;
    }
    .member-wrap h1 {
        font-size: 28px;
    }
    .member-welcome {
        min-height: 280px;
        padding: 26px 24px 22px;
    }
    .member-welcome-image {
        object-position: 70% 45%;
    }
    .member-welcome h1 {
        font-size: 29px;
        margin-bottom: 12px;
    }
    .member-welcome .member-kicker {
        margin-bottom: 14px;
        font-size: 8px;
    }
    .member-welcome-copy > p {
        font-size: 12px;
    }
    .member-welcome-tags { display: none; }
    .member-my-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .member-page-heading {
        align-items: flex-start;
    }
    .member-page-heading .button {
        padding: 9px 12px;
        font-size: 11px;
    }
    .member-page-heading h1 {
        font-size: 24px;
    }
    .member-section-heading h2 {
        font-size: 20px;
    }
    .member-history-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .member-history-item > div {
        flex: 1;
        min-width: 0;
    }
    .member-history-link {
        margin-left: 52px;
    }
    .member-header-link {
        padding: 7px 9px;
        font-size: 11px;
    }
    .header-actions {
        gap: 8px;
    }
    .member-narrow {
        max-width: 540px;
    }
}
