/* The portrait remains circular. The decorative frame is a separate overlay. */
.terra-naw-portrait{position:relative;display:inline-block;flex-shrink:0;isolation:isolate;border-radius:50%;overflow:visible}
.terra-naw-portrait>img:first-child{position:absolute;display:block!important;left:50%;top:50%;transform:translate(-50%,-50%);width:100%!important;height:100%!important;max-width:none;max-height:none;border-radius:50%!important;object-fit:cover}
.terra-naw-portrait .terra-naw-frame{position:absolute;display:block;inset:0;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:contain;border:0!important;border-radius:0!important;filter:none!important;pointer-events:none;z-index:2}
.terra-naw-portrait .terra-naw-frame[hidden]{display:none!important}
.terra-naw-portrait-ready{background:transparent!important}
.terra-naw-portrait-ready>img:first-child{width:var(--terra-portrait-size)!important;height:var(--terra-portrait-size)!important;left:var(--terra-portrait-x);top:var(--terra-portrait-y);border:0!important}
.terra-home-portrait{width:56px;height:56px;vertical-align:middle;flex:none;box-sizing:border-box}
.ffa-profile-avatar.terra-naw-portrait{border-radius:50%!important;overflow:visible}
@media(max-width:760px){.terra-home-portrait{width:46px;height:46px}}
@media(max-width:375px){.terra-home-portrait{width:40px;height:40px}}

/* Frame and portrait use the same square reference; percentage geometry stays calibrated at every size. */
#ffa-profile-name{font-size:15px;line-height:1.2;min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){#ffa-profile-name{font-size:14px}}
@media(max-width:900px) and (max-height:540px) and (orientation:landscape) and (pointer:coarse){#ffa-profile-name{font-size:14px}}
@media(max-width:375px){#ffa-profile-name{font-size:13px}}
