.member-benefit { text-align:left; padding:18px; margin:16px 0; color:#34272a; background:#f6eef0; border:1px solid #d9c6ca; border-radius:8px }
.member-benefit h3 { font-size:16px; font-weight:600; margin:0 0 10px }
.benefit-number { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px }
.member-benefit [data-member-code], #member-success .member-benefit code { display:inline; font:600 clamp(16px,4vw,21px)/1.5 monospace; color:#870d29; padding:0; background:none; border:0; user-select:all }
.member-benefit button { background:white; border:1px solid #cfb8be; border-radius:4px; color:#702238; padding:5px 10px; font-size:12px; cursor:pointer }
.member-benefit p, #member-success .member-benefit p { margin:12px 0 0; font-size:14px; line-height:1.6; color:#514247 }
.recovery-details { text-align:left; padding:12px; border:1px solid #ddd; margin-top:16px; font-size:13px }
#member-dialog { box-sizing:border-box; margin:auto; width:min(480px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); padding:22px clamp(18px,4vw,32px); border:1px solid #dedad9; border-radius:12px; color:#342e2f; background:#fbfaf9; overflow:auto; overscroll-behavior:contain }
#member-dialog::backdrop { background:rgb(20 16 20 / 65%); backdrop-filter:blur(4px) }
#member-dialog [hidden] { display:none!important }
#member-dialog .dialog-close { position:absolute; right:12px; top:8px; font-size:24px; padding:2px 8px; border:0; background:transparent; color:#4b4244 }
#member-dialog .dialog-logo { width:90px; height:44px; object-fit:contain; display:block; margin:0 auto 6px }
#member-dialog .member-language { display:flex; align-items:center; gap:8px; margin:0 24px 10px 0; text-align:left }
#member-dialog .member-language label { font-size:11px; margin:0; color:#6e6165 }
#member-dialog .member-language select { width:132px; max-width:50%; padding:5px 8px; font-size:12px; color:#342e2f; background:#fff; border:1px solid #d7cfd1; border-radius:4px }
#member-dialog > small { display:none }
#member-dialog h2 { text-align:center; font-size:26px; margin:6px 0 }
#member-subtitle { font-size:14px; color:#6e3541; line-height:1.5; text-align:center; margin:2px 0 14px }
#member-dialog .member-tabs { display:flex; gap:8px; border-bottom:1px solid #d9d5d5 }
#member-dialog .member-tabs button { flex:1; border:0; background:none; color:#60575a; padding:10px 4px }
#member-dialog .member-tabs [aria-selected=true] { color:#8b1330; border-bottom:2px solid }
#member-dialog label { display:block; margin:9px 0 4px; font-size:13px }
#member-dialog input { box-sizing:border-box; display:block; width:100%; min-width:0; padding:8px 10px; font-size:16px; border:1px solid #cfcacc; background:white; color:#231f20; border-radius:4px }
#member-dialog .password-box { position:relative }
#member-dialog .password-box input { padding-right:66px }
#member-dialog .password-box button { position:absolute; right:4px; top:3px; background:none; color:#514247; border:0; padding:4px 8px; font-size:12px }
#member-dialog .captcha-row { display:grid; grid-template-columns:1fr 120px; gap:8px }
#member-dialog #refresh-captcha { padding:0; background:#eee; border:1px solid #ccc }
#member-dialog #captcha-image { display:block; width:100%; height:40px; object-fit:contain }
#member-dialog .gate-primary { width:100%; margin-top:8px; background:#8b1330; color:white; border:0; border-radius:24px; padding:12px; font-weight:600 }
#member-dialog .captcha-hint,#member-dialog .member-small { font-size:12px; line-height:1.5; color:#686063; margin:6px 0 }
#member-dialog .member-error { color:#971132; font-size:13px }
#member-dialog #recovery-code { display:block; user-select:all; overflow-wrap:anywhere; padding:8px }
#member-dialog #recover-button { margin-top:6px; font-size:13px; background:transparent; color:#761731; border:0 }
