#app#app#app .pe-profile-actions{display:flex;flex-direction:column;gap:16px;margin:20px 0 12px}
#app#app#app .pe-profile-actions>button,#app#app#app .pe-background-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px;border:1px solid #bcd6c8;border-radius:10px;background:#f2f8f5;color:#087d43;font-size:14px;font-weight:500;cursor:pointer}
.pe-background-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.pe-background-button:focus-within{outline:2px solid #087d43;outline-offset:3px}.pe-saving{opacity:.6;cursor:wait!important}
#app .pe-profile-status{font-size:12px;line-height:1.6;color:#4e6658;margin:8px 0}.pe-error{color:#a73535!important}
#app#app .public-person-identity.pe-has-background{padding:18px;border-radius:12px;background-size:cover;background-position:center;color:#fff}
#app#app .public-person-identity.pe-has-background h2,#app#app .public-person-identity.pe-has-background p,#app#app .public-person-identity.pe-has-background .ai-public-id{color:#fff!important}
.ar-equipment-dialog{box-sizing:border-box;width:calc(100% - 24px);max-width:430px;max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #d4e2d9;border-radius:16px;background:white;color:#1b2b22;font-family:inherit}
.ar-equipment-dialog::backdrop{background:rgba(17,36,26,.38)}
.ar-equipment-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ar-equipment-dialog>header h2{font-size:20px;margin:0}.ar-equipment-dialog>header button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:inherit}.ar-equipment-dialog>header svg{width:20px;height:20px}
.ar-equipment-dialog .ar-customizer{padding:8px 0 0;border:0}.ar-equipment-dialog .ar-customizer>h3{font-size:16px}.ar-equipment-dialog .ar-preview{margin:16px 0}.ar-equipment-dialog .ar-avatar-composite{width:72px;height:72px;min-width:72px}
#app#app .ar-author-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;background:transparent!important;pointer-events:none}
#app#app .ar-author-pendant{display:inline-block!important;width:78px!important;height:24px!important;max-width:100%;object-fit:contain!important;vertical-align:middle;margin-left:5px}
#app#app [data-ar-author-pendant]{display:inline-flex;vertical-align:middle}
#app#app.pe-universe-material .text-archive94__avatar,#app#app.pe-universe-material .asset-author-avatar,#app#app.pe-universe-material .asset-author78 .co-avatar78{display:none!important}
#app#app.pe-universe-material .text-archive94__author .avatar-honor,#app#app.pe-universe-material .asset-author78 [data-ar-author-pendant]{display:none!important}
.ar-equipment-dialog button:focus-visible,#app .pe-profile-actions button:focus-visible{outline:2px solid #087d43;outline-offset:3px}

#app#app .profile53-avatar{border-radius:50%;background:transparent}
#app#app#app .profile53-mask{position:fixed;inset:0;z-index:180;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(19,39,28,.36)}
#app#app#app .profile53-sheet{box-sizing:border-box;width:100%;max-width:430px;max-height:calc(100dvh - 32px);overflow:auto;padding:20px;background:#fff;border-radius:16px}
#app#app#app .profile53-handle{width:36px;height:4px;border-radius:2px;background:#c9d6ce;margin:0 auto 12px}
#app#app#app .profile53-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#app#app#app .profile53-head h2{font-size:20px;line-height:1.4;font-weight:600;margin:0}
#app#app#app .profile53-head button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:#172d20;font-size:26px}
#app#app#app .profile53-preview{display:flex;align-items:center;gap:16px;padding:20px;min-height:112px;border-radius:12px;background-color:#214638;background-size:cover;background-position:center;color:#fff}
#app#app#app .profile53-preview h3{font-size:18px;line-height:1.4;margin:0 0 6px;font-weight:600}
#app#app#app .profile53-preview p{font-size:13px;line-height:1.6;margin:0;color:#d8e8de}
#app#app#app .profile53-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;min-width:64px;min-height:64px;border-radius:50%;background:#e9f2ec;color:#185a39;font-size:28px;overflow:visible}
#app#app#app .profile53-avatar>[data-honor-avatar-user]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.ar-equipment-dialog .ar-customizer{margin:0!important;padding:8px 0 0!important;border:0!important}
#app#app.pe-universe-material .text-archive94__author-copy>p{display:none!important}
/* Author overlays never change the native avatar container's width or height. */
#app#app#app#app#app .ar-author-framed{position:relative;overflow:visible!important}
#app#app#app#app#app .ar-author-framed>.dqd-avatar-content{position:absolute!important;left:var(--ar-cx)!important;top:var(--ar-cy)!important;width:var(--ar-hole)!important;height:var(--ar-hole)!important;transform:translate(-50%,-50%);border-radius:50%}

/* Profile avatars are fixed squares; metadata and legacy pill spans cannot resize them. */
#app#app#app#app#app#app .public-person-page .public-person-avatar,
#app#app#app#app#app#app .profile53-preview .profile53-avatar{box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 64px!important;width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;min-height:64px!important;max-height:64px!important;aspect-ratio:1!important;border-radius:50%!important;padding:0!important;margin:0!important;line-height:1!important}
#app#app#app#app#app#app .profile53-avatar span{box-sizing:border-box!important;margin:0!important;padding:0!important;border:0!important;font-size:inherit!important;line-height:inherit!important}
#app#app#app#app#app#app :is(.public-person-avatar,.profile53-avatar)>.honor-avatar-base{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important}
#app#app#app#app#app#app :is(.public-person-avatar,.profile53-avatar)>.dqd-avatar-content,
#app#app#app#app#app#app :is(.public-person-avatar,.profile53-avatar)>.honor-avatar-base:not(.ar-author-framed)>.dqd-avatar-content{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;overflow:hidden!important;transform:none!important}
#app#app#app#app#app#app :is(.public-person-avatar,.profile53-avatar) img[data-dqd-avatar]{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;aspect-ratio:1!important}

/* Keep decorated names on one line, including author rows with legacy block rules. */
#app#app#app#app#app#app .ar-decorated-name {display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;max-width:100%!important;width:max-content;vertical-align:middle;white-space:nowrap!important;overflow:hidden!important;box-sizing:border-box}
#app#app#app#app#app#app .ar-decorated-name > .ar-name-label {display:block!important;flex:0 1 auto!important;min-width:2em!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#app#app#app#app#app#app .ar-decorated-name > [data-ar-author-pendant] {display:flex!important;flex:0 0 clamp(84px,28vw,112px)!important;width:clamp(84px,28vw,112px)!important;min-width:0!important;max-width:112px!important;line-height:normal!important;align-items:center!important;margin:0!important;padding:0!important}
#app#app#app#app#app#app .ar-decorated-name .ar-author-pendant.ur-ribbon {display:block!important;width:100%!important;height:auto!important;aspect-ratio:512 / 144!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;flex:none!important}
#app#app#app#app#app#app .ar-author-frame {display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain!important;transform:none!important;box-shadow:none!important;background:transparent!important;pointer-events:none}
#app#app#app#app .community-layout .v3-author {flex:1;min-width:0}
#app#app#app#app .community-layout .v3-author > span:last-child {flex:1;min-width:0}
#app .profile-copy78,#app .public-person-copy,#app .co-author78 > span:last-child,#app .prd-post-author79 > span:last-child,#app .room-social-author73,#app .v3-author > span:last-child,#app .work-author78 > span:last-of-type,#app .work-comment79 > span:last-child,#app .work-comment-copy86,#app .nested-copy {min-width:0;flex-shrink:1}
#app#app#app#app .post28-author-copy,#app#app#app#app .post28-author-copy > div {min-width:0;max-width:100%}
#app .remix-card-author64 {display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%}
#app .remix-card-author64 > .ar-name-target {min-width:0;flex:1}
#app .remix-card-author64 > i {flex:none}
#app .remix-card-author64 > .ar-work-counts {flex:0 0 100%;white-space:nowrap;text-align:right}
#app .bw-public-wall {margin-block:16px;min-width:0}
#app .bw-public-empty {color:#486557;font-size:14px;margin:12px 0 0}
.bw-share-image {-webkit-touch-callout:default!important;user-select:auto!important;-webkit-user-select:auto!important}

/* Keep title and artwork in one coordinate system; no inherited span offsets. */
.ur-ribbon .ur-ribbon-title {font-family:system-ui,-apple-system,"PingFang SC",sans-serif!important;font-size:50px!important;font-weight:700!important;letter-spacing:0!important;fill:#fff!important;stroke:#153e78;stroke-width:1.4px;paint-order:stroke fill;text-shadow:none!important}

/* Photo content keeps its crop; decorative artwork is never treated as a post attachment. */
#app#app#app#app#app#app .ar-author-host {overflow:visible!important}
#app#app#app#app#app#app .ar-author-framed > .dqd-avatar-content {margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;overflow:hidden!important}
#app#app#app#app#app#app .ar-author-framed img[data-dqd-avatar] {position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;object-fit:cover!important;transform:none!important}

/* The old circular placeholder belongs inside the frame aperture, never outside the artwork. */
#app#app#app#app#app#app#app .ar-author-host,
#app#app#app#app#app#app#app .ar-author-framed{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;overflow:visible!important}
#app#app#app#app#app#app#app .ar-author-framed>.dqd-avatar-content{position:absolute!important;inset:auto!important;left:var(--ar-cx,50%)!important;top:var(--ar-cy,50%)!important;width:var(--ar-hole,100%)!important;height:var(--ar-hole,100%)!important;transform:translate(-50%,-50%)!important;border-radius:50%!important;background:#e9f2ec!important;overflow:hidden!important;z-index:0}
#app#app#app#app#app#app#app .ar-author-framed>.ar-author-frame{z-index:1}

/* Author art reserves its own space; the portrait keeps its native diameter. */
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) {--ar-portrait:40px;--ar-slot:76px;--ar-ribbon:80px}
#app#app#app#app#app#app#app#app .post28-author {--ar-portrait:40px;--ar-slot:76px;--ar-ribbon:80px}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-host,#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed {width:var(--ar-slot)!important;height:var(--ar-slot)!important;min-width:var(--ar-slot)!important;min-height:var(--ar-slot)!important;flex:none!important;position:relative!important;overflow:visible!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed>.dqd-avatar-content {width:var(--ar-portrait)!important;height:var(--ar-portrait)!important;left:calc(50% + var(--ar-portrait) * var(--ar-offset-x,0))!important;top:calc(50% + var(--ar-portrait) * var(--ar-offset-y,0))!important;font-size:14px!important;line-height:1!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed>.ar-author-frame {inset:auto!important;left:50%!important;top:50%!important;width:calc(var(--ar-portrait) * var(--ar-frame-scale,1))!important;height:calc(var(--ar-portrait) * var(--ar-frame-scale,1))!important;max-width:none!important;max-height:none!important;transform:translate(-50%,-50%)!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-decorated-name {gap:6px!important;line-height:22px!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-decorated-name>[data-ar-author-pendant] {flex:0 0 var(--ar-ribbon)!important;width:var(--ar-ribbon)!important;max-width:var(--ar-ribbon)!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-decorated-name>.ar-name-label {min-width:2em!important}
#app#app#app#app#app#app#app#app .post28-author-copy {flex:1;min-width:0}
#app#app#app#app#app#app#app#app .post28-follow {flex-shrink:0}

#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) {gap:8px!important;min-height:76px!important;height:auto!important}
#app#app#app#app#app#app#app#app .community-layout .v3-author>b,
#app#app#app#app#app#app#app#app .community-layout .v3-author>span:last-child>b {font-size:14px!important;line-height:22px!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author>.v3-avatar,.post28-author>.avatar):not(.ar-author-host):not(.ar-author-framed) {width:40px!important;height:40px!important;flex:none!important;margin-inline:18px!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed>.dqd-avatar-content {display:grid!important;place-items:center!important}

#app#app#app#app#app#app#app#app .community-layout .community-post>header {height:auto!important;min-height:76px!important;margin-bottom:12px!important}
#app#app#app#app#app#app#app#app .community-layout .v3-more {height:44px!important;min-height:44px!important}

#app .pe-profile-actions{display:flex;flex-direction:column;gap:16px}
#app [data-pe-palette]{width:100%;box-sizing:border-box}
#app [data-pe-palette] h3{margin:0 0 6px;font-size:16px;color:#172b24}
#app [data-pe-palette]>p{margin:0 0 12px;font-size:13px;line-height:1.5;color:#52695e}
#app .pe-color-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
#app .pe-color-grid button{height:44px;min-width:0;border:2px solid transparent;border-radius:10px;padding:5px;background:transparent;display:grid;place-items:center}
#app .pe-color-grid button span{display:block;width:28px;height:28px;border-radius:50%;background:var(--swatch);border:1px solid #172b2430}
#app .pe-color-grid button[aria-pressed=true]{border-color:#007d53;background:#e7f4ee}
#app .pe-color-grid button:focus-visible{outline:2px solid #007d53;outline-offset:2px}
#app .pe-custom-color{display:flex;align-items:center;justify-content:space-between;margin-block:12px;color:#3b5146;font-size:14px}
#app .pe-custom-color label{display:flex;align-items:center;gap:12px}
#app .pe-custom-color input{display:block;width:54px;height:44px;padding:4px;border:1px solid #bdcec4;border-radius:8px;background:#fff}
#app .pe-custom-color output{font:13px ui-monospace,monospace}
#app .pe-color-actions{display:flex;gap:10px}
#app .pe-color-actions button{flex:1;min-height:44px;border:1px solid #c8d9ce;border-radius:10px;background:#fff;color:#24543f;font-size:14px}
#app .pe-color-actions .primary{background:#008657;border-color:#008657;color:#fff}
#app .pe-color-actions button:disabled{opacity:.55}
#app#app .pe-color-background :is(h1,h2,h3,p,.public-person-copy,.public-person-copy>*){color:var(--pe-color-ink)!important}
#app#app .profile53-sheet{max-height:calc(100dvh - 24px);overflow-y:auto}

@media(max-width:360px){#app .pe-color-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Compact author identity: frame is decoration, not a second hero image. */
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author){--ar-slot:52px;--ar-ribbon:72px;min-height:52px!important;gap:8px!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed>.dqd-avatar-content{width:var(--ar-hole)!important;height:var(--ar-hole)!important;left:var(--ar-cx)!important;top:var(--ar-cy)!important;font-size:12px!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author,.post28-author) .ar-author-framed>.ar-author-frame{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
#app#app#app#app#app#app#app#app :is(.community-layout .v3-author>.v3-avatar,.post28-author>.avatar):not(.ar-author-host):not(.ar-author-framed){margin-inline:6px!important}
#app#app#app#app#app#app#app#app .community-layout .community-post>header{min-height:52px!important;margin-bottom:12px!important}
/* One slot for every author, including undecorated and pendant-only accounts. */
#app#app#app#app#app#app#app#app#app#app :is(.v3-author,.post28-author){display:flex!important;align-items:center!important;gap:8px!important;min-height:52px!important;height:auto!important}
#app#app#app#app#app#app#app#app#app#app :is(.v3-author>.v3-avatar,.post28-author>.avatar){display:grid!important;place-items:center!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;flex:0 0 52px!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
#app#app#app#app#app#app#app#app#app#app :is(.v3-author>.v3-avatar,.post28-author>.avatar)>.honor-avatar-base:not(.ar-author-framed){display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%!important;overflow:hidden!important;background:#e6f8ee!important}
#app#app#app#app#app#app#app#app#app#app .v3-author>span:last-child>b{line-height:22px!important}
