/* Exact MatrixAligner identity presentation */

.matrix-radio-identity {
  width: 100%;
  border-bottom: 1px solid rgba(99,255,153,.16);
  background:
    linear-gradient(
      90deg,
      rgba(5,10,8,.96),
      rgba(8,20,14,.96),
      rgba(5,10,8,.96)
    );
}

.matrix-radio-identity-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.matrix-radio-identity-state {
  font-size: .76rem;
  color: rgba(255,255,255,.58);
}

.matrix-radio-identity-inner {
    width: min(100% - 22px, 1180px);
    padding: 12px 0;
    flex-wrap: wrap;
  }

.matrix-radio-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(99,255,153,.6);
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(99,255,153,.28),
      rgba(9,30,18,.92)
    );
  box-shadow:
    0 0 22px rgba(99,255,153,.12);
  font-weight: 900;
  color: #9dffbd;
}

.matrix-radio-member-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.matrix-radio-member-copy {
    flex: 1;
  }

.matrix-radio-member-label {
  font-size: .68rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.48);
}

.matrix-radio-display-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

.matrix-radio-member-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.matrix-radio-member-actions {
    width: 100%;
    margin-left: 58px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

.matrix-radio-passport {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(99,255,153,.22);
  color: rgba(195,255,214,.82);
  background: rgba(99,255,153,.06);
  font-size: .72rem;
}

.matrix-radio-passport {
    max-width: 100%;
  }

.matrix-radio-profile-link,
.matrix-radio-signin-link {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.matrix-radio-profile-link {
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}

.matrix-radio-signin-link {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.matrix-radio-signin-link {
  border: 1px solid #63ff99;
  background: #63ff99;
  color: #041008;
}

/* GALORE_MATRIXALIGNER_CANONICAL_PROFILE_PHOTO_V2_BEGIN */

.matrix-radio-avatar {
  position: relative;
  overflow: hidden;
}

.matrix-radio-profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: none;
  z-index: 2;
}

.matrix-radio-profile-photo[src]:not([src=""]) {
  display: block;
}

/* Existing initial remains underneath as the fallback when no photo exists. */
#matrix-radio-avatar-letter {
  position: relative;
  z-index: 1;
}

/* GALORE_MATRIXALIGNER_CANONICAL_PROFILE_PHOTO_V2_END */
