.result-card.mayor {
  border: 2px solid #ef777b;
}

.leader-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 12px 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  text-transform: uppercase;
}

.candidate-result {
  display: grid;
  grid-template-columns: 28px 46px 1fr auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  padding: 12px 8px;
  margin-bottom: 4px;
  border-top: 1px solid #edf0f3;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.candidate-result.leader {
  margin: 10px 0 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #b91c1c !important;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%) !important;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.18);
}

.candidate-result .rank {
  font-size: 13px;
  font-weight: 800;
  color: #687385;
}

.candidate-result.leader .rank {
  font-size: 14px;
  font-weight: 900;
  color: #991b1b;
}

.candidate-result img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(23, 32, 51, 0.13);
}

.candidate-result.leader img {
  width: 48px;
  height: 48px;
  border: 3px solid #b91c1c;
  box-shadow: 0 0 10px rgba(185, 28, 28, 0.35);
}

.candidate-result .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.candidate-result strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  color: #1e293b;
}

.candidate-result.leader strong {
  font-size: 15px;
  font-weight: 900;
  color: #881337;
}

.candidate-result small {
  display: block;
  margin-top: 3px;
  color: #788292;
  font-size: 11px;
  font-weight: 700;
}

.candidate-result.leader small {
  color: #9f1239;
}

.candidate-result .stats-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  min-width: 95px;
}

.candidate-result .pct {
  color: #b91c1c;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  letter-spacing: -0.2px;
}

.candidate-result.leader .pct {
  color: #991b1b;
  font-size: 19px;
  font-weight: 900;
}

.candidate-result .votes-count {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #881337;
  margin-top: 3px;
  text-align: right;
}

.candidate-result.leader .votes-count {
  font-size: 14px;
  font-weight: 900;
  color: #881337;
}

.candidate-result .meter {
  grid-column: 1 / -1;
  height: 7px;
  margin-top: 4px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.candidate-result.leader .meter {
  height: 9px;
  background: #fecdd3;
}

.candidate-result .meter i {
  display: block;
  height: 100%;
  background: #d31920;
  border-radius: inherit;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-result.leader .meter i {
  background: linear-gradient(90deg, #dc2626, #991b1b);
}

.ranking-note {
  margin: 0 0 10px 0 !important;
  font-size: 11px;
  color: #778292 !important;
}
