/* ============================================================
   knockout.css — Knockout bracket
   ============================================================ */

.ko-notice {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: center;
}
.ko-notice p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.ko-notice p:first-child {
  font-size: 13px;
  color: var(--text);
  margin-top: 0;
}

/* ── Scrollable bracket wrapper ───────────────────────── */
.bracket-wrap {
  overflow-x: auto;
  padding-bottom: 12px;
}

.bracket {
  display: flex;
  gap: 2px;
  min-width: 1200px;
}

/* ── One round column ─────────────────────────────────── */
.br {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 155px;
}

.rh {
  text-align: center;
  padding: 8px 4px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  white-space: nowrap;
}

.bms {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: space-around;
  padding: 4px;
}

/* ── Individual bracket match ─────────────────────────── */
.bm {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
  cursor: default;
}
.bm:hover { border-color: rgba(200,168,75,.4); }

.bt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;
  font-size: 11px;
  transition: background .1s;
}
.bt:first-child { border-bottom: 1px solid var(--border); }
.bt:hover { background: rgba(255,255,255,.025); }

.bti {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  min-width: 0;
}
.bti .flag { font-size: 12px; flex-shrink: 0; }
.bti span  { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bts {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 6px;
}

.bt.tbd { opacity: .4; }

.ml {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  padding: 3px;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  letter-spacing: .4px;
}

/* ── Third-place section ──────────────────────────────── */
.ko-third {
  margin-top: 24px;
  max-width: 220px;
}
