.lk-top__card {
  height: 100%;
}

.lk-top__wrapper {
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lk-top__buttons {
  display: flex;
  gap: 0.5rem;
}

.lk-top__content {
  display: flex;
  flex-direction: column;
  gap: 0.39rem;
}

.lk-top__content-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lk-top__user-avatar {
  position: relative;
  z-index: 2;
}

.lk-top__user-avatar-image {
  height: 43px;
  width: 43px;
  border-radius: var(--br-8);
}

.avatar_frame {
  height: 43px;
  width: 43px;
  position: absolute !important;
  transform: scale(1.1);
  border-radius: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  outline: none !important;
}

.lk-top__user-data {
  height: 53px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: var(--transparent-2-w);
  padding: 0.3rem;
  border-radius: var(--br-12);
  position: relative;
  overflow: hidden;
  transition: var(--transition-ease-2);
  border: 1px solid var(--transparent-3-w);
  flex: 1;
}

.lk-top__place-number,
.lk-top__place-hashtag {
  position: absolute;
  font-size: var(--font-size-5xl);
  font-family: var(--font-family-1);
  font-weight: var(--font-weight-7);
  width: 55px;
  display: flex;
  justify-content: center;
  opacity: 0.1;
  transition: var(--transition-ease-2);
}
.lk-top__place-number {
  right: 0;
}

.lk-top__place-hashtag {
  right: 2.5rem;
  font-size: var(--font-size-l);
  width: 26px;
}

.lk-top__place-number.first,
.lk-top__place-number.second,
.lk-top__place-number.third {
  z-index: 2;
  opacity: 0.1;
  -webkit-user-select: none;
  user-select: none;
}

.lk-top__place-hashtag.first,
.lk-top__place-hashtag.second,
.lk-top__place-hashtag.third {
  z-index: 2;
  opacity: 0.1;
  -webkit-user-select: none;
  user-select: none;
}

.lk-top__user-details {
  display: flex;
  flex-direction: column-reverse;
  z-index: 2;
}

.lk-top__place {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-4);
  opacity: 0.3;
}

.lk-top__user-name {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-7);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lk-top__user-name svg {
  width: 18px;
  height: 18px;
  fill: rgb(0 255 94);
  margin-bottom: 0.2rem;
}

.lk-top__user-name.first {
  color: var(--top-one);
}

.lk-top__user-name.second {
  color: var(--top-two);
}

.lk-top__user-name.third {
  color: var(--top-three);
}

.lk-top__user-data:hover .lk-top__place-number {
  scale: 1.1;
}

.lk-top__user-data:hover .lk-top__place-number.first,
.lk-top__user-data:hover .lk-top__place-number.second,
.lk-top__user-data:hover .lk-top__place-number.third {
  opacity: 1;
}

.lk-top__user-data:hover .lk-top__place-number.first {
  color: var(--top-one);
}

.lk-top__user-data:hover .lk-top__place-number.second {
  color: var(--top-two);
}

.lk-top__user-data:hover .lk-top__place-number.third {
  color: var(--top-three);
}

.loader {
  display: none;
  position: relative;
  background: var(--input-form);
  overflow: hidden;
  height: 53px;
  border-radius: var(--br-12);
  z-index: 2;
}

.loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    var(--transparent-2-w),
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.lk-top__title {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-custom);
  font-weight: var(--font-weight-5);
  flex-direction: row-reverse;
  padding: 0.5rem 0.5rem 0.5rem 0.8rem;
  background-color: var(--transparent-2-w);
  border-radius: var(--br-8);
}

.lk-top__title svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-ease-2);
  margin-left: auto;
}

.lk-top__title:hover svg {
  fill: var(--span);
}
