/* BOY STORE ID V18.20.1 — Member page, aligned with the published Store Builder theme.
   Theme tokens come from buyer-theme.js and boy-v18-3-system.css.
   Presentation-only: buyer authentication, sessions, APIs and checkout are unchanged. */
*{box-sizing:border-box}
:root{--member-radius:24px;--member-button-radius:18px;--member-lift:4px}
html[data-button-style="pill"],html[data-button-style="pill-3d"],html[data-button-style="glossy-bubble"]{--member-button-radius:999px}
html[data-button-style="square"]{--member-button-radius:8px;--member-radius:16px;--member-lift:0px}
html[data-button-style="soft-3d"],html[data-button-style="rounded-lifted"]{--member-button-radius:20px;--member-lift:5px}
html[data-button-style="candy-pop"]{--member-button-radius:24px;--member-lift:5px}
html[data-button-style="glass-soft"]{--member-button-radius:20px;--member-lift:1px}
html[data-button-style="cute-flat"]{--member-button-radius:17px;--member-lift:0px}

body.member-page{
 min-height:100svh;margin:0;padding:0;
 color:var(--ui-ink,#30283f)!important;
 background:var(--ui-bg,#fcf5fc);
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
 -webkit-font-smoothing:antialiased;
}
.member-shell{position:relative;z-index:1;max-width:600px;margin:0 auto;padding:22px 17px 70px;min-width:0}
.member-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 21px}
.member-brandmark{color:var(--ui-ink)!important;font-size:clamp(17px,3.8vw,22px);font-weight:950;letter-spacing:-.035em;text-decoration:none;white-space:nowrap}
.member-brandmark span{color:var(--theme-main,#8b5cf6)}
.member-return{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:9px 13px;color:var(--ui-ink)!important;background:var(--ui-surface,#fffbff);border:1px solid var(--ui-stroke,#ead9ef);border-radius:var(--member-button-radius);font-size:13px;font-weight:800;text-decoration:none;box-shadow:var(--ui-shadow,0 10px 28px #33203218)}
.member-return:hover{border-color:var(--theme-main)}

.member-card{width:100%;min-width:0;margin:0;padding:clamp(20px,5vw,31px);border:2px solid var(--ui-stroke,#ead9ef);border-radius:calc(var(--member-radius) + 5px);background:var(--ui-surface,#fffbff);color:var(--ui-ink,#30283f);box-shadow:var(--ui-shadow,0 10px 28px #33203218);line-height:1.55}
.member-brand{display:inline-block;margin:0 0 9px!important;font-size:11px;letter-spacing:.13em;font-weight:900;color:var(--theme-main,#8b5cf6)!important;text-transform:uppercase}
.member-card h1{margin:0 0 10px;color:var(--ui-ink)!important;font-size:clamp(27px,6vw,34px);line-height:1.14;font-weight:900;letter-spacing:-.04em}
.member-card h2{margin:22px 0 10px;color:var(--ui-ink)!important;font-size:20px;line-height:1.25;font-weight:850;letter-spacing:-.025em}
.member-card p{margin:11px 0;color:var(--ui-muted,#675a77);line-height:1.65;overflow-wrap:anywhere}
.member-card a:not(.member-button){color:var(--theme-main,#8b5cf6);font-weight:750;text-underline-offset:3px}
.member-card label{display:block;margin:17px 0 7px;font-size:13px;font-weight:800;color:var(--ui-ink)}
.member-card form{margin:0;min-width:0}
.member-card [hidden],.member-page [hidden]{display:none!important}
.member-card input:not([type="hidden"]),.member-card textarea{
 display:block;width:100%;max-width:100%;min-width:0;min-height:49px;padding:12px 14px;
 color:var(--ui-ink)!important;background:var(--ui-surface-soft)!important;
 border:1.5px solid var(--ui-stroke)!important;border-radius:var(--member-button-radius)!important;
 font:inherit;font-size:15px;line-height:1.35;outline:0;box-shadow:none!important;
 transition:border-color .16s,box-shadow .16s;
}
.member-card input::placeholder,.member-card textarea::placeholder{color:var(--ui-muted)!important;opacity:.8}
.member-card input:focus-visible,.member-card textarea:focus-visible,.member-card button:focus-visible,.member-card a:focus-visible{
 outline:3px solid color-mix(in srgb,var(--theme-main) 55%,transparent)!important;outline-offset:3px;
}
.member-card input:focus-visible,.member-card textarea:focus-visible{border-color:var(--theme-main)!important}

/* Use exactly the published preset/button_style instead of a fixed purple UI. */
.member-card .member-primary,.member-card .member-button{
 display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;
 margin:18px 0 0;padding:12px 15px;text-align:center;text-decoration:none;
 color:#302337!important;font:inherit;font-weight:850;font-size:14px;
 border:1.5px solid color-mix(in srgb,var(--theme-main) 30%,#fff)!important;
 border-radius:var(--member-button-radius)!important;
 background:linear-gradient(156deg,color-mix(in srgb,var(--theme-highlight) 74%,#fff) 0%,var(--theme-light) 40%,var(--theme-main) 110%)!important;
 box-shadow:inset 0 2px 1px #ffffffac,0 var(--member-lift) 0 color-mix(in srgb,var(--theme-deep) 52%,#644075),0 11px 21px color-mix(in srgb,var(--theme-glow) 25%,transparent)!important;
 cursor:pointer;transition:transform .15s,filter .15s;
}
.member-card .member-primary:hover,.member-card .member-button:hover{filter:brightness(1.04)}
.member-card .member-primary:active,.member-card .member-button:active{transform:translateY(var(--member-lift));box-shadow:inset 0 1px 3px #0002!important}
.member-card button:disabled{opacity:.6;cursor:wait;filter:saturate(.65)}
.member-card .member-secondary{
 display:flex;align-items:center;justify-content:center;width:100%;min-height:45px;margin:14px 0 0;padding:10px 14px;
 border:1px solid var(--ui-stroke)!important;border-radius:var(--member-button-radius)!important;
 background:var(--ui-surface-soft)!important;color:var(--ui-ink)!important;font:inherit;font-weight:750;cursor:pointer;
}
html[data-button-style="cute-flat"] .member-card .member-primary,html[data-button-style="cute-flat"] .member-card .member-button{background:var(--theme-main)!important;color:#fff!important;box-shadow:none!important}
html[data-button-style="glass-soft"] .member-card .member-primary,html[data-button-style="glass-soft"] .member-card .member-button{background:linear-gradient(120deg,color-mix(in srgb,var(--theme-main) 78%,#22233b),color-mix(in srgb,var(--theme-accent) 67%,#22233b))!important;color:#fff!important;box-shadow:0 10px 22px color-mix(in srgb,var(--theme-glow) 20%,transparent)!important}
html[data-button-style="candy-pop"] .member-card .member-primary,html[data-button-style="candy-pop"] .member-card .member-button,
html[data-button-style="glossy-bubble"] .member-card .member-primary,html[data-button-style="glossy-bubble"] .member-card .member-button{border-width:2px!important;background:linear-gradient(169deg,#fffefa 0%,var(--theme-highlight) 15%,var(--theme-light) 42%,var(--theme-accent) 130%)!important}

.member-inline-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:13px 0 19px!important}
.member-card .member-link{display:inline-block;width:auto;min-height:40px;padding:8px 0;border:0;background:transparent!important;box-shadow:none!important;color:var(--theme-main)!important;font:inherit;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.member-note{font-size:12px!important;color:var(--ui-muted)!important;line-height:1.65!important}
#memberStatus{min-height:1.55em;margin:11px 0 13px;overflow-wrap:anywhere;font-size:13px;font-weight:650;color:var(--ui-muted)}
#memberPasswordArea,#memberSignupArea,#memberResetArea{min-width:0}
#memberSignupArea:not([hidden]),#memberResetArea:not([hidden]){border-top:1px solid var(--ui-stroke);margin-top:17px;padding-top:4px}
#memberCodeFields{margin-top:13px}
#memberSignedIn{border-top:1px solid var(--ui-stroke);margin-top:18px;padding-top:13px}

/* International phone dropdown must use the same published palette. */
.member-card .boyIntlPhone{min-width:0}
.member-card .boyPhoneRow{align-items:stretch;min-width:0;gap:8px}
.member-card .boyPhoneRow input{margin:0!important;flex:1;min-width:0}
.member-card .boyIntlPhone .boyCountryTrigger{
 flex:0 0 auto;width:auto;min-height:49px;padding:9px 12px;margin:0;
 border:1.5px solid var(--ui-stroke)!important;border-radius:var(--member-button-radius)!important;
 background:var(--ui-surface-soft)!important;color:var(--ui-ink)!important;
 box-shadow:none!important;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;
}
.member-card .boyIntlPhone .boyCountryPanel{
 position:relative;z-index:5;border:1px solid var(--ui-stroke)!important;
 border-radius:16px;background:var(--ui-surface)!important;color:var(--ui-ink)!important;
 box-shadow:var(--ui-shadow);padding:10px;
}
.member-card .boyIntlPhone .boyCountryOption{
 display:block;width:100%;min-height:43px;padding:10px;border:0;border-radius:10px;
 background:transparent!important;color:var(--ui-ink)!important;box-shadow:none!important;text-align:left;font:inherit;font-size:13px;
}
.member-card .boyIntlPhone .boyCountryOption:hover,.member-card .boyIntlPhone .boyCountryOption[aria-pressed="true"]{background:var(--ui-surface-soft)!important}
.member-card .boyIntlPhone .boyCountrySearch{background:var(--ui-surface-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-stroke)!important}
.member-card .boyPhoneHelp{margin:6px 0;color:var(--ui-muted)!important;opacity:1;font-size:12px}
.member-card .boyPhoneError{color:#bf3552!important}
@media(max-width:440px){.member-shell{padding:16px 13px 45px}.member-top{gap:9px;margin-bottom:16px}.member-brandmark{font-size:18px}.member-return{font-size:12px;padding:8px 10px}.member-card{padding:20px 17px}.member-card .boyIntlPhone .boyCountryTrigger{padding:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.member-card :is(button,a,input){transition:none!important}}
