/* Batch 7C.5: Fall-of-Wickets visual timeline */
.cx-fow-timeline-container {
  position: relative;
  padding: 24px 0 16px;
  margin-top: 14px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-lg);
  background: var(--cx-card-bg);
}
.cx-fow-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 700px;
  position: relative;
  padding: 0 30px;
}
.cx-fow-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--cx-border);
  z-index: 1;
  border-radius: 2px;
}
.cx-fow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 1;
}
.cx-fow-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cx-card-bg);
  border: 3px solid var(--cx-primary);
  color: var(--cx-primary-dark);
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: var(--cx-shadow-sm);
  transition: all 0.2s ease;
}
.cx-fow-node:hover .cx-fow-badge {
  transform: scale(1.15);
  background: var(--cx-primary);
  color: #fff;
  border-color: var(--cx-primary-border);
}
.cx-fow-info {
  margin-top: 10px;
  text-align: center;
  min-width: 80px;
}
.cx-fow-score {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--cx-primary-dark);
}
.cx-fow-player-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
  margin: 2px auto 0;
}
.cx-fow-over-val {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--cx-primary);
  margin-top: 2px;
}
