/* Velyx Management — staff (chantier « Staff ») : podium des statistiques, barème des sanctions. */

.sx-between { justify-content: space-between; }
.sx-center { justify-content: center; }

/* Podium : 2e, 1er, 3e sur écran large ; le 1er est surélevé et teinté. */
.sx-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.sx-podium-place {
  display: grid; justify-items: center; gap: 8px; padding: 16px 12px 12px; background: var(--inv-well); color: inherit; text-decoration: none;
  min-width: 0; transition: background .15s ease, transform .15s ease; animation: sx-rise .45s ease both;
}
.sx-podium-place:hover { background: rgba(var(--accent-rgb), .1); transform: translateY(-2px); }
.sx-podium-place.sx-p1 { order: 2; padding-top: 26px; background: rgba(var(--accent-rgb), .14); animation-delay: .05s; }
.sx-podium-place.sx-p2 { order: 1; animation-delay: .12s; }
.sx-podium-place.sx-p3 { order: 3; animation-delay: .18s; }
.sx-podium-place .sx-rank { font: 700 13px var(--inv-title-font); color: var(--inv-ink-3); }
.sx-podium-place.sx-p1 .sx-rank { color: rgb(var(--accent-rgb)); font-size: 16px; }
.sx-podium-place .sx-name { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-podium-place .pill, .sx-podium-place .muted { font-size: 12px; }
.sx-pstats { width: 100%; display: grid; gap: 2px; }
.sx-pstats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5px 8px; background: rgba(var(--c-glass-rgb), .05); }
.sx-pstats b { font: 700 13px var(--inv-title-font); font-variant-numeric: tabular-nums; white-space: nowrap; order: 2; }
.sx-pstats span { color: var(--inv-ink-3); font-size: 11.5px; font-weight: 600; }
.sx-sortbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-bottom: 0; }
@keyframes sx-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sx-podium-place { animation: none; transition: none; } }
@media (max-width: 640px) {
  .sx-podium { grid-template-columns: 1fr; }
  .sx-podium-place.sx-p1, .sx-podium-place.sx-p2, .sx-podium-place.sx-p3 { order: 0; }
}

/* Barème : durées par type dans une cellule. */
.sx-durations { gap: 4px; }
.sx-durations .row { gap: 6px; }
