/* Cadre général */
html,body{
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  background:#000;   /* fond noir autour, si jamais */
  overflow:hidden;   /* aucune barre de scroll */
}
/* #scoreboard reste logiquement en 224×192 */
#scoreboard{
  width:224px;
  height:192px;
  position:absolute;        /* pourra être déplacé avec translate() */
  transform-origin:top left;
  background:#000;
  color:#fff;
}


/* --- En-tête -------------------------------------------------- */
.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 4px;
  box-sizing: border-box;
}

/* Couleurs personnalisées */
.course-title { flex:1; font-size:.9em; color:#ff0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.timer        { width:24px; height:24px; color:#0ff; text-align:center; font-size:1.1em; }
.status-icon  { width:24px; height:24px; text-align:center; }

/* --- Tableau coureurs --------------------------------------- */
#results { height:calc(192px - 32px); }

.row {
  display: flex;
  align-items: center;
  height: 17px;                     /* 9 lignes = 153px + 32px header */
  border-bottom:1px solid #555;     /* filet séparateur fin */
}

.position { width:10%;  text-align:center; font-size:.8em; }
.dossard  { width:15%;  text-align:center; font-size:.8em; }
.change   { width:10%;  text-align:center; font-size:.8em; }
.name     { width:65%;  padding-left:2px;  font-size:.8em; overflow:hidden; white-space:nowrap; }

.up   { color:lime; }
.down { color:red; }
