/* Center-stats — append-only. MOCKUP / unapplied ship file.
   Centers Heimdall Team Comparison labels and balances the two
   value columns. Does the same for Vikings / league Team Comparison
   bars. Does not change Scoring (.hd-line), Players (.hd-pt), or
   Stadium mini / graph CSS. Load after heimdall.css (and after
   hd-mini.css if the Stadium mini patch is also live). */

/* ===== Heimdall Team Comparison (Offense, Turnovers & defense,
   Special teams, Penalties & possession, pregame tables) ===== */
/* .hd-line is the quarter-score table: its .lab is the team-name
   column on the left, not a center label. Leave it alone. */
#heimdall .hd-cmp:not(.hd-line) table{
  table-layout:fixed;
  width:100%;
}
#heimdall .hd-cmp:not(.hd-line) th:first-child,
#heimdall .hd-cmp:not(.hd-line) td:first-child,
#heimdall .hd-cmp:not(.hd-line) th:last-child,
#heimdall .hd-cmp:not(.hd-line) td:last-child{
  width:22%;
  text-align:center;
}
#heimdall .hd-cmp:not(.hd-line) th.lab,
#heimdall .hd-cmp:not(.hd-line) td.lab{
  text-align:center;
  width:auto;
  padding-left:8px;
  padding-right:8px;
}
#heimdall .hd-cmp:not(.hd-line) td.lab{
  white-space:normal;
  overflow-wrap:break-word;
  line-height:1.25;
}

/* ===== Vikings tab + league Even more stats: Team Comparison bars ===== */
/* Equal-width side columns keep the label in the true middle even
   when one value is short ("3") and the other is "8-16 (50%)".
   Numbers stay at the outer edges, in line with the bar below. */
.mf-bar-lab{
  display:grid;
  grid-template-columns:minmax(4.8em,1fr) auto minmax(4.8em,1fr);
  align-items:baseline;
  justify-content:normal;
  gap:8px;
}
.mf-bar-lab .l{
  text-align:left;
  min-width:0;
}
.mf-bar-lab .k{
  text-align:center;
  flex:none;
}
.mf-bar-lab .r{
  text-align:right;
  min-width:0;
}
.mf-bars .t{
  text-align:center;
}
