.win-ratio-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-top: 5px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1.2;
}

.win-ratio-badge span {
  display: block;
  font-size: 0.7rem;   /* smaller text for "Win Ratio" */
  font-weight: normal; /* less bold so % stands out */
  opacity: 0.85;       /* slightly softer white */
}

.win-ratio-high { background: #28a745; }   /* green for >60% */
.win-ratio-med { background: #ffc107; }   /* amber for 40-60% */
.win-ratio-low { background: #dc3545; }   /* red for <40% */