/* Real game film/replay posters in Network. The visible sample label separates them from mock fight identities. */
.bn-net-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bn-clip-thumb.has-game-frame { overflow: hidden; }
.bn-clip-thumb.has-game-frame::after,
.bn-net-replay-thumb.has-game-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(4, 5, 8, .64), transparent 58%);
  pointer-events: none;
}
.bn-clip-thumb > .bn-ic,
.bn-clip-thumb > b,
.bn-net-replay-thumb > .bn-ic { position: relative; z-index: 2; }
.bn-net-media-label {
  color: var(--text-3);
  font: 600 12px/1.25 var(--font-body);
  overflow-wrap: anywhere;
}
.bn-net-media-label[hidden] { display: none; }
.bn-art-source { display: inline-flex; align-items: center; width: fit-content; max-width: calc(100% - 24px); padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 5px; background: rgba(4,5,8,.76); color: #fff;
  font: 700 12px/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.bn-head.has-poster > .bn-art-source, .bn-event.has-poster > .bn-art-source, .bn-league.has-banner > .bn-art-source,
.bn-lhero > .bn-art-source { position: absolute; z-index: 2; top: 12px; right: 12px; }
.bn-lhero > .bn-art-source { top: 12px; }
@media(min-width:761px) { .bn-head.has-poster > .bn-art-source { top: auto; bottom: 12px; } }
.bn-replay--media {
  flex: 1 1 240px;
  width: min(100%, 360px);
  min-height: 70px;
  padding: 6px;
  border-radius: var(--radius);
  text-decoration: none;
}
.bn-net-replay-thumb {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 98px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(145deg, #30191d, #12141a);
  color: #fff;
}
.bn-net-replay-thumb > .bn-ic { width: 24px; height: 24px; }
.bn-net-replay-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bn-net-replay-copy > b { font: 700 16px/1.15 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.bn-card-feature { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; min-width: 0; }
.bn-card-feature + .bn-card-feature, .bn-card-feature + .bn-card-undercard { margin-top: 12px; }
.bn-card-feature-label { display: block; width: fit-content; padding: 6px 12px; border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255,56,56,.16); color: #ffc5c5; font: 700 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.bn-card-feature .bn-fight { border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); max-width: none; }
.bn-card-feature--main .bn-fight { border-color: rgba(255,56,56,.52); background: radial-gradient(circle at 50% -40%,rgba(255,56,56,.19),transparent 65%),#111014; }
.bn-card-feature--main .bn-fight-body { min-height: 112px; }
.bn-card-feature--main .bn-fight-name { font-size: clamp(23px,2.4vw,34px); }
.bn-card-feature--main .bn-ava { width: 50px; height: 50px; }
.bn-card-feature--comain .bn-card-feature-label { background: rgba(233,185,73,.14); color: var(--gold); }
.bn-card-feature--comain .bn-fight { border-color: rgba(233,185,73,.32); }
.bn-card-undercard { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.bn-card-undercard .bn-fight { max-width: none; }
.bn-upcoming-line { align-items: start; }
.bn-grid--open:has(> :only-child) { grid-template-columns: minmax(0,min(100%,720px)); justify-content: center; }
.bn-view--control .bn-grid--rings { grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.bn-view--control .bn-ring .bn-btn--danger { background: transparent; border-color: rgba(255,56,56,.28); color: #d9a0a0; box-shadow: none; }
.bn-view--newEvent .bn-form--page .bn-input:focus, .bn-view--newEvent .bn-form--page .bn-input:focus-visible {
  outline: 2px solid #fff !important; outline-offset: 2px;
}
.bn-view--newEvent .bn-form--page .bn-input.is-focused { outline: 2px solid #fff !important; outline-offset: 2px; }
.bn-view--newEvent .bn-form--page .bn-field:focus-within { outline: 2px solid rgba(255,255,255,.85); outline-offset: 3px; }
.bn-grid--leagues .bn-league.is-featured { grid-column: span 2; min-height: 300px; justify-content: flex-end; border-color: rgba(255,56,56,.42); }
.bn-grid--leagues .bn-league.is-featured h3 { font-size: clamp(26px,2.6vw,42px); line-height: 1.03; }
.bn-grid--leagues .bn-league.is-featured .bn-league-desc { max-width: 60ch; }
@media(max-width:760px) { .bn-grid--leagues .bn-league.is-featured { grid-column: auto; min-height: 220px; } }
@media(max-width:760px) { .bn-card-undercard { grid-template-columns: 1fr; } .bn-card-feature--main .bn-fight-body { min-height: 0; } }
@media(max-width:760px) and (min-height:501px) { .bn-head--event.has-poster { min-height: 340px; } }
@media(max-width:380px) and (max-height:650px) {
  .bn-view--staffOps { gap: 12px; }
  .bn-view--league .bn-lhero { padding-top: 22px; gap: 7px; }
}
@media(max-width:460px) { .bn-preview-who-r { display: none; } .bn-preview-who { flex: 1 1 100%; } }
@media(max-width:760px) {
  .bn-modal { padding-bottom: var(--tab-space,62px); }
  .bn-dialog { max-height: calc(100dvh - var(--tab-space,62px) - 16px); }
  .bn-page .bn-tier { min-height: 23px; height: auto; font-size: 12px; }
  .bn-page .bn-pill,.bn-page .bn-owner,.bn-page .bn-verified,.bn-page .bn-titlefight,.bn-page .bn-count { font-size: 12px; }
}
@media (max-width: 380px) {
  .bn-replay--media { width: 100%; }
  .bn-net-replay-thumb { width: 82px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 920px) {
  .bn-head--hub.has-poster, .bn-head--event.has-poster { min-height: 220px; padding: 12px 18px; }
  .bn-head--hub.has-poster .bn-h1, .bn-head--event.has-poster .bn-h1 { font-size: clamp(28px, 7vh, 42px); }
  .bn-head.has-poster .bn-intro { display: none; }
  .bn-head.has-poster .bn-head-actions { margin-top: 8px; }
  .bn-head.has-poster > .bn-art-source { top: 8px; right: 8px; }
  .bn-view--hub > .bn-search--hero { margin-top: -16px; }
  .bn-view--rivalry .bn-head .bn-back { margin-bottom: 0; }
  .bn-view--rivalry .bn-head .bn-h1 { font-size: clamp(24px,7vh,32px); }
  .bn-view--rivalry .bn-series { grid-template-columns: minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr); gap: 5px; padding: 8px 10px; }
  .bn-view--rivalry .bn-series-side { flex-direction: row; justify-content: center; gap: 6px; }
  .bn-view--rivalry .bn-series-side .bn-ava { width: 38px; height: 38px; font-size: 13px; }
  .bn-view--rivalry .bn-series-name { font-size: clamp(15px,2.6vw,19px); }
  .bn-view--rivalry .bn-series-wins { font-size: 24px; }
  .bn-view--rivalry .bn-series-mid { grid-column: auto; order: 0; gap: 2px; font-size: 11px; }
  .bn-view--rivalry .bn-series-mid .bn-kicker { display: none; }
  .bn-view--league .bn-lhero { padding-top: 16px; gap: 6px; }
}

/* on a card the source of the picture is a quiet footnote in its corner, not a badge beside the event's own labels
   (the preview bar already says the data is a sample) */
.bn-event.has-poster > .bn-art-source, .bn-league.has-banner > .bn-art-source { top: 10px; right: 12px; padding: 0; border: 0; background: none;
  box-shadow: none; font-size: 10px; letter-spacing: .8px; color: #ffffff80; text-shadow: 0 1px 6px #000; }
