/* Brackets */
.bk-scores input { max-width: 5.5rem; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 1.2rem; }
.bk { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--paper); }
.bk h3 { margin: 0 0 .7rem; }
.bk-rounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; align-items: center; }
.bk-round { display: grid; gap: .5rem; }
.bk-round:nth-child(2) { gap: 2.6rem; }
.bk-rt { margin: 0; font: 600 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bk-m { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; font-size: .85rem; }
.bk-m.tie { border-color: var(--saffron); }
.bk-m small { display: block; padding: .2rem .45rem; background: var(--saffron-soft); color: #6d4700; font-size: .75rem; line-height: 1.3; }
.bk-p { display: flex; justify-content: space-between; gap: .4rem; padding: .3rem .45rem; min-height: 1.9rem; align-items: center; }
.bk-p + .bk-p { border-block-start: 1px solid var(--line); }
.bk-p span, .bk-p .linklike { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bk-p b { font-variant-numeric: tabular-nums; }
.bk-p.win { background: var(--mint-soft); font-weight: 700; }
.bk-p.lose { color: var(--muted); }
.bk-win { margin: .8rem 0 0; font-size: .92rem; }
@media (max-width: 560px) { .bk-rounds { grid-template-columns: 1fr; } .bk-round:nth-child(2) { gap: .5rem; } }
@media print { .bk { break-inside: avoid; } }
