#wechat-dialog{box-sizing:border-box;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:32px 24px 20px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#151515;text-align:center;letter-spacing:0}
#wechat-dialog::backdrop{background:rgba(0,0,0,.55)}
#wechat-title{font-size:22px;line-height:1.4;margin:0 20px 20px;overflow-wrap:anywhere}
#wechat-close{position:absolute;top:5px;right:5px;width:44px;height:44px;border:0;background:transparent;color:#333;font-size:30px;cursor:pointer}
.wechat-qr{position:relative;display:block;width:min(180px,100%);aspect-ratio:1;overflow:hidden;margin:0 auto 20px;background:#fff}
.wechat-qr img{position:absolute;width:140%;max-width:none;height:auto;left:-20%;top:-61%}
#wechat-dialog label{display:block;font-size:14px;margin-bottom:6px;color:#555}
#wechat-id{box-sizing:border-box;width:100%;text-align:center;font-size:22px;padding:10px;border:1px solid #ccc;border-radius:4px;color:#151515;background:#fff;user-select:text;-webkit-user-select:text}
#wechat-copy{width:100%;margin-top:12px;font:inherit;cursor:pointer}
#wechat-copy:disabled{opacity:.6;cursor:wait}
#wechat-status{min-height:24px;margin:12px 0 0;font-size:14px;line-height:24px;color:#333}
#wechat-dialog :focus-visible{outline:2px solid #227454;outline-offset:3px}
