/* battles - lobby, create page and battle page (extends the battle rules in style.css) */

/* ------------------------------------------------------------------ seat / team colours */
.bt-c0 { --tc: #6b84ff; --tcbg: rgba(75, 105, 255, .16); }
.bt-c1 { --tc: #ff6b6b; --tcbg: rgba(239, 59, 59, .16); }
.bt-c2 { --tc: #e4ae39; --tcbg: rgba(228, 174, 57, .16); }
.bt-c3 { --tc: #34d399; --tcbg: rgba(52, 211, 153, .15); }
.bt-c4 { --tc: #b794f6; --tcbg: rgba(167, 139, 250, .16); }
.bt-c5 { --tc: #22d3ee; --tcbg: rgba(34, 211, 238, .15); }
.bt-bg0 { background: #4b69ff; } .bt-bg1 { background: #ef3b3b; } .bt-bg2 { background: #e4ae39; }
.bt-bg3 { background: #34d399; } .bt-bg4 { background: #a78bfa; } .bt-bg5 { background: #22d3ee; }
.bt-tag0 { background: rgba(75, 105, 255, .2); color: #8ea2ff; }
.bt-tag1 { background: rgba(240, 82, 82, .18); color: #ff8a8a; }
.bt-tag2 { background: rgba(228, 174, 57, .18); color: var(--gold); }

/* ------------------------------------------------------------------ mode / option badges */
.bt-mode-normal { background: rgba(75, 105, 255, .18); color: #8ea2ff; }
.bt-mode-crazy { background: rgba(240, 82, 82, .16); color: var(--red); }
.bt-mode-terminal { background: rgba(228, 174, 57, .16); color: var(--gold); }
.bt-mode-shared { background: rgba(52, 211, 153, .15); color: var(--green); }
.bt-mode-jackpot { background: rgba(167, 139, 250, .18); color: #c4b5fd; }
.bt-fast { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.bt-private { background: var(--panel3); color: var(--text); }
.bt-badges { gap: 6px; }

/* ------------------------------------------------------------------ lobby */
.bt-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: -4px 0 14px; }
.bt-stat {
  display: flex; align-items: baseline; gap: 7px; padding: 8px 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line);
}
.bt-stat b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.bt-stat small { color: var(--muted); font-size: 12.5px; }
.bt-filters { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.bt-mode-chips .chip { height: 32px; font-size: 13.5px; }
.bt-filter-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.bt-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bt-field > span { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.bt-field .select { height: 34px; font-size: 14px; }
.bt-range .row { gap: 6px; }
.bt-range .input { width: 96px; }
.bt-filters .input.invalid { border-color: var(--red); }
.bt-joinable { height: 34px; }
.bt-section { margin-top: 22px; }
.bt-section h2 { font-size: 19px; }
.bt-row .br-cost { min-width: 0; }
.bt-live { color: var(--accent); font-weight: 700; }
.bt-live::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  margin-right: 5px; vertical-align: 1px; animation: btPulse 1.4s ease-in-out infinite;
}
@keyframes btPulse { 50% { opacity: .35; } }
.bt-rowbar { height: 4px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin-top: 6px; min-width: 90px; }
.bt-rowbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); }

/* ------------------------------------------------------------------ create page */
.bt-picker-bar { display: flex; gap: 10px; margin-bottom: 12px; }
.bt-picker-bar .input { flex: 1; min-width: 0; }
.bt-picker-bar .select { flex: none; width: auto; max-width: 48%; height: 34px; font-size: 14px; }
.bt-cats { margin-bottom: 10px; }
.bt-cats .chip { height: 30px; font-size: 13px; padding: 0 12px; }
.bt-hint { font-size: 12.5px; margin: 0 0 10px; }
.picker .case-card { position: relative; }
.picker .case-card.bt-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.bt-more { display: flex; justify-content: center; margin-top: 12px; }
.bt-more:empty { display: none; }
.bt-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-cart-empty { text-align: center; padding: 26px 10px; }
.cart-row.bt-gone { outline: 1px dashed var(--red); }
.cart-row .cr-name > div { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 500; }
.cart-row .cr-qty button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; }
.cart-row .cr-qty button:disabled { opacity: .4; cursor: not-allowed; }
.cart:focus { outline: none; }

.bt-formats { display: flex; flex-direction: column; gap: 6px; }
.bt-fmt-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.bt-formats button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0;
  height: 52px; padding: 4px; border-radius: 9px; border: 1px solid var(--line2); background: var(--bg2);
  color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.bt-formats button:hover { color: var(--text); border-color: var(--dim); }
.bt-formats button.active { color: var(--text); border-color: var(--accent); background: rgba(239, 59, 59, .08); }
.bt-fmt-seats { display: flex; gap: 3px; }
.bt-fmt-seats i { width: 7px; height: 7px; border-radius: 50%; opacity: .9; }
.bt-fmt-seats i.t0 { background: #6b84ff; } .bt-fmt-seats i.t1 { background: #ff6b6b; } .bt-fmt-seats i.t2 { background: #e4ae39; }
.bt-fmt-seats i.t3 { background: #34d399; } .bt-fmt-seats i.t4 { background: #b794f6; } .bt-fmt-seats i.t5 { background: #22d3ee; }

.bt-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.bt-mode-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; text-align: left;
  padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line2); background: var(--bg2); cursor: pointer;
  color: var(--text); transition: border-color .15s, background .15s;
}
.bt-mode-btn b { font-size: 13.5px; }
.bt-mode-btn small { font-size: 11.5px; color: var(--muted); line-height: 1.25; }
.bt-mode-btn:hover { border-color: var(--dim); }
.bt-mode-btn.active { border-color: currentColor; background: var(--panel3); }
.bt-mode-btn.active small { color: inherit; opacity: .85; }
.bt-mode-btn.bt-mode-normal, .bt-mode-btn.bt-mode-crazy, .bt-mode-btn.bt-mode-terminal,
.bt-mode-btn.bt-mode-shared, .bt-mode-btn.bt-mode-jackpot { background: var(--bg2); }
.bt-mode-btn.active.bt-mode-normal { color: #8ea2ff; background: rgba(75, 105, 255, .1); }
.bt-mode-btn.active.bt-mode-crazy { color: var(--red); background: rgba(240, 82, 82, .09); }
.bt-mode-btn.active.bt-mode-terminal { color: var(--gold); background: rgba(228, 174, 57, .09); }
.bt-mode-btn.active.bt-mode-shared { color: var(--green); background: rgba(52, 211, 153, .08); }
.bt-mode-btn.active.bt-mode-jackpot { color: #c4b5fd; background: rgba(167, 139, 250, .1); }
.bt-mode-text { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.bt-options { display: flex; flex-direction: column; gap: 10px; }
/* .opt-group label is the uppercase heading style - the toggles inside must not inherit it */
.bt-options .toggle {
  display: flex; align-items: flex-start; line-height: 1.35; margin: 0;
  text-transform: none; letter-spacing: normal; font-size: 13.5px; font-weight: 500;
}
.bt-options .toggle .sw { flex: none; margin-top: 1px; }
.bt-options .toggle b { color: var(--text); }
.bt-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; }
.bt-summary > div { background: var(--bg2); border-radius: 9px; padding: 8px 10px; min-width: 0; }
.bt-summary dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.bt-summary dd { margin: 2px 0 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-warn { margin: 0 0 12px; padding: 9px 12px; border-radius: 9px; font-size: 13px; background: rgba(240, 82, 82, .1); color: #ff9a9a; border: 1px solid rgba(240, 82, 82, .3); }
.bt-create-btn { width: 100%; }
.bt-create-btn .price { font-weight: 800; }
.bt-note { font-size: 12.5px; margin: 12px 0 0; }

/* phone summary bar (the settings panel is below the case grid there) */
.bt-mbar { display: none; }
@media (max-width: 1180px) {
  .bt-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(20, 15, 17, .95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line2);
    transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
  }
  .bt-mbar.show { transform: none; visibility: visible; }
  .bt-mbar.show.covered { transform: translateY(110%); visibility: hidden; }
  .bt-mbar > div { flex: 1; min-width: 0; }
  .bt-mbar small { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bt-mbar b { font-size: 16px; }
  .bt-mbar .btn { flex: none; }
  body:has(.chat-fab) .bt-mbar { padding-left: 88px; } /* keep clear of the floating chat button */
  .bt-create { padding-bottom: 70px; }
  .picker .grid-cases { max-height: 70vh; }
}

/* ------------------------------------------------------------------ battle page: head, tooltip, banner */
.bt-head { align-items: flex-start; }
.bt-head-main { min-width: 0; }
.bt-actions { gap: 8px; }
.bt-tip-wrap { position: relative; display: inline-flex; }
.bt-help {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel2);
  color: var(--muted); font-weight: 800; font-size: 12px; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.bt-help:hover, .bt-help[aria-expanded="true"] { color: var(--text); border-color: var(--dim); }
.bt-tip {
  display: none; position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 30;
  width: max-content; max-width: min(300px, calc(100vw - 40px)); padding: 10px 12px; border-radius: 10px;
  background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 16px 36px rgba(0, 0, 0, .55);
  font-size: 13px; line-height: 1.45; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400;
}
.bt-tip b { display: block; color: var(--text); margin-bottom: 3px; }
.bt-tip-wrap:hover .bt-tip, .bt-help:focus-visible + .bt-tip, .bt-tip.open { display: block; }

.bt-banner {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 0 14px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line2); animation: pop .35s cubic-bezier(.2, .9, .3, 1.3);
}
.bt-banner > svg { flex: none; color: var(--gold); }
.bt-banner-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.bt-banner-text > b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .02em; overflow-wrap: anywhere; }
.bt-banner-text > span { color: var(--muted); font-size: 14px; }
.bt-banner-text .price { color: var(--text); }
.bt-banner .bt-mine { color: var(--text); font-weight: 700; font-size: 15px; margin-top: 2px; }
.bt-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.bt-banner-actions:empty { display: none; }
.bt-banner-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--panel3); color: var(--gold); }
.bt-banner-icon svg { width: 28px; height: 28px; }
.bt-banner.result.win { border-color: rgba(52, 211, 153, .55); background: linear-gradient(90deg, rgba(52, 211, 153, .12), var(--panel) 60%); box-shadow: 0 0 40px -18px var(--green); }
.bt-banner.result.win .bt-mine { color: var(--green); }
.bt-banner.result.lose { border-color: rgba(240, 82, 82, .4); }
.bt-banner.result.lose .bt-mine { color: #ff9a9a; }
.bt-banner.result.tie, .bt-banner.result.neutral { border-color: rgba(228, 174, 57, .45); background: linear-gradient(90deg, rgba(228, 174, 57, .1), var(--panel) 60%); }
.bt-banner.result.tie .bt-mine { color: var(--gold); }
.bt-banner.info { border-style: dashed; }
.bt-banner.countdown { justify-content: flex-start; }
.bt-count {
  font-family: var(--display); font-size: 44px; line-height: 1; color: var(--accent); min-width: 52px; text-align: center;
  animation: pop .5s cubic-bezier(.2, .9, .3, 1.4);
}
.bt-jackpot { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; max-width: 520px; }
.bt-jackpot small { color: var(--muted); font-size: 12px; }
.bt-odds { position: relative; display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); }
.bt-odds i { display: block; height: 100%; transition: width .5s ease; }
.bt-odds i + i { box-shadow: -1px 0 0 rgba(0, 0, 0, .5); }
.bt-ticket {
  position: absolute; top: -1px; bottom: -1px; width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 0 1px rgba(0, 0, 0, .6);
}

/* ------------------------------------------------------------------ round strip, progress, scoreboard */
.round-case.bt-final .rc-n { color: var(--gold); letter-spacing: .06em; }
.round-case.bt-final { border-color: rgba(228, 174, 57, .35); }
.round-case.current.bt-final { border-color: var(--gold); background: rgba(228, 174, 57, .08); }
.round-strip { margin-bottom: 6px; scrollbar-width: thin; }
.bt-progress { height: 4px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin: 0 0 12px; }
.bt-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); transition: width .4s ease; }
.bt-board-wrap { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.bt-board { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.bt-board:empty { display: none; }
.bt-scores { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-score {
  display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 6px 12px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--tc, var(--line2));
  transition: border-color .3s, box-shadow .3s;
}
.bt-score.leading { border-color: var(--tc); box-shadow: 0 0 0 1px var(--tc) inset, 0 0 24px -12px var(--tc); }
.bt-score-name { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bt-score-val { font-size: 14px; }
.bt-chance { font-size: 12px; font-weight: 700; color: #c4b5fd; background: rgba(167, 139, 250, .14); padding: 1px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.bt-crown { color: var(--gold); display: inline-flex; }
.bt-board-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bt-board > .bt-odds { max-width: 640px; }
.bt-view-toggle { flex: none; }
.bt-view-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-hi); }
@media (min-width: 1181px) { .bt-view-toggle { display: none; } }

/* ------------------------------------------------------------------ arena: team groups, fighter columns */
.bt-arena-wrap {
  --fighter-min: 170px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 4px;
  scrollbar-width: thin;
}
.bt-arena { display: flex; gap: 12px; align-items: stretch; min-width: min-content; }
.bt-team {
  flex: var(--seats) 1 0; min-width: calc(var(--seats) * var(--fighter-min) + (var(--seats) - 1) * 10px);
  display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start;
}
.bt-team.is-team { padding: 8px; border-radius: 16px; background: var(--tcbg); border: 1px solid var(--line2); border-color: color-mix(in srgb, var(--tc) 35%, transparent); }
.bt-team-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.bt-team-head .team-tag { font-size: 11px; letter-spacing: .06em; }
.bt-team-total .price { font-size: 16px; }
.bt-team-seats { display: grid; grid-template-columns: repeat(var(--seats), minmax(0, 1fr)); gap: 10px; flex: 1; }
.bt-vs { flex: none; display: grid; place-items: center; width: 30px; }
.bt-vs span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel3);
  border: 1px solid var(--line2); font-family: var(--display); font-size: 11px; color: var(--muted);
}
.bt-fighter { container-type: inline-size; border-top: 3px solid var(--tc, var(--line)); scroll-snap-align: start; }
.bt-fighter.is-you { box-shadow: 0 0 0 1px rgba(239, 59, 59, .35); }
.bt-fighter.leading:not(.winner):not(.loser):not(.tied) { border-color: var(--tc); border-top-color: var(--tc); box-shadow: 0 0 34px -16px var(--tc); }
.bt-fighter .fighter-empty { height: 300px; padding: 10px; }
.bt-fighter .fighter-empty svg { vertical-align: -3px; }
.bt-fighter .fighter-result .price { font-size: inherit; }
/* narrow columns (4-6 players): stack the reel tiles like on phones */
@container (max-width: 230px) {
  .reel.vertical .item { flex-direction: column; justify-content: center; gap: 2px; text-align: center; padding: 8px 6px; }
  .reel.vertical .item-img { width: 62%; }
  .fighter-head { flex-wrap: wrap; gap: 6px; }
  .fighter-total { margin-left: 0; text-align: left; width: 100%; }
}
.bt-drop { position: relative; min-width: 0; }
.bt-drop .item { height: 100%; }
.bt-drop-r {
  position: absolute; left: 4px; bottom: 4px; z-index: 2; font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  padding: 0 4px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: var(--muted);
}
.bt-drop.latest .item { box-shadow: 0 0 0 2px var(--tc, var(--accent)), 0 0 22px -8px var(--tc, var(--accent)); }
.bt-drop.latest .bt-drop-r { color: var(--text); background: var(--tc, var(--accent)); }
.bt-drop.decider .item { box-shadow: 0 0 0 2px var(--gold), 0 0 24px -8px var(--gold); }
.bt-drop.decider .bt-drop-r { background: var(--gold); color: #231703; }
.bt-cancelled { width: 100%; }

/* stacked view (phones + tablets, 3+ players): each team on its own row, seats wrap two per row */
@media (max-width: 1180px) {
  .bt-arena-wrap.stacked { overflow-x: visible; scroll-snap-type: none; }
  .bt-arena-wrap.stacked .bt-arena { flex-wrap: wrap; min-width: 0; }
  .bt-arena-wrap.stacked .bt-team { flex: 1 1 100%; min-width: 0; }
  .bt-arena-wrap.stacked .bt-team-seats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
  .bt-arena-wrap.stacked .bt-vs { width: 100%; height: 22px; }
  .bt-arena-wrap.stacked .bt-arena:not(:has(.is-team)) .bt-team { flex: 1 1 150px; }
}

/* ------------------------------------------------------------------ provably fair box */
.bt-fair { margin-top: 18px; padding: 0; }
.bt-fair summary {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none;
}
.bt-fair summary::-webkit-details-marker { display: none; }
.bt-fair summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 18px; }
.bt-fair[open] summary::after { content: '-'; }
.bt-fair summary svg { color: var(--green); }
.bt-fair dl { margin: 0; padding: 0 18px; display: grid; gap: 8px; }
.bt-fair dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.bt-fair dt { color: var(--muted); font-size: 13px; }
.bt-fair dd { margin: 0; min-width: 0; }
.bt-fair p { padding: 0 18px 16px; margin: 12px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.bt-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .bt-banner { flex-wrap: wrap; }
  .bt-banner-actions { width: 100%; }
  .bt-banner-actions .btn { flex: 1; }
}
@media (max-width: 640px) {
  .bt-filter-row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .bt-range { grid-column: 1 / -1; }
  .bt-range .row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .bt-range .input { width: 100%; }
  .bt-field .select { width: 100%; }
  .bt-mode-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px; padding: 2px 4px; scrollbar-width: none; }
  .bt-mode-chips::-webkit-scrollbar { display: none; }
  .bt-picker-bar { flex-wrap: wrap; }
  .bt-picker-bar .select { max-width: none; flex: 1 1 100%; }
  .bt-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .bt-cats::-webkit-scrollbar { display: none; }
  .bt-summary dd { font-size: 14px; }
  .bt-head .bt-actions { width: 100%; }
  /* the mode tooltip becomes a bottom sheet: it can never run off the screen */
  .bt-tip { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; transform: none; width: auto; max-width: none; z-index: 70; }
  .bt-head .bt-actions .btn { flex: 1 1 auto; }
  .bt-banner { padding: 12px 14px; gap: 10px; }
  .bt-banner-icon { width: 42px; height: 42px; }
  .bt-banner-text > b { font-size: 18px; }
  .bt-count { font-size: 36px; min-width: 40px; }
  .bt-arena-wrap { --fighter-min: 142px; }
  .bt-arena { gap: 8px; }
  .bt-team-seats { gap: 8px; }
  .bt-vs { width: 22px; }
  .bt-vs span { width: 24px; height: 24px; font-size: 9.5px; }
  .bt-fighter .fighter-empty { height: 250px; }
  .bt-fighter .fighter-drops { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .bt-fair dl > div { grid-template-columns: 1fr; gap: 2px; }
  .bt-board-wrap { flex-wrap: wrap; }
  .bt-score { padding: 5px 10px; }
}
@media (max-width: 400px) {
  .bt-stat { padding: 7px 10px; }
  .bt-formats button { font-size: 12px; height: 48px; }
  .bt-modes { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .bt-banner, .bt-count, .bt-live::before { animation: none !important; }
  .bt-progress i, .bt-odds i, .bt-score, .bt-mbar { transition: none !important; }
}
