/*
 * Boxing Underdog Network (preview) - every Network page of UNDERDOG TV.
 * Mobile first; nothing is ever wider than the screen: tables become cards, the bracket becomes one round at a time
 * on phones, tabs and chips wrap (Tools/network/FRONTEND.md, section 5). Tokens from style.css.
 */

/* ------------------------------------------------------------------------------------------------ page */
.bn-page { background: radial-gradient(1200px 520px at 85% -10%, rgba(255, 56, 56, 0.08), transparent 60%), var(--bg); }
.bn-wrap {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) / var(--ui-zoom) + 16px) var(--gutter) calc(var(--tab-space, 0px) + 56px);
  zoom: var(--ui-zoom);
  color: var(--text);
}
.bn-view { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.bn-view > *, .bn-section > * { min-width: 0; }
.bn-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.bn-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the preview bar: sample data, who you are */
.bn-previewbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; padding: 8px 10px 8px 12px; border: 1px dashed rgba(233, 185, 73, 0.4);
  border-radius: var(--radius); background: rgba(233, 185, 73, 0.06); font-size: 13px; color: var(--text-2); }
.bn-previewbar[hidden] { display: none; }
.bn-preview-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--gold); color: #1a1305;
  font: 700 11px/1 var(--font-mono); letter-spacing: 0.08em; }
.bn-preview-text { flex: 1 1 200px; min-width: 0; }
.bn-preview-who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: #0b0c10; color: var(--text); font: 500 13.5px/1.2 var(--font-body); cursor: pointer; }
.bn-preview-who:hover { border-color: var(--line-3); }
.bn-preview-who:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bn-preview-who-l, .bn-preview-who-r { color: var(--text-3); white-space: nowrap; }
.bn-preview-who-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bn-preview-who-ic { width: 15px; height: 15px; transform: rotate(90deg); color: var(--text-3); }
.bn-preview-reset { flex: none; }

/* ------------------------------------------------------------------------------------------------ type */
.bn-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--red); font: 700 12px/1.2 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.bn-h1 { margin: 10px 0 0; font: 700 clamp(34px, 7vw, 72px)/0.98 var(--font-display); letter-spacing: 0.005em; text-transform: uppercase; overflow-wrap: anywhere; }
.bn-h2 { margin: 0; font: 700 clamp(22px, 3vw, 30px)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.bn-h3 { margin: 0; font: 700 16px/1.25 var(--font-body); color: var(--text); overflow-wrap: anywhere; }
.bn-intro { margin: 12px 0 0; max-width: 68ch; color: var(--text-2); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.bn-note { margin: 0; color: var(--text-3); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.bn-note--strong { color: var(--text); font-weight: 600; }
.bn-prose p { margin: 0 0 10px; color: var(--text-2); line-height: 1.6; overflow-wrap: anywhere; }
.bn-inline-link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; overflow-wrap: anywhere; }
.bn-inline-link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------------------------------------ head */
.bn-head { position: relative; display: flex; flex-direction: column; min-width: 0; }
.bn-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 32px; margin: 0 0 10px -4px; padding: 0 6px; border-radius: 8px;
  color: var(--text-3); font-size: 14px; text-decoration: none; }
.bn-back:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.bn-backrow { margin-bottom: -18px; }
.bn-head-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.bn-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; color: var(--text-2); font-size: 14px; }
.bn-head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.bn-meta-item { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.bn-meta-item .bn-ic { color: var(--text-3); }
.bn-host { gap: 8px; }
.bn-kind { color: var(--text-2); }
.bn-kind--cr, .bn-kind--ref { color: var(--gold); }
.bn-head--event, .bn-head--fight, .bn-head--control { padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bn-accent, var(--red)) 16%, transparent), rgba(255, 255, 255, 0.02) 55%); }
.bn-head--official { background: linear-gradient(135deg, rgba(233, 185, 73, 0.18), rgba(255, 255, 255, 0.02) 55%); border-color: rgba(233, 185, 73, 0.35); }
.bn-head--hub .bn-h1 { font-size: clamp(40px, 9vw, 96px); }

/* ------------------------------------------------------------------------------------------------ buttons */
.bn-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); color: var(--text); font: 600 15px/1.2 var(--font-body);
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease); }
.bn-btn > span { min-width: 0; overflow-wrap: anywhere; }
.bn-btn:hover { background: rgba(255, 255, 255, 0.12); }
.bn-btn:active { transform: translateY(1px); }
.bn-btn:disabled { opacity: 0.42; cursor: not-allowed; transform: none; }
.bn-btn:focus-visible, .bn-tab:focus-visible, .bn-chip:focus-visible, .bn-fight-body:focus-visible, .bn-event:focus-visible, .bn-league:focus-visible,
.bn-fcard:focus-visible, .bn-match:focus-visible, .bn-clip:focus-visible, .bn-rival:focus-visible, .bn-noteitem-link:focus-visible, .bn-fighter:focus-visible,
.bn-inline-link:focus-visible, .bn-back:focus-visible, .bn-rivalry-row:focus-visible, .bn-banner:focus-visible, .bn-banner-link:focus-visible, .bn-replay:focus-visible,
.bn-plist-main:focus-visible, .bn-series-side:focus-visible, .bn-livecard-names:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bn-btn--sm { min-height: 40px; padding: 0 13px; font-size: 14px; }
.bn-btn--primary { background: linear-gradient(180deg, #ff4b4b 0%, #e62828 100%); border-color: rgba(255, 255, 255, 0.14); color: #fff;
  box-shadow: 0 10px 26px rgba(255, 56, 56, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24); }
.bn-btn--primary:hover { background: linear-gradient(180deg, #ff5f5f 0%, #ef3434 100%); }
.bn-btn--ghost { background: transparent; color: var(--text-2); }
.bn-btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.bn-btn--ghost.is-on { color: var(--text); border-color: var(--line-3); background: rgba(255, 255, 255, 0.08); }
.bn-btn--live { background: var(--red); border-color: transparent; color: #fff; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.bn-btn--live:hover { background: #ff5252; }
.bn-btn--danger { background: rgba(255, 56, 56, 0.14); border-color: rgba(255, 56, 56, 0.45); color: #ffd9d9; }
.bn-btn--danger:hover { background: rgba(255, 56, 56, 0.24); }
.bn-btn.is-busy { opacity: 0.7; cursor: progress; }
.bn-btn .bn-ic { width: 17px; height: 17px; }
.bn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------------------------------------ badges and pills */
.bn-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  color: var(--text-2); font: 700 11px/1 var(--font-mono); letter-spacing: 0.08em; white-space: nowrap; }
.bn-pill--live { background: var(--red); color: #fff; }
.bn-pill--checkin, .bn-pill--ready { background: rgba(233, 185, 73, 0.16); color: var(--gold); }
.bn-pill--ready { background: var(--gold); color: #1a1305; }
.bn-pill--scheduled, .bn-pill--announced { background: rgba(61, 134, 255, 0.16); color: #9cc0ff; }
.bn-pill--proposed, .bn-pill--countered { background: rgba(255, 122, 61, 0.16); color: #ffb38f; }
.bn-pill--cancelled, .bn-pill--declined, .bn-pill--expired { background: rgba(255, 255, 255, 0.06); color: var(--text-3); }
.bn-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: bn-pulse 1.4s ease-in-out infinite; }
@keyframes bn-pulse { 50% { opacity: 0.25; } }
.bn-tier { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid currentColor; border-radius: 6px; color: #9aa6b1;
  font: 700 10.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.bn-tier[data-tier="bronze"] { color: #d6905a; } .bn-tier[data-tier="silver"] { color: #cdd2dc; } .bn-tier[data-tier="gold"] { color: #f5b041; }
.bn-tier[data-tier="platinum"] { color: #7fd4c8; } .bn-tier[data-tier="diamond"] { color: #6ea8ff; }
.bn-owner { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 24px; padding: 3px 9px; border-radius: 7px; font: 700 11px/1.2 var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase; overflow-wrap: anywhere; }
.bn-owner .bn-ic { width: 14px; height: 14px; }
/* Official must never be mistaken for a community event (section 10) */
.bn-owner--official { background: linear-gradient(180deg, #f3c95e, #dca935); color: #1a1305; }
.bn-owner--league { background: color-mix(in srgb, var(--bn-accent, #ff7a3d) 20%, transparent); color: color-mix(in srgb, var(--bn-accent, #ff7a3d) 55%, #fff);
  border: 1px solid color-mix(in srgb, var(--bn-accent, #ff7a3d) 50%, transparent); }
.bn-owner--player { background: rgba(255, 255, 255, 0.08); color: var(--text-2); border: 1px solid var(--line-2); }
.bn-verified { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 3px 8px; border-radius: 7px; background: rgba(61, 220, 132, 0.12); color: #7df0ae;
  font: 700 11px/1.2 var(--font-mono); letter-spacing: 0.08em; }
.bn-verified .bn-ic { width: 14px; height: 14px; }
.bn-titlefight { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font: 700 11px/1.2 var(--font-mono); letter-spacing: 0.1em; }
.bn-titlefight .bn-ic { width: 16px; height: 16px; }
.bn-elo, .bn-rank, .bn-level { font: 600 13px/1 var(--font-mono); color: var(--text-2); }
.bn-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); font: 700 11px/1 var(--font-mono); }
.bn-needs-game { margin-left: 8px; padding: 1px 6px; border-radius: 5px; background: rgba(140, 185, 255, 0.14); color: #b8d1ff; font: 600 11px/1.4 var(--font-mono); }
.bn-member-tag { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--text-2); font-size: 12px; }

/* ------------------------------------------------------------------------------------------------ avatars and fighters */
.bn-ava { --h: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(145deg, hsl(var(--h) 60% 42%), hsl(calc(var(--h) + 40) 55% 22%)); color: #fff; font: 700 12px/1 var(--font-display); letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.bn-ava.is-empty { background: rgba(255, 255, 255, 0.06); color: var(--text-3); }
.bn-ava--xs { width: 24px; height: 24px; font-size: 10px; }
.bn-ava--sm { width: 28px; height: 28px; font-size: 11px; }
.bn-ava--md { width: 40px; height: 40px; font-size: 14px; }
.bn-ava--lg { width: 52px; height: 52px; font-size: 18px; }
.bn-ava--xl { width: clamp(64px, 18vw, 104px); height: clamp(64px, 18vw, 104px); font-size: clamp(22px, 5vw, 34px); }
.bn-fighter { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; min-height: 32px; color: var(--text); text-decoration: none; }
.bn-fighter-txt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.bn-fighter-name { font-weight: 600; overflow-wrap: anywhere; }
.bn-fighter:hover .bn-fighter-name { text-decoration: underline; text-underline-offset: 3px; }
.bn-fighter.is-tbd { color: var(--text-3); font-style: italic; }
.bn-people { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }

/* ------------------------------------------------------------------------------------------------ sections and grids */
.bn-section { display: flex; flex-direction: column; gap: 14px; }
.bn-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.bn-section--live .bn-h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 56, 56, 0.2); animation: bn-pulse 1.4s ease-in-out infinite; vertical-align: middle; }
.bn-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bn-grid--events, .bn-grid--leagues { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bn-grid--fighters { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.bn-grid--clips { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.bn-grid--main { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.bn-card-list { display: flex; flex-direction: column; gap: 10px; }
.bn-stack { display: flex; flex-direction: column; gap: 8px; }
.bn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); gap: 10px; margin-top: 22px; }
.bn-stat { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); min-width: 0; }
.bn-stat b { font: 700 28px/1 var(--font-display); }
.bn-stat span { color: var(--text-3); font-size: 13px; overflow-wrap: anywhere; }
.bn-stats--record { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }

/* tabs and chips wrap - never a sideways scroll */
.bn-tabs { display: flex; flex-wrap: wrap; gap: 4px 6px; border-bottom: 1px solid var(--line-2); }
.bn-tab { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--text-3);
  font: 600 15px/1.2 var(--font-body); cursor: pointer; }
.bn-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: transparent; border-radius: 2px; }
.bn-tab:hover { color: var(--text); }
.bn-tab.is-active { color: var(--text); }
.bn-tab.is-active::after { background: var(--red); }
.bn-tabpanel { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* the site's filter pills (the same as the 3D replays page): dark with a hairline, the chosen one red */
.bn-chip { min-height: 38px; max-width: 100%; padding: 0 15px; border: 1px solid #ffffff21; border-radius: 8px; background: #15171c; color: #e2e3e8;
  font: 600 14px/1.2 var(--font-body); cursor: pointer; overflow-wrap: anywhere; transition: background-color .15s, border-color .15s; }
.bn-chip:hover { color: #fff; border-color: #ffffff55; }
.bn-chip.is-active { background: #ff3838; border-color: #ff3838; color: #fff; }
.bn-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bn-toolbar .bn-search { flex: 1 1 280px; }

/* search */
.bn-search { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(8, 9, 12, 0.6); }
.bn-search:focus-within { border-color: rgba(255, 255, 255, 0.5); }
.bn-search .bn-ic { color: var(--text-3); }
.bn-search .bn-input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; padding: 0; }
.bn-search .bn-input:focus { outline: none; }
.bn-search--hero { max-width: 560px; margin-top: 22px; }

/* ------------------------------------------------------------------------------------------------ cards */
.bn-fight, .bn-livecard, .bn-event, .bn-league, .bn-open, .bn-ring, .bn-crrow, .bn-app, .bn-belt, .bn-titlecard, .bn-fcard, .bn-rival, .bn-clip, .bn-panel, .bn-rules {
  min-width: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.035); }
.bn-fight { display: flex; flex-direction: column; overflow: hidden; }
.bn-fight.is-live { border-color: rgba(255, 56, 56, 0.55); box-shadow: 0 0 0 1px rgba(255, 56, 56, 0.25), 0 14px 40px rgba(255, 56, 56, 0.12); }
.bn-fight-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px 0; }
.bn-fight-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; min-width: 0; color: var(--text-3); font-size: 13px; }
.bn-fight-meta > span + span::before { content: "·"; margin-right: 10px; }
.bn-fight-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px; color: var(--text); text-decoration: none; }
.bn-fight-body:hover .bn-fight-name { text-decoration: underline; text-underline-offset: 3px; }
.bn-fight-side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bn-fight-side:last-child { flex-direction: row-reverse; text-align: right; }
.bn-fight-side .bn-tier { display: none; }
.bn-fight-name { min-width: 0; font: 700 18px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-fight-side.is-loss { opacity: 0.55; }
.bn-fight-side.is-win .bn-fight-name { color: #fff; }
.bn-fight-side.is-win .bn-ava { box-shadow: 0 0 0 2px var(--gold); }
.bn-fight-vs { color: var(--text-3); font: 700 13px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.bn-fight-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0 14px 12px; color: var(--text-2); font-size: 14px; }
.bn-fight--compact .bn-fight-body { padding-top: 10px; padding-bottom: 10px; }
.bn-fight--compact .bn-fight-name { font-size: 16px; }
.bn-when { display: inline-flex; align-items: center; gap: 6px; }
.bn-when .bn-ic { width: 15px; height: 15px; color: var(--text-3); }
.bn-countdown { color: var(--gold); font: 600 13px/1 var(--font-mono); }
.bn-clock { color: #fff; font: 700 14px/1 var(--font-mono); letter-spacing: 0.04em; }
.bn-clock.is-break { color: var(--gold); }
.bn-viewers { color: var(--text-3); font: 600 12.5px/1 var(--font-mono); }
.bn-result { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

.bn-livecard { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-color: rgba(255, 56, 56, 0.45);
  background: linear-gradient(160deg, rgba(255, 56, 56, 0.14), rgba(255, 255, 255, 0.02) 60%); }
.bn-livecard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bn-livecard-top .bn-viewers { margin-left: auto; }
.bn-livecard-names { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.bn-livecard-vs { font: 700 20px/1.1 var(--font-display); text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
.bn-livecard-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-2); font-size: 13.5px; }
.bn-livecard-watch { width: 100%; }

.bn-event { display: flex; flex-direction: column; gap: 10px; padding: 16px; color: var(--text); text-decoration: none; transition: border-color 160ms var(--ease), transform 160ms var(--ease); }
.bn-event:hover { border-color: var(--line-3); transform: translateY(-1px); }
.bn-event.is-live { border-color: rgba(255, 56, 56, 0.55); }
.bn-event--official { background: linear-gradient(160deg, rgba(233, 185, 73, 0.12), rgba(255, 255, 255, 0.02) 55%); border-color: rgba(233, 185, 73, 0.3); }
.bn-event--league { background: linear-gradient(160deg, color-mix(in srgb, var(--bn-accent, #ff7a3d) 12%, transparent), rgba(255, 255, 255, 0.02) 55%); }
.bn-event-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bn-event-name { margin: 0; font: 700 clamp(22px, 3vw, 28px)/1.05 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-event-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-2); font-size: 13.5px; }
.bn-event-main { margin: 0; color: var(--text-3); font-size: 13.5px; overflow-wrap: anywhere; }
.bn-live-count { color: #ff8a8a; font-weight: 700; }

.bn-logo { --bn-accent: #ff7a3d; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--bn-accent), color-mix(in srgb, var(--bn-accent) 45%, #000)); color: #fff; font: 700 13px/1 var(--font-display); letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.bn-logo--sm { width: 28px; height: 28px; font-size: 11px; border-radius: 8px; }
.bn-logo--md { width: 48px; height: 48px; font-size: 17px; border-radius: 13px; }
.bn-logo--xl { width: clamp(72px, 18vw, 112px); height: clamp(72px, 18vw, 112px); font-size: clamp(24px, 5vw, 38px); border-radius: 22px; }
.bn-league { display: flex; flex-direction: column; gap: 10px; padding: 16px; color: var(--text); text-decoration: none; border-top: 3px solid var(--bn-accent, #ff7a3d); }
.bn-league:hover { border-color: var(--line-3); border-top-color: var(--bn-accent, #ff7a3d); }
.bn-league-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bn-league-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.bn-league-name h3 { margin: 0; font: 700 21px/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-league-desc { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.bn-league-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-3); font: 600 12.5px/1.3 var(--font-mono); }

/* Teams: a compact roster index and a clear identity above the full fight archive. */
.bn-teamcard { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; min-width: 0;
  min-height: 142px; padding: 20px; border: 1px solid var(--line-2); border-left: 3px solid var(--bn-accent,var(--red)); border-radius: var(--radius-lg);
  background: linear-gradient(115deg, color-mix(in srgb,var(--bn-accent,var(--red)) 13%,#0c0e13),#0c0e13 70%); color: var(--text); text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.bn-teamcard:hover { transform: translateY(-2px); border-color: var(--bn-accent,var(--red)); }
.bn-teamcard:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bn-teamcard-mark { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid color-mix(in srgb,var(--bn-accent,var(--red)) 50%,transparent);
  border-radius: 15px; background: color-mix(in srgb,var(--bn-accent,var(--red)) 12%,#090a0d); }
.bn-teamcard-copy { min-width: 0; display: grid; gap: 7px; }
.bn-teamcard-copy h3 { margin: 0; font: 700 clamp(21px,2vw,30px)/1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-teamcard-record { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 0; color: var(--text-2); font: 700 12px/1.2 var(--font-mono); }
.bn-teamcard-record strong { color: var(--text); font: 700 25px/1 var(--font-display); }
.bn-teamcard > .bn-ic { color: var(--bn-accent,var(--red)); }
.bn-head--team { padding: clamp(22px,3vw,40px); border: 1px solid color-mix(in srgb,var(--bn-accent,var(--red)) 45%,var(--line-2)); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--bn-accent,var(--red)) 24%,transparent),transparent 46%),
    linear-gradient(135deg,#11131a,#090a0d); }
.bn-head--team .bn-h1 { font-size: clamp(36px,5.8vw,78px); }
.bn-head--team.has-poster::after { background: linear-gradient(90deg,rgba(6,7,10,.96) 0%,rgba(6,7,10,.82) 48%,rgba(6,7,10,.24) 100%); }
.bn-head.bn-head--team.has-poster .bn-intro { display: block; }
.bn-team-membership { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text-2); font-size: 14px; line-height: 1.4; }
.bn-team-versus { margin: 16px 0 0; color: var(--text); font: 700 clamp(17px,2.8vw,26px)/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
@media (max-width: 460px) {
  .bn-teamcard { grid-template-columns: auto minmax(0,1fr); gap: 12px; min-height: 122px; padding: 14px; }
  .bn-teamcard-mark { width: 46px; height: 46px; }
  .bn-teamcard-mark .bn-logo { width: 34px; height: 34px; }
  .bn-teamcard > .bn-ic { display: none; }
  .bn-teamcard-copy h3 { font-size: 21px; }
  .bn-teamcard-record strong { font-size: 22px; }
  .bn-head--team { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bn-teamcard { transition: none; } .bn-teamcard:hover { transform: none; } }

.bn-open { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.bn-open.is-mine { border-style: dashed; }
.bn-open-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bn-record { color: var(--text-2); font: 700 14px/1 var(--font-mono); }
.bn-open-window { margin: 0; font: 700 19px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-open-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--text-3); font-size: 13px; }
.bn-open .bn-btn { align-self: flex-start; }
.bn-open-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 24px; padding: 18px;
  background: linear-gradient(125deg, rgba(255,56,56,.08), rgba(18,20,26,.88) 55%); border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
.bn-open-filter { display: grid; gap: 7px; min-width: 0; color: var(--text-2); font-size: 12px; font-weight: 700; }
.bn-open-filter .bn-input { width: 100%; min-width: 0; min-height: 44px; }
.bn-open-custom { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.bn-open-custom[hidden] { display: none; }
.bn-open-filter-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.bn-open-filter-error { grid-column: 1 / -1; margin: 0; color: var(--red); }

/* Fight-night art: real game replay thumbnails remain separate; these are fictional gala key art. */
.bn-ava,.bn-logo { position: relative; overflow: hidden; }
.bn-ava-image,.bn-logo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-logo-image { object-fit: contain; }
.bn-head.has-poster { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(360px, 38vw, 560px); justify-content: flex-end;
  background: #08090c; border-color: color-mix(in srgb, var(--bn-accent,var(--red)) 50%, transparent); }
.bn-head.has-poster > :not(.bn-head-art) { position: relative; z-index: 1; }
.bn-head-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bn-head.has-poster::after { content: ""; position: absolute; z-index: -1; inset: 0; background:
  linear-gradient(90deg,rgba(6,7,10,.96) 0%,rgba(6,7,10,.83) 38%,rgba(6,7,10,.12) 84%),
  linear-gradient(0deg,rgba(6,7,10,.63),transparent 45%); pointer-events: none; }
.bn-head--hub.has-poster { min-height: clamp(420px,43vw,600px); padding: clamp(24px,3vw,48px); }
.bn-head--hub.has-poster .bn-h1 { max-width: min(850px,70%); font-size: clamp(50px,6.2vw,112px); line-height: .94; text-wrap: balance; }
.bn-head--hub.has-poster .bn-intro { max-width: 610px; }
.bn-hub-event-name { color: #f4cf80; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.bn-event.has-poster { position: relative; isolation: isolate; overflow: hidden; min-height: 280px; justify-content: flex-end; border-color: rgba(255,255,255,.2); background: #101116; }
.bn-event.has-poster > :not(.bn-event-art) { position: relative; z-index: 1; }
.bn-event-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.bn-event.has-poster::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(5,6,9,.95) 0%,rgba(5,6,9,.65) 43%,rgba(5,6,9,.1) 100%); pointer-events: none; }
.bn-event.has-poster:hover .bn-event-art { transform: scale(1.035); }
.bn-event.has-poster .bn-event-name { font-size: clamp(25px,2.6vw,36px); }
.bn-league.has-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 225px; justify-content: flex-end; }
.bn-league.has-banner > :not(.bn-league-card-art) { position: relative; z-index: 1; }
.bn-league-card-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-league.has-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(7,8,11,.96),rgba(7,8,11,.67) 70%,rgba(7,8,11,.35)); pointer-events: none; }
.bn-lhero { isolation: isolate; }
.bn-lhero-art { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: clamp(150px,21vw,290px); object-fit: cover; border-radius: var(--radius-xl); }
.bn-lhero:has(.bn-lhero-art)::after { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(150px,21vw,290px);
  background: linear-gradient(0deg,#090a0d 1%,rgba(9,10,13,.4) 55%,rgba(9,10,13,.1)); pointer-events: none; }
.bn-head--upcoming { min-height: 190px; background: radial-gradient(ellipse at 84% 0%,rgba(255,56,56,.16),transparent 55%),#101115; }
.bn-upcoming-days { display: grid; gap: 24px; margin-top: 24px; }
.bn-upcoming-day { position: relative; padding-left: 26px; border-left: 1px solid rgba(255,56,56,.42); }
.bn-upcoming-day::before { content: ""; position: absolute; width: 9px; height: 9px; left: -5px; top: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 15px rgba(255,56,56,.6); }
.bn-upcoming-date { margin: 0 0 13px; color: #fff; font: 700 clamp(20px,2.4vw,28px) var(--font-display); text-transform: uppercase; }
.bn-upcoming-line { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,310px),1fr)); gap: 12px; }
.bn-upcoming-line .bn-fight { min-width: 0; }
.bn-upcoming-event { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bn-upcoming-event .bn-event { flex: 1; }
.bn-upcoming-event > .bn-btn { align-self: flex-start; }
@media (orientation: landscape) and (max-height:500px) and (min-width:480px) {
  .bn-head--upcoming { min-height: 86px; padding: 10px 14px; gap: 3px; }
  .bn-head--upcoming .bn-h1 { font-size: 27px; }
  .bn-head--upcoming .bn-intro { display: none; }
  .bn-view--upcoming .bn-chips { margin-top: 6px; }
  .bn-upcoming-days { margin-top: 9px; gap: 10px; }
  .bn-upcoming-date { margin-bottom: 5px; font-size: 19px; }
}
@media(max-width:460px) { .bn-upcoming-day { padding-left: 17px; } .bn-upcoming-line { grid-template-columns: minmax(0,1fr); } }
@media(max-width:760px) { .bn-head.has-poster { min-height: 400px; } .bn-head--hub.has-poster .bn-h1 { max-width: 100%; font-size: clamp(39px,9vw,68px); }
  .bn-head.has-poster::after { background: linear-gradient(0deg,rgba(6,7,10,.95),rgba(6,7,10,.62) 65%,rgba(6,7,10,.15)); }
  .bn-event.has-poster { min-height: 255px; } }
@media(prefers-reduced-motion:reduce) { .bn-event-art { transition: none; } .bn-event.has-poster:hover .bn-event-art { transform: none; } }
@media (max-width: 850px) { .bn-open-filters { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 380px) { .bn-open-filters { grid-template-columns: minmax(0,1fr); padding: 14px; } .bn-open-filter-actions { flex-direction: column; } }

.bn-clip { display: flex; align-items: center; gap: 12px; padding: 10px; color: var(--text); text-decoration: none; }
.bn-clip-thumb { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; width: 64px; aspect-ratio: 9 / 16;
  border-radius: 10px; background: linear-gradient(160deg, #2a0c0f, #0b0c10); color: #fff; }
.bn-clip-thumb .bn-ic { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.bn-clip-thumb b { font: 700 11px/1 var(--font-mono); color: var(--gold); }
.bn-clip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bn-clip-title { font-weight: 600; overflow-wrap: anywhere; }
.bn-clip-sub { color: var(--text-3); font-size: 13px; }

.bn-fcard { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--text); text-decoration: none; }
.bn-fcard.is-live { border-color: rgba(255, 56, 56, 0.55); }
.bn-fcard:hover { border-color: var(--line-3); }
.bn-fcard-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.bn-fcard-name { font: 700 19px/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-fcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.bn-fcard-rec { color: var(--text-3); font-size: 13px; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------------------------------------ states */
.bn-state { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border: 1px dashed var(--line-3); border-radius: var(--radius-lg); color: var(--text-2); }
.bn-state .bn-ic { width: 22px; height: 22px; color: var(--text-3); }
.bn-state p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.bn-state--error { border-style: solid; border-color: rgba(255, 56, 56, 0.4); }
.bn-state--error .bn-ic { color: var(--red); }
.bn-state--forbidden .bn-ic, .bn-state--signin .bn-ic { color: var(--gold); }
.bn-state-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-skeleton { display: flex; flex-direction: column; gap: 14px; }
.bn-skel-row { height: 76px; border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%; animation: bn-shine 1.4s linear infinite; }
.bn-skel-row:first-child { height: 120px; }
@keyframes bn-shine { to { background-position: -200% 0; } }
.bn-panel { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bn-panel--wait { color: var(--text-2); font-size: 14px; margin: 0; }
.bn-panel--answer { border-color: rgba(255, 122, 61, 0.45); background: rgba(255, 122, 61, 0.07); }
.bn-panel--ring { border-color: rgba(233, 185, 73, 0.5); background: linear-gradient(160deg, rgba(233, 185, 73, 0.14), rgba(255, 255, 255, 0.02)); }
.bn-ring-call { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--gold); }
.bn-ring-call .bn-ic { width: 24px; height: 24px; animation: bn-ring 1s ease-in-out infinite; }
@keyframes bn-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

/* ------------------------------------------------------------------------------------------------ event */
.bn-card-list .bn-fight { max-width: 900px; }
.bn-ring { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.bn-ring.is-live { border-color: rgba(255, 56, 56, 0.5); }
.bn-ring-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bn-ring-head b { font: 700 18px/1 var(--font-display); text-transform: uppercase; }
.bn-ring-head .bn-pill { margin-left: auto; }
.bn-ring-fight { margin: 0; font: 700 20px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-ring-fight.is-muted { color: var(--text-3); }
.bn-ring-next { margin: 0; color: var(--text-3); font-size: 13.5px; overflow-wrap: anywhere; }
.bn-ring-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.bn-ring .bn-btn { align-self: flex-start; }
.bn-checkin { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-checkin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.bn-checkin-row .bn-fighter { flex: 1 1 160px; }
.bn-ci { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.bn-ci-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.bn-ci--in { color: var(--ok); } .bn-ci--missing { color: #ff6b6b; } .bn-ci--ready { color: var(--gold); }
.bn-ci-seen { color: var(--text-3); font-size: 12.5px; }
.bn-champion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 14px; border: 1px solid rgba(233, 185, 73, 0.45); border-radius: var(--radius-lg);
  background: rgba(233, 185, 73, 0.08); color: var(--gold); font-weight: 700; }
.bn-champion .bn-fighter { color: #fff; }
.bn-champion--big { font-size: 18px; }
.bn-signups { display: flex; flex-direction: column; gap: 4px; }
.bn-list { margin: 0; padding-left: 20px; color: var(--text-2); line-height: 1.7; }
.bn-replays { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-replay { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text);
  text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.bn-replay:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.05); }

/* Discord post previews */
.bn-discord { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--radius-lg); background: #313338; }
.bn-discord-post { display: flex; gap: 12px; padding: 8px; border-radius: 8px; color: #dbdee1; }
.bn-discord-post:hover { background: rgba(0, 0, 0, 0.12); }
.bn-discord-ava { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #5865f2; color: #fff; }
.bn-discord-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bn-discord-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bn-discord-who b { color: #f2f3f5; }
.bn-discord-bot { padding: 0 4px; border-radius: 3px; background: #5865f2; color: #fff; font: 700 10px/1.5 var(--font-body); }
.bn-discord-time { color: #949ba4; font-size: 12px; }
.bn-discord-body p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.bn-discord-link { color: #00a8fc; font-size: 13.5px; overflow-wrap: anywhere; min-height: 24px; display: inline-flex; align-items: center; }

/* ------------------------------------------------------------------------------------------------ bracket */
.bn-bracket-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bn-bracket-wrap > .bn-chips { display: none; }
.bn-bracket { display: grid; grid-template-columns: repeat(var(--rounds, 4), minmax(0, 1fr)); gap: 14px; min-width: 0; }
.bn-round { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bn-round-name { margin: 0; color: var(--text-3); font: 700 12px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.bn-round-list { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; flex: 1; }
.bn-match { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.035);
  color: var(--text); text-decoration: none; min-width: 0; }
a.bn-match:hover { border-color: var(--line-3); }
.bn-match.is-live { border-color: rgba(255, 56, 56, 0.6); }
.bn-match-row { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 26px; }
.bn-match-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-match-row.is-loss { opacity: 0.5; }
.bn-match-row.is-win .bn-match-name { color: #fff; }
.bn-match-check { width: 15px; height: 15px; color: var(--ok); }
.bn-match-foot { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--text-3); font-size: 12px; }
.bn-bracket--compact { gap: 10px; }

/* ------------------------------------------------------------------------------------------------ Control Room */
.bn-crrow { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.bn-crrow.is-ready { border-color: rgba(233, 185, 73, 0.55); }
.bn-crrow-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--text-2); font-size: 13.5px; }
.bn-crrow-slot { font-weight: 700; color: var(--text); }
.bn-crrow-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.bn-crrow-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.bn-crrow-note { margin: 0; color: var(--gold); font-size: 14px; }
.bn-crrow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-ring--cr .bn-row { margin-top: 2px; }

/* audit and history */
.bn-audit, .bn-history { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.bn-audit-row, .bn-history > li { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bn-audit-time { color: var(--text-3); font: 600 12.5px/1.4 var(--font-mono); }
.bn-audit-main { min-width: 0; }
.bn-audit-line, .bn-history p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; overflow-wrap: anywhere; }
.bn-audit-role { color: var(--text-3); font-size: 12.5px; }
.bn-audit-action { color: var(--gold); font-weight: 600; }
.bn-audit-target { color: var(--text-2); }
.bn-audit-change { margin: 4px 0 0; color: var(--text-2); font: 500 13px/1.4 var(--font-mono); overflow-wrap: anywhere; }
.bn-audit-reason { margin: 4px 0 0; color: var(--text-3); font-size: 13.5px; font-style: italic; overflow-wrap: anywhere; }
.bn-audit-empty { color: var(--text-3); padding: 10px 0; }

/* ------------------------------------------------------------------------------------------------ fight page */
.bn-fight-main { display: flex; flex-direction: column; gap: 16px; }
.bn-tape { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, auto) minmax(0, 1fr); align-items: center; gap: 12px; padding: clamp(14px, 3vw, 28px);
  border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: linear-gradient(90deg, rgba(61, 134, 255, 0.12), transparent 40%, transparent 60%, rgba(255, 56, 56, 0.12)); }
.bn-tape.is-live { border-color: rgba(255, 56, 56, 0.55); }
.bn-tape-side { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.bn-tape-name { font: 700 clamp(18px, 3.4vw, 34px)/1.05 var(--font-display); text-transform: uppercase; justify-content: center; }
.bn-tape-name .bn-fighter-name { font-weight: 700; }
.bn-tape-side.is-loss { opacity: 0.55; }
.bn-tape-side.is-win .bn-ava { box-shadow: 0 0 0 3px var(--gold); }
.bn-tape-win { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.bn-tape-win .bn-ic { width: 15px; height: 15px; }
.bn-tape-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.bn-tape-vs { font: 700 clamp(22px, 4vw, 40px)/1 var(--font-display); color: var(--text-3); }
.bn-tape-result { font-weight: 700; overflow-wrap: anywhere; }
.bn-tape-when { color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }
.bn-fight-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-accepts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; color: var(--text-3); font-size: 14px; }
.bn-accepts li { display: inline-flex; align-items: center; gap: 6px; }
.bn-accepts li.is-on { color: var(--ok); }
.bn-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: tl; }
.bn-tl-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; color: var(--text-3); font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.bn-tl-step::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.bn-tl-dot { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #1b1d23; box-shadow: inset 0 0 0 2px var(--line-3); }
.bn-tl-step.is-done { color: var(--text-2); }
.bn-tl-step.is-done::before, .bn-tl-step.is-done .bn-tl-dot { background: var(--ok); box-shadow: none; }
.bn-tl-step.is-now { color: #fff; font-weight: 700; }
.bn-tl-step.is-now .bn-tl-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 56, 56, 0.25); }
.bn-rules { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.bn-rules-name { margin: 0; font: 700 18px/1.2 var(--font-display); text-transform: uppercase; }
.bn-rules-flags { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.bn-rules-flags li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bn-rules-flags .bn-ic { width: 15px; height: 15px; color: var(--ok); }
.bn-grid--rules { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.bn-refgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.bn-refbtn { width: 100%; min-height: 52px; }
.bn-refgrid--end .bn-refbtn { min-height: 56px; }

/* ------------------------------------------------------------------------------------------------ profile, rivalry, rankings */
.bn-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px 22px; }
.bn-profile-id { min-width: 0; }
.bn-profile-id .bn-h1 { margin-top: 4px; }
.bn-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid rgba(61, 134, 255, 0.45); border-radius: var(--radius-lg);
  background: rgba(61, 134, 255, 0.08); color: var(--text); text-decoration: none; }
.bn-banner--live { border-color: rgba(255, 56, 56, 0.6); background: rgba(255, 56, 56, 0.12); }
.bn-banner b { flex: 1 1 200px; min-width: 0; font: 700 18px/1.2 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-banner-link { display: flex; flex-direction: column; gap: 4px; flex: 1 1 240px; min-width: 0; color: var(--text); text-decoration: none; }
.bn-banner .bn-kicker { color: #9cc0ff; }
.bn-plist { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-plist-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 12px; border: 1px solid var(--line); border-left: 3px solid var(--bn-accent, var(--line-2)); border-radius: var(--radius); }
.bn-plist-main { display: inline-flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; min-height: 32px; color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.bn-plist-roles { color: var(--text-3); font-size: 13px; }
.bn-plist-rec { color: var(--text-2); font: 600 13px/1 var(--font-mono); }
.bn-titles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.bn-titlecard { display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.bn-titlecard.is-current { border-color: var(--line-3); }
.bn-titlecard--official { background: linear-gradient(160deg, rgba(233, 185, 73, 0.16), rgba(255, 255, 255, 0.02) 60%); border-color: rgba(233, 185, 73, 0.4); }
.bn-titlecard--league { border-top: 3px solid var(--bn-accent, #ff7a3d); }
.bn-titlecard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bn-titlecard-top .bn-ic { width: 20px; height: 20px; color: var(--gold); }
.bn-titlecard--league .bn-titlecard-top .bn-ic { color: var(--bn-accent, #ff7a3d); }
.bn-src { padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); font: 700 10.5px/1.4 var(--font-mono); letter-spacing: 0.08em; }
.bn-titlecard--official .bn-src, .bn-src--official { background: var(--gold); color: #1a1305; }
.bn-src--league { background: color-mix(in srgb, var(--bn-accent, #ff7a3d) 25%, transparent); }
.bn-current { color: var(--ok); font-size: 12px; font-weight: 700; }
.bn-titlecard-name { font: 700 18px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-titlecard-sub { color: var(--text-3); font-size: 13px; }
.bn-rival { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--text); text-decoration: none; }
.bn-rival:hover { border-color: var(--line-3); }
.bn-rival-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bn-rival-txt b { font: 700 18px/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-rival-series { color: var(--text-2); font: 600 13px/1.3 var(--font-mono); }
.bn-rival-next { color: var(--gold); font-size: 13px; }
.bn-series { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: clamp(14px, 3vw, 28px);
  border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.03); }
.bn-series-side { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; color: var(--text); text-decoration: none; text-align: center; }
.bn-series-name { font: 700 clamp(16px, 3vw, 26px)/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-series-wins { font: 700 clamp(40px, 9vw, 84px)/1 var(--font-display); }
.bn-series-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.bn-series-mid p { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.bn-rivalry-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-rivalry-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; }
.bn-rivalry-row:hover { border-color: var(--line-3); }
.bn-rank-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-rank-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.bn-rank-row.is-top { border-color: rgba(233, 185, 73, 0.35); background: rgba(233, 185, 73, 0.05); }
.bn-rank-no { font: 700 18px/1 var(--font-display); color: var(--text-3); text-align: center; }
.bn-rank-row.is-top .bn-rank-no { color: var(--gold); }
.bn-rank-val { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 0; text-align: right; }
.bn-rank-val b { font: 700 16px/1 var(--font-mono); }
.bn-rank-val small { color: var(--text-3); font-size: 12px; }
.bn-rank-val > span { overflow-wrap: anywhere; }
.bn-follows { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-follows li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: 14px; }

/* ------------------------------------------------------------------------------------------------ leagues */
.bn-lhero { position: relative; display: flex; flex-direction: column; gap: 16px; padding: calc(clamp(90px, 18vw, 180px) - 58px) 0 4px; }
/* the league banner: a background of the hero, the logo sits on its lower edge */
.bn-lhero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: clamp(90px, 18vw, 180px); border-radius: var(--radius-xl); pointer-events: none;
  background: radial-gradient(600px 180px at 20% 0%, color-mix(in srgb, var(--bn-accent) 55%, transparent), transparent 70%),
    linear-gradient(120deg, color-mix(in srgb, var(--bn-accent) 35%, #0b0c10), #0b0c10 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.bn-lhero-id { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 0 clamp(12px, 3vw, 24px); }
.bn-lhero-txt { flex: 1 1 260px; min-width: 0; }
.bn-lhero-txt .bn-kicker { margin-bottom: 4px; }
.bn-lhero .bn-stats, .bn-lhero .bn-head-actions { margin-top: 0; }
.bn-member-note { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); color: var(--text-2); overflow-wrap: anywhere; }
.bn-member-note--suspended, .bn-member-note--banned { background: rgba(255, 56, 56, 0.1); color: #ffc9c9; }
.bn-sponsors { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-sponsor { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text-2); font: 700 13px/1.2 var(--font-mono); letter-spacing: 0.06em; }
.bn-belt { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.bn-belt-top { display: flex; align-items: center; gap: 8px; }
.bn-belt-top .bn-ic { width: 22px; height: 22px; color: var(--gold); }
.bn-belt-top b { font: 700 18px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-belt-history { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-belt-history li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.bn-app { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.bn-members { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-member { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.bn-member .bn-fighter { flex: 1 1 170px; }
.bn-member-info { display: flex; flex-direction: column; gap: 3px; flex: 1 1 160px; min-width: 0; }
.bn-member-status { color: var(--text-2); font-weight: 600; font-size: 13.5px; }
.bn-member.is-suspended .bn-member-status, .bn-member.is-banned .bn-member-status { color: #ff8a8a; }
.bn-brand { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.bn-palette { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.bn-palette legend { margin-bottom: 8px; }
.bn-pal-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bn-pal-swatch { width: 44px; height: 44px; border-radius: 12px; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.bn-pal-input:checked + .bn-pal-swatch { box-shadow: 0 0 0 3px #fff, inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.bn-pal-input:focus-visible + .bn-pal-swatch { outline: 2px solid #fff; outline-offset: 4px; }
.bn-brand-preview { display: flex; flex-direction: column; gap: 10px; }
.bn-checks { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; }
.bn-checks legend { margin-bottom: 6px; }

/* notifications */
.bn-notes { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-notes-empty { color: var(--text-3); padding: 12px 0; }
.bn-noteitem-link { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.bn-noteitem-link:hover { border-color: var(--line-3); }
.bn-noteitem.is-unread .bn-noteitem-link { border-color: rgba(255, 56, 56, 0.35); background: rgba(255, 56, 56, 0.05); }
.bn-noteitem-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
.bn-noteitem-ic--fightLive, .bn-noteitem-ic--callToRing { background: rgba(255, 56, 56, 0.18); color: #ff8a8a; }
.bn-noteitem-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.bn-noteitem-text { font-weight: 600; overflow-wrap: anywhere; }
.bn-noteitem-time { color: var(--text-3); font-size: 12.5px; }
.bn-unread-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* ------------------------------------------------------------------------------------------------ forms and dialogs */
.bn-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bn-form--page { max-width: 640px; }
.bn-form-intro { margin: 0; color: var(--text-2); line-height: 1.5; }
.bn-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bn-field--check { flex-direction: row; align-items: center; gap: 10px; min-height: 44px; }
.bn-label { color: var(--text-2); font-size: 14px; font-weight: 600; }
.bn-field--check .bn-label { font-weight: 500; color: var(--text); }
.bn-input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #0b0c10; color: var(--text);
  font: 400 15px/1.35 var(--font-body); color-scheme: dark; }
textarea.bn-input { resize: vertical; }
.bn-input:focus { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 1px; }
.bn-input[aria-invalid="true"] { border-color: #ff6b6b; }
.bn-check { width: 22px; height: 22px; flex: none; accent-color: var(--red); }
.bn-hint { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.bn-field-error, .bn-form-error { margin: 0; color: #ff8a8a; font-size: 13.5px; }
.bn-form-error:not([hidden]) { padding: 10px 12px; border-radius: var(--radius); background: rgba(255, 56, 56, 0.1); }
.bn-radio-group { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bn-radio-group--row { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.bn-radio { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.bn-radio input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.bn-radio label { flex: 1; overflow-wrap: anywhere; cursor: pointer; }
.bn-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.62);
  opacity: 0; transition: opacity 160ms var(--ease); }
.bn-modal.is-in { opacity: 1; }
.bn-modal.is-out { opacity: 0; }
.bn-dialog { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border: 1px solid var(--line-2);
  border-radius: var(--radius-xl); background: #111217; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.bn-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bn-dialog-title { margin: 0; font: 700 24px/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; min-width: 0; }
.bn-dialog-x { flex: none; width: 44px; padding: 0; }
.bn-dialog-text { margin: 0 0 12px; color: var(--text-2); line-height: 1.5; }
.bn-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.bn-hold { overflow: hidden; }
.bn-hold-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: rgba(255, 56, 56, 0.5); pointer-events: none; }
.bn-hold.is-holding .bn-hold-fill { transform: scaleX(1); transition: transform 1100ms linear; }
.bn-hold-label { position: relative; }
.bn-toasts { position: fixed; left: 50%; bottom: calc(var(--tab-space, 0px) + 18px); z-index: 95; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: min(480px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none; }
.bn-toast { max-width: 100%; padding: 12px 16px; border-radius: var(--radius); background: #f4f5f7; color: #0b0c10; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere; animation: bn-in 180ms var(--ease-out); transition: opacity 300ms, transform 300ms; }
.bn-toast--error { background: #ff5a5a; color: #fff; }
.bn-toast.is-out { opacity: 0; transform: translateY(8px); }
@keyframes bn-in { from { opacity: 0; transform: translateY(8px); } }

/* the Network block on the live page */
.bn-liveblock { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 30px; padding: 16px; border: 1px solid rgba(255, 56, 56, 0.35); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 56, 56, 0.08), rgba(255, 255, 255, 0.02) 60%); }
.bn-liveblock-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bn-liveblock-head .bn-h2 { flex: 1 1 auto; }
.bn-grid--live { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

/* ------------------------------------------------------------------------------------------------ larger screens */
@media (min-width: 761px) {
  .bn-view { gap: 38px; }
  .bn-brand { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .bn-dialog { padding: 26px; }
}
@media (min-width: 1180px) {
  .bn-card-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bn-card-list .bn-fight { max-width: none; }
}

/* ------------------------------------------------------------------------------------------------ phones */
@media (max-width: 760px) {
  .bn-wrap { padding-top: calc(var(--header-h) + 12px); }
  .bn-h1 { font-size: clamp(30px, 9.5vw, 46px); }
  .bn-head--hub .bn-h1 { font-size: clamp(36px, 12vw, 56px); }
  .bn-intro { font-size: 15px; }
  .bn-head--event, .bn-head--fight, .bn-head--control { padding: 16px; }
  .bn-head-actions .bn-btn { flex: 1 1 auto; }
  .bn-fight-name { font-size: 16px; }
  .bn-fight-body { gap: 8px; padding: 12px; }
  .bn-fight-side { gap: 8px; }
  .bn-profile { grid-template-columns: minmax(0, 1fr); }
  .bn-series { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bn-series-mid { grid-column: 1 / -1; order: 3; }
  /* the bracket: one round at a time, chosen with the round chips */
  .bn-bracket-wrap > .bn-chips { display: flex; }
  .bn-bracket { grid-template-columns: minmax(0, 1fr); }
  .bn-bracket .bn-round { display: none; }
  .bn-bracket[data-active="1"] .bn-round[data-round="1"], .bn-bracket[data-active="2"] .bn-round[data-round="2"], .bn-bracket[data-active="3"] .bn-round[data-round="3"],
  .bn-bracket[data-active="4"] .bn-round[data-round="4"], .bn-bracket[data-active="5"] .bn-round[data-round="5"], .bn-bracket[data-active="6"] .bn-round[data-round="6"] { display: flex; }
  .bn-round-name { display: none; }
  .bn-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .bn-audit-row, .bn-history > li { grid-template-columns: minmax(0, 1fr); }
  .bn-modal { align-items: flex-end; padding: 0; }
  .bn-dialog { width: 100%; max-height: calc(100dvh - 40px); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .bn-dialog-actions .bn-btn { flex: 1 1 auto; }
  .bn-stats--record .bn-stat b { font-size: 24px; }
  .bn-refgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-lhero { padding-top: 48px; }
  .bn-lhero::before { height: 88px; }
  .bn-liveblock { padding: 14px 12px; }
}
@media (max-width: 380px) {
  .bn-wrap { padding-left: 14px; padding-right: 14px; }
  .bn-fight-body { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .bn-fight-side:last-child { flex-direction: row; text-align: left; }
  .bn-fight-vs { justify-self: start; padding-left: 50px; }
  .bn-tape { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bn-tape-mid { grid-column: 1 / -1; order: 3; }
  .bn-refgrid { grid-template-columns: minmax(0, 1fr); }
  .bn-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-rank-row { grid-template-columns: 30px minmax(0, 1fr); }
  .bn-rank-val { grid-column: 2; align-items: flex-start; text-align: left; }
  .bn-previewbar { font-size: 12.5px; }
  .bn-preview-who { flex-wrap: wrap; }
}
/* a phone on its side: less height for headings */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 480px) {
  .bn-wrap { padding-top: calc(var(--header-h) + 10px); }
  .bn-h1 { font-size: clamp(26px, 6vh, 40px); }
  .bn-head--hub .bn-h1 { font-size: clamp(28px, 8vh, 44px); }
  .bn-intro { font-size: 14px; margin-top: 8px; }
  .bn-stats { margin-top: 12px; }
  .bn-dialog { max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .bn-dot, .bn-section--live .bn-h2::before, .bn-ring-call .bn-ic, .bn-skel-row { animation: none; }
  .bn-toast, .bn-modal, .bn-event { transition: none; animation: none; }
  .bn-hold.is-holding .bn-hold-fill { transition-duration: 1ms; }
}

/* ------------------------------------------------------------------------------------------------ phone refinements */
@media (max-width: 760px) {
  /* the preview bar: two short rows instead of a block */
  .bn-previewbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag text reset" "who who who"; gap: 8px 10px; padding: 8px 10px; font-size: 12.5px; }
  .bn-preview-tag { grid-area: tag; }
  .bn-preview-text { grid-area: text; align-self: center; line-height: 1.3; }
  .bn-preview-who { grid-area: who; display: flex; }
  .bn-preview-who-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .bn-preview-who { width: 100%; }
  .bn-preview-who-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .bn-preview-who-r { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* a live fight: WATCH right under the heading, the tale of the tape after it */
  .bn-fight-main.is-live .bn-fight-actions { order: -1; }
  .bn-preview-reset { grid-area: reset; }
  /* actions in pairs; copy-link as an icon */
  .bn-head-actions .bn-btn, .bn-fight-actions .bn-btn { flex: 1 1 140px; }
  .bn-head-actions .bn-btn--copy, .bn-fight-actions .bn-btn--copy { flex: 0 0 44px; padding: 0; }
  .bn-btn--copy > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .bn-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 0; }
  .bn-stat { padding: 8px 8px; }
  .bn-stat b { font-size: 22px; }
  .bn-stat span { font-size: 12px; }
  .bn-lhero .bn-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bn-profile { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .bn-profile > .bn-ava { width: 64px; height: 64px; font-size: 22px; }
  .bn-profile .bn-h1 { font-size: clamp(28px, 8.5vw, 42px); }
  .bn-profile-id .bn-intro, .bn-profile-id .bn-head-meta, .bn-profile-id .bn-head-actions { grid-column: 1 / -1; }
  .bn-head--fight .bn-h1 { font-size: clamp(24px, 7vw, 36px); }
  .bn-head--fight .bn-head-badges { margin-top: 10px; }
  .bn-tape { gap: 8px; padding: 12px 10px; }
  .bn-tape .bn-ava--xl { width: 56px; height: 56px; font-size: 20px; }
  .bn-tape-name { font-size: clamp(16px, 5vw, 22px); }
  .bn-fight-metarow { margin-top: 0; }
  .bn-fight-actions .bn-btn--live, .bn-fight-actions .bn-btn--primary, .bn-head-actions .bn-btn--live { flex-basis: 100%; }
  .bn-liveblock-head .bn-h2 { flex: 1 1 100%; }
}
.bn-liveblock-head > .bn-btn { order: 3; }

/* small and short phones (320x568, 280x653, a zoomed phone): the main action stays on the first screen */
@media (max-width: 760px) and (max-height: 700px) {
  .bn-previewbar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag who reset"; padding: 6px 8px; margin-bottom: 12px; }
  .bn-preview-text, .bn-preview-who-r { display: none; }
  .bn-preview-who { min-height: 40px; padding: 0 10px; }
  .bn-wrap { padding-top: calc(var(--header-h) + 8px); }
  .bn-view { gap: 22px; }
  .bn-h1 { font-size: clamp(26px, 8vw, 34px); margin-top: 6px; }
  .bn-head--hub .bn-h1 { font-size: clamp(30px, 10vw, 40px); }
  .bn-back { margin-bottom: 4px; min-height: 28px; }
  .bn-head--event, .bn-head--fight, .bn-head--control { padding: 12px; }
  .bn-head-badges, .bn-head-meta { margin-top: 8px; }
  .bn-head-actions { margin-top: 12px; gap: 8px; }
  .bn-intro { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 6px; font-size: 14px; }
  .bn-head--control .bn-intro, .bn-head--hub .bn-intro { display: none; }
  .bn-search--hero { margin-top: 12px; }
  .bn-lhero { padding-top: 34px; gap: 10px; }
  .bn-lhero::before { height: 64px; }
  .bn-lhero .bn-logo--xl { width: 56px; height: 56px; font-size: 20px; border-radius: 16px; }
  .bn-lhero-id { gap: 8px 12px; }
  .bn-lhero .bn-note { display: none; }
  .bn-toolbar { gap: 8px; }
  .bn-section { gap: 10px; }
  .bn-ring { gap: 8px; padding: 12px; }
  .bn-tape { padding: 10px; }
  .bn-head { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .bn-head > .bn-back, .bn-head > .bn-kicker, .bn-head > .bn-intro, .bn-head > .bn-head-meta, .bn-head > .bn-head-actions, .bn-head > .bn-search, .bn-head > .bn-stats { flex-basis: 100%; }
  .bn-head > .bn-h1 { flex: 0 1 auto; min-width: 0; }
  .bn-head > .bn-head-badges { margin-top: 6px; }
  .bn-view--control .bn-section--live > .bn-section-head { display: none; }
  .bn-view--control .bn-ring { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 10px 12px; }
  .bn-view--control .bn-ring > .bn-ring-head { grid-column: 1; }
  .bn-view--control .bn-ring > .bn-ring-head .bn-pill { margin-left: 0; }
  .bn-view--control .bn-ring > .bn-ring-fight, .bn-view--control .bn-ring > .bn-ring-next { grid-column: 2; font-size: 16px; }
  .bn-view--control .bn-ring > .bn-ring-meta { display: none; }
  .bn-view--control .bn-ring > .bn-row { grid-column: 1 / -1; }
}

/* a phone on its side: about 220 px under the bars - the main action stays on the first screen */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 480px) {
  .bn-wrap { display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 8px); }
  .bn-content { order: 1; }
  .bn-previewbar { order: 2; margin: 28px 0 0; }
  .bn-view { gap: 18px; }
  .bn-head .bn-kicker, .bn-intro, .bn-head .bn-head-meta, .bn-profile-id .bn-head-meta, .bn-lhero .bn-note { display: none; }
  .bn-back { margin-bottom: 2px; min-height: 28px; }
  .bn-backrow { margin-bottom: -10px; }
  .bn-h1 { font-size: clamp(22px, 7vh, 30px); margin-top: 0; }
  .bn-head--hub .bn-h1 { font-size: clamp(24px, 8vh, 34px); }
  .bn-head--event, .bn-head--fight, .bn-head--control { padding: 10px 12px; }
  .bn-head-badges { margin-top: 6px; }
  .bn-head-actions { margin-top: 10px; gap: 8px; }
  .bn-search--hero { margin-top: 10px; }
  .bn-lhero { padding-top: 30px; gap: 8px; }
  .bn-lhero::before { height: 56px; }
  .bn-lhero .bn-logo--xl { width: 52px; height: 52px; font-size: 18px; border-radius: 14px; }
  .bn-lhero-id { gap: 8px 12px; }
  .bn-tabpanel > .bn-note { font-size: 12.5px; }
  /* headings: the title and its status on one line */
  .bn-head { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .bn-head > .bn-back, .bn-head > .bn-head-actions, .bn-head > .bn-search, .bn-head > .bn-stats { flex-basis: 100%; }
  .bn-head > .bn-h1 { flex: 0 1 auto; min-width: 0; }
  .bn-head > .bn-head-badges { margin-top: 0; }
  .bn-toolbar .bn-search { flex-basis: 200px; }
  /* Control Room: a ring is its name and fight on one line, its actions under them */
  .bn-view--control .bn-section--live > .bn-section-head { display: none; }
  .bn-view--control .bn-ring { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 10px 12px; }
  .bn-view--control .bn-ring > .bn-ring-head { grid-column: 1; }
  .bn-view--control .bn-ring > .bn-ring-head .bn-pill { margin-left: 0; }
  .bn-view--control .bn-ring > .bn-ring-fight, .bn-view--control .bn-ring > .bn-ring-next { grid-column: 2; }
  .bn-view--control .bn-ring > .bn-ring-meta { display: none; }
  .bn-view--control .bn-ring > .bn-row { grid-column: 1 / -1; }
  .bn-view--control .bn-ring-fight { font-size: 17px; }
}

/* a live fight: WATCH first on every screen, the tale of the tape after it; the fight title stays moderate */
.bn-fight-main.is-live .bn-fight-actions { order: -1; }
.bn-head--fight .bn-h1, .bn-head--control .bn-h1 { font-size: clamp(28px, 4.2vw, 54px); }

/* Moderation actions stay secondary to watching, fighting and league management. */
.bn-report { color: var(--text-3); border-style: dashed; }
.bn-report:hover { color: var(--text); }
.bn-clip-report-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bn-clip-report-wrap .bn-clip { flex: 1 1 auto; }
.bn-clip-report-wrap > .bn-report { align-self: flex-end; min-height: 34px; font-size: 12px; }
.bn-clip-report-inline { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bn-clip-report-inline .bn-report { min-height: 40px; }
.bn-platform-penalty { padding: 16px 20px; border: 1px solid rgba(255,75,75,.66); border-left: 4px solid var(--red); border-radius: var(--radius-lg);
  background: linear-gradient(110deg,rgba(145,12,22,.2),rgba(19,15,18,.95)); color: var(--text); }
.bn-platform-penalty strong, .bn-platform-tag { color: #ff8787; font: 700 13px/1.3 var(--font-mono); letter-spacing: .06em; }
.bn-platform-penalty p { margin: 8px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.bn-appeal-status { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.bn-appeal-status strong { font-size: 14px; }
.bn-appeal-status p { margin: 6px 0 0; color: var(--text-2); overflow-wrap: anywhere; }
.bn-appeals { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,320px),1fr)); gap: 12px; }
.bn-appeal-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 16px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: rgba(255,255,255,.035); }
.bn-appeal-card > p { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 460px) { .bn-platform-penalty { padding: 12px 14px; } .bn-clip-report-wrap > .bn-report { min-height: 40px; } }
