.lk-top__card {/* height: 100%; */}

.lk-top__wrapper {
  block-size: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---------- title ---------- */
.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: linear-gradient(90deg, var(--transparent-3-w), var(--transparent-2-w));
  border-radius: var(--br-8);
  border: 1px solid var(--transparent-5-w);
}

.lk-top__title svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: var(--transition-ease-2);
  margin-left: auto;
  flex: none;
  opacity: .55;
}

.lk-top__title:hover svg {
  fill: var(--span);
  opacity: 1;
  transform: rotate(12deg);
}

.lk-top__title>span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ---------- filter chips ---------- */
.lk-top__buttons {
  display: flex;
  gap: 0.3rem;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--input-form);
  padding: 0.25rem;
  border-radius: var(--br-10);
}

.lk-top__chips-btn {
  background: transparent !important;
  border-radius: var(--br-8) !important;
  color: var(--text-secondary);
  font-weight: var(--font-weight-6);
  transition: var(--transition-ease-2);
}

.lk-top__chips-btn.active {
  background: var(--span) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px -4px rgba(150, 127, 242, .6);
}

/* ---------- list ---------- */
#lk-top-content,
#lk-top-loaders {
  display: flex;
  flex-direction: column;
  gap: 0.525rem;
}

.lk-top__content-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row !important;
}

.lk-top__user-avatar {
  position: relative;
  z-index: 2;
  flex: none;
}

.lk-top__user-avatar-image {
  height: 2.613rem;
  width: 2.613rem;
  border-radius: 50%;
  border: 2px solid var(--transparent-5-w);
  object-fit: cover;
  transition: var(--transition-ease-2);
}

.lk-top__user-data.first .lk-top__user-avatar-image { border-color: var(--top-one); box-shadow: 0 0 0 3px rgba(255,219,92,.18); }
.lk-top__user-data.second .lk-top__user-avatar-image { border-color: var(--top-two); box-shadow: 0 0 0 3px rgba(192,192,192,.15); }
.lk-top__user-data.third .lk-top__user-avatar-image { border-color: var(--top-three); box-shadow: 0 0 0 3px rgba(205,127,50,.15); }

.lk-top__medal {
  position: absolute;
  bottom: -3px;
  right: -3px;
  z-index: 3;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--transparent-5-w);
}

.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 0.5rem 0.3rem 0.3rem;
  border-radius: var(--br-12);
  position: relative;
  overflow: hidden;
  transition: var(--transition-ease-2);
  border: 1px solid var(--transparent-3-w);
  border-left: 3px solid transparent;
  flex: 1;
}

.lk-top__user-data.first { border-left-color: var(--top-one); background: linear-gradient(90deg, rgba(255,219,92,.09), var(--transparent-2-w) 55%); }
.lk-top__user-data.second { border-left-color: var(--top-two); background: linear-gradient(90deg, rgba(192,192,192,.08), var(--transparent-2-w) 55%); }
.lk-top__user-data.third { border-left-color: var(--top-three); background: linear-gradient(90deg, rgba(205,127,50,.08), var(--transparent-2-w) 55%); }

.lk-top__user-data:hover {
  border-color: var(--transparent-10-w, var(--transparent-5-w));
  transform: translateX(2px);
}

.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.06;
  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-hashtag.first { color: var(--top-one); }
.lk-top__place-number.second, .lk-top__place-hashtag.second { color: var(--top-two); }
.lk-top__place-number.third, .lk-top__place-hashtag.third { color: var(--top-three); }

.lk-top__place-number.first,
.lk-top__place-number.second,
.lk-top__place-number.third,
.lk-top__place-hashtag.first,
.lk-top__place-hashtag.second,
.lk-top__place-hashtag.third {
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
}

.lk-top__user-data:hover .lk-top__place-number,
.lk-top__user-data:hover .lk-top__place-hashtag {
  opacity: 0.16;
  scale: 1.05;
}

.lk-top__user-details {
  display: flex;
  flex-direction: column-reverse;
  z-index: 2;
  min-width: 0;
}

.lk-top__place {
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-4);
  color: var(--text-secondary);
  opacity: .8;
}

.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); }

/* ---------- loader ---------- */
.loader {
  position: relative;
  background: var(--input-form);
  overflow: hidden;
  height: 53px;
  border-radius: var(--br-12);
  z-index: 2;
  width: 100%;
}

.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%); }
}
