/* Styles for the Prismata model stats page (prismata/index.html), on top of
   spire.css, whose tables, figures and chart classes it shares. */

/* Charts side by side where there's room, one under another where not. */
.prismata-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem 1.5rem;
}

.prismata-chart {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.prismata-chart h3 {
  margin: 0;
}

/* An even score, or an even share of wins. */
.chart-reference {
  stroke: var(--spire-muted);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

.chart-dot {
  stroke: var(--background-color);
  stroke-width: 2;
}

/* The chosen model's row on the ladder. */
.spire-table td.current {
  font-weight: bold;
}

