.activity-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.activity-card {
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(0,255,178,0.25);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.activity-card h4 {
  margin: 0 0 10px;
  font-size: 16px;
  opacity: 0.9;
}

.activity-card.wide {
  grid-column: span 2;
}

.activity-value {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.activity-events-list {
  max-height: 180px;
  overflow-y: auto;
}

.activity-event-item {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  opacity: 0.85;
}

.activity-event-item:last-child {
  border-bottom: none;
}

.activity-period {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.activity-period button {
  background: rgba(0,0,0,0.6);
  border: 1px solid #00ffb2;
  color: #00ffb2;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.activity-period button.active,
.activity-period button:hover {
  background: #00ffb2;
  color: #000;
}

/* Медали за 1 / 2 / 3 место */
.lb-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  color: #050816;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.lb-medal-gold {
  background: linear-gradient(135deg, #ffd700, #ffb400);
}

.lb-medal-silver {
  background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
}

.lb-medal-bronze {
  background: linear-gradient(135deg, #cd7f32, #9c4f1d);
}

.lb-place {
  font-weight: 600;
}

/* Аватарки */
.lb-player-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-player-avatar-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.lb-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #ffcd70, #ff7b54);
  color: #050816;
  font-weight: 700;
  font-size: 16px;
}

.lb-player-name-wrap {
  display: flex;
  flex-direction: column;
}

.lb-player-name {
  font-weight: 600;
}

.lb-player-tag {
  font-size: 12px;
  opacity: 0.7;
}

/* --- Ховер и клик в таблице ТОП игроков --- */

.lb-row {
    position: relative;
    transition: 0.25s ease;
    cursor: pointer;
}

.lb-row:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
}

/* Текст 'Подробнее' */
.lb-row::after {
    content: "Подробнее →";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    font-size: 14px;
    color: #00ffb2;
    transition: 0.25s;
    pointer-events: none;
}

.lb-row:hover::after {
    opacity: 0.7;
}




