/* Shared login surfaces: clear text, visible focus and touch-sized controls. */
.wz-auth-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #e4ddeb;border-radius:20px;padding:28px;text-align:center;color:#302738;background:#fff;font:16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 20px 70px #35213a30}
.wz-auth-dialog::backdrop{background:#30243b66;backdrop-filter:blur(4px)}
.wz-auth-brand{display:block;margin:0 30px 14px;font:600 22px/1.4 "PingFang SC","Microsoft YaHei",sans-serif;color:#70518f}
.wz-auth-dialog h2{margin:0 0 12px;color:#302738;font-size:24px;line-height:1.4}
.wz-auth-copy{margin:0 0 20px;color:#65576f;font-size:15px;line-height:1.8}
.wz-auth-qr{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:min(236px,100%);height:auto;aspect-ratio:1;margin:0 auto;border:1px solid #e7e0ee;border-radius:12px;background:#fff}
.wz-auth-qr svg{display:block;width:100%;height:100%;border-radius:10px}
.wz-auth-status{min-height:44px;margin:14px 0 8px;color:#65576f;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.wz-auth-note{margin:14px 0 0;color:#6b5e74;font-size:14px;line-height:1.75}
.wz-auth-close{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;border:0;border-radius:10px;background:#fff;color:#695472;font-size:28px;line-height:1;cursor:pointer}
.wz-auth-close:hover{background:#f2ecf8}
.wz-auth-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid #70518f;border-radius:9px;background:#70518f;color:#fff;font-size:15px;line-height:1.5;cursor:pointer}
.wz-auth-dialog :where(button,a):focus-visible,.wz-phone-login :where(button,a):focus-visible{outline:3px solid #70518f;outline-offset:3px}
.wz-auth-dialog [hidden],.wz-phone-login [hidden]{display:none!important}
.wz-phone-login{box-sizing:border-box;width:min(460px,100%);margin:42px auto;padding:24px;text-align:center;color:#302738;font:16px/1.8 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;overflow-wrap:anywhere}
.wz-phone-login h1{margin:0 0 18px;font-size:26px;line-height:1.45}
.wz-phone-login p{margin:0 0 22px;color:#65576f;font-size:16px;line-height:1.85}
.wz-phone-login button,.wz-phone-login a:not(.phone-mark){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:12px 20px;border:0;border-radius:10px;background:#70518f;color:#fff;text-decoration:none;cursor:pointer;font-size:16px;line-height:1.5}
.wz-phone-login button:disabled{opacity:.6;cursor:wait}
.wz-phone-login .secondary{background:#f2ecf8;color:#604573}
.wz-phone-login small{display:block;margin-top:24px;color:#6b5e74;font-size:14px;line-height:1.85}
.wz-phone-login .phone-mark{min-height:44px;padding:0;border:0;background:transparent;color:#70518f;margin-bottom:26px;font:600 30px/1.3 "PingFang SC",sans-serif}
@media(max-width:520px){.wz-auth-dialog{padding:24px 20px;border-radius:18px}.wz-auth-dialog h2{font-size:23px}.wz-auth-copy{font-size:15px}.wz-phone-login{margin:24px auto;padding:24px 16px}.wz-phone-login h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.wz-auth-dialog,.wz-phone-login{scroll-behavior:auto}}

.wz-phone-login #phone-retry{margin:0 4px 10px}
