.kstats {
  font-family: inherit;
  color: inherit;
}

.kstats-header {
  margin-bottom: 1rem;
}

.kstats-chip {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background: none;
  color: inherit;
}

.kstats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.kstats-card {
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  background: none;
}

.kstats-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: inherit;
}

.kstats-number {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.kstats-split {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kstats-split-item {
  flex: 1 1 auto;
  min-width: 70px;
}

.kstats-label {
  font-size: 0.8rem;
  opacity: 0.8;
  color: inherit;
}

.kstats-ratio {
  font-size: 0.9rem;
  margin-left: 0.25rem;
  opacity: 0.7;
}

.kstats-bar {
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
  height: 5px;
  margin-top: 0.4rem;
  overflow: hidden;
}
.kstats-bar span {
  display: block;
  height: 100%;
  background: currentColor;
}

.kstats-bar--diff-bronze  span { background: #8e5025!important; }
.kstats-bar--diff-argent  span { background: #7a7c84!important; }
.kstats-bar--diff-or      span { background: #c6af2a!important; }
.kstats-bar--diff-platine span { background: #3ea5c1!important; }

.kstats-dotlist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: .25rem;
}

.kstats-dot {
  font-size: 1rem; /* ajuste la taille de l’icône */
  color: inherit;
  cursor: default;
  position: relative;
}

.kstats-dot::after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  bottom: 150%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: .25rem .4rem;
  font-size: .75rem;
  border-radius: .35rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}

.kstats-dot:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

