/* Shared member dialog; all controls are scoped to avoid legacy theme form styles. */
.member-auth-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:12px;background:rgba(0,0,0,.78);height:100%;height:100dvh;overscroll-behavior:contain;isolation:isolate;-webkit-tap-highlight-color:transparent}
.member-auth-overlay[hidden]{display:none!important}
.member-auth-overlay *, .member-auth-overlay *::before, .member-auth-overlay *::after{box-sizing:border-box}
.member-auth-card{position:relative;display:flex;flex-direction:column;width:100%;max-width:380px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:0;padding:20px 16px 16px;border:1px solid #333;border-radius:20px;background:#151515;color:#f4f4f4;box-shadow:0 24px 80px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.025);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;text-align:left;overflow:hidden;outline:none}
.member-auth-card button,.member-auth-card input,.member-auth-card a{font:inherit;letter-spacing:normal;text-transform:none;-webkit-appearance:none;appearance:none}
.member-auth-card button,.member-auth-card a{touch-action:manipulation}
.member-auth-card button{cursor:pointer}
.member-auth-card button:disabled{cursor:wait;opacity:.65}
.member-auth-close{position:absolute;right:13px;top:13px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:4px;border:1px solid #393939;border-radius:50%;background:#242424;color:#c2c2c2;z-index:1}
.member-auth-close svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.member-auth-heading{display:block;position:static;flex:0 0 auto;width:auto;height:auto;min-height:0;margin:0;padding:1px 0 0;border:0;background:none;text-align:center}
.member-auth-logo{display:block!important;max-width:146px!important;width:auto!important;height:34px!important;max-height:34px!important;object-fit:contain;margin:0 auto 11px!important;border:0!important;background:transparent!important}
.member-auth-brand{display:block;max-width:calc(100% - 48px);margin:0 auto 10px;color:#ffd61a;font-size:20px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-auth-heading h2{margin:0 0 13px;padding:0;color:#f4f4f4;font-size:18px;font-weight:700;line-height:1.4}
.member-auth-tabs{display:flex;gap:3px;margin:0 0 9px;padding:3px;border-radius:24px;background:#222}
.member-auth-card .member-auth-tab{display:flex;align-items:center;justify-content:center;flex:1;min-height:34px;margin:0;padding:4px 12px;border:1px solid transparent;border-radius:22px;background:transparent;color:#999;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}
.member-auth-card .member-auth-tab.is-active{border-color:#141414;background:#ffd61a;color:#151515;box-shadow:0 0 0 1px #f8f8ed}
.member-auth-card .member-auth-tab::before,.member-auth-card .member-auth-tab::after{content:none!important}
.member-auth-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;-webkit-overflow-scrolling:touch;padding:1px 1px 0}
.member-auth-body::-webkit-scrollbar{width:3px}
.member-auth-body::-webkit-scrollbar-thumb{background:#555;border-radius:3px}
.member-auth-form{display:block;margin:0;padding:0}
.member-auth-field{margin:0 0 12px;padding:0}
.member-auth-field>label{display:block;margin:0 0 4px;padding:0;color:#eee;font-size:12px;font-weight:600;line-height:1.5}
.member-auth-field>label>span{color:#999;font-weight:400}
.member-auth-input-wrap{display:flex;align-items:center;gap:9px;min-width:0;height:42px;padding:0 12px;border:1px solid #3b3b3b;border-radius:24px;background:#2a2a2a;transition:border-color .15s,box-shadow .15s}
.member-auth-input-wrap:focus-within{border-color:#e7bd0a;box-shadow:0 0 0 2px rgba(255,214,26,.12)}
.member-auth-icon{display:flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:18px;color:#ffd61a}
.member-auth-icon svg,.member-auth-password svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.member-auth-card .member-auth-input-wrap input{flex:1;min-width:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;color:#fff;font-size:14px;line-height:normal;opacity:1;-webkit-text-fill-color:#fff}
.member-auth-card .member-auth-input-wrap input::placeholder{color:#999;opacity:1;-webkit-text-fill-color:#999}
.member-auth-card .member-auth-input-wrap input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #2a2a2a inset;caret-color:#ffd61a}
.member-auth-password{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:34px;padding:4px;border:0;border-radius:50%;background:transparent;color:#ffd61a}
.member-auth-eye-slash{display:none}
.member-auth-password[aria-pressed="true"] .member-auth-eye-slash{display:block}
.member-auth-send{flex:0 0 auto;margin:0 -3px 0 0;padding:5px 4px;border:0;border-radius:4px;background:transparent;color:#ffd61a;font-size:12px!important;white-space:nowrap}
.member-auth-captcha-row{display:flex;align-items:stretch;gap:8px}
.member-auth-captcha-row .member-auth-input-wrap{flex:1;min-width:0}
.member-auth-captcha{display:block;flex:0 0 104px;width:104px;height:42px;margin:0;padding:0;border:1px solid #454545;border-radius:10px;background:#fff;overflow:hidden}
.member-auth-captcha img{display:block;width:100%;height:100%;object-fit:contain;margin:0;border:0}
.member-auth-message{margin:9px 0;color:#ffb0a8;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.member-auth-message:empty{display:none}
.member-auth-message.is-success,.member-auth-message[data-state="success"]{color:#a9dfbd}
.member-auth-hint{margin:11px 0 9px;padding:0;color:#d6d6d6;text-align:center;font-size:12px;line-height:1.5}
.member-auth-card .member-auth-submit{display:block;width:100%;min-height:42px;margin:0;padding:10px 16px;border:0;border-radius:24px;background:#ffd61a;color:#151515;font-size:14px;font-weight:700;line-height:1.5;text-align:center;box-shadow:none}
.member-auth-submit:hover{background:#ffe04d}
.member-auth-footer{display:flex;justify-content:center;margin:11px 0 0}
.member-auth-card .member-auth-footer a{color:#aaa;font-size:12px;line-height:1.5;text-decoration:none}
.member-auth-card a:focus-visible,.member-auth-card button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.member-auth-card .member-auth-footer a:hover{color:#ffd61a}
body.member-auth-page{margin:0;background:#090909!important;color:#ddd!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.member-auth-page-shell{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:18px 24px;border-bottom:1px solid #222;font-size:14px}
.member-auth-page-shell strong{font-size:18px;color:#ffd61a}
.member-auth-page-shell a{color:#bbb;font-size:14px;text-decoration:none}
.member-auth-page-note{margin:12vh auto 0;padding:24px;text-align:center;color:#4f4f4f;font-size:18px;line-height:1.8}
@media(max-width:480px){.member-auth-card .member-auth-input-wrap input{font-size:16px}.member-auth-page-shell{padding:18px 16px}.member-auth-card{padding-top:18px}}
@media(max-height:560px){.member-auth-overlay{padding:8px 12px}.member-auth-card{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding-top:14px;padding-bottom:12px}.member-auth-logo{height:26px!important;max-height:26px!important;margin-bottom:6px!important}.member-auth-heading h2{font-size:16px;margin-bottom:9px}.member-auth-tabs{margin-bottom:7px}.member-auth-field{margin-bottom:9px}}
@media(prefers-reduced-motion:reduce){.member-auth-input-wrap{transition:none}}
