#modal.auth-dialog38{width:min(560px,calc(100vw - 32px));padding:32px;max-height:calc(100dvh - 32px);overflow:auto;color:var(--ink);background:var(--surface,#fff)}
.auth-head38{text-align:center}.auth-head38>img{width:62px;height:62px;object-fit:contain;display:block;margin:0 auto 10px}.auth-head38 .eyebrow{font-size:10px;letter-spacing:2px}.auth-head38 h2{font-size:25px;line-height:1.5;margin:12px 0}.auth-head38 p{font-size:13px;line-height:1.7;margin:0 0 22px}
.auth-tabs38{display:flex;gap:6px;padding:5px;background:var(--surface-soft,#f0f5f5);border-radius:14px;margin-bottom:24px}.auth-tabs38 button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;background:transparent;border:1px solid transparent;color:var(--muted);min-width:0}.auth-tabs38 button[aria-pressed=true]{background:var(--surface,#fff);color:var(--ink);border-color:var(--line,#d7e3e5);box-shadow:0 2px 6px #00000008}.auth-tabs38 button:hover{color:var(--ink);border-color:var(--accent)}
#modal.auth-dialog38 form{display:flex;flex-direction:column;gap:16px}#modal.auth-dialog38 .consent-row{margin:6px 0 0;font-size:12px;line-height:1.8;align-items:flex-start}#modal.auth-dialog38 .consent-row input{flex:0 0 auto;margin-top:5px}#modal.auth-dialog38 .consent-row a{color:var(--accent)}#modal.auth-dialog38 .auth-email38{text-align:center}.wechat-stage38{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--surface-soft,#f0f5f5);border-radius:16px;padding:20px}.wechat-stage38>.icon{width:40px;height:40px;color:var(--accent)}.wechat-stage38 p{text-align:center;font-size:13px;color:var(--muted);margin:0}
.topbar .avatar{overflow:hidden}.profile-avatar38{width:46px;height:46px;border-radius:50%;object-fit:cover;flex-shrink:0}.topbar .avatar .profile-avatar38{width:100%;height:100%;display:block}.profile-panel38{display:flex;align-items:flex-start;gap:22px}.profile-panel38>.profile-avatar38{width:88px;height:88px}.profile-panel38 h3{margin-top:0}.avatar-upload38{display:inline-flex;position:relative;align-items:center;border:1px solid var(--line,#d7e3e5);padding:10px 16px;border-radius:10px;cursor:pointer;overflow:hidden}.avatar-upload38:focus-within{outline:2px solid var(--accent);outline-offset:3px}.avatar-upload38 input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.site-footer38{margin-top:56px;border-top:1px solid var(--line,#d7e3e5);padding:32px 0 12px;display:flex;flex-wrap:wrap;gap:28px;color:var(--muted);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.footer-brand38{flex:1 1 220px;max-width:360px}.footer-brand38>img{width:48px;height:48px;object-fit:contain;vertical-align:middle;margin-right:10px}.footer-brand38 strong{color:var(--ink)}.footer-brand38 p{white-space:pre-line}.footer-info38{flex:1 1 230px}.footer-info38 nav{display:flex;gap:20px}.site-footer38 a{color:var(--muted);text-decoration:none}.site-footer38 a:hover{color:var(--accent);text-decoration:underline}.footer-qr38{display:flex;flex-wrap:wrap;gap:18px}.footer-qr38 figure{margin:0;text-align:center}.footer-qr38 img{width:112px;height:112px;object-fit:contain;background:white;padding:5px;border-radius:10px}.footer-qr38 figcaption{max-width:120px;margin-top:6px}.contact-qr38{width:200px;max-width:100%;display:block;margin:16px auto}.footer-upload38{border:1px solid var(--line,#d7e3e5);padding:16px;border-radius:12px}.footer-upload38 img{width:100px;height:100px;object-fit:contain;display:block;margin:10px 0}.footer-upload38 input[type=file]{max-width:100%}
:root[data-theme=night] #modal.auth-dialog38 .consent-row a,:root[data-theme=night] .auth-head38 .eyebrow,:root[data-theme=night] .wechat-stage38>.icon{color:#7cd7df}:root[data-theme=night] .auth-head38>img{background:#fff;border-radius:12px;padding:4px}
@media(max-width:600px){#modal.auth-dialog38{padding:26px 20px}.auth-head38 h2{font-size:21px}.auth-head38>img{width:50px;height:50px}.auth-tabs38 button{font-size:15px;padding:12px 6px}.profile-panel38{gap:14px;flex-direction:column}.site-footer38{gap:22px;margin-top:32px}.footer-brand38{max-width:none}.footer-info38{flex-basis:100%}#site-settings38 .form-grid{grid-template-columns:1fr}#site-settings38 .form-grid>.full{grid-column:auto}.footer-upload38 [role=status]{display:block;margin-top:8px}}
