@font-face {
  font-family: "Franklin_Gothic_Medium"; 
  src: url("../fonts/Franklin_Gothic_Medium.ttf") format("truetype"); 
  font-style: normal; 
  font-weight: normal; 
} 
.profile-frame {
  position: relative;
  width: 650px;
  height: 140px;
  /* background: url(/img/profilebg.png) no-repeat center / cover;
  background-size: 100%; */
  font-family: 'Franklin_Gothic_Medium', sans-serif;
  color: #fff;
  margin: 20px auto 50px auto;
    background-color: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(4px);
    margin-top: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.frame-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url(/img/profilebg.png) no-repeat center / cover;
    background-size: 100%;
  pointer-events: none; /* чтобы не мешала кликам */
}

.profile-frame span,
.profile-frame button {
    color: #ebf9ab;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.top-left {
     position: absolute;
    top: 28px;
    left: 120px;
    max-width: 180px;
}

.nickname {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.bottom-left {
  position: absolute;
    bottom: 45px;
    left: 120px;
}

.top-right {
 position: absolute;
   top: 24px;
    left: 69%;
}
.top-right .balance{
    font-size: 26px;
    color: white;
}


.bottom-right {
  position: absolute;
    bottom: 45px;
    right: 115px;
}
.btn-purchases{
    color: #ebf9ab;
}
.btn-purchases,
.btn-topup {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.center-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -7px;
    margin-left: -5px;
}
.center-avatar img {
      width: 120px;
    height: 105px;
    border-radius: 38%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.header-auth .btnlogout{
    text-align: center;
    padding: 0 !important;
    display: block;
    line-height: 48px;
}