.membership { max-width: 680px; padding-block: 40px 64px; }
.back { display: inline-block; margin-bottom: 48px; color: var(--muted); }
.membership h1 { margin: 12px 0 20px; font-size: clamp(32px, 7vw, 48px); line-height: 1.2; letter-spacing: -0.04em; }
.membership .intro { color: var(--muted); line-height: 1.8; }
.membership-panel { margin: 28px 0 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.membership-panel h2 { margin-top: 0; font-size: 21px; }
.membership-panel label { display: block; margin-top: 22px; margin-bottom: 8px; }
.membership-panel input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px; border: 1px solid #c7b7aa; border-radius: 9px; font: inherit; font-size: 16px; background: white; }
.membership-panel input:focus-visible, .membership button:focus-visible, .membership a:focus-visible { outline: 3px solid #b65300; outline-offset: 3px; }
.membership-panel .button { margin-top: 14px; width: 100%; cursor: pointer; }
.membership-panel .button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.membership .text-button { display: block; margin: 18px auto 0; padding: 8px; border: 0; background: none; font: inherit; color: var(--accent-dark); cursor: pointer; }
.membership .fine { font-size: 13px; line-height: 1.8; color: var(--muted); }
.membership .fine a { text-decoration: underline; }
.purchase-qr { margin-top: 12px; }
.purchase-qr summary { cursor: pointer; color: var(--accent-dark); }
.purchase-qr img { display: block; width: min(240px, 100%); height: auto; margin: 16px auto; background: white; border: 1px solid var(--line); }
#access-label { line-height: 1.8; }
#message { min-height: 24px; line-height: 1.7; color: #8d3f00; }
.membership [hidden] { display: none !important; }
