#InterviewPage {
  width: 100%;
}

.rank-item {
  position: relative;
  margin-bottom: 12px;
  padding-left: 32px;
}

.rank-index {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  min-width: 24px;
  font-weight: bold;
  color: #666;
  font-size: 16px;
}

/* 第一名样式 */
.rank-item:nth-child(1) .rank-index {
  color: #f5222d;
  font-size: 20px;
  font-weight: 800;
}

/* 第二名样式 */
.rank-item:nth-child(2) .rank-index {
  color: #fa8c16;
  font-size: 18px;
  font-weight: 700;
}

/* 第三名样式 */
.rank-item:nth-child(3) .rank-index {
  color: #52c41a;
  font-size: 16px;
  font-weight: 700;
}
.rank-container {
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-right: 8px;
}

.rank-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-user {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.rank-count {
  flex-shrink: 0;
  font-weight: 500;
  color: #1890ff;
  margin-left: 8px;
}

.rank-name {
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-profile {
  margin: 0;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-count {
  flex-shrink: 0;
  font-weight: 500;
  color: #1890ff;
}

.rank-tag {
  position: absolute;
  right: -1px;
  top: -1px;
  z-index: 1;
  border-radius: 4px 4px 0 4px;
}



.rank-index {
  margin-right: 8px;
  min-width: 20px;
}



.rank-info {
  flex: 1;
  min-width: 120px;
  overflow: hidden;
}

.rank-name {
  margin: 0;
  font-weight: 500;
}

.rank-profile {
  margin: 0;
  font-size: 12px;
}

.rank-count {
  margin-left: auto;
  flex-shrink: 0;
}

.rank-header {
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rank-select {
  width: 100px;
}

.rank-card {
  width: 300px;
}

@media screen and (max-width: 768px) {
  .rank-card {
    width: 100%;
  }
  
  .rank-container {
    padding: 8px;
  }
  
  .rank-info {
    min-width: 100px;
  }
}

@media screen and (max-width: 480px) {
  .rank-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .rank-select {
    width: 100%;
  }
}
