/* Broadcast treatment for the fight detail. All portrait pixels come from FighterRef.avatar. */
.bn-head--fight {
  overflow: hidden;
  border-top: 3px solid var(--red);
  background:
    radial-gradient(ellipse 48% 95% at 0% 10%, rgba(55, 111, 231, .15), transparent 80%),
    radial-gradient(ellipse 45% 100% at 100% 5%, rgba(255, 56, 56, .16), transparent 80%),
    #101116;
}
.bn-head--fight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,.018) 89px 90px);
  pointer-events: none;
}
.bn-head--fight > * { position: relative; }
.bn-fight-head-hud {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding: 16px 20px;
  border: 1px solid rgba(255,56,56,.36);
  border-radius: var(--radius);
  background: rgba(5,6,8,.7);
}
.bn-fight-head-hud .bn-clock { color: #fff; font-size: 24px; }
.bn-fight-primary { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-fight-primary .bn-btn { min-width: 196px; }
.bn-fight-main.is-live .bn-fight-actions { order: 0; }
.bn-tape--broadcast {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #101115;
}
.bn-tape-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, .38fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 260px;
  background:
    radial-gradient(ellipse 48% 120% at 0% 55%, rgba(59, 116, 250, .2), transparent 80%),
    radial-gradient(ellipse 48% 120% at 100% 55%, rgba(255, 56, 56, .2), transparent 80%),
    linear-gradient(180deg, #171920, #090a0d);
}
.bn-tape--broadcast .bn-tape-side {
  position: relative;
  justify-content: center;
  padding: clamp(14px, 2.7vw, 30px);
}
.bn-tape--broadcast .bn-tape-side--blue { box-shadow: inset 4px 0 #467eff; }
.bn-tape--broadcast .bn-tape-side--red { box-shadow: inset -4px 0 var(--red); }
.bn-tape--broadcast .bn-ava--xl { width: clamp(84px, 10vw, 142px); height: clamp(84px, 10vw, 142px); }
.bn-tape--broadcast .bn-tape-name { max-width: 100%; font-size: clamp(24px, 3.7vw, 52px); }
.bn-tape-corner { color: #9abaff; font: 700 12px/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.bn-tape-side--red .bn-tape-corner { color: #ff8585; }
.bn-tape-record { color: #fff; font: 700 20px/1 var(--font-mono); }
.bn-tape--broadcast .bn-tape-mid {
  justify-content: center;
  align-self: stretch;
  padding: 16px 10px;
  background: linear-gradient(90deg, transparent, rgba(3,4,6,.66) 35%, rgba(3,4,6,.66) 65%, transparent);
}
.bn-tape--broadcast .bn-tape-vs { color: #fff; font-size: clamp(34px, 4vw, 64px); }
.bn-tape--broadcast .bn-tape-result { color: var(--gold); }
.bn-tape-metrics { display: grid; gap: 0; padding: 12px clamp(14px, 3vw, 32px) 18px; background: #0c0d10; }
.bn-tape-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, .68fr) minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bn-tape-metric:last-child { border-bottom: 0; }
.bn-tape-val { min-width: 0; color: #d5e1ff; font: 700 clamp(16px, 1.75vw, 24px)/1.15 var(--font-display); overflow-wrap: anywhere; }
.bn-tape-metric > :last-child { justify-self: end; text-align: right; color: #ffc0c0; }
.bn-tape-label { color: var(--text-3); font: 700 12px/1.3 var(--font-mono); letter-spacing: .05em; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.bn-tape-form { display: flex; flex-wrap: wrap; gap: 4px; }
.bn-tape-metric > .bn-tape-form:last-child { justify-content: flex-end; }
.bn-tape-form-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font: 700 12px/1 var(--font-mono); }
.bn-tape-form-dot.is-win { background: #28734b; }
.bn-tape-form-dot.is-loss { background: #8e3030; }
.bn-tape-form-dot.is-draw { background: #59606d; }
.bn-tape-metric--title .bn-tape-val { font-size: 16px; }
.bn-fight-result-banner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid rgba(233,185,73,.45);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(233,185,73,.14), rgba(233,185,73,.025));
}
.bn-fight-result-kicker { color: var(--gold); font: 700 12px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.bn-fight-result-banner > b { font: 700 clamp(20px, 2.7vw, 32px)/1.1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .bn-fight-head-hud { display: none; }
  .bn-fight-primary .bn-btn { width: 100%; }
  .bn-tape-stage { grid-template-columns: repeat(2, minmax(0,1fr)); min-height: 0; }
  .bn-tape--broadcast .bn-tape-side { padding: 15px 9px 10px; gap: 6px; }
  .bn-tape--broadcast .bn-ava--xl { width: 66px; height: 66px; }
  .bn-tape--broadcast .bn-tape-name { font-size: clamp(19px, 5.1vw, 27px); }
  .bn-tape-corner { font-size: 12px; letter-spacing: .02em; }
  .bn-tape-record { font-size: 16px; }
  .bn-tape--broadcast .bn-tape-mid { grid-column: 1 / -1; order: 3; flex-direction: row; flex-wrap: wrap; min-height: 50px; padding: 8px; gap: 8px 14px; border-top: 1px solid var(--line); }
  .bn-tape--broadcast .bn-tape-vs { font-size: 26px; }
  .bn-tape-metrics { padding: 8px 12px 12px; }
  .bn-tape-metric { grid-template-columns: minmax(0,1fr) minmax(92px,.8fr) minmax(0,1fr); min-height: 37px; }
  .bn-tape-label { font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 380px) {
  .bn-tape--broadcast .bn-tape-name { font-size: 19px; }
  .bn-tape--broadcast .bn-ava--xl { width: 56px; height: 56px; }
  .bn-tape-metric { grid-template-columns: minmax(0,1fr) minmax(76px,.8fr) minmax(0,1fr); gap: 4px; }
  .bn-tape-label { font-size: 12px; }
  .bn-tape-metric--title .bn-tape-val { font-size: 13px; }
}
@media (max-width: 380px) and (max-height: 700px) {
  .bn-fight-primary + .bn-tape--broadcast { margin-top: 38px; }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 480px) {
  .bn-fight-head-hud { display: none; }
  .bn-tape-stage { min-height: 0; }
  .bn-tape--broadcast .bn-tape-side { padding: 8px 12px; gap: 3px; }
  .bn-tape--broadcast .bn-ava--xl { width: 52px; height: 52px; }
  .bn-tape--broadcast .bn-tape-corner { order: -2; }
  .bn-tape--broadcast .bn-tape-name { order: -1; font-size: 22px; }
  .bn-tape-metrics { padding: 5px 12px; }
}
