/*
 * The pages of the site structure (network-pages-site.js): TURNIEJE with the official cycle's hero, RANKING, search;
 * the preview's settings. Mobile first; nothing is ever wider than the screen (no sideways scroll at 280 px).
 * Tokens from style.css (--red, --gold, --text*, --line*, --radius, --font-*). Unity preprocesses template files:
 * never three curly braces in a row here.
 */

/* ------------------------------------------------------------------------------------------------ shared */
.bn-tier[data-tier="ruby"] { color: #ff4d7a; }
.bn-btn--gold { background: linear-gradient(180deg, #ffd54a 0%, #e9b949 100%); border-color: rgba(0, 0, 0, 0.18); color: #1a1305;
  box-shadow: 0 10px 30px rgba(233, 185, 73, 0.28); }
.bn-btn--gold:hover { background: linear-gradient(180deg, #ffe07a 0%, #f0c55c 100%); }
.bn-tabs--site .bn-tab { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.bn-embed-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* the preview bar: its settings button; real data: a note and the way back */
.bn-preview-settings { flex: none; }
.bn-previewbar--real { border-color: rgba(110, 168, 255, 0.45); background: rgba(110, 168, 255, 0.07); }
.bn-preview-tag--real { background: #6ea8ff; color: #06121f; }
@media (max-width: 760px) {
  .bn-previewbar:not(.bn-previewbar--real) { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "tag text settings reset" "who who who who"; }
  .bn-preview-settings { grid-area: settings; }
  .bn-previewbar--real { display: flex; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .bn-previewbar:not(.bn-previewbar--real) { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "tag who settings reset"; }
}

/* ------------------------------------------------------------------------------------------------ TURNIEJE: the cycle */
.bn-cycle { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line-2); border-radius: calc(var(--radius) * 1.6);
  background: #07080b; min-height: clamp(420px, 44vw, 640px); display: flex; align-items: stretch; }
.bn-cycle-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.bn-cycle::after { content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.86) 38%, rgba(5, 6, 8, 0.42) 70%, rgba(5, 6, 8, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0) 45%),
    radial-gradient(900px 420px at 0% 0%, rgba(233, 185, 73, 0.16), transparent 60%); }
.bn-cycle--C::after { background: linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.85) 42%, rgba(5, 6, 8, 0.45) 100%),
  radial-gradient(900px 480px at 0% 0%, rgba(255, 56, 56, 0.22), transparent 60%); }
.bn-cycle > .bn-art-source { position: absolute; right: 12px; bottom: 10px; z-index: 1; }
.bn-cycle-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; width: 100%; padding: clamp(20px, 3.4vw, 48px); align-content: end; }
@media (min-width: 1000px) {
  .bn-cycle-in { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: start; column-gap: clamp(24px, 4vw, 64px); }
  .bn-cycle-in > .bn-cycle-side { position: sticky; top: 16px; margin-top: clamp(0px, 4vw, 56px); }
}
.bn-cycle-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 760px; }
.bn-cycle-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.bn-cycle-title { margin: 0; font: 700 clamp(38px, 7.2vw, 96px)/0.94 var(--font-display); letter-spacing: 0.005em; text-transform: uppercase;
  color: #fff; overflow-wrap: anywhere; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55); }
.bn-cycle-title--monthly { font-size: clamp(34px, 5.4vw, 74px); }
.bn-cycle-title-m { display: block; margin-top: 0.1em; color: var(--gold); font-size: 0.56em; letter-spacing: 0.04em; }
.bn-cycle--D .bn-cycle-title--monthly { font-size: clamp(30px, 4.4vw, 60px); }
.bn-cycle-when { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-2); font: 600 15px/1.3 var(--font-body); }
.bn-cycle-when .bn-ic { color: var(--gold); }
.bn-cycle-live { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--red); font: 700 16px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.bn-cycle-live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); animation: bn-cycle-pulse 1.6s infinite; }
@keyframes bn-cycle-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.bn-cycle-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.bn-cycle-count-l { color: var(--text-3); font: 700 12px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.bn-cycle-count-n { font: 700 clamp(28px, 4.4vw, 52px)/1 var(--font-mono); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bn-cycle-count--sm .bn-cycle-count-n { font-size: clamp(20px, 2.4vw, 26px); }
.bn-cycle-cap { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.bn-cycle-cap-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bn-cycle-cap-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e9b949, #ffd54a); }
.bn-cycle-cap-l { color: var(--text-2); font: 600 13px/1 var(--font-mono); }
.bn-cycle-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-cycle-cta { min-height: 54px; padding: 0 24px; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.bn-cycle-yes { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #7ee2a8; font: 700 15px/1.2 var(--font-body); }
.bn-cycle-yes .bn-ic { color: #7ee2a8; }
.bn-cycle-signed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.bn-cycle-note { max-width: 560px; }
.bn-cycle-pending { padding: 10px 12px; border: 1px dashed rgba(110, 168, 255, 0.5); border-radius: var(--radius); color: #cfe0ff; background: rgba(110, 168, 255, 0.07); }
.bn-cycle-champ { margin: 0; color: var(--gold); font: 700 clamp(18px, 2.4vw, 26px)/1.1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }

/* the rewards: gold, silver, bronze */
.bn-rewards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; max-width: 640px; }
.bn-reward { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(8, 9, 12, 0.62); }
.bn-reward--gold { border-color: rgba(233, 185, 73, 0.55); }
.bn-reward--silver { border-color: rgba(205, 210, 220, 0.4); }
.bn-reward--bronze { border-color: rgba(214, 144, 90, 0.45); }
.bn-reward-place { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font: 700 15px/1 var(--font-display); color: #14100a; }
.bn-reward--gold .bn-reward-place { background: linear-gradient(180deg, #ffd54a, #c79a3a); }
.bn-reward--silver .bn-reward-place { background: linear-gradient(180deg, #eef1f6, #9aa3b1); }
.bn-reward--bronze .bn-reward-place { background: linear-gradient(180deg, #f0b07c, #9a5a2c); }
.bn-reward-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-reward-tx b { font: 700 15px/1.1 var(--font-mono); color: #fff; }
.bn-reward-tx span { color: var(--text-3); font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.bn-reward-q { color: var(--gold) !important; }
@media (max-width: 460px) {
  .bn-rewards { grid-template-columns: minmax(0, 1fr); }
}

/* the other half of the cycle: the Monthly as the month's goal, or the next Weekly Cup */
.bn-cycle-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; border: 1px solid rgba(233, 185, 73, 0.42); border-radius: calc(var(--radius) * 1.3);
  background: linear-gradient(160deg, rgba(233, 185, 73, 0.16), rgba(10, 11, 14, 0.82) 55%); color: var(--text); text-decoration: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color 0.16s, transform 0.16s; }
a.bn-cycle-side:hover { border-color: rgba(233, 185, 73, 0.8); transform: translateY(-2px); }
a.bn-cycle-side:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bn-cycle-side--weekly { border-color: rgba(255, 255, 255, 0.22); background: linear-gradient(160deg, rgba(255, 56, 56, 0.14), rgba(10, 11, 14, 0.84) 55%); }
.bn-cycle-side-k { color: var(--gold); font: 700 11.5px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.bn-cycle-side--weekly .bn-cycle-side-k { color: #ff8a8a; }
.bn-cycle-side-t { font: 700 clamp(20px, 2.2vw, 28px)/1.02 var(--font-display); letter-spacing: 0.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.bn-cycle-side-w, .bn-cycle-side-m { color: var(--text-2); font-size: 13.5px; line-height: 1.35; }
.bn-cycle-side-live { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font: 700 14px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.bn-cycle-side-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: bn-cycle-pulse 1.6s infinite; }
.bn-cycle-side-go { margin-top: 4px; color: #fff; font: 600 13px/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; }
.bn-cycle-side-go::after { content: " \203A"; }

/* how it works, who qualified, the podium */
.bn-how { max-width: 620px; border-top: 1px solid var(--line); padding-top: 10px; }
.bn-how summary { cursor: pointer; color: var(--text-2); font: 600 14px/1.4 var(--font-body); min-height: 32px; }
.bn-how summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-how ol { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.bn-cycle-q { display: flex; flex-direction: column; gap: 8px; }
.bn-h3 { margin: 0; font: 700 14px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.bn-qualified { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-qualified li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; min-width: 0; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8, 9, 12, 0.6); }
@media (min-width: 640px) {
  .bn-qualified { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bn-cycle-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; max-width: 640px; }
.bn-cycle-podium-p { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 14px 8px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: rgba(8, 9, 12, 0.7); text-align: center; }
.bn-cycle-podium-p--1 { order: 2; padding-top: 22px; border-color: rgba(233, 185, 73, 0.7); background: linear-gradient(180deg, rgba(233, 185, 73, 0.2), rgba(8, 9, 12, 0.8)); }
.bn-cycle-podium-p--2 { order: 1; }
.bn-cycle-podium-p--3 { order: 3; }
.bn-cycle-podium-n { font: 700 22px/1 var(--font-display); color: var(--text-3); }
.bn-cycle-podium-p--1 .bn-cycle-podium-n { color: var(--gold); font-size: 30px; }
.bn-cycle-podium-p .bn-fighter { flex-direction: column; justify-content: center; text-align: center; max-width: 100%; }
.bn-cycle-podium-p .bn-fighter-txt { align-items: center; }

/* the live bracket in the hero: rounds side by side on computers, one under the other on phones */
.bn-minibracket { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 760px; }
@media (min-width: 760px) {
  .bn-minibracket { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
.bn-minibracket-col { display: flex; flex-direction: column; justify-content: space-around; gap: 6px; min-width: 0; }
.bn-minibracket-l { color: var(--text-3); font: 700 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.bn-minibracket-m { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(8, 9, 12, 0.72); color: var(--text-2); text-decoration: none; }
a.bn-minibracket-m:hover { border-color: var(--line-3); }
a.bn-minibracket-m:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-minibracket-m.is-live { border-color: rgba(255, 56, 56, 0.7); box-shadow: 0 0 0 1px rgba(255, 56, 56, 0.25), 0 0 26px rgba(255, 56, 56, 0.18); }
.bn-minibracket-m > .bn-dot { position: absolute; top: 8px; right: 8px; }
.bn-minibracket-p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13.5px/1.35 var(--font-body); }
.bn-minibracket-p.is-win { color: #fff; font-weight: 700; }

/* the cycle in one line (TURNIEJE's other tabs) */
.bn-cstrip { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-cstrip-item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; flex: 1 1 280px; min-width: 0; min-height: 52px; padding: 8px 14px;
  border: 1px solid rgba(233, 185, 73, 0.4); border-radius: var(--radius); background: linear-gradient(90deg, rgba(233, 185, 73, 0.12), rgba(10, 11, 14, 0.6));
  color: var(--text); text-decoration: none; }
a.bn-cstrip-item:hover { border-color: rgba(233, 185, 73, 0.75); }
a.bn-cstrip-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-cstrip-item .bn-ic { color: var(--gold); }
.bn-cstrip-item b { font: 700 16px/1.1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }
.bn-cstrip-item > span { color: var(--text-2); font: 600 13px/1.3 var(--font-mono); }
.bn-cstrip-item .bn-cycle-count { gap: 2px 8px; }
.bn-cstrip-item.is-live { border-color: rgba(255, 56, 56, 0.6); background: linear-gradient(90deg, rgba(255, 56, 56, 0.14), rgba(10, 11, 14, 0.6)); }
.bn-cstrip-live { color: var(--red) !important; letter-spacing: 0.12em; text-transform: uppercase; }

/* sign-ups per division (event page of an official cup) */
.bn-divisions { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; max-width: 640px; }
.bn-divisions li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.bn-divisions-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bn-divisions-bar i { display: block; height: 100%; border-radius: 999px; background: currentColor; }
.bn-divisions-bar i[data-tier="bronze"] { color: #d6905a; } .bn-divisions-bar i[data-tier="silver"] { color: #cdd2dc; }
.bn-divisions-bar i[data-tier="gold"] { color: #f5b041; } .bn-divisions-bar i[data-tier="platinum"] { color: #7fd4c8; }
.bn-divisions-bar i[data-tier="diamond"] { color: #6ea8ff; } .bn-divisions-bar i[data-tier="ruby"] { color: #ff4d7a; }
.bn-divisions b { text-align: right; font: 700 14px/1 var(--font-mono); }
#bn-e-official .bn-rewards, #bn-e-official .bn-cycle-podium { margin-bottom: 6px; }

/* TURNIEJE: the owner filter and the organize button, the tab's sections */
.bn-trtools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.bn-trtools-select { display: none; flex: 1 1 160px; min-width: 0; }
.bn-trtools-select .bn-input { width: 100%; min-height: 44px; }
@media (max-width: 760px) {
  .bn-trtools { flex-wrap: nowrap; }
  .bn-trtools-chips { display: none; }
  .bn-trtools-select { display: block; }
  .bn-trtools > .bn-btn { flex: none; }
  /* the cycle in one line: the Weekly Cup only (the Monthly is one tap away on the first tab) */
  .bn-cstrip-item + .bn-cstrip-item { display: none; }
  .bn-cstrip-item { min-height: 46px; padding: 6px 12px; }
}
.bn-trbody { display: flex; flex-direction: column; gap: 30px; }

/* ------------------------------------------------------------------------------------------------ RANKING */
.bn-rk-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 14px; }
.bn-src--game { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgba(126, 226, 168, 0.5); border-radius: 6px; color: #7ee2a8;
  font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.bn-rk { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.bn-rk-head, .bn-rk-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) repeat(6, 58px); align-items: center; gap: 8px; padding: 0 12px; }
.bn-rk-head { min-height: 40px; color: var(--text-3); }
.bn-rk-h { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 36px; padding: 0 4px; border: 0; border-radius: 8px; background: none; color: var(--text-3);
  font: 700 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.bn-rk-h--no, .bn-rk-h--f { justify-content: flex-start; cursor: default; }
button.bn-rk-h:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
button.bn-rk-h:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bn-rk-h.is-sorted { color: #fff; }
.bn-rk-h.is-sorted::after { content: " \25BE"; color: var(--red); }
.bn-rk-h.is-off { opacity: 0.35; cursor: not-allowed; }
.bn-rk-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-rk-row { position: relative; min-height: 58px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.015); }
.bn-rk-row.is-top { border-color: rgba(233, 185, 73, 0.3); }
.bn-rk-row.is-me { border-color: rgba(233, 185, 73, 0.85); background: rgba(233, 185, 73, 0.08); }
.bn-rk-row.is-flash { animation: bn-rk-flash 1.4s ease-out; }
@keyframes bn-rk-flash { 0% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0.7); } 100% { box-shadow: 0 0 0 14px rgba(233, 185, 73, 0); } }
.bn-rk-no { font: 700 18px/1 var(--font-display); color: var(--text-3); }
.bn-rk-row.is-top .bn-rk-no { color: var(--gold); }
.bn-rk-f { min-width: 0; }
.bn-rk-c { text-align: right; font: 600 14px/1 var(--font-mono); color: var(--text-2); font-variant-numeric: tabular-nums; }
.bn-rk-c.is-sorted { color: #fff; font-weight: 700; }
.bn-rk-sum { display: none; }
.bn-rk-you { position: absolute; top: -9px; right: 12px; height: 18px; padding: 0 7px; border-radius: 6px; background: var(--gold); color: #1a1305;
  font: 700 10.5px/18px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.bn-fighter--plain { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.bn-rk-results { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bn-rk-results-l { margin: 0; font: 600 15px/1.3 var(--font-body); }
.bn-rk-mine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 14px 0; padding: 12px 14px;
  border: 1px solid rgba(233, 185, 73, 0.5); border-radius: var(--radius); background: rgba(233, 185, 73, 0.06); font: 600 15px/1.3 var(--font-body); }
/* phones and narrow windows: the sort as chips, one row per fighter with the sorted value under the name */
@media (max-width: 900px) {
  .bn-rk-head { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
  .bn-rk-h--no, .bn-rk-h--f { display: none; }
  .bn-rk-h { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; }
  .bn-rk-h.is-sorted { background: #fff; color: #0a0b0e; border-color: #fff; }
  .bn-rk-h.is-sorted::after { content: ""; }
  .bn-rk-row { grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: "no f" "no sum"; row-gap: 4px; padding: 10px 12px; }
  .bn-rk-no { grid-area: no; }
  .bn-rk-f { grid-area: f; }
  .bn-rk-c { display: none; }
  .bn-rk-sum { display: block; grid-area: sum; color: var(--text-2); font: 600 13px/1.3 var(--font-mono); overflow-wrap: anywhere; }
}

/* ------------------------------------------------------------------------------------------------ OGLĄDAJ: nothing on air */
.bn-nextup { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); grid-column: 1 / -1; }
.bn-nextup-l { margin: 0; font: 600 16px/1.4 var(--font-body); color: var(--text); }
.bn-nextup-fight { display: flex; flex-direction: column; gap: 10px; }
.bn-nextup-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------------------------------------ search */
.bn-se-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-se-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-width: 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); }
.bn-search--hero .bn-btn { flex: none; }

/* ------------------------------------------------------------------------------------------------ a phone on its side */
/* about 220 px between the bars: the hero's buttons right under its title, the rest below; the other tabs of
   TURNIEJE keep their filter and drop the cycle's line (the cycle is one tap away on the first tab) */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  .bn-cycle { min-height: 0; }
  .bn-cycle-in { padding: 16px 18px; gap: 14px; }
  .bn-cycle-main { gap: 10px; }
  .bn-cycle-main > * { order: 3; }
  .bn-cycle-main > .bn-cycle-kicker { order: 0; }
  .bn-cycle-main > .bn-cycle-title { order: 1; font-size: clamp(24px, 7vh, 34px); }
  .bn-cycle-main > .bn-cycle-actions, .bn-cycle-main > .bn-cycle-champ { order: 2; }
  .bn-cycle-title-m { display: inline; margin: 0 0 0 0.3em; }
  .bn-cycle-cta { min-height: 44px; font-size: 16px; }
  .bn-cstrip { display: none; }
}

/* ------------------------------------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bn-cycle-live::before, .bn-cycle-side-live::before, .bn-rk-row.is-flash { animation: none; }
  a.bn-cycle-side:hover { transform: none; }
}

/* readability pass (2026-09-29): no XP column outside "all time" (the game has no XP there); "you" sits by the rank */
@media (min-width: 901px) {
  .bn-rk--noxp .bn-rk-head, .bn-rk--noxp .bn-rk-row { grid-template-columns: 44px minmax(0, 1fr) repeat(5, 58px); }
  .bn-rk--noxp .bn-rk-h--xp, .bn-rk--noxp .bn-rk-c--xp { display: none; }
}
.bn-rk-you { right: auto; left: 10px; }
.bn-rk--noxp .bn-rk-h--xp { display: none; }
@media (max-width: 900px) {
  .bn-rk-h { border-radius: 8px; background: #15171c; border-color: #ffffff21; color: #e2e3e8; }
  .bn-rk-h.is-sorted { background: #ff3838; border-color: #ff3838; color: #fff; }
}
