/* Shared storefront layout, gray surfaces and restrained gold details. */
.member-page{min-height:100dvh;display:flex;flex-direction:column}
.member-main{flex:1;padding-bottom:52px;min-height:560px}
.member-content{min-width:0}
.member-heading h1{font-size:23px;line-height:1.4;font-weight:650;letter-spacing:-.7px;margin:0 0 12px}
.member-heading p{font-size:12px;line-height:1.8;color:var(--muted)}
.member-sidebar .category{width:100%}
.member-store-link{display:flex;justify-content:space-between;gap:12px;margin:24px 13px 0;padding-top:20px;border-top:1px solid var(--line);font-size:11px;line-height:1.8;color:var(--muted)}
.member-store-link span{color:var(--gold)}.member-store-link:hover{color:var(--ink)}
.member-panel{padding:24px;background:#343639;border:1px solid #686b70;border-radius:var(--radius);box-shadow:none;min-width:0}
.member-form-panel{max-width:560px;margin-top:24px}
.member-panel label{display:block;margin:20px 0 9px;color:var(--ink);font-size:12px;font-weight:500}
.member-panel form>div:first-child label{margin-top:0}
.member-panel input:not([type=checkbox]){display:block;width:100%;padding:12px 14px;border:1px solid #797c81;background:#44474b;color:var(--ink);border-radius:4px;font:inherit;font-size:14px;line-height:1.5}
.member-panel input::placeholder{color:var(--muted)}.member-panel input:focus{outline:2px solid var(--gold-light);outline-offset:2px}
.member-primary{width:100%;margin-top:22px;padding:13px 16px;background:#bfc2c6;color:#25272a;font:inherit;font-size:13px;font-weight:650;border:1px solid #d4d6d8;border-radius:4px;box-shadow:inset 0 -3px 0 var(--gold);cursor:pointer}
.member-primary:hover:not(:disabled){background:#d8dade;border-color:var(--gold)}.member-primary:disabled{opacity:.55;cursor:wait}
.member-page[data-member-mode=login] .member-primary{box-shadow:none}
.member-page[data-member-mode=login] .member-primary:hover:not(:disabled){border-color:#d4d6d8}
.member-panel .member-remember{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400}
.member-remember input{accent-color:var(--gold);width:15px;height:15px;margin:0}.member-remember span{margin-left:auto;color:var(--muted);font-size:11px}
.member-hint{margin-top:9px;font-size:11px;line-height:1.8;color:var(--muted)}
.member-links{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:19px;margin-top:24px;font-size:12px;color:var(--muted)}.member-links a:hover{color:var(--gold-light)}
.member-content #member-status{font-size:12px;line-height:1.8;margin:20px 0 0;color:var(--gold-light);overflow-wrap:anywhere;max-width:680px}
.member-content #member-status:empty{display:none}.member-content #member-status.error{color:#edb2a5}
.member-profile{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;flex-wrap:wrap;background:#c9cbce;border-color:#e0e1e3;color:#25272a;box-shadow:inset 3px 0 0 var(--gold)}
.member-profile>div:first-child{min-width:0}.member-profile-label{font-size:11px;color:#56595e}
#member-email-display{margin-top:8px;font-size:16px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.member-account-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}
.member-account-actions a,.member-account-actions button,.member-secondary{border:1px solid #626469;border-radius:4px;padding:9px 12px;background:#252729;color:var(--ink);font:inherit;font-size:12px;line-height:1.5;cursor:pointer}
.member-account-actions a:hover,.member-account-actions button:hover,.member-secondary:hover{border-color:var(--gold);color:var(--gold-light)}
.member-profile .member-account-actions a,.member-profile .member-account-actions button{background:#dedfe1;border-color:#96999e;color:#292b2e}
.member-profile .member-account-actions a:hover,.member-profile .member-account-actions button:hover{background:#eee4cb;border-color:#9c8044;color:#292b2e}
.member-library-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 16px}
.member-library-heading h2{font-size:18px;font-weight:650;letter-spacing:-.5px}.member-library-heading>span{font-size:12px;color:var(--muted)}
.member-library{padding:0 24px}.member-empty{padding:45px 16px;text-align:center}
.member-empty>svg{width:32px;height:32px;margin:0 auto 18px;color:var(--gold)}.member-empty h3{font-size:15px;font-weight:600;line-height:1.6}
.member-empty p{margin:10px 0 22px;color:var(--muted);font-size:12px;line-height:1.8}
.member-secondary{display:inline-flex;align-items:center;gap:20px}.member-secondary>span{color:var(--gold)}
.member-order{padding:22px 0;border-top:1px solid var(--line)}.member-order:first-child{border-top:0}
.member-order h3{font-size:16px;font-weight:650;line-height:1.5;margin:0 0 8px}.member-order p{font-size:12px;line-height:1.8;color:var(--muted)}
.member-order a{display:inline-block;color:var(--gold-light);font-size:12px;margin-top:12px}
.member-nav{display:flex;gap:16px;align-items:center;height:100%;font-size:12px;margin-left:auto;color:var(--gold-light);white-space:nowrap}
.member-nav a{height:100%;display:flex;align-items:center;position:relative;text-decoration:none}
.member-nav a[aria-current=page]{color:var(--ink)}.member-nav a[aria-current=page]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--gold)}
.migration-note{padding:9px 20px;background:#383529;border-bottom:1px solid #655c41;color:#e1d5b2;font-size:12px;text-align:center}
.member-page [hidden],.member-page[data-member-mode=account] .member-form-panel{display:none!important}
@media(max-width:600px){.member-nav{font-size:11px;gap:10px}.member-main{min-height:0;padding-bottom:34px}.member-panel{padding:20px}.member-library{padding:0 20px}.member-form-panel,.member-profile{margin-top:20px}.member-remember span{display:none}}
@media(max-width:560px){.member-sidebar{display:block;position:static;padding:0;margin-bottom:24px}.member-sidebar h2,.member-store-link{display:none}.member-sidebar .categories{flex-direction:row;flex-wrap:wrap;gap:6px}.member-sidebar .category{width:auto;min-height:36px;padding:8px 12px;font-size:12px}.member-heading h1{font-size:19px;letter-spacing:-.5px}.member-profile{gap:18px}.member-account-actions{width:100%}.member-account-actions a,.member-account-actions button{flex:1;text-align:center;padding:10px 8px;white-space:nowrap}.member-library-heading{margin-top:26px}.member-empty{padding:34px 0}.member-empty p{max-width:230px;margin-inline:auto}.member-page .footer-main{gap:20px}}
@media(max-width:380px){.site-header nav a[href$="#guide"]{display:none}}
