.profile-card .tg-editable-nickname{display:inline-block;max-width:100%;padding:0;border:0;border-radius:5px;background:transparent;box-shadow:none;color:inherit;font:inherit;line-height:inherit;text-align:inherit;cursor:pointer}
.profile-card .tg-editable-nickname:hover{background:transparent;box-shadow:none}
.tg-editable-nickname:focus-visible{outline:2px solid #8ce8e2;outline-offset:5px}
.profile-card .nickname-customize[data-tg-compact]{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:42px;min-width:42px;height:38px;padding:0 11px;overflow:hidden;white-space:nowrap;flex-shrink:0;transition:width .34s cubic-bezier(.2,.75,.2,1),background .2s ease!important}
.tg-customize-icon{display:block;flex:0 0 18px;width:18px;text-align:center;font-size:18px;line-height:1}
.tg-customize-name{display:block;flex-shrink:0;opacity:0;transition:opacity .2s ease;font-size:13px;font-weight:750}
@media(hover:hover) and (pointer:fine){.profile-card .nickname-customize[data-tg-compact]:is(:hover,:focus-visible){width:var(--tg-customize-open-width,164px)}.profile-card .nickname-customize:is(:hover,:focus-visible) .tg-customize-name{opacity:1;transition-delay:.06s}}
.tg-settings-edit-nickname{display:block;margin-top:10px;min-height:40px;padding:8px 12px;font:700 14px/1.3 Inter,system-ui,sans-serif}
@media(max-width:600px){.profile-card .tg-profile-tools{display:flex;gap:10px;justify-content:flex-start}.profile-card .tg-profile-tools .nickname-customize[data-tg-compact]{flex:0 0 44px;width:44px;min-width:44px;height:44px}.tg-profile-tools .tg-guide-help{flex:0 0 58px}.tg-customize-name{display:none}}
@media(prefers-reduced-motion:reduce){.profile-card .nickname-customize[data-tg-compact],.tg-customize-name{transition:none!important}}

/* Reserve real room for glyphs and their glow instead of clipping the h3. */
.profile-card .profile-name-row h3{display:flex;align-items:center;overflow:visible;padding:5px 9px;margin:-5px -9px;line-height:1.1}
.profile-card .profile-name-row .tg-editable-nickname{display:flex;align-items:center;overflow:visible;line-height:1.1;vertical-align:top}
.profile-card .profile-name-row .tg-editable-nickname .nickname-style{display:block;vertical-align:top;padding:0;margin:0;line-height:1.1;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
@media(min-width:601px){.profile-card .profile-name-row h3{font-size:clamp(30px,2.2vw,38px)}.profile-card .profile-name-row .tg-editable-nickname{transform:translateY(-2px)}}
@media(max-width:600px){.profile-card .profile-name-row h3{font-size:clamp(24px,6.4vw,28px);max-width:100%}.profile-card .profile-name-row .tg-editable-nickname{max-width:100%;min-width:0}.profile-card .profile-name-row .tg-editable-nickname .nickname-style{white-space:normal!important;overflow-wrap:anywhere;max-width:100%}}

/* Keep the entire identity clear of the avatar's animated overscan. */
.profile-card .profile-identity{padding-left:16px;min-width:0;box-sizing:border-box}
@media(max-width:600px){.profile-card .profile-identity{padding-left:8px}.profile-card .tg-profile-details,.profile-card .tg-profile-tools{padding-left:8px;min-width:0;box-sizing:border-box}}
