.wd-avatar .resident-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.personal-avatar{flex-shrink:0;overflow:hidden;text-decoration:none;position:relative}
.personal-avatar:after{content:'换头像';position:absolute;inset:auto 0 0;background:#58391fc9;color:#fffdf9;text-align:center;font-size:10px;line-height:22px;opacity:0}
.personal-avatar:hover:after,.personal-avatar:focus-visible:after{opacity:1}
body[data-ui-shell="community"] .personal-identity .personal-signature{font-size:14px;line-height:1.7;color:#fff0db;max-width:440px;overflow-wrap:anywhere;white-space:pre-wrap;margin:10px 0}
.personal-space-link{display:flex;align-items:center;gap:7px;font-size:12px;color:#fff0db;position:relative;z-index:1;align-self:flex-start;margin:14px 0}
.personal-space-link svg{width:16px;height:16px}
.resident-signature{white-space:pre-wrap;overflow-wrap:anywhere;max-width:620px;font-size:15px!important;line-height:1.8!important;color:#58391f!important;margin:12px 0!important}
/* Personal space: content first, one inline editor when requested. */
body[data-ui-shell="community"] .profile-space-editor{--profile-brick:#a43820;--profile-olive:#77774b;--profile-ink:#412e24;--profile-muted:#8b735f;--profile-line:#dfcfb9;max-width:900px;margin:0 auto;color:var(--profile-ink)}
.profile-space-editor [hidden]{display:none!important}
body[data-ui-shell="community"] .profile-space-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:0 0 22px;border-bottom:1px solid var(--profile-line)}
body[data-ui-shell="community"] .profile-space-topbar h1{font-size:15px;line-height:1.5;font-weight:600;letter-spacing:.08em;margin:0;color:#765840}
.profile-space-topbar a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:12px;color:#92755b;text-decoration:none;width:fit-content}.profile-space-topbar a:last-child{justify-self:end;color:var(--profile-brick)}.profile-space-topbar svg{width:15px;height:15px}
body[data-ui-shell="community"] .profile-space-editor #resident-profile-form{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
body[data-ui-shell="community"] .profile-space-editor fieldset{border:0;margin:0;padding:0;min-width:0;display:block}
body[data-ui-shell="community"] .profile-space-identity{display:grid;grid-template-columns:112px minmax(0,1fr);gap:0 27px;align-items:start;padding:38px 0 31px;background:radial-gradient(ellipse at 8% 32%,#d7b57b17,transparent 65%);min-height:206px}
.profile-space-avatar{display:flex;flex-direction:column;align-items:center;gap:9px}.profile-space-avatar-picker{display:block;position:relative;cursor:pointer;width:104px;height:104px;border-radius:50%;padding:0!important;background:none!important;box-shadow:none!important;isolation:isolate}
.profile-space-avatar-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:2;margin:0;padding:0}
.profile-space-avatar-picker:focus-within{outline:2px solid var(--profile-brick);outline-offset:5px}
.profile-photo-preview{display:block;box-sizing:border-box;width:100%;height:100%;border-radius:50%;overflow:hidden;background:#e9ddc8;box-shadow:0 0 0 5px #fffcf7,0 0 0 6px #dec6a8}
body[data-ui-shell="community"] .profile-photo-preview :is(canvas,.wd-avatar,.profile-initial){position:static!important;display:grid;place-items:center;width:100%!important;height:100%!important;border:0!important;border-radius:inherit;background:transparent;font-size:38px;font-weight:500;color:#95623f;object-fit:cover}
.profile-photo-preview canvas{display:block!important}.profile-space-avatar-camera{position:absolute;right:-2px;bottom:0;width:29px;height:29px;border:3px solid #fffcf7;border-radius:50%;background:var(--profile-brick);color:#fff8e9;display:grid;place-items:center;z-index:1}.profile-space-avatar-camera svg{width:14px;height:14px}
.profile-space-avatar-settings{font-size:11px;color:#8f7259;min-height:28px;padding:2px 8px}
.profile-space-copy{min-width:0;padding-top:0}
body[data-ui-shell="community"] .profile-space-name{display:flex;align-items:center;gap:13px;max-width:100%;font-size:34px;line-height:1.35;letter-spacing:-.04em;font-weight:700;color:var(--profile-ink);padding:0;text-align:left;background:transparent;border:0;min-height:46px}
.profile-space-name span{overflow-wrap:anywhere}.profile-space-name svg,.profile-space-signature>svg{width:15px;height:15px;flex-shrink:0;color:#ac8d70;opacity:.65;transition:opacity .18s,color .18s}
body[data-ui-shell="community"] .profile-space-connection{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:2px 10px;margin-top:8px;border:0;border-radius:20px;background:#e7e6d6;color:#697043;font-size:11px;line-height:1.5}.profile-space-connection svg{width:12px;height:12px;transform:rotate(90deg)}
body[data-ui-shell="community"] .profile-space-signature{display:flex;align-items:baseline;gap:12px;max-width:100%;min-height:35px;font-size:17px;font-weight:400;line-height:1.8;margin:15px 0 0;padding:0;border:0;background:transparent;color:#75553d;text-align:left}.profile-space-signature span{white-space:pre-wrap;overflow-wrap:anywhere}.profile-space-signature span[data-empty="true"]{font-size:15px;color:#a18b73}.profile-space-signature>svg{align-self:center}
.profile-space-edit-hint{font-size:10px;line-height:1.5;color:#ad9781;margin:11px 0 0;letter-spacing:.02em}
.profile-space-avatar-editor{grid-column:2;min-width:0}.profile-space-avatar-editor:empty{display:none}
body[data-ui-shell="community"] .profile-inline-editor{max-width:540px;padding:14px 0 9px;margin:0;animation:none}
.profile-inline-editor>label,.profile-inline-label{display:flex;align-items:baseline;gap:10px;color:#806448;font-size:12px;font-weight:500;margin-bottom:9px}.profile-inline-editor label small{font-size:10px;font-weight:400;color:#a18b73}
body[data-ui-shell="community"] .profile-inline-editor input:not([type="range"]),body[data-ui-shell="community"] .profile-inline-editor textarea{display:block;width:100%;box-sizing:border-box;border:0;border-bottom:2px solid #b88c66;border-radius:0;padding:9px 0;background:#fff9ee7a;box-shadow:none;font:inherit;font-size:19px;line-height:1.65;color:var(--profile-ink);outline:0;min-height:42px}
body[data-ui-shell="community"] .profile-inline-editor textarea{min-height:86px;font-size:16px;resize:vertical;padding:9px 10px}body[data-ui-shell="community"] .profile-inline-editor input:focus,body[data-ui-shell="community"] .profile-inline-editor textarea:focus{border-color:var(--profile-brick);box-shadow:0 2px 0 #a4382010}
.profile-inline-editor textarea::placeholder{color:#ab947b}.profile-inline-feedback{font-size:11px;color:var(--profile-brick);margin:6px 0;line-height:1.6}.profile-inline-feedback:empty{display:none}
.profile-inline-actions{display:flex;gap:15px;align-items:center;margin-top:10px}.profile-inline-actions button{font-size:12px;color:#937454;min-height:34px;padding:5px 8px}.profile-inline-actions button:first-child{background:var(--profile-brick);color:#fff7e8;padding:5px 16px;border-radius:18px;min-width:64px}.profile-inline-actions button:last-child{font-size:11px}
.profile-signature-meta{display:flex;justify-content:space-between;gap:14px;font-size:10px;color:#a08b73;margin-top:6px}.profile-signature-meta small{font-size:10px}.profile-signature-meta output{font-variant-numeric:tabular-nums}.profile-signature-meta output[data-near-limit="true"]{color:var(--profile-brick)}
.profile-connection-options{display:flex;flex-wrap:wrap;gap:7px}.profile-connection-options button{font-size:12px;min-height:38px;padding:7px 12px;border:1px solid #d8c7ad;color:#8d755b;border-radius:20px}.profile-connection-options button[aria-pressed="true"]{border-color:#77774b;background:#77774b;color:#fffaeb}
.profile-file-note{font-size:11px;line-height:1.6;color:#967c60;margin:0 0 9px}.profile-restore{color:var(--profile-brick);font-size:11px;min-height:36px;padding:0}.profile-avatar-status{font-size:11px;color:#927859;line-height:1.6;margin:0}.profile-avatar-status:empty{display:none}
.profile-crop-tools{display:grid;gap:8px;max-width:340px;margin:8px 0}.profile-crop-tools>p{font-size:12px;color:#76593f;margin:0 0 3px}.profile-crop-tools label{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:12px;font-size:11px;color:#8e7258}.profile-crop-tools input{accent-color:var(--profile-brick);width:100%;min-width:0;padding:0;min-height:24px}
body[data-ui-shell="community"] .profile-space-save{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 23px;padding:12px 0 12px 15px;border-left:3px solid #b77b4e;background:linear-gradient(90deg,#eddfc75c,transparent)}
.profile-save-status{min-width:0}.profile-save-status p{font-size:11px;line-height:1.6;margin:0;color:#937858}.profile-save-status .profile-save-feedback{color:var(--profile-brick);overflow-wrap:anywhere}.profile-save-feedback:empty{display:none}.profile-save-actions{display:flex;gap:12px;flex-shrink:0;align-items:center}
body[data-ui-shell="community"] .profile-save-actions .button{min-height:40px;min-width:88px;font-size:12px;font-weight:500;padding:9px 16px;border-radius:22px;border:0;background:var(--profile-brick);color:#fff7e8}.profile-save-actions .button:disabled{opacity:.5;cursor:default}
body[data-ui-shell="community"] .profile-save-actions .button.outline{background:transparent;color:#947154;padding:9px 4px;min-width:64px;border:0}.profile-space-editor fieldset:disabled{opacity:.8}
body[data-ui-shell="community"] .profile-space-tabs{display:flex;align-items:center;gap:34px;border:0;border-bottom:1px solid #dac6ab;border-radius:0;padding:0;margin:0;background:transparent;box-shadow:none}
.profile-space-tabs a{position:relative;font-size:14px;line-height:1.5;letter-spacing:.02em;text-decoration:none;color:#a18a70;padding:16px 1px;min-height:54px;box-sizing:border-box}.profile-space-tabs a.active{color:var(--profile-brick);font-weight:650}.profile-space-tabs a.active:after{content:'';position:absolute;bottom:-1px;height:3px;left:0;right:0;background:var(--profile-brick);border-radius:2px}
.profile-space-feed{padding:0;margin:0}.profile-space-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 0}.profile-space-feed-heading h2{font-size:12px!important;font-weight:500;color:#a08b73;margin:0;letter-spacing:.08em}.profile-space-feed-heading>div{display:flex;gap:18px;align-items:center}.profile-space-feed-heading :is(button,a){display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:11px;color:#927051;text-decoration:none}.profile-space-feed-heading button{color:var(--profile-brick)}.profile-space-feed-heading svg{width:14px;height:14px}
body[data-ui-shell="community"] .profile-space-posts{display:block;background:transparent;border:0;border-radius:0;padding:0;overflow:visible}
body[data-ui-shell="community"] .profile-space-posts>.hub-post.post-card{border:0;border-bottom:1px solid var(--profile-line);border-radius:0;padding:20px 0 19px!important;margin:0;background:transparent!important;box-shadow:none;transform:none}
.profile-space-posts .hub-post-top strong{font-size:13px;color:#5d412e}.profile-space-posts .hub-post-top small{font-size:11px;color:#a08b73}.profile-space-posts .hub-post-top .hub-avatar{width:34px;height:34px;min-width:34px;border-radius:50%;font-size:14px;border:0;background:#e7dcc6;color:#826244}
.profile-space-posts .hub-post-top>div.hub-post-context{flex-direction:row;gap:10px}.profile-space-posts .hub-post-edit{border:0;background:transparent;padding:5px 0;color:#977c5f}.profile-space-posts .hub-category{background:transparent;color:#8b875e;padding:4px 0;border:0}
body[data-ui-shell="community"] .profile-space-posts .hub-post-open{display:block;text-align:left;width:100%;padding:0;min-height:0;margin:13px 0 8px;background:transparent}.profile-space-posts .hub-post-open h2{font-size:18px!important;line-height:1.6;color:#4d3526;margin:0 0 7px;font-weight:600}.profile-space-posts .hub-post-open p{font-size:14px!important;line-height:1.85;color:#876a51;-webkit-line-clamp:4;margin:0}
.profile-space-posts .hub-post-actions{border:0;padding:0;margin-top:10px;gap:22px}.profile-space-posts .hub-post-actions button{color:#95785e;font-size:11px;min-height:36px;padding:5px 0}.profile-space-posts .hub-post-actions button.on,.profile-space-posts .hub-post-actions button.saved{color:var(--profile-brick)}.profile-space-posts .hub-post-actions .hub-join-discussion{color:#9c8267;font-size:10px}
.profile-space-posts .hub-post-media{margin-top:14px;border-radius:9px}
.profile-space-loading{font-size:12px;color:#9e886f;padding:38px 0;text-align:center}.profile-space-empty{text-align:center;padding:43px 15px 50px;color:#9b8164}.profile-space-empty h3{font-size:19px;font-weight:500;margin:0 0 10px;color:#876549}.profile-space-empty p{font-size:12px;line-height:1.8;margin:0 0 20px}.profile-space-empty button{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--profile-brick);min-height:40px}.profile-space-empty svg{width:15px;height:15px}
body[data-ui-shell="community"] .profile-space-empty .button{border-radius:22px;background:var(--profile-brick);color:#fff5e4;padding:10px 18px;border:0}
.profile-account-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--profile-line);padding:16px 0 0;margin-top:14px;font-size:10px;color:#b09c84}.profile-account-footer span{overflow-wrap:anywhere}.profile-account-footer button{color:#a58b70;min-height:36px;font-size:10px;flex-shrink:0}
.profile-login{padding:28px;background:#fffdf9}.profile-login h1{font-size:24px}.profile-login p{font-size:14px;line-height:1.8;margin:18px 0}
@media(hover:hover){.profile-space-editor button:not(:disabled):hover,.profile-space-topbar a:hover,.profile-space-tabs a:hover{color:#a43820}.profile-space-avatar-picker:hover .profile-photo-preview{box-shadow:0 0 0 5px #fffcf7,0 0 0 6px #b87b4e}.profile-space-name:hover svg,.profile-space-signature:hover svg{opacity:1;color:#a43820}.profile-inline-actions button:first-child:hover{color:#fff7e8;background:#872e1c}.profile-space-posts .hub-post-actions button:hover{background:transparent;color:#a43820}}
@media(max-width:760px){
 body[data-ui-shell="community"] .profile-space-editor{padding-bottom:10px}.profile-space-editor:has(.profile-space-save:not([hidden])){padding-bottom:85px!important}
 body[data-ui-shell="community"] .profile-space-topbar{gap:10px;padding-bottom:14px}.profile-space-topbar a{font-size:10px;gap:4px}body[data-ui-shell="community"] .profile-space-topbar h1{font-size:13px;letter-spacing:.04em}
 body[data-ui-shell="community"] .profile-space-identity{grid-template-columns:83px minmax(0,1fr);gap:0 20px;padding:28px 0 24px;min-height:182px}.profile-space-avatar-picker{width:78px;height:78px}.profile-space-avatar-camera{width:26px;height:26px;right:-3px}.profile-space-avatar-settings{font-size:10px;min-height:28px;padding:2px 0}
 body[data-ui-shell="community"] .profile-space-name{font-size:27px;min-height:37px;gap:8px}.profile-space-name svg,.profile-space-signature>svg{width:13px;height:13px}.profile-space-copy{padding:0}body[data-ui-shell="community"] .profile-space-connection{font-size:10px;min-height:26px;margin-top:6px;padding:2px 9px}
 body[data-ui-shell="community"] .profile-space-signature{font-size:15px;margin-top:12px;gap:8px;line-height:1.75}.profile-space-signature span[data-empty="true"]{font-size:13px}.profile-space-edit-hint{font-size:9px;margin-top:9px;line-height:1.6}.profile-space-avatar-editor{grid-column:1/-1}
 body[data-ui-shell="community"] .profile-inline-editor{padding-top:8px}body[data-ui-shell="community"] .profile-inline-editor input:not([type="range"]){font-size:20px}body[data-ui-shell="community"] .profile-inline-editor textarea{font-size:16px;min-height:110px;padding:8px 6px}.profile-inline-editor>label{font-size:11px;gap:6px;flex-wrap:wrap}.profile-inline-editor label small{font-size:9px}.profile-signature-meta{gap:4px;flex-wrap:wrap}.profile-signature-meta output{margin-left:auto}
 .profile-connection-options{gap:6px}.profile-connection-options button{font-size:11px;padding:6px 10px;min-height:36px}
 body[data-ui-shell="community"] .profile-space-tabs{gap:27px}.profile-space-tabs a{font-size:13px;min-height:49px;padding:14px 1px}
 .profile-space-feed-heading{margin-top:17px;gap:8px}.profile-space-feed-heading h2{font-size:11px!important}.profile-space-feed-heading>div{gap:12px}.profile-space-feed-heading :is(button,a){font-size:10px;gap:3px}
 body[data-ui-shell="community"] .profile-space-posts>.hub-post.post-card{padding:16px 0 17px!important}.profile-space-posts .hub-post-open h2{font-size:16px!important}.profile-space-posts .hub-post-open p{font-size:13px!important}.profile-space-posts .hub-post-actions{gap:19px}.profile-space-posts .hub-post-actions .hub-join-discussion{font-size:9px}.profile-space-posts .hub-post-top>div.hub-post-context{gap:8px}
 body[data-ui-shell="community"] .profile-space-save{position:fixed;left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom));z-index:45;display:flex;gap:12px;margin:0;padding:11px 16px;background:#fffaf1f7;border:0;border-top:1px solid #ddc8aa;box-shadow:0 -5px 22px #70412b08;backdrop-filter:blur(12px)}
 .profile-save-status p{font-size:10px}.profile-save-actions{gap:9px}body[data-ui-shell="community"] .profile-save-actions .button{min-width:82px;min-height:38px;font-size:11px;padding:8px 13px}body[data-ui-shell="community"] .profile-save-actions .button.outline{min-width:55px;padding:8px 0;font-size:10px}
 .profile-account-footer{font-size:9px;padding-top:10px;gap:10px}.profile-account-footer button{font-size:9px}.profile-space-empty{padding:35px 12px 41px}.profile-space-empty h3{font-size:17px}
 .personal-space-link{margin:10px 0}.personal-identity{min-width:0}.personal-identity>div{min-width:0}.personal-identity .personal-signature{max-width:100%!important;font-size:12px!important}.resident-summary>div{min-width:0}
}
@keyframes profile-inline-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.profile-inline-editor{animation:none!important}.profile-space-name svg,.profile-space-signature>svg{transition:none}}
.personal-avatar>.wd-avatar{position:static!important;width:100%!important;height:100%!important;border:0!important;border-radius:inherit;background:transparent;font-size:30px;color:#87543c}
