/* SORA Project v132 — remove legacy square chrome and restore full avatar fill. */

.profile-public-card .profile-identity .avatar-presence > .profile-public-avatar.avatar-frame-stack,
.profile-edit-card .avatar-frame-picker .avatar-frame-choice .avatar-frame-preview.avatar-frame-stack,
.user-chip .avatar-frame-compact.avatar-frame-stack,
.admin-user .avatar-frame-compact.avatar-frame-stack,
.friend-card .avatar-frame-stack,
.team-card .avatar-frame-stack,
.comment .avatar-frame-stack,
.release-character-avatar.avatar-frame-stack {
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  background:none !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}

.avatar-frame-stack > .avatar-frame-photo,
.profile-public-card .profile-public-avatar.avatar-frame-stack > .avatar-frame-photo,
.profile-edit-card .avatar-frame-choice .avatar-frame-preview.avatar-frame-stack > .avatar-frame-photo {
  width:95% !important;
  height:95% !important;
  border:0 !important;
  outline:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:cover !important;
}

.avatar-frame-stack:not(:has(> .avatar-frame-overlay)) > .avatar-frame-photo,
.profile-edit-card .avatar-frame-choice .avatar-frame-preview.avatar-frame-stack:not(:has(> .avatar-frame-overlay)) > .avatar-frame-photo {
  width:100% !important;
  height:100% !important;
}

.avatar-frame-stack > .avatar-frame-overlay,
.profile-public-card .profile-public-avatar.avatar-frame-stack > .avatar-frame-overlay,
.profile-edit-card .avatar-frame-choice .avatar-frame-preview.avatar-frame-stack > .avatar-frame-overlay,
.user-chip .avatar-frame-compact.avatar-frame-stack > .avatar-frame-overlay {
  position:absolute !important;
  z-index:2 !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  object-fit:contain !important;
  pointer-events:none !important;
}

.profile-public-card .avatar-presence .online-dot {
  z-index:3 !important;
  right:2px !important;
  bottom:2px !important;
}

@media (max-width:680px) {
  .profile-public-card .avatar-presence .online-dot {
    right:2px !important;
    bottom:2px !important;
  }
}
