.bf-match {
  --bf-paper: #eee8d8;
  --bf-sub: #b6bcb1;
  --bf-gold: #edc488;
  --bf-metal: #8f7752;
  --bf-line: #565347;
  --bf-panel: #181d1cf5;
  --bf-map: clamp(146px, 13.2vw, 216px);
  --bf-body: Barlow, 'Segoe UI', sans-serif;
  --bf-title: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --bf-mono: 'IBM Plex Mono', Consolas, monospace;
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  isolation: isolate;
  color: var(--bf-paper);
  background: #233a37;
  font: 400 14px/1.35 var(--bf-body);
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.bf-match,
.bf-match *,
.bf-match *::before,
.bf-match *::after {
  box-sizing: border-box;
}
.bf-match [hidden] {
  display: none !important;
}
.bf-match button {
  padding: 0;
  margin: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bf-match button:focus-visible,
.bf-match canvas:focus-visible {
  outline: 2px solid #ffde98;
  outline-offset: 2px;
}
.bf-match:focus,
.bf-match .bf-dialog:focus,
.bf-match .bf-world:focus {
  outline: 0;
}
.bf-match h2,
.bf-match h3,
.bf-match p {
  margin: 0;
}
.bf-match img {
  display: block;
  object-fit: cover;
}
.bf-match .bf-glyph {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--bf-symbol) center/contain no-repeat;
  mask: var(--bf-symbol) center/contain no-repeat;
  vertical-align: middle;
}
.bf-match kbd {
  display: inline-grid;
  place-items: center;
  padding: 1px 4px;
  min-width: 16px;
  min-height: 15px;
  border: 1px solid #77725d;
  border-radius: 2px;
  color: #e3d8bd;
  background: #161b18e8;
  font: 500 10px/1.1 var(--bf-mono);
}
.bf-match .bf-world {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: default;
}
.bf-match.bf-aiming .bf-world {
  cursor: crosshair;
}
.bf-match .bf-targetmode {
  position: absolute;
  bottom: calc(100% + 5px);
  right: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid #c49565;
  background: #201d18ed;
  color: #f8cfa4;
  font: 650 11px/1.1 var(--bf-body);
  pointer-events: none;
}
.bf-match .bf-targetmode .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-attackmeter {
  --bf-meter: #b7d1a1;
  --bf-attack-fill: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  align-self: center;
  min-width: 43px;
  padding: 0 0 3px;
  color: var(--bf-meter);
}
.bf-match .bf-attackmeter .bf-glyph {
  width: 10px;
  height: 10px;
}
.bf-match .bf-attackmeter b {
  font: 600 9px/1 var(--bf-body);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.bf-match .bf-attackmeter i {
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    var(--bf-meter) 0 var(--bf-attack-fill),
    #545548 var(--bf-attack-fill) 100%
  );
}
.bf-match .bf-attackmeter[data-stage='Windup'] {
  --bf-meter: #efaa71;
}
.bf-match .bf-attackmeter[data-stage='Recovery'] {
  --bf-meter: #b4c3c5;
}
.bf-match .bf-camera.bf-centered .bf-glyph {
  color: #f1d38f;
}
.bf-match .bf-edge,
.bf-match .bf-hitflash,
.bf-match .bf-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bf-match .bf-edge {
  z-index: 1;
  background:
    linear-gradient(to bottom, #0a131944 0, transparent 100px),
    linear-gradient(to top, #0c13173b 0, transparent 145px);
}
.bf-match .bf-hitflash {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s;
  box-shadow: inset 0 0 65px #a4413280;
}
.bf-match .bf-hitflash.bf-flash {
  opacity: 1;
}
.bf-match .bf-hud {
  z-index: 3;
}
.bf-match .bf-hud button,
.bf-match .bf-mini {
  pointer-events: auto;
}
.bf-match .bf-team0 {
  --bf-side: #f0aa67;
}
.bf-match .bf-team1 {
  --bf-side: #83d6d9;
}
.bf-match .bf-upper-left {
  position: absolute;
  left: 18px;
  top: 16px;
}
.bf-match .bf-region {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  padding: 4px 22px 5px 5px;
  background: linear-gradient(95deg, #101916df, #101916b0 80%, transparent);
}
.bf-match .bf-region-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #b59760;
  background: linear-gradient(135deg, #5b4a31, #1b231e);
  color: #edce90;
  transform: rotate(45deg) scale(0.82);
}
.bf-match .bf-region-mark .bf-glyph {
  transform: rotate(-45deg) scale(1.2);
}
.bf-match .bf-region small,
.bf-match .bf-mapbar b,
.bf-match .bf-panelhead small,
.bf-match .bf-centerstate > small,
.bf-match .bf-banner small,
.bf-match .bf-targetcard small {
  display: block;
  color: var(--bf-gold);
  font: 500 9px/1.25 var(--bf-mono);
  letter-spacing: 0.12em;
}
.bf-match .bf-region b {
  display: block;
  margin-top: 1px;
  font: 700 21px/0.98 var(--bf-title);
  letter-spacing: 0.015em;
}
.bf-match .bf-allies {
  display: flex;
  gap: 4px;
  margin: 10px 0 0 1px;
}
.bf-match .bf-allies button {
  width: 34px;
  height: 38px;
  position: relative;
  padding-bottom: 3px;
  border: 1px solid #a991685c;
  background: #111916;
  box-shadow: 0 1px 5px #0b131b75;
}
.bf-match .bf-allies button:hover {
  border-color: var(--bf-gold);
}
.bf-match .bf-allies img {
  width: 100%;
  height: 100%;
  object-position: 50% 32%;
}
.bf-match .bf-allies i {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #83cbaa;
  transform-origin: left;
}
.bf-match .bf-allies b {
  position: absolute;
  right: 0;
  bottom: 3px;
  display: grid;
  min-width: 11px;
  height: 11px;
  place-items: center;
  background: #101711f2;
  font: 500 8px var(--bf-mono);
  color: #eadbb8;
}
.bf-match .bf-fallen img {
  filter: grayscale(1) brightness(0.57);
}
.bf-match .bf-scorestrip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  min-width: 298px;
  height: 47px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 2px 25px 3px;
  border-top: 2px solid #b59666;
  background: linear-gradient(180deg, #1e2522fc, #111713f2);
  box-shadow: inset 0 -1px #a88b5a;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}
.bf-match .bf-scorestrip:hover {
  background: linear-gradient(180deg, #34392e, #1c2520);
}
.bf-match .bf-scorestrip > b {
  min-width: 15px;
  font: 700 27px/0.9 var(--bf-title);
}
.bf-match .bf-faction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--bf-side);
  font: 700 13px var(--bf-title);
  text-transform: uppercase;
  letter-spacing: 0.095em;
}
.bf-match .bf-faction .bf-glyph {
  width: 20px;
  height: 20px;
}
.bf-match .bf-timer {
  display: inline-grid;
  min-width: 60px;
  height: 28px;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-inline: 1px solid #76694f70;
  color: #d6d6c4;
}
.bf-match .bf-timer .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-timer strong {
  font: 500 11px var(--bf-mono);
}
.bf-match .bf-tools {
  display: flex;
  gap: 5px;
  position: absolute;
  top: 15px;
  right: 17px;
}
.bf-match .bf-personal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-block: 1px solid #a290714a;
  background: #15201bdc;
}
.bf-match .bf-personal .bf-glyph {
  width: 14px;
  height: 14px;
  color: #d3bd8f;
}
.bf-match .bf-personal b {
  color: #eeebda;
  font: 500 10px var(--bf-mono);
}
.bf-match .bf-personal b + .bf-glyph {
  margin-left: 4px;
}
.bf-match .bf-iconbtn,
.bf-match .bf-close {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #a290716d;
  background: #17201de8;
  color: #ded9c5;
}
.bf-match .bf-iconbtn:hover,
.bf-match .bf-close:hover {
  color: #ffe0a3;
  border-color: #d5ad6c;
  background: #34392e;
}
.bf-match .bf-iconbtn .bf-glyph {
  width: 17px;
  height: 17px;
}
.bf-match .bf-feed {
  position: absolute;
  right: 18px;
  top: 61px;
  display: grid;
  gap: 4px;
  justify-items: end;
  max-width: min(280px, 28vw);
}
.bf-match .bf-feedevent {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-right: 2px solid var(--bf-side);
  background: linear-gradient(90deg, transparent, #151d1bea 14%);
  font: 600 12px/1.25 var(--bf-body);
  text-shadow: 0 1px 1px #000;
}
.bf-match .bf-feedevent .bf-glyph {
  color: var(--bf-side);
  width: 14px;
  height: 14px;
}
.bf-match .bf-banner {
  position: absolute;
  left: 50%;
  top: 67px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: min(620px, 60vw);
  padding: 8px 28px;
  background: linear-gradient(90deg, transparent, #131d1cec 11%, #131d1cf5 88%, transparent);
  text-align: left;
}
.bf-match .bf-banner:before,
.bf-match .bf-banner:after {
  content: '';
  position: absolute;
  height: 1px;
  left: 4%;
  right: 4%;
  background: linear-gradient(90deg, transparent, #b8945b, transparent);
}
.bf-match .bf-banner:before {
  top: 0;
}
.bf-match .bf-banner:after {
  bottom: 0;
}
.bf-match .bf-banner b {
  font: 650 22px/1.18 var(--bf-title);
}
.bf-match .bf-banner-gem {
  color: #e5b579;
}
.bf-match .bf-banner-gem .bf-glyph {
  width: 25px;
  height: 25px;
}
.bf-match .bf-targetcard {
  position: absolute;
  left: 18px;
  top: 121px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 168px;
  max-width: 225px;
  padding: 7px 22px 7px 7px;
  border: 1px solid #82765b88;
  background: #16201deb;
}
.bf-match .bf-target-img {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  background: #2d3931;
  border: 1px solid #ad956653;
  color: var(--bf-gold);
}
.bf-match .bf-target-img img {
  width: 100%;
  height: 100%;
}
.bf-match .bf-targetcard > div {
  flex: 1;
}
.bf-match .bf-targetcard b {
  display: block;
  font: 650 15px/1.1 var(--bf-title);
}
.bf-match .bf-targetcard small {
  font-size: 8px;
  letter-spacing: 0.05em;
}
.bf-match .bf-target-hp {
  height: 3px;
  margin: 3px 0;
  background: #0b1411;
}
.bf-match .bf-target-hp i {
  display: block;
  height: 100%;
}
.bf-match .bf-targetcard button {
  position: absolute;
  top: 3px;
  right: 3px;
  color: var(--bf-sub);
}
.bf-match .bf-targetcard button .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-fieldtip {
  position: absolute;
  left: 18px;
  bottom: 52px;
  width: min(216px, 20vw);
  padding: 10px 12px;
  border-left: 2px solid #ccaa6c;
  background: linear-gradient(105deg, #14201cf2, #17231de0);
}
.bf-match .bf-tip-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f0d3a0;
}
.bf-match .bf-tip-heading > .bf-glyph {
  width: 15px;
  height: 15px;
}
.bf-match .bf-tip-heading b {
  font: 650 16px/1.1 var(--bf-title);
}
.bf-match .bf-tip-heading button {
  margin-left: auto;
  color: #afa998;
}
.bf-match .bf-tip-heading button .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-fieldtip p {
  margin-top: 5px;
  color: #d0d5c6;
  font-size: 12px;
  line-height: 1.35;
}
.bf-match .bf-centerstate,
.bf-match .bf-order,
.bf-match .bf-aimhint {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(540px, 70vw);
  text-align: center;
  text-shadow: 0 1px 2px #090f0d;
}
.bf-match .bf-centerstate {
  bottom: 193px;
  padding: 10px 22px;
  border-top: 1px solid #c8a269ad;
  border-bottom: 1px solid #c8a26980;
  background: linear-gradient(90deg, transparent, #111b17ee 12%, #111b17ee 88%, transparent);
}
.bf-match .bf-centerstate b {
  display: block;
  margin: 3px 0;
  font: 700 24px/1.15 var(--bf-title);
}
.bf-match .bf-centerstate em {
  font-style: normal;
  color: #e1c597;
}
.bf-match .bf-centerstate button {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 5px auto 0;
  color: #f2ce90;
  font-size: 12px;
}
.bf-match .bf-channel {
  height: 3px;
  width: 150px;
  margin-top: 5px;
  background: #243a36;
}
.bf-match .bf-channel i {
  display: block;
  height: 100%;
  background: #7edbbd;
}
.bf-match .bf-order,
.bf-match .bf-aimhint {
  bottom: 156px;
  padding: 5px 13px;
  border-block: 1px solid #b297654f;
  background: #15211cec;
  color: #f3d79e;
  font-size: 13px;
}
.bf-match .bf-aimhint {
  bottom: 129px;
  border-color: #b6cbac75;
  color: #e8f6d9;
}
.bf-match .bf-hotbar {
  position: absolute;
  left: 50%;
  bottom: 11px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(125deg, #282b25 0, #161c1a 36%, #1c211d 80%, #282a21);
  border: 1px solid #a58c61;
  border-bottom: 2px solid #9a7e53;
  border-radius: 3px 3px 2px 2px;
  box-shadow:
    inset 0 0 0 2px #111813,
    inset 0 4px 7px #b5a98513,
    0 3px 18px #07100abb;
  pointer-events: auto;
}
.bf-match .bf-hotbar:before,
.bf-match .bf-hotbar:after {
  content: '';
  position: absolute;
  width: 19px;
  height: 2px;
  top: -2px;
  background: #e0be83;
}
.bf-match .bf-hotbar:before {
  left: 4px;
}
.bf-match .bf-hotbar:after {
  right: 4px;
}
.bf-match .bf-effectstrip {
  position: absolute;
  left: 4px;
  bottom: calc(100% + 5px);
  display: flex;
  gap: 3px;
}
.bf-match .bf-effectstrip span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  border: 1px solid #a99b69aa;
  background: #16261eeb;
  font: 600 11px/1 var(--bf-body);
  color: #e5d9aa;
}
.bf-match .bf-effectstrip .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-portrait {
  position: relative;
  width: 70px;
  margin: 3px 0;
  overflow: visible;
  border: 1px solid #ac9468;
  background: #28312a;
}
.bf-match .bf-portrait:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #1c1b146b, transparent 45%);
  pointer-events: none;
}
.bf-match .bf-portrait img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-position: 50% 32%;
}
.bf-match .bf-portrait b {
  position: absolute;
  left: 50%;
  bottom: -5px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 18px;
  transform: translateX(-50%);
  border: 1px solid #c6a571;
  border-radius: 3px;
  background: #25291f;
  color: #f2d8a3;
  font: 700 13px var(--bf-title);
}
.bf-match .bf-skillblock {
  min-width: 185px;
}
.bf-match .bf-identity {
  display: flex;
  height: 17px;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 3px;
}
.bf-match .bf-identity button {
  color: #faf0d8;
  font: 700 17px/0.9 var(--bf-title);
  letter-spacing: 0.025em;
}
.bf-match .bf-identity small {
  color: #b9b8a8;
  text-transform: uppercase;
  font: 500 8px var(--bf-mono);
  letter-spacing: 0.085em;
}
.bf-match .bf-training { margin: 0 0 4px; }
.bf-match .bf-training > small { display:block; margin:0 0 3px; color:#f4d287; font:600 9px var(--bf-mono); text-transform:uppercase; letter-spacing:.07em; }
.bf-match .bf-training > div { display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.bf-match .bf-training button { height:22px; border:1px solid #c8a35e; background:linear-gradient(#665138,#352f23); color:#ffe2a2; font:650 11px var(--bf-mono); }
.bf-match .bf-training button:hover, .bf-match .bf-training button:focus-visible { background:#655435; border-color:#ffda85; }
.bf-match .bf-training button:disabled { visibility:hidden; }
.bf-match .bf-basics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.bf-match .bf-art {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 400% 400%;
  background-position: var(--bf-x) var(--bf-y);
}
.bf-match .bf-art-spells {
  background-image: url('./assets/hud/spells.webp');
}
.bf-match .bf-art-armory-1 { background-image: url('./assets/hud/armory-1.webp'); }
.bf-match .bf-art-armory-2 { background-image: url('./assets/hud/armory-2.webp'); }
.bf-match .bf-art-armory-3 { background-image: url('./assets/hud/armory-3.webp'); }
.bf-match .bf-art-armory {
  background-image: url('./assets/hud/armory.webp');
}
.bf-match .bf-ability {
  position: relative;
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 1px solid #aca078;
  background: #141a16;
  box-shadow: 0 0 0 1px #111710;
}
.bf-match .bf-basics .bf-ability:last-child {
  border-color: #c9a570;
}
.bf-match .bf-ability:hover,
.bf-match .bf-ability.bf-armed {
  border-color: #ffde94;
  box-shadow: 0 0 8px #e2c17f75;
}
.bf-match .bf-ability kbd {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 14px;
  min-height: 13px;
  border-style: solid;
  border-color: #c0b28b92;
  border-width: 1px 1px 0 0;
  border-radius: 0 2px 0 0;
  color: #fff4da;
  background: #151b16ed;
  font-size: 9px;
  text-shadow: 0 1px #171a13;
}
.bf-match .bf-rank {
  position: absolute;
  bottom: -3px;
  right: 2px;
  color: #f4c779;
  font: 700 12px var(--bf-title);
  line-height: 1;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 2px #000;
}
.bf-match .bf-ability-shade {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    #07131bcc 0 var(--bf-left, 0%),
    transparent var(--bf-left, 0%) 100%
  );
  box-shadow: inset 0 0 0 1px #070b0933;
}
.bf-match .bf-ability.bf-unavailable .bf-art {
  filter: saturate(0.56) brightness(0.75);
}
.bf-match .bf-ability.bf-locked .bf-art {
  filter: grayscale(0.9) brightness(0.47);
}
.bf-match .bf-ability.bf-outofmana .bf-ability-shade {
  background: #10405a8c;
}
.bf-match .bf-cooldown {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  color: #fff7e4;
  font: 700 16px/1 var(--bf-title);
  text-shadow: 0 1px 3px black;
  white-space: nowrap;
}
.bf-match .bf-locked .bf-cooldown {
  font: 500 9px/1 var(--bf-mono);
  color: #ded8c4;
}
.bf-match .bf-vitals {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}
.bf-match .bf-health,
.bf-match .bf-mana {
  position: relative;
  height: 12px;
  overflow: hidden;
  border: 1px solid #101812;
  background: #111913;
  box-shadow: inset 0 0 0 1px #414b35;
  color: #faf9e8;
}
.bf-match .bf-mana {
  height: 10px;
  background: #17262d;
}
.bf-match .bf-vitals i,
.bf-match .bf-xp i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
}
.bf-match .bf-health i {
  background: linear-gradient(#9dcb78, #629b58);
}
.bf-match .bf-mana i {
  background: linear-gradient(#78b9c8, #47849d);
}
.bf-match .bf-vitals span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fcfff0;
  font: 600 9px/0.9 var(--bf-mono);
  text-shadow:
    0 1px 2px #17231efe,
    0 0 2px #162822;
}
.bf-match .bf-mana span {
  font-size: 8px;
}
.bf-match .bf-xp {
  height: 2px;
  margin: 2px 1px 0;
  background: #36332a;
}
.bf-match .bf-xp i {
  background: #c5a671;
}
.bf-match .bf-utilities {
  display: grid;
  grid-template-columns: repeat(2, 29px);
  grid-template-rows: repeat(2, 29px);
  align-content: center;
  gap: 4px;
  border-left: 1px solid #7d715345;
  padding-left: 8px;
}
.bf-match .bf-utilities .bf-ability {
  width: 29px;
  height: 29px;
  border-color: #867f64;
}
.bf-match .bf-utilities kbd {
  font-size: 8px;
  min-width: 11px;
  min-height: 11px;
  padding: 0 2px;
}
.bf-match .bf-utilities .bf-cooldown {
  font-size: 12px;
}
.bf-match .bf-inventory {
  align-self: center;
  border-left: 1px solid #7d715345;
  padding-left: 8px;
}
.bf-match .bf-bag {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  grid-template-rows: repeat(2, 22px);
  gap: 3px;
}
.bf-match .bf-bag button,
.bf-match .bf-equipped div > span {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #635e49;
  background: linear-gradient(140deg, #101913, #293025);
}
.bf-match .bf-bag button:hover {
  border-color: #c2a770;
}
.bf-match .bf-emptyslot {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #8f8a623a;
  transform: rotate(45deg);
}
.bf-match .bf-shopkey {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 3px;
  align-items: center;
  border: 1px solid #706448;
  background: #24271d;
  padding: 2px 4px;
  margin-top: 4px;
}
.bf-match .bf-shopkey.bf-at-forge {
  border-color: #a78954;
  background: linear-gradient(90deg, #3d3423, #292b20);
}
.bf-match .bf-shopkey kbd {
  min-height: 12px;
  min-width: 12px;
  font-size: 8px;
  padding: 0 2px;
}
.bf-match .bf-coin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #edc576;
  font: 600 12px/1.1 var(--bf-body);
  white-space: nowrap;
}
.bf-match .bf-coin .bf-glyph {
  width: 13px;
  height: 13px;
}
.bf-match .bf-mapframe {
  position: absolute;
  right: 17px;
  bottom: 12px;
  width: var(--bf-map);
  padding: 3px;
  border: 1px solid #a58d63;
  border-radius: 2px;
  background: linear-gradient(135deg, #34382d, #19241e);
  box-shadow:
    0 2px 12px #08120ca6,
    inset 0 0 0 1px #101911;
  pointer-events: auto;
}
.bf-match .bf-mapbar {
  display: flex;
  height: 19px;
  padding: 0 2px 3px 3px;
  align-items: center;
  justify-content: space-between;
}
.bf-match .bf-mapbar b {
  color: #d3b981;
  font-size: 8px;
}
.bf-match .bf-mapbar button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 17px;
  color: #dfd3b4;
}
.bf-match .bf-mapbar .bf-glyph {
  width: 12px;
  height: 12px;
}
.bf-match .bf-mini,
.bf-match .bf-large-map {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  touch-action: none;
  cursor: crosshair;
  background: #273e37;
}
.bf-match .bf-camera {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid #8b876b66;
  background: #17201bdd;
  color: #cbd6ba;
  font: 600 11px/1 var(--bf-body);
}
.bf-match .bf-camera .bf-glyph {
  width: 14px;
  height: 14px;
  color: #a7d4a5;
}
.bf-match .bf-camera.bf-unlocked .bf-glyph {
  color: #edbd77;
}
.bf-match .bf-camera kbd {
  font-size: 8px;
  min-height: 12px;
  min-width: 12px;
}
.bf-match .bf-chatkey {
  position: absolute;
  left: 132px;
  bottom: 16px;
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  background: #17201bdd;
  border: 1px solid #8b876b66;
  color: #d1d6c7;
  font: 600 11px/1 var(--bf-body);
}
.bf-match .bf-chatkey kbd {
  font-size: 8px;
  min-height: 12px;
}
.bf-match .bf-chat {
  position: absolute;
  left: 18px;
  bottom: 50px;
  width: min(290px, 25vw);
  min-width: 165px;
  max-height: 40vh;
  pointer-events: none;
  color: #ebeada;
  background: linear-gradient(100deg, #142219ef, #15201dd1);
  border-left: 2px solid #9eaf87;
}
.bf-match .bf-chat header {
  display: none;
  padding: 7px 8px 3px;
  color: #d0c08f;
  font: 500 8px var(--bf-mono);
  letter-spacing: 0.12em;
}
.bf-match .bf-chatopen {
  pointer-events: auto;
  border: 1px solid #9d8f68;
  box-shadow: 0 2px 14px #07110a75;
}
.bf-match .bf-chatopen header {
  display: block;
}
.bf-match.bf-chatshowing .bf-fieldtip {
  visibility: hidden;
}
.bf-match .bf-chatlines {
  max-height: 22vh;
  overflow: hidden;
  padding: 3px 6px;
}
.bf-match .bf-chatopen .bf-chatlines {
  overflow: auto;
}
.bf-match .bf-chatlines:empty {
  padding: 0;
}
.bf-match .bf-chatlines > div {
  display: block;
  padding: 2px 0;
  overflow-wrap: anywhere;
  line-height: 1.28;
  font-size: 12px;
  color: #e7eddf;
}
.bf-match .bf-chatlines time {
  margin-right: 5px;
  color: #9aa994;
  font: 500 8px var(--bf-mono);
}
.bf-match .bf-chatlines b {
  margin-right: 5px;
  color: #a7d9b5;
  font-weight: 650;
}
.bf-match .bf-chatlines .bf-chatping span {
  color: #efcf92;
}
.bf-match .bf-chat form {
  display: flex;
  border-top: 1px solid #6b725c;
}
.bf-match .bf-chat input {
  display: block;
  min-width: 0;
  flex: 1;
  padding: 7px;
  border: 0;
  border-radius: 0;
  background: #0f1a14;
  color: #f4f2df;
  font: 400 13px var(--bf-body);
  user-select: text;
}
.bf-match .bf-chat form button {
  padding: 0 7px;
  color: #e8d2a3;
  background: #32372a;
  font-size: 12px;
}
.bf-match .bf-worldpings {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bf-match .bf-worldping {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 2px;
  transform: translate(-50%, -100%);
  --bf-ping: #f3d38b;
}
.bf-match .bf-ping-danger {
  --bf-ping: #ffa58c;
}
.bf-match .bf-ping-onmyway {
  --bf-ping: #9ce5c9;
}
.bf-match .bf-worldping b {
  padding: 3px 7px;
  background: #17221ded;
  border: 1px solid var(--bf-ping);
  color: var(--bf-ping);
  font: 650 13px var(--bf-title);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bf-match .bf-worldping i {
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bf-ping);
  background: #1b2a1ce6;
  transform: rotate(45deg);
}
.bf-match .bf-tooltip {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  width: min(264px, 70vw);
  padding: 10px 12px;
  border: 1px solid #8d7a54;
  border-top: 2px solid #c4a369;
  border-radius: 2px;
  background: #171e1bf8;
  box-shadow: 0 5px 20px #050a078a;
}
.bf-match .bf-tooltip b {
  color: #f3d69f;
  font: 650 19px/1.1 var(--bf-title);
}
.bf-match .bf-tooltip p {
  margin: 4px 0;
  font-size: 13px;
  color: #e0e2d3;
}
.bf-match .bf-tooltip small {
  color: #aebaa6;
  font: 500 10px/1.3 var(--bf-body);
}
.bf-match .bf-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #070e0dad;
  backdrop-filter: blur(4px);
}
.bf-match .bf-dialog {
  position: relative;
  display: block;
  width: min(830px, 98vw);
  max-height: calc(100% - 16px);
  padding: 21px 24px 23px;
  overflow: auto;
  border: 1px solid #9b8159;
  border-top: 2px solid #d4ae74;
  border-radius: 2px;
  box-shadow:
    0 15px 60px #040805bb,
    inset 0 0 0 2px #121812;
  background:
    radial-gradient(ellipse at top right, #514a332b, transparent 52%),
    linear-gradient(135deg, #232822, #191f1c 64%);
  scrollbar-width: thin;
  scrollbar-color: #73674e #232a23;
}
.bf-match .bf-panelhead {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 41px;
  padding-bottom: 15px;
  border-bottom: 1px solid #92816055;
}
.bf-match .bf-panelhead small {
  color: #d7b580;
  text-transform: uppercase;
}
.bf-match .bf-panelhead h2 {
  margin: 1px 0 0;
  font: 700 35px/0.98 var(--bf-title);
  letter-spacing: 0.008em;
}
.bf-match .bf-panelmark {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid #a18a65;
  background: linear-gradient(135deg, #4a4330, #252c23);
  color: #edc88a;
}
.bf-match .bf-panelmark .bf-glyph {
  width: 23px;
  height: 23px;
}
.bf-match .bf-close {
  margin-left: auto;
  align-self: flex-start;
  width: 27px;
  height: 27px;
}
.bf-match .bf-close .bf-glyph {
  width: 15px;
  height: 15px;
}
.bf-match .bf-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 37px;
  padding: 6px 15px;
  border: 1px solid #e8bb79;
  background: linear-gradient(120deg, #eac080, #c99657);
  color: #211c13;
  font: 700 15px/1 var(--bf-title);
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
.bf-match .bf-primary:hover {
  filter: brightness(1.09);
}
.bf-match .bf-primary[aria-disabled='true'] {
  color: #b9b5a6;
  border-color: #6d6957;
  background: #32382c;
}
.bf-match .bf-primary .bf-coin {
  color: inherit;
}
.bf-match .bf-subtle {
  display: block;
  margin: 11px auto 0;
  padding: 4px 6px;
  color: #ddcda9;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.bf-match .bf-dialog-shop { width:min(980px,98vw); }
.bf-match .bf-catalog { min-width:0; }
.bf-match .bf-shoptools { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:0 0 9px; }
.bf-match .bf-shoptools label { display:grid; gap:3px; min-width:0; }
.bf-match .bf-shoptools label span, .bf-match .bf-shoplabel { color:#c5b48f; font:600 10px var(--bf-mono); text-transform:uppercase; letter-spacing:.07em; }
.bf-match .bf-shoptools input, .bf-match .bf-shoptools select { min-width:0; width:100%; height:31px; border:1px solid #62624d; border-radius:2px; background:#151e19; padding:3px 8px; color:#ede5d1; font:500 13px var(--bf-body); user-select:text; }
.bf-match .bf-shoptools input::placeholder { color:#a1a69b; }
.bf-match .bf-shelves { max-height:clamp(160px,48vh,480px); overflow:auto; scrollbar-width:thin; scrollbar-color:#85704b #252d25; scrollbar-gutter:stable; padding-right:5px; }
.bf-match .bf-shelves h4 { display:flex; align-items:baseline; gap:7px; margin:13px 0 6px; color:#eddbb4; font:650 17px var(--bf-title); }
.bf-match .bf-shelves h4:first-child { margin-top:1px; }
.bf-match .bf-shelves h4 small { color:#b4b9a8; font:500 10px var(--bf-mono); }
.bf-match .bf-packrow { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.bf-match .bf-packcard { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:7px; padding:9px 8px; border:1px solid #706447; background:linear-gradient(112deg,#34382c,#242b23); text-align:left; }
.bf-match .bf-packcard[aria-pressed='true'], .bf-match .bf-packcard:hover { border-color:#c7a76b; background:linear-gradient(112deg,#4b4532,#2b3127); }
.bf-match .bf-packicons { display:flex; align-items:center; padding-right:2px; }
.bf-match .bf-packicons .bf-art { width:29px; height:32px; border:1px solid #a09168; }
.bf-match .bf-packicons .bf-art + .bf-art { margin-left:-9px; margin-top:10px; }
.bf-match .bf-packcard b, .bf-match .bf-packparts b { display:block; color:#f1e2c5; font:650 15px/1.1 var(--bf-title); }
.bf-match .bf-packcard small { display:block; color:#c5c8b5; font:500 11px var(--bf-body); margin-top:3px; }
.bf-match .bf-packcard .bf-coin, .bf-match .bf-packcard em { font:600 11px var(--bf-mono); }
.bf-match .bf-packparts { width:100%; margin:5px 0 8px; }
.bf-match .bf-packparts > div { display:flex; align-items:center; gap:9px; padding:9px 0; border-top:1px solid #484d40; }
.bf-match .bf-packparts .bf-art { width:42px; height:42px; flex:none; border:1px solid #90805e; }
.bf-match .bf-packparts small, .bf-match .bf-packparts em { display:block; margin-top:3px; color:#b2cfb5; font:500 12px var(--bf-body); }
.bf-match .bf-buildpaths { width:100%; margin:5px 0 13px; }
.bf-match .bf-buildpaths > small { display:block; margin:0 0 5px; }
.bf-match .bf-buildpaths button { display:flex; align-items:center; gap:8px; width:100%; padding:5px 0; color:#e2d3b2; text-align:left; border-top:1px solid #454b3d; }
.bf-match .bf-buildpaths button:hover { background:#364034; }
.bf-match .bf-buildpaths .bf-art { width:30px; height:30px; flex:none; border:1px solid #776c53; }
.bf-match .bf-buildpaths button small { display:block; color:#b4b8a5; font:500 10px var(--bf-body); }
.bf-match .bf-buildpaths b { font:600 14px var(--bf-title); }
.bf-match .bf-statlines { list-style:none; margin:6px 0 8px; padding:0; color:#b2daba; font:600 13px/1.6 var(--bf-body); }
.bf-match .bf-bigart + .bf-shoplabel { margin-top:10px; }
.bf-match .bf-search-empty { padding:16px 0; color:#ccd1be; }
@media (max-width:720px) { .bf-match .bf-packrow {grid-template-columns:1fr;} .bf-match .bf-filters { flex-wrap:wrap; } }
.bf-match .bf-shopsub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  color: #cfba97;
  font: 600 13px var(--bf-body);
}
.bf-match .bf-shopsub [data-shop-location]:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  background: #bea070;
  transform: rotate(45deg);
}
.bf-match .bf-shopsub .bf-access {
  color: #a6d4ad;
}
.bf-match .bf-shopsub .bf-access:before {
  background: #9bc49b;
}
.bf-match .bf-shopsub .bf-coin {
  font-size: 16px;
}
.bf-match .bf-shopsub .bf-glyph {
  width: 16px;
  height: 16px;
}
.bf-match .bf-shopbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 26%);
  gap: 16px;
}
.bf-match .bf-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.bf-match .bf-filters button {
  padding: 4px 10px;
  background: #20271f;
  border: 1px solid #5a5d4c;
  color: #cbd1be;
  font: 600 12px var(--bf-body);
}
.bf-match .bf-filters button[aria-pressed='true'] {
  border-color: #b39b6c;
  background: #3a3929;
  color: #eacb94;
}
.bf-match .bf-shoplist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.bf-match .bf-itemcard {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 53px;
  padding: 5px;
  text-align: left;
  border: 1px solid #51574b;
  background: linear-gradient(105deg, #2b3028, #202720);
}
.bf-match .bf-itemcard:hover {
  border-color: #929175;
}
.bf-match .bf-itemcard[aria-pressed='true'] {
  border-color: #c5a570;
  background: linear-gradient(105deg, #49432e, #2a2d22);
  box-shadow: inset 2px 0 #cbac73;
}
.bf-match .bf-itemcard > .bf-art {
  flex: none;
  width: 34px;
  height: 37px;
  border: 1px solid #817459;
}
.bf-match .bf-itemcard b {
  display: block;
  margin-bottom: 3px;
  font: 650 15px/1.05 var(--bf-title);
}
.bf-match .bf-itemcard .bf-coin {
  margin: 0;
  font-size: 11px;
}
.bf-match .bf-itemdetail {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 13px;
  border: 1px solid #645f4b;
  background: #161e19b5;
}
.bf-match .bf-bigart {
  display: block;
  width: 62px;
  height: 62px;
  border: 1px solid #af9464;
  box-shadow: 0 2px 9px #080e0b;
}
.bf-match .bf-itemdetail h3 {
  margin: 10px 0 3px;
  color: #f1ddaf;
  font: 700 23px/1.05 var(--bf-title);
}
.bf-match .bf-itemdetail p {
  margin-bottom: 8px;
  color: #c2c9b8;
  font-size: 13px;
}
.bf-match .bf-itemdetail p.bf-itemstat {
  color: #a8d2b2;
  font-weight: 600;
}
.bf-match .bf-itemdetail .bf-primary {
  align-self: stretch;
  margin-top: auto;
  gap: 6px;
}
.bf-match .bf-itemdetail > small {
  margin-top: 5px;
  color: #b4bcac;
  font-size: 11px;
}
.bf-match .bf-itemdetail p.bf-buildnote {
  padding: 4px 6px;
  margin-bottom: 9px;
  border-left: 2px solid #9c8d64;
  background: #2a3024;
  color: #e4d1a7;
  font-size: 12px;
}
.bf-match .bf-primary.bf-sell {
  background: linear-gradient(115deg, #43382a, #332c22);
  color: #f2cf92;
  border-color: #a58b5d;
}
.bf-match .bf-primary.bf-sell[aria-disabled='true'] {
  background: #32382c;
  border-color: #6d6957;
  color: #b9b5a6;
}
.bf-match .bf-equipped {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #92816055;
}
.bf-match .bf-equipped > small {
  font: 500 9px var(--bf-mono);
  letter-spacing: 0.1em;
  color: #c9b78f;
}
.bf-match .bf-equipped > div {
  display: flex;
  gap: 4px;
}
.bf-match .bf-equipped div > span {
  width: 27px;
  height: 27px;
}
.bf-match .bf-equipped button {
  width: 27px;
  height: 27px;
  border: 1px solid #7c7356;
  background: #1d281d;
}
.bf-match .bf-equipped button:hover,
.bf-match .bf-equipped button[aria-pressed='true'] {
  border-color: #f2d39c;
  box-shadow: 0 0 0 1px #ae8b57;
}
.bf-match .bf-equipped p {
  margin-left: auto;
  color: #b8c1ae;
  font-size: 11px;
}
.bf-match .bf-scoreteams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.bf-match .bf-teamhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #262e26;
  border-top: 2px solid var(--bf-side);
  color: var(--bf-side);
}
.bf-match .bf-teamhead h3 {
  font: 700 22px/1 var(--bf-title);
}
.bf-match .bf-teamhead > strong {
  margin-left: auto;
  font: 700 24px/1 var(--bf-title);
}
.bf-match .bf-scorecolumns,
.bf-match .bf-scorerow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px 24px;
  align-items: center;
  gap: 7px;
}
.bf-match .bf-scorecolumns {
  padding: 7px 5px;
  color: #a9b29f;
  font: 500 8px var(--bf-mono);
  letter-spacing: 0.07em;
}
.bf-match .bf-scorecolumns span:not(:first-child),
.bf-match .bf-scorerow > b,
.bf-match .bf-scorerow > span {
  text-align: center;
}
.bf-match .bf-scorerow {
  min-height: 47px;
  padding: 4px 5px;
  border-top: 1px solid #555d4e;
  background: #20281fb3;
}
.bf-match .bf-scorerow.bf-you {
  background: #41402c;
  box-shadow: inset 2px 0 #d6b679;
}
.bf-match .bf-playername {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.bf-match .bf-playername img {
  width: 31px;
  height: 34px;
  border: 1px solid #77775b;
  object-position: 50% 30%;
}
.bf-match .bf-playername > span {
  display: block;
  min-width: 0;
}
.bf-match .bf-playername b,
.bf-match .bf-playername small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bf-match .bf-playername b {
  font: 650 16px/1.08 var(--bf-title);
}
.bf-match .bf-playername small {
  max-width: 128px;
  color: #b8c0af;
  font-size: 10px;
}
.bf-match .bf-playername i {
  margin-left: auto;
  padding: 0 3px;
  color: #e5cf9c;
  border: 1px solid #777259;
  font: 500 9px var(--bf-mono);
}
.bf-match .bf-scorerow > b,
.bf-match .bf-scorerow > span {
  font: 500 11px var(--bf-mono);
}
.bf-match .bf-scorerow em {
  font-style: normal;
  color: #828d7a;
}
.bf-match .bf-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 16px 0;
}
.bf-match .bf-controlprefs {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px 16px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #5b604d;
  background: #1b251d;
}
.bf-match .bf-controlprefs label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e1dfce;
  font: 600 13px var(--bf-body);
}
.bf-match .bf-controlprefs select {
  min-width: 90px;
  max-width: 65%;
  padding: 3px 5px;
  border: 1px solid #7c7459;
  color: #eece96;
  background: #212a20;
  font: 600 12px var(--bf-body);
}
.bf-match label.bf-controlcheck {
  justify-content: start;
  gap: 7px;
  color: #c6d0bd;
  font-size: 12px;
}
.bf-match .bf-controlcheck input {
  margin: 0;
  width: 14px;
  height: 14px;
  accent-color: #d5b27a;
}
@media (max-width: 600px) {
  .bf-match .bf-controlprefs {
    grid-template-columns: 1fr;
  }
}
.bf-match .bf-controls h3 {
  margin: 0 0 5px;
  font: 650 22px var(--bf-title);
  color: var(--bf-gold);
}
.bf-match .bf-controls section > div {
  min-height: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #465145;
  font-size: 13px;
  color: #e7e8d9;
}
.bf-match .bf-controls kbd {
  flex: none;
  min-width: 26px;
}
.bf-match .bf-note {
  padding: 9px 10px;
  border-left: 2px solid #a98f60;
  background: #20271f;
  color: #c5cbbd;
  font-size: 13px;
}
.bf-match .bf-dialog-champion {
  max-width: 630px;
}
.bf-match .bf-herointro {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 15px 0;
}
.bf-match .bf-herointro img {
  width: 67px;
  height: 77px;
  border: 1px solid #a18b61;
}
.bf-match .bf-herointro small {
  font: 500 9px var(--bf-mono);
  text-transform: uppercase;
  color: var(--bf-gold);
  letter-spacing: 0.07em;
}
.bf-match .bf-herointro h3 {
  margin: 3px 0;
  font: 650 24px var(--bf-title);
}
.bf-match .bf-herointro p {
  font-size: 14px;
  color: #cbd2c4;
}
.bf-match .bf-herostats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #4d5545;
  border: 1px solid #4d5545;
}
.bf-match .bf-herostats div {
  text-align: center;
  padding: 6px;
  background: #232b22;
}
.bf-match .bf-herostats small,
.bf-match .bf-herostats b {
  display: block;
}
.bf-match .bf-herostats small {
  color: #bdc3b1;
  font-size: 11px;
}
.bf-match .bf-herostats b {
  font: 650 18px var(--bf-title);
}
.bf-match .bf-kitlist {
  margin-top: 14px;
}
.bf-match .bf-kitlist > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-top: 1px solid #515849;
}
.bf-match .bf-kitart {
  width: 33px;
  height: 33px;
  flex: none;
  border: 1px solid #937f5d;
}
.bf-match .bf-kitlist b,
.bf-match .bf-kitlist small {
  display: block;
}
.bf-match .bf-kitlist b {
  color: #ebd9ac;
  font: 650 16px var(--bf-title);
}
.bf-match .bf-kitlist small {
  color: #c1c9b8;
  font-size: 12px;
}
.bf-match .bf-dialog-menu,
.bf-match .bf-dialog-offline {
  max-width: 380px;
}
.bf-match .bf-menulist {
  display: grid;
  gap: 5px;
  margin: 15px 0 0;
}
.bf-match .bf-menulist button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #535a48;
  background: #252d23;
  text-align: left;
}
.bf-match .bf-menulist button:hover {
  background: #373b2a;
  border-color: #a68f60;
}
.bf-match .bf-menulist .bf-glyph {
  width: 16px;
  height: 16px;
  color: #c4b88f;
}
.bf-match .bf-menulist span {
  flex: 1;
}
.bf-match .bf-menulist button > b {
  color: #c9d9bc;
  text-transform: capitalize;
  font-size: 12px;
}
.bf-match .bf-menulist .bf-leave {
  margin-top: 5px;
  color: #e1ac93;
  border-color: #735b4b;
}
.bf-match .bf-disconnected p {
  margin: 18px 0;
  color: #d6d6c6;
}
.bf-match .bf-dialog-map {
  width: min(570px, calc(90vh - 38px), 96vw);
}
.bf-match .bf-atlas {
  padding-top: 10px;
}
.bf-match .bf-large-map {
  border: 1px solid #8a8263;
}
.bf-match .bf-maplegend {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin: 8px 0 3px;
  font-size: 12px;
  color: #b9afd1;
}
.bf-match .bf-maplegend [class] {
  color: var(--bf-side);
}
.bf-match .bf-atlas p {
  color: #b8c4af;
  font-size: 11px;
  text-align: center;
}
.bf-match .bf-dialog-result {
  max-width: 470px;
  padding: 31px 25px;
  background: radial-gradient(ellipse at 50% 0, #62503152, transparent 70%), #1b231e;
}
.bf-match .bf-result {
  text-align: center;
}
.bf-match .bf-result-crest {
  display: grid;
  place-items: center;
  width: 69px;
  height: 69px;
  margin: 8px auto 18px;
  border: 1px solid var(--bf-side);
  transform: rotate(45deg) scale(0.8);
  color: var(--bf-side);
  box-shadow:
    inset 0 0 0 4px #20291e,
    inset 0 0 0 5px #a89a675c;
}
.bf-match .bf-result-crest .bf-glyph {
  width: 39px;
  height: 39px;
  transform: rotate(-45deg);
}
.bf-match .bf-result > small {
  color: var(--bf-side);
  font: 500 10px var(--bf-mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.bf-match .bf-result h2 {
  margin: 2px 0 19px;
  font: 700 67px/0.99 var(--bf-title);
  text-transform: uppercase;
  color: #f4e6c2;
}
.bf-match .bf-resultstats {
  display: flex;
  padding: 12px 0;
  margin: 0 0 20px;
  border-block: 1px solid #82715288;
}
.bf-match .bf-resultstats > div {
  flex: 1;
}
.bf-match .bf-resultstats > div + div {
  border-left: 1px solid #665f4b;
}
.bf-match .bf-resultstats b,
.bf-match .bf-resultstats small {
  display: block;
}
.bf-match .bf-resultstats b {
  font: 650 22px var(--bf-title);
}
.bf-match .bf-resultstats small {
  color: #b8beae;
  font-size: 11px;
}
.bf-match .bf-result .bf-primary {
  margin: auto;
  min-width: 168px;
}
@media (min-width: 1650px) {
  .bf-match .bf-hotbar {
    transform: translateX(-50%) scale(1.12);
    transform-origin: bottom center;
    bottom: 15px;
  }
  .bf-match .bf-upper-left {
    top: 21px;
    left: 24px;
  }
  .bf-match .bf-mapframe {
    right: 22px;
    bottom: 16px;
  }
  .bf-match .bf-aimhint {
    bottom: 147px;
  }
  .bf-match .bf-order {
    bottom: 175px;
  }
}
@media (max-width: 1050px) {
  .bf-match .bf-fieldtip {
    width: 168px;
  }
  .bf-match .bf-portrait {
    width: 57px;
  }
  .bf-match .bf-upper-left {
    left: 12px;
    top: 11px;
  }
  .bf-match .bf-tools {
    top: 11px;
    right: 12px;
  }
  .bf-match .bf-targetcard {
    left: 12px;
    top: 111px;
  }
  .bf-match .bf-mapframe {
    right: 10px;
  }
  .bf-match .bf-scorestrip {
    min-width: 270px;
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .bf-match {
    --bf-map: 116px;
  }
  .bf-match .bf-fieldtip {
    display: none;
  }
  .bf-match .bf-hotbar {
    gap: 5px;
    padding: 6px 7px;
    left: 46%;
  }
  .bf-match .bf-portrait {
    width: 48px;
  }
  .bf-match .bf-scorestrip {
    min-width: 220px;
    gap: 6px;
  }
  .bf-match .bf-faction span {
    display: none;
  }
  .bf-match .bf-upper-left {
    left: 7px;
  }
  .bf-match .bf-mapframe {
    right: 6px;
    bottom: 9px;
  }
  .bf-match .bf-camera {
    left: 7px;
    bottom: 7px;
  }
  .bf-match .bf-camera span,
  .bf-match .bf-camera kbd {
    display: none;
  }
  .bf-match .bf-chatkey {
    left: 40px;
    bottom: 7px;
  }
  .bf-match .bf-chat {
    left: 7px;
    bottom: 39px;
  }
  .bf-match .bf-personal {
    display: none;
  }
  .bf-match .bf-shoplist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bf-match .bf-dialog {
    padding: 15px;
  }
  .bf-match .bf-controls {
    gap: 9px;
  }
  .bf-match .bf-scoreteams {
    gap: 7px;
  }
}
@media (max-width: 580px) {
  .bf-match {
    --bf-map: 88px;
  }
  .bf-match .bf-hotbar {
    left: 4px;
    bottom: 4px;
    transform: scale(0.76);
    transform-origin: left bottom;
  }
  .bf-match .bf-camera {
    bottom: 94px;
  }
  .bf-match .bf-chatkey {
    bottom: 94px;
  }
  .bf-match .bf-chat {
    bottom: 124px;
  }
  .bf-match .bf-scorestrip {
    top: 0;
    min-width: 155px;
    height: 37px;
    padding-inline: 13px;
  }
  .bf-match .bf-scorestrip > b {
    font-size: 20px;
  }
  .bf-match .bf-faction .bf-glyph {
    width: 14px;
    height: 14px;
  }
  .bf-match .bf-region {
    display: none;
  }
  .bf-match .bf-allies {
    display: grid;
    grid-template-columns: repeat(2, 24px);
    margin: 0;
  }
  .bf-match .bf-allies button {
    width: 24px;
    height: 27px;
  }
  .bf-match .bf-tools {
    top: 5px;
    right: 5px;
    gap: 3px;
  }
  .bf-match .bf-iconbtn {
    width: 25px;
    height: 25px;
  }
  .bf-match .bf-mapbar {
    height: 14px;
  }
  .bf-match .bf-mapbar b {
    font-size: 6px;
  }
  .bf-match .bf-targetcard {
    top: 78px;
  }
  .bf-match .bf-controls,
  .bf-match .bf-scoreteams {
    grid-template-columns: 1fr;
  }
  .bf-match .bf-controls section > div {
    min-height: 26px;
  }
  .bf-match .bf-shopbody {
    grid-template-columns: minmax(0, 1fr) 125px;
    gap: 7px;
  }
  .bf-match .bf-itemcard {
    gap: 3px;
    min-height: 38px;
  }
  .bf-match .bf-itemcard > .bf-art {
    width: 23px;
    height: 26px;
  }
  .bf-match .bf-itemcard b {
    font-size: 12px;
  }
  .bf-match .bf-itemdetail {
    padding: 7px;
  }
  .bf-match .bf-filters button {
    padding: 3px 5px;
    font-size: 11px;
  }
  .bf-match .bf-aimhint {
    bottom: 99px;
  }
  .bf-match .bf-order {
    bottom: 125px;
  }
}
@media (max-height: 560px) and (min-width: 581px) {
  .bf-match {
    --bf-map: 105px;
  }
  .bf-match .bf-hotbar {
    transform: translateX(-50%) scale(0.84);
    transform-origin: bottom center;
    bottom: 5px;
  }
  .bf-match .bf-aimhint {
    bottom: 103px;
  }
  .bf-match .bf-order {
    bottom: 126px;
  }
  .bf-match .bf-dialog {
    max-height: calc(100% - 4px);
    padding: 12px 17px;
  }
  .bf-match .bf-fieldtip {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-match .bf-hitflash {
    display: none;
  }
  .bf-match *,
  .bf-match *:before,
  .bf-match *:after {
    transition: none !important;
  }
}
