/* Match analysis v2, the Log tab (Bryan 12-04): the old match page's details in the v2 look (page.css tokens, .sec /
   .card). Score card, match facts, then the shared partials (game progression, Share, tools) restyled to fit. */
.ma2-log .mp-h { font-size: 16px; margin: 0 0 10px; }

/* Score: one row per team, games in fixed columns; the winner bold with a Won tag */
.ma2 .lg-score { display: grid; gap: 2px; padding: 6px 12px; }
.ma2 .lg-team { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--muted); }
.ma2 .lg-team + .lg-team { border-top: 1px solid var(--line); }
.ma2 .lg-team.is-won { color: var(--navy); font-weight: 700; }
.ma2 .lg-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0;
  font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.ma2 .lg-won { font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-d); }
.ma2 .lg-games { display: flex; flex: none; gap: 4px; }
.ma2 .lg-games span { width: 30px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; font-weight: 500; }
.ma2 .lg-games span.is-hi { font-weight: 800; color: var(--navy); }
.ma2-log .mp-tech-lines { margin-top: 8px; }

/* Facts: label left, value right; tournament and category are buttons */
.ma2 .lg-facts { margin: 0; padding: 4px 12px; }
.ma2 .lg-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  padding: 6px 0; }
.ma2 .lg-facts > div + div { border-top: 1px solid var(--line); }
.ma2 .lg-facts dt { flex: none; font-size: 13px; color: var(--muted); }
.ma2 .lg-facts dd { margin: 0; min-width: 0; text-align: right; font-size: 14px; font-weight: 600; color: var(--text);
  overflow-wrap: anywhere; }
.ma2 .lg-facts .ma-btn { white-space: normal; text-align: right; line-height: 1.3; }
.ma2 .lg-muted { color: var(--soft); font-weight: 500; }
.ma2 .lg-rec { margin-top: 10px; width: 100%; }

/* The shared partials inside the tab: the progression keeps its own look, tools get breathing room */
.ma2-log .mp-prog { margin-bottom: 22px; }
.ma2 .lg-tools { padding: 14px 12px; }
.ma2-log .lg-panel .mapanel { margin: 0 0 22px; }
/* The old page's "Edit Match" text link becomes a button here (every action looks like a button) */
.ma2 .lg-tools a.text-green-600 { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px;
  border-radius: 10px; background: var(--teal); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.ma2 .lg-tools a.text-green-600:hover { background: var(--teal-d); color: #fff; }
.ma2 .lg-tools a.text-green-600 i { margin: 0; }

/* Powered by YATA Vision under the match title (partials/_powered_by_yata.html, Bryan 12-04) */
.ma2-pby { margin-top: 10px; }
.ma2 .ma-sub { white-space: normal; overflow: visible; text-overflow: clip; }   /* the whole tournament name (UI audit 12-04) */
