/* The bracket, as the tennis draw draws it (tennis-major.css, the final-four
   capstone): equal-height ties on a fixed row pitch, each later round centred on the
   two it comes from, joined by CSS elbows, and a gold champion card at the end.
   Copied rather than shared so the tennis page is never touched by a change here. */
.br-wrap { overflow-x: auto; padding-bottom: 6px; }
.br {
  --tie-h: 70px; --tie-gap: 7px; --colgap: 22px;
  --pitch: calc(var(--tie-h) + var(--tie-gap));
  display: grid; column-gap: var(--colgap);
  grid-template-columns: repeat(4, minmax(170px, 1fr)); min-width: 740px;
}
.br > div { display: flex; flex-direction: column; min-width: 0; }
.br-lab { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
          color: var(--text-faint); margin: 0 0 9px; flex: 0 0 auto; }
.br-body { flex: 1; display: grid; align-content: start;
           grid-template-rows: repeat(var(--n1, 4), var(--tie-h)); row-gap: var(--tie-gap); }
.br-tie { position: relative; align-self: center; height: var(--tie-h); box-sizing: border-box;
          display: grid; grid-template-rows: 1fr 1fr;
          border: 1px solid var(--border-dashed); border-radius: 5px; }
.br-tie > div { display: grid; grid-template-columns: 18px 1fr 22px 44px; gap: 6px; padding: 0 9px;
                font-size: 12.6px; align-items: center; min-width: 0; }
.br-tie > div:first-child { border-radius: 4px 4px 0 0; }
.br-tie > div:last-child { border-radius: 0 0 4px 4px; }
.br-tie > div + div { border-top: 1px solid var(--border-dashed); }
.br-tie .sd { font-size: 10.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.br-tie .nm { font-family: var(--font-display); font-weight: 400; font-size: 14px; color: var(--text-tertiary);
              overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-tie .w { text-align: center; font-size: 13px; font-weight: 700; color: var(--text-secondary);
             font-variant-numeric: tabular-nums; }
.br-tie .pr { text-align: right; font-size: 11.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.br-tie .won { background: var(--gold-tint); }
.br-tie .won .nm { color: var(--text-primary); }
.br-tie .won .w { color: var(--gold); }
.br-tie .out .nm, .br-tie .out .sd { opacity: .55; }
.br-tie .tbd .nm { font-family: var(--font-sans); font-size: 12px; font-style: italic; }
[data-elbow], [data-line] { position: relative; }
[data-elbow]::before {
  content: ''; position: absolute; pointer-events: none;
  right: calc(100% + var(--colgap) / 2); width: calc(var(--colgap) / 2);
  top: 50%; height: var(--elbow); transform: translateY(-50%);
  border: 1px solid var(--border-dashed); border-left: 0; border-radius: 0 4px 4px 0;
}
[data-elbow]::after {
  content: ''; position: absolute; pointer-events: none;
  right: 100%; width: calc(var(--colgap) / 2); top: 50%;
  border-top: 1px solid var(--border-dashed);
}
[data-line]::after {
  content: ''; position: absolute; pointer-events: none;
  right: 100%; width: var(--colgap); top: 50%;
  border-top: 1px solid var(--border-dashed);
}
.br-champ { border: 1px solid var(--gold); border-radius: 5px; background: var(--gold-tint);
  display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; padding: 8px 10px;
  align-self: center; }
.br-champ .nm { font-family: var(--font-display); font-weight: 400; font-size: 15px; color: var(--text-primary); }
.br-champ .pr { text-align: right; font-size: 12px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.br-champ .pr small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint); margin-top: 2px; }
