/* Portraits retain their ordinary size; earned frames extend beyond them. */
.wos-framed-avatar{display:inline-block;position:relative;box-sizing:content-box;max-width:100%;overflow:visible;line-height:0}
.wos-framed-avatar.wos-framed-avatar>img.wos-avatar-portrait{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.wos-framed-avatar>img.wos-avatar-frame{position:absolute!important;inset:auto!important;left:var(--frame-left)!important;top:var(--frame-top)!important;width:var(--frame-width)!important;height:var(--frame-height)!important;min-width:0!important;max-width:none!important;max-height:none!important;object-fit:fill!important;pointer-events:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:2}
@media (min-width: 761px) {
.game-header .account-recap .profile-link.wos-avatar-link{width:var(--avatar-link-width)!important;height:var(--avatar-link-height)!important;overflow:visible!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.game-header .account-recap .profile-link.wos-avatar-link .profile-name{left:var(--avatar-link-name-left)!important;top:var(--avatar-link-name-top)!important;width:var(--avatar-link-name-width)!important}
}
@media (max-width: 760px) {
 .game-header .account-recap .profile-link.wos-avatar-link {
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
 }
 .game-header .profile-link.wos-avatar-link .wos-framed-avatar {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
 }
 .game-header .profile-link.wos-avatar-link .wos-avatar-frame {
  display: none;
 }
 .game-header .profile-link.wos-avatar-link .wos-framed-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border: 1px solid transparent;
  border-image-source: var(--mobile-frame-image);
  border-image-slice: var(--mobile-frame-slice);
  border-image-width: 16px;
  border-image-outset: 10px;
  border-image-repeat: stretch;
 }
}

/* Fixed portrait columns keep names aligned while frames reserve their own height. */
.clan-online .online-member,.clan-chat-message{
 display:grid;
 grid-template-columns:56px minmax(0,1fr);
 align-items:center;
 column-gap:8px;
 box-sizing:border-box;
 min-height:48px;
}
.clan-online .online-member{
 grid-template-columns:52px minmax(0,1fr);
 column-gap:5px;
 min-height:28px;
 margin:2px 4px;
}
.clan-online .online-member>.wos-framed-avatar{
 margin-left:0!important;
 margin-right:0!important;
 justify-self:center;
}
.clan-chat-message>.wos-framed-avatar{
 margin:0!important;
 justify-self:center;
}
.clan-online .online-member>img.clan-avatar,.clan-chat-message>img.clan-avatar{
 justify-self:center;
}
.clan-online .online-member>a{min-width:0;overflow-wrap:anywhere}
