.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.history-item:hover { border-color: var(--border-light); background: var(--bg-card-hover); }

.history-number {
  font-size: 0.7rem;
  color: var(--text-muted);
  min-width: 24px;
}

.history-time {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}

.history-time.pb { color: var(--accent-green); }
.history-time.dnf { color: var(--accent-red); text-decoration: line-through; }

.history-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.history-note {
  font-size: 0.7rem;
  color: var(--accent-yellow);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-actions {
  display: flex;
  gap: 0.25rem;
}

.history-actions button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
  font-size: 0.9rem;
}
.history-actions button:hover { color: var(--text-primary); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
