
/* Palmarès-specific rules; shared styles come from the charte */
th.triable { cursor: pointer; user-select: none; }
th.triable::after { content: " \2195"; color: #aab4d4; font-weight: normal; }
th.triable.asc::after { content: " \25B2"; color: #fff; }
th.triable.desc::after { content: " \25BC"; color: #fff; }
input.filtre { width: 100%; max-width: 360px; padding: 0.5rem 0.7rem; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--ink); }
.pager { display: flex; justify-content: space-between; margin: 0.8rem 0; font-weight: 600; }
.legende { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--gray);
  margin: 0.3rem 0; }
.legende i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 2px;
  margin-right: 0.35rem; vertical-align: -1px; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart text { fill: var(--gray); font-size: 11px; }
svg.chart .grille { stroke: var(--border); stroke-width: 1; }
svg.chart rect.m0 { fill: var(--accent); } svg.chart rect.m1 { fill: var(--gold); }
svg.chart rect.m2 { fill: var(--silver); } svg.chart rect.m3 { fill: var(--bronze); }
svg.chart rect.b { stroke: var(--card); stroke-width: 2; }
.i0 { background: var(--accent); } .i1 { background: var(--gold); }
.i2 { background: var(--silver); } .i3 { background: var(--bronze); }
.participant { white-space: nowrap; }
.piquet { white-space: nowrap; }
.piquet.deduit { font-style: italic; color: var(--gray); }
.piquet i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%;
  border: 1px solid var(--gray-soft); margin-right: 0.35rem; vertical-align: -1px; }
.distinction { white-space: nowrap; }
img.insigne { height: 32px; width: auto; max-width: none; vertical-align: middle; margin-left: 0.3rem; }
.etoiles { color: #9a6b00; font-size: 0.85rem; margin-left: 0.1rem; }
.etapes { color: var(--gray); font-size: 0.85rem; white-space: nowrap; }
.etapes img.insigne { height: 22px; margin: 0 0.15rem 0 0; }
