.hlive-xg-validation {
  margin-top: 10px;
  color: #e2edf3;
}
.hlive-xg-validation .xgv-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 18px;
  padding: 13px 16px;
}
.hlive-xg-validation .xgv-heading h2 {
  margin: 0;
  font-size: 16px;
}
.hlive-xg-validation p {
  color: #a7bbc8;
  font-size: 12px;
  line-height: 1.45;
}
.hlive-xg-validation .xgv-heading p {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.xgv-body, .xgv-status { padding: 12px 16px; }
.xgv-status { margin: 0; }
.xgv-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.xgv-views { margin-bottom: 12px; }
#hockeyLive .xgv-switch button {
  min-height: 38px;
  padding: 5px 10px;
  border-color: #2a424f;
  background: #101b25;
  font-size: 12px;
  white-space: nowrap;
}
#hockeyLive .xgv-switch button[aria-pressed="true"] {
  color: var(--rink-accent,#64f5d5);
  border-color: #5d938d;
  background: #122b31;
}
.xgv-matrix-grid, .xgv-plot-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.xgv-plot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.xgv-card {
  min-width: 0;
  border: 1px solid #263b48;
  border-radius: 8px;
  padding: 10px;
  background: #0e1821;
}
.xgv-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}
.xgv-card p { margin: 5px 0 6px; }
.xgv-caption { margin: 8px 0; }
.xgv-matrix {
  max-width: 620px;
  width: 100%;
  box-sizing: border-box;
}
[data-xg-output] > .xgv-matrix { margin-inline: auto; }
#hockeyLive .hlive-xg-validation table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  margin: 0;
  background: transparent;
  font-variant-numeric: tabular-nums;
}
#hockeyLive .hlive-xg-validation th,
#hockeyLive .hlive-xg-validation td {
  padding: 3px;
  font-size: 11px;
  text-align: center;
  border-color: #263b48;
}
#hockeyLive .xgv-matrix th { color: #c3d6e1; }
#hockeyLive .xgv-matrix thead td:first-child { width: clamp(44px,14%,72px); }
#hockeyLive .xgv-matrix td:has(canvas) { padding: 0 2px; }
.xgv-matrix canvas, .xgv-plot {
  display: block;
  width: 100%;
  height: clamp(70px,11vw,124px);
}
.xgv-plot { height: clamp(174px,20vw,270px); }
.xgv-r { background: #102530; }
.xgv-r span { color: #a7bbc8; }
.xgv-r strong {
  color: #9aebdd;
  font-size: clamp(13px,1.7vw,21px);
}
.xgv-auc-value {
  color: #e2edf3;
  font-size: 17px;
  margin-right: 3px;
}
.hlive-xg-validation details { margin-top: 8px; }
.hlive-xg-validation summary {
  color: #b7d2df;
  font-size: 12px;
  cursor: pointer;
}
.xgv-method { border-top: 1px solid #263b48; padding-top: 7px; }
@media (max-width: 800px) {
  .xgv-matrix-grid, .xgv-plot-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
  .hlive-xg-validation .xgv-heading, .xgv-body, .xgv-status { padding: 10px 8px; }
  #hockeyLive .xgv-switch button { min-height: 40px; padding-inline: 8px; }
  .xgv-card { padding: 7px; }
  #hockeyLive .xgv-matrix th { font-size: 10px; }
}
