/* ==========================================================================
   match-btts-h2h.css — BTTS H2H (logo VS logo + X/X)
   Wymaga: variables.css, analytical-match-card-2.css
   ========================================================================== */

.match-btts-h2h {
  --btts-h2h-logo: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  gap: var(--a2-row-gap, var(--space-28));
  width: 100%;
  min-width: 0;
  padding: 0 var(--space-0) 0 var(--space-10);
  border-left: 1px solid var(--border);
}

html[data-theme="dark"] .match-btts-h2h {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.match-btts-h2h__teams {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  width: 100%;
  max-width: 100%;
}

.match-btts-h2h__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--btts-h2h-logo);
  height: var(--btts-h2h-logo);
}

.match-btts-h2h__logo-wrap {
  width: var(--btts-h2h-logo);
  height: var(--btts-h2h-logo);
}

.match-btts-h2h__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.match-btts-h2h__sep {
  flex: 0 0 auto;
  font-size: var(--fs-13);
  font-weight: var(--fw-500);
  line-height: 1;
  color: var(--muted);
  user-select: none;
}

html[data-theme="dark"] .match-btts-h2h__sep {
  color: rgba(255, 255, 255, 0.4);
}

.match-btts-h2h__stat {
  margin: 0;
  width: 100%;
  font-size: var(--fs-14);
  font-weight: var(--fw-400);
  line-height: 1.25;
  text-align: center;
  color: var(--fg);
}

.match-btts-h2h__stat-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em;
  max-width: 100%;
}

.match-btts-h2h__ratio {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
