.leaderboard-preview {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preview-loading {
  color: #a0aec0;
  font-size: 14px;
  padding: 32px;
}

.preview-tables {
  display: flex;
  gap: 24px;
  width: 100%;
}

.preview-table-wrapper {
  flex: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.preview-table-title {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  padding: 14px 16px;
  margin: 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.preview-mode-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-mode-badge.text {
  background: #ebf8ff;
  color: #2b6cb0;
}

.preview-mode-badge.voice {
  background: #faf5ff;
  color: #6b46c1;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
}

.preview-table thead th {
  font-size: 11px;
  font-weight: 600;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.preview-rank-col {
  width: 40px;
  text-align: center !important;
}

.preview-score-col {
  width: 80px;
  text-align: right !important;
}

.preview-row {
  transition: background 0.15s ease;
}

.preview-row:hover {
  background: #f8fafc;
}

.preview-row:not(:last-child) td {
  border-bottom: 1px solid #f7fafc;
}

.preview-rank {
  text-align: center;
  padding: 10px 16px;
  font-size: 16px;
}

.preview-model {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.preview-model-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.preview-model-org {
  font-size: 11px;
  color: #a0aec0;
  font-weight: 500;
}

.preview-score {
  padding: 10px 16px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: #065f46;
  font-variant-numeric: tabular-nums;
}

.preview-more {
  padding: 10px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #a0aec0;
  border-top: 1px dashed #e2e8f0;
  background: linear-gradient(to bottom, #fafbfc, #f7fafc);
}

.preview-cta {
  background: none;
  border: 2px solid #e2e8f0;
  color: #065f46;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.preview-cta:hover {
  background: #f0fdf4;
  border-color: #065f46;
  color: #047857;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .preview-tables {
    flex-direction: column;
    gap: 16px;
  }

  .leaderboard-preview {
    padding: 0 8px;
  }
}
