/* ============================================================================
 * profil.css — tc-profil: die Werte eines Modells als Tabelle (#1242)
 * ----------------------------------------------------------------------------
 * ATOM. Ein Profil (Statline) mit Spaltenköpfen und je Modell einer Zeile:
 * Grundmodell, Champion, Reittier. Bis #1242 stand dieselbe Tabelle als
 * `tc-suche__karte-profil` nur in der Regelkarte der Lupe (#1208); mit dem
 * Spickzettel der Old-World-Listen steht sie an zwei Orten und ist damit
 * ein Baustein (Heuristik 2). Library: library-atome.html#profil.
 *
 *   <div class="tc-profil"><table>
 *     <thead><tr><th scope="col"></th><th scope="col" title="M">B</th> …</tr></thead>
 *     <tbody><tr><th scope="row">Chaos Warrior</th><td>4</td> …</tr></tbody>
 *   </table></div>
 *
 * Zu breit für den Platz (lange Modellnamen bei 375 px): Der Name bricht um,
 * die Werte nie; reicht auch das nicht, wischt die Tabelle in ihrem Kasten.
 * Gelesen wird, geklickt nicht — keine Bewegung, kein Hover.
 * ========================================================================== */

.tc-profil {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 var(--tc-space-2);
}

.tc-profil table {
  border-collapse: collapse;
  font-size: var(--tc-text-sm);
  font-variant-numeric: tabular-nums;
}

/* Gleicher Abstand links und rechts: Mittig gesetzte Werte stehen sonst
   versetzt unter ihren Köpfen (am Prüfstand gesehen, #1242). */
.tc-profil th,
.tc-profil td {
  min-width: 1.6em;
  padding: 2px var(--tc-space-1);
  text-align: center;
  white-space: nowrap;
}

.tc-profil thead th {
  font-size: var(--tc-text-xs);
  color: var(--tc-text-muted);
  font-weight: var(--tc-weight-semibold);
}

.tc-profil tbody th {
  max-width: 9em;
  padding-left: 0;
  text-align: left;
  white-space: normal;
  color: var(--tc-text-default);
  font-weight: var(--tc-weight-medium);
}

.tc-profil td { color: var(--tc-text-strong); }

.tc-profil tbody tr + tr > * { border-top: 1px solid var(--tc-border-subtle); }
