/* NCAA tournament bracket tab */
.br-wrap { display: flex; flex-direction: column; gap: 12px; }
.br-note { font-size: 12px; }
.br-desktop { overflow-x: auto; padding-bottom: 8px; }
.br-mobile { display: none; }
.br-tree { display: flex; align-items: stretch; gap: 14px; min-width: max-content; }
.br-col { display: flex; flex-direction: column; width: 212px; flex: none; }
.br-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim);
  text-align: center; padding: 0 0 8px; height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-col-body { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 6px; }
.br-final .br-col-body { justify-content: center; }
.br-final { width: 224px; }
.br-final .br-game { border-color: var(--accent); }
.br-game { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px 5px; }
.br-game.clickable { cursor: pointer; }
.br-game.clickable:hover { background: var(--row-hover); }
.br-game.live { border-color: var(--bad); }
.br-team { display: flex; align-items: center; gap: 6px; min-width: 0; height: 22px; }
.br-team.win .br-name, .br-team.win .br-sets { font-weight: 700; color: var(--text); }
.br-team:not(.win) .br-name { color: var(--text-dim); }
.br-game:not(.final):not(.live) .br-team .br-name { color: var(--text); }
.br-seed { flex: none; width: 16px; text-align: right; font-size: 11px; color: var(--text-dim); }
.br-logo { flex: none; width: 18px; height: 18px; object-fit: contain; }
.br-logo-ph { display: inline-block; }
.br-nm { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 4px; }
.br-name { flex: 0 1 auto; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-tbd { color: var(--text-dim) !important; font-style: italic; }
.br-team > .br-tbd { flex: 1; }
.br-sets { flex: none; min-width: 14px; text-align: right; font-size: 13px; font-variant-numeric: tabular-nums; }
.br-foot { display: flex; gap: 6px; align-items: center; justify-content: space-between; margin-top: 2px; font-size: 11px; color: var(--text-dim); }
.br-foot .br-net, .br-foot .br-where { flex: none; }
.br-live { color: var(--bad); font-weight: 700; }
.br-empty { opacity: .55; }
.br-info { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; font-size: 13px; }
.br-info-row { display: flex; gap: 10px; flex-wrap: wrap; }
.br-info-row b { min-width: 170px; }
.br-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.br-chip { flex: none; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; cursor: pointer; }
.br-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.br-list-games { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 899px) {
  .br-desktop { display: none; }
  .br-mobile { display: block; }
}
.br-host { margin-top: 2px; font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-reg-label { margin: 0 0 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); }
/* one accent per regional (left edge of each card, and the legend swatches) */
.br-reg-1 { --reg: #e8622c; } .br-reg-2 { --reg: #3b82c4; } .br-reg-3 { --reg: #4fb477; } .br-reg-4 { --reg: #a06cd5; }
.br-game[class*="br-reg-"] { border-left: 4px solid var(--reg); }
.br-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.br-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.br-legend-item i { width: 10px; height: 10px; border-radius: 3px; background: var(--reg); display: inline-block; }
.br-rec { flex: none; font-size: 10px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
/* Right half of the tree is mirrored (as in the NCAA's printed bracket): seed + logo on the outer right edge, the score on the inner
   (left) side toward the next round. Phones show a single list, which stays left-to-right. */
.br-right .br-team { flex-direction: row-reverse; }
/* name stays beside the logo; the record goes on its inner (left) side: "(23-5) Kentucky [logo] 1" */
.br-right .br-nm { flex-direction: row-reverse; justify-content: flex-start; }
.br-right .br-team > .br-tbd { text-align: right; }
.br-right .br-seed { text-align: left; }
.br-right .br-foot { flex-direction: row-reverse; }
.br-right .br-host, .br-right .br-reg-label { text-align: right; }
.br-right .br-game[class*="br-reg-"] { border-left-width: 1px; border-right: 4px solid var(--reg); }
