/* === СКЕЛЕТОНЫ TOPPLAYERS (используют @keyframes tcs-skel-shimmer) === */

/* Базовые стили (оставляем твои) */
.market-row--skel { position: relative; }
.tcs-skel-box {
  position: relative;
  background: #1e2a31;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.tcs-skel-box::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: tcs-skel-shimmer 1.3s infinite;
}
.tcs-skel-img.sq { aspect-ratio: 1/1; border-radius: 4px; }
.tcs-skel-bar { height: 10px; border-radius: 3px; margin-top: 6px; }
.tcs-skel-btn { height: 34px; border-radius: 8px; }
.tcs-w-30{width:30%} .tcs-w-40{width:40%} .tcs-w-50{width:50%}
.tcs-w-60{width:60%} .tcs-w-70{width:70%} .tcs-w-100{width:100%}
.market-row--skel .market-seller .tcs-skel-bar,
.market-row--skel .market-price  .tcs-skel-bar { height: 12px; }

/* === Адаптация под TOPPLAYERS === */

/* Контейнер вкладки */
.services-skins-row { 
  position: relative;
  min-height: 400px; /* чтобы при первой загрузке скелет не схлопывался */
}

/* Сам оверлей скелетона */
.tcs-skel-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  background: rgba(0,0,0,0); /* прозрачный фон, только кости */
  pointer-events: none;
  padding-top: 5px;
}

/* TOP-3 блок */
.tcs-skel-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
}
.tcs-skel-card {
  border-radius: 10px;
  padding: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.tcs-skel-card .titlebar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.tcs-skel-card .rankdot { width: 28px; height: 28px; border-radius: 50%; }
.tcs-skel-card .ops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tcs-skel-card .ops .tcs-skel-box { width: 100%; }
.tcs-skel-card .tcs-skel-bar { margin-top: 10px; }

/* Список позиций (4..N) */
.tcs-skel-list { display: grid; gap: 8px; }
.tcs-skel-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
}
.tcs-skel-row .pos { width: 34px; height: 26px; border-radius: 6px; }
.tcs-skel-row .rimg { width: 32px; height: 32px; border-radius: 50%; }
.tcs-skel-row .name { flex: 1; }
.tcs-skel-row .score { width: 120px; height: 12px; border-radius: 6px; }

/* Плавная смена прозрачности при загрузке контента */
.services-skins-row.loading { 
  opacity: .75;
  transition: opacity .25s ease;
  pointer-events: none;
}
