/* F23 : page « En direct » (matchs en cours, score du robot, streams Twitch) */
.resume-d { margin: 0 0 14px; color: var(--gris); }
.resume-d b { color: var(--texte); }
.matchs-d { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }
.match-d { padding: 16px; background: var(--plaque); border: 1px solid var(--trait); border-radius: var(--arrondi, 14px); }
.match-d.suivi { border-color: rgb(232 32 46 / .45); box-shadow: inset 0 0 0 1px rgb(232 32 46 / .12); }
.meta-d { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px; color: var(--gris); font-size: 12px; }
.robot-d { color: var(--rouge-vif); font-weight: 600; }
.duel-d { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.joueur-d { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--texte); text-decoration: none; }
.joueur-d.droite { justify-content: flex-end; text-align: right; }
.nom-d { display: flex; flex-direction: column; min-width: 0; }
.joueur-d.droite .nom-d { align-items: flex-end; }
.nom-d strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nom-d small { color: var(--gris); font-size: 12px; }
.pastille-d { display: grid; place-items: center; flex: none; width: 34px; height: 34px; background: var(--plaque-2, rgb(255 255 255 / .06)); border-radius: 10px; font: 700 14px var(--f-titre); }
.score-d { display: flex; align-items: baseline; gap: 4px; font: 800 30px/1 var(--f-titre); }
.score-d i { color: var(--gris); font-style: normal; font-size: 22px; }
.vs-d { color: var(--gris); font: 700 14px var(--f-titre); }

.live-d { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 4px; padding: 2px 8px; color: #fff; background: #9146ff; border: 0; border-radius: 99px; font: 700 11px/1.6 inherit; cursor: pointer; }
.live-d i { width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.live-d[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 1px; }

.lecteur-d { margin: 0 0 18px; padding: 12px; background: var(--plaque); border: 1px solid #9146ff; border-radius: var(--arrondi, 14px); scroll-margin-top: 90px; }
.tete-lecteur-d { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.tete-lecteur-d > span:last-child { display: flex; align-items: center; gap: 12px; }
.tete-lecteur-d a { color: #bf94ff; font-size: 13px; }
.cadre-lecteur-d { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 10px; }
.cadre-lecteur-d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vide-d { display: grid; justify-items: center; gap: 12px; padding: 40px 16px; color: var(--gris); text-align: center; background: var(--plaque); border: 1px dashed var(--trait); border-radius: var(--arrondi, 14px); }
.vide-d p { margin: 0; }

/* Menu : un petit point rouge quand des matchs se jouent. */
.point-nav-direct { display: none; width: 7px; height: 7px; margin-right: 6px; background: var(--rouge-vif); border-radius: 50%; vertical-align: middle; animation: pouls-r 2s infinite; }
[data-lien-direct].a-des-matchs .point-nav-direct { display: inline-block; }

@media (max-width: 480px) {
  .score-d { font-size: 24px; }
  .pastille-d { display: none; }
}
@media (prefers-reduced-motion: reduce) { .point-nav-direct { animation: none; } }

/* Staff : la carte ouvre la salle du match (26 nov. 2026). */
.match-d.staff-d { cursor: pointer; transition: border-color .15s; }
.match-d.staff-d:hover { border-color: var(--rouge, #e8202e); }
.salle-d { color: var(--rouge, #e8202e); font-weight: 700; text-decoration: none; }
.salle-d:hover { text-decoration: underline; }
