.member-header {
 max-width: 1120px;
 margin: auto;
 padding: 14px clamp(16px, 5vw, 56px);
 border-bottom: 1px solid var(--line);
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 align-items: center;
 gap: 10px;
}
.member-header .brand img { width: 52px; height: 52px; }
.member-header nav, .member-actions, .member-footer {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 8px 20px;
}
.member-header nav a, .member-link {
 border: 0;
 background: none;
 padding: 0;
 color: #8c2026;
 text-decoration: underline;
 text-underline-offset: 3px;
}
.member-main {
 width: min(calc(100% - 32px), 520px);
 margin: clamp(24px, 7vh, 75px) auto;
 padding: clamp(18px, 5vw, 38px);
 border: 1px solid var(--line);
 background: #fff;
 overflow-wrap: anywhere;
}
.member-main.member-wide { width: min(calc(100% - 32px), 760px); }
.member-main h1 { margin-bottom: 16px; font-size: clamp(25px, 5vw, 36px); font-weight: 700; }
.member-main h2 { font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.member-main > p + p { margin-top: 12px; }
.member-notice { padding: 10px 13px; margin-bottom: 10px; background: #f7f2e5; border-inline-start: 3px solid #8a702d; }
.member-error { background: #fff2f1; border-color: #a22228; }
.member-form { margin: 18px 0; }
.member-form .field { margin-bottom: 12px; }
.member-form input { min-width: 0; max-width: 100%; border-radius: 0; }
.member-form button, .member-social button { width: 100%; gap: 6px; }
.member-actions { margin-top: 16px; }
.member-hint { margin: 12px 0; color: #525252; }
.member-hint a { margin-inline: .15em; }
.member-social { display: grid; gap: 9px; }
.member-social .social-line { background: #06703a; color: white; border-color: #06703a; }
.member-social .social-facebook { background: #0e4db7; color: white; border-color: #0e4db7; }
.member-tabs { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.member-tabs a { padding: 4px 0; }
.member-tabs a[aria-current] { border-bottom: 3px solid #a22228; color: #8c2026; font-weight: 700; }
.member-linked { border-top: 1px solid var(--line); padding-top: 15px; display: grid; gap: 7px; }
.member-linked button { min-height: 42px; padding-block: 6px; }
.member-order { border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 12px; }
.member-order header, .member-order li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 15px; }
.member-order ul { list-style: none; padding: 8px 0; margin: 8px 0; border-block: 1px solid var(--line); }
.member-footer { justify-content: center; padding: 0 18px 30px; }
