/* =========================
   Results Carousel – Base + Premium 2026 visuel uniquement
   ========================= */

.rc-rows {
  display: flex;
  align-items: flex-start;
}

.rc-labels {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.rc-label {
  display: flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: #9ca3af;
  min-width: 2.5rem;
  height: 1.75rem;
}

.rc-carousel {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  max-width: calc(5 * 2rem + 1.5 * .4rem);
}

.rc-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  scroll-snap-align: end;
}

.rc-pill {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .375rem;
  font-weight: 450;
  font-size: .9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.25),
    inset 0 0.5px 0 rgba(255,255,255,0.08);
  transition: all 0.25s ease;
  will-change: transform;
  transform: translateZ(0); /* fix coins arrondis sur mobile */
  touch-action: manipulation;
}

/* Gradients premium 2026 */
.rc-pill.rc-win {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 193, 0.7) 0%,
    rgba(144, 255, 0, 0.7) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.rc-pill.rc-draw {
  background: linear-gradient(135deg, #374151, #4b5563);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.rc-pill.rc-lose {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 193, 0.7) 0%,
    rgba(255, 182, 193, 0.7) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

/* .rc-pill.rc-win {
  background: linear-gradient(135deg, #065f46, #10b981);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.rc-pill.rc-draw {
  background: linear-gradient(135deg, #374151, #4b5563);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.rc-pill.rc-lose {
  background: linear-gradient(135deg, #9d174d, #ec4899);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
} */

/* Shine subtil */
.rc-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 0%, rgba(255,255,255,0.12) 35%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

/* Glow léger au hover */
/* Hover glow aligné aux couleurs percentile */
.rc-col:hover .rc-pill.rc-win  {filter: brightness(1.12) drop-shadow(0 0 6px rgba(144,255,0,0.45));}
.rc-col:hover .rc-pill.rc-draw {filter: brightness(1.10) drop-shadow(0 0 5px #6b728033); }
.rc-col:hover .rc-pill.rc-lose {filter: brightness(1.12) drop-shadow(0 0 6px rgba(255,182,193,0.45));}
.rc-pill.rc-recent {border: 2px solid rgba(144,255,0,0.9);}

/* .rc-col:hover .rc-pill.rc-win { filter: brightness(1.12) drop-shadow(0 0 6px #10b98144); } 
.rc-col:hover .rc-pill.rc-draw { filter: brightness(1.10) drop-shadow(0 0 5px #6b728033); } 
.rc-col:hover .rc-pill.rc-lose { filter: brightness(1.12) drop-shadow(0 0 6px #ec489944); } 
.rc-pill.rc-recent { border: 2px solid #10b981; } */

/* Mobile uniquement */
@media (max-width: 767px) {
  .match-details .rc-carousel {
    max-width: calc(3.5 * 1.5rem + 1.2 * .4rem);
    gap: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .match-details .rc-pill {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.75rem;
  }
}

/* Laptop / écrans moyens */
@media (min-width: 768px) {
  .match-details .rc-carousel {
    max-width: calc(5.5 * 1.5rem + 1.75 * .4rem);
    gap: 0.3rem;
    padding-bottom: 0.35rem;
  }

  .match-details .rc-pill {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
  }
}