/* Brood Front: the battle command band and mid-round controls (T813, T943).
   The band is a dark glass panel with a thin teal edge light; every chip is bevelled and has a small
   CSS-drawn icon. The wall is a ten-segment gauge, the ability button has a radial charge ring, the
   Salvage count glows when it rises and the build picker is a styled panel with each base's drawn icon.
   Scoped to #battle. Animations are one-shots on a class and are off under reduced motion. */

#battle {
  --hud-teal: #4fe3d0;
  --hud-teal-dim: rgba(79, 227, 208, 0.45);
  --hud-amber: #ffb84a;
  --hud-red: #ff6b5e;
  --hud-glass: rgba(9, 14, 30, 0.8);
  --hud-chip: linear-gradient(180deg, rgba(40, 56, 86, 0.9), rgba(14, 20, 40, 0.95));
}

/* ---- the band: glass panel, teal edge light ---- */
#battle .bt-band {
  background: linear-gradient(180deg, rgba(8, 12, 28, 0.9), rgba(10, 16, 34, 0.74));
  border-bottom: 1px solid var(--hud-teal-dim);
  box-shadow: 0 1px 10px rgba(79, 227, 208, 0.22), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#battle .bt-band::after {                        /* the edge light: a bright core fading to the sides */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--hud-teal) 50%, transparent);
  opacity: 0.8;
}

/* ---- the timer chip (T922 keeps its own rules in .bf-clean) ---- */
#battle .bt-timer {
  box-sizing: border-box;
  min-width: 2.9em;
  height: 44px;
  padding: 0 6px;
  text-align: center;
  font: 700 1.05rem/42px ui-monospace, Menlo, Consolas, monospace;
  color: #e9fffb;
  border: 1px solid rgba(79, 227, 208, 0.35);
  border-radius: 8px 8px 8px 14px;
  background: var(--hud-chip);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}
#battle .bt-timer.bf-clean { line-height: 1.05; padding: 0 2px; }

/* ---- the wall gauge: ten segments, teal to amber to red, a flash on a hit ---- */
#battle .bt-wall-label { color: #bfeee8; opacity: 1; display: flex; align-items: center; gap: 4px; }
#battle .bt-wall-label::before {                 /* a small wall glyph: three bricks */
  content: "";
  flex: none;
  width: 9px;
  height: 7px;
  background:
    linear-gradient(#bfeee8, #bfeee8) 0 0 / 4px 3px no-repeat,
    linear-gradient(#bfeee8, #bfeee8) 5px 0 / 4px 3px no-repeat,
    linear-gradient(#bfeee8, #bfeee8) 2px 4px / 5px 3px no-repeat;
}
#battle .bt-wall-bar {
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #05080f, #0c1424);
  border: 1px solid rgba(79, 227, 208, 0.4);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}
#battle .bt-wall-fill {
  border-radius: 0;
  background: linear-gradient(180deg, #8ff5e6 0%, #2fc7b2 45%, #178a7c 100%);
  box-shadow: 0 0 8px rgba(79, 227, 208, 0.55);
  transition: width 0.25s ease-out;
}
#battle .bt-wall-fill.mid {
  background: linear-gradient(180deg, #ffd890 0%, #f0a43c 45%, #b6701a 100%);
  box-shadow: 0 0 8px rgba(255, 184, 74, 0.55);
}
#battle .bt-wall-fill.low {
  background: linear-gradient(180deg, #ffa79e 0%, #ee4a3c 45%, #a1241a 100%);
  box-shadow: 0 0 8px rgba(255, 107, 94, 0.6);
}
#battle .bt-wall-bar::after {                    /* the ten segment gaps, over the fill */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent calc(100% - 2px), #060a14 calc(100% - 2px)) 0 0 / 10% 100%;
}
#battle .bt-wall-bar::before {                   /* the hit flash lives here */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #fff;
  opacity: 0;
}
#battle .bt-wall-bar.hit::before { animation: bf-wall-hit 0.45s ease-out; }
#battle .bt-wall-bar.hit { animation: bf-wall-shake 0.3s ease-out; }
#battle .bt-wall-num { z-index: 2; color: #fff; text-shadow: 0 0 3px #000, 0 1px 2px #000, 0 0 6px #000; }
@keyframes bf-wall-hit { 0% { opacity: 0.85; background: #ff8a7e; } 100% { opacity: 0; background: #ff8a7e; } }
@keyframes bf-wall-shake { 0% { transform: translateX(-2px); } 35% { transform: translateX(2px); } 70% { transform: translateX(-1px); } 100% { transform: none; } }

/* ---- chips: Salvage, ability, Repair, pause share a bevelled glass body ---- */
#battle .bf-salvage {
  position: relative;
  gap: 2px;
  border: 1px solid rgba(255, 214, 110, 0.55);
  border-radius: 8px 8px 8px 14px;
  background: linear-gradient(180deg, rgba(86, 64, 12, 0.88), rgba(30, 22, 6, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #ffe9a0;
  transition: box-shadow 0.3s;
}
#battle .bf-salvage-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.55rem;
  opacity: 1;
  color: #ffdc82;
}
#battle .bf-salvage-label::before {              /* the Salvage crystal */
  content: "";
  flex: none;
  width: 7px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%);
  background: linear-gradient(135deg, #fff3c0 0%, #ffc83a 50%, #c47a10 100%);
}
#battle .bf-salvage.gain { animation: bf-salv-gain 0.7s ease-out; }
@keyframes bf-salv-gain {
  0% { box-shadow: 0 0 14px 3px rgba(255, 214, 110, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 110, 0), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35); }
}
#battle .bf-salvage-num { min-width: 3ch; color: #fff3c8; }

#battle .bf-ability {
  gap: 4px;
  padding: 0 6px;
  border: 1px solid rgba(255, 130, 120, 0.6);
  border-radius: 8px 8px 8px 14px;
  background: linear-gradient(180deg, rgba(110, 34, 34, 0.9), rgba(44, 12, 16, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #ffe6e2;
}
#battle .bf-ability:disabled { opacity: 0.6; }
#battle .bf-ability.armed {
  background: linear-gradient(180deg, rgba(255, 110, 100, 0.65), rgba(120, 30, 30, 0.9));
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 90, 90, 0.7);
}
#battle .bf-cd { background: rgba(0, 0, 0, 0.5); }

/* the radial charge: a conic ring that fills as the cooldown runs out (--p is the charged angle) */
#battle .bf-orb {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  display: block;
}
#battle .bf-ring {
  --p: 360deg;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff8a7e var(--p), rgba(255, 255, 255, 0.16) 0);
  -webkit-mask: radial-gradient(circle, transparent 10px, #000 11px);
  mask: radial-gradient(circle, transparent 10px, #000 11px);
}
#battle .bf-ring.ready { background: conic-gradient(from 0deg, #ffd7d2 360deg, transparent 0); filter: drop-shadow(0 0 3px rgba(255, 138, 126, 0.9)); }
#battle .bf-ability-icon {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9c92, #d23a30 70%);
  color: #1a0606;
  font: 800 0.72rem/20px sans-serif;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}
#battle .bf-ability-sub { color: #fff; }

#battle .bf-repair {
  border: 1px solid rgba(120, 230, 160, 0.6);
  border-radius: 8px 8px 8px 14px;
  background: linear-gradient(180deg, rgba(28, 92, 56, 0.9), rgba(10, 36, 22, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #dcffe8;
}
#battle .bf-repair-icon { fill: #9cf5b6; filter: drop-shadow(0 0 2px rgba(120, 230, 160, 0.6)); }
#battle .bf-repair:disabled { opacity: 0.6; }

#battle .bt-pause {
  border: 1px solid rgba(79, 227, 208, 0.45);
  border-radius: 8px 8px 14px 8px;
  background: var(--hud-chip);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}
#battle .bt-pause i { background: #aaf3e8; box-shadow: 0 0 4px rgba(79, 227, 208, 0.6); }

#battle .bf-ability, #battle .bf-repair, #battle .bf-salvage, #battle .bt-pause { position: relative; }
#battle .bf-ability {
  position: relative;
  flex: 0 0 auto;
  max-width: 190px;
  min-width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
  font: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
#battle .bf-ability > span:not(.bf-cd) { position: relative; }
#battle .bf-orb { position: relative; }
#battle .bf-ability-name { flex: 0 1 auto; min-width: 0; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
#battle .bf-ability-sub { flex: none; font: 700 0.85rem/1 ui-monospace, Menlo, Consolas, monospace; }

#battle .bf-salvage {
  flex: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  box-sizing: border-box;
}
#battle .bf-salvage-num { font: 700 1.05rem/1 ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; text-align: center; }

/* ---- the build picker: a glass panel; each entry a base icon, a price and a name ---- */
#battle .bf-picker {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;     /* T957: rows (bases, supports) or the base panel */
  align-items: center;
  gap: 6px;
  padding: 7px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  width: max-content;         /* the rows decide the width, up to the stage */
  max-width: min(calc(100% - 8px), 320px);
  border: 1px solid var(--hud-teal-dim);
  border-radius: 12px 12px 12px 18px;
  background: linear-gradient(180deg, rgba(14, 22, 44, 0.97), rgba(7, 10, 24, 0.98));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(79, 227, 208, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#battle .bf-picker[hidden] { display: none; }
#battle .bf-pick {
  position: relative;
  min-width: 76px;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "ico cost" "name name" "secs secs";
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  row-gap: 1px;
  padding: 3px 6px 4px;
  border: 1px solid rgba(79, 227, 208, 0.4);
  border-radius: 8px 8px 8px 14px;
  background: linear-gradient(180deg, rgba(48, 66, 98, 0.9), rgba(20, 28, 52, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #eafffb;
  font: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
#battle .bf-pick:active:not(:disabled) { transform: translateY(1px); border-color: var(--hud-teal); }
#battle .bf-pick:disabled { opacity: 0.55; cursor: default; filter: saturate(0.4); }
#battle .bf-pick-name { grid-area: name; font-size: 0.72rem; line-height: 1.1; white-space: nowrap; text-align: center; }
#battle .bf-pick-ico { grid-area: ico; display: block; width: 26px; height: 26px; position: relative; }
#battle .bf-pick-ico canvas { display: block; width: 26px; height: 26px; }
#battle .bf-pick-cost {
  grid-area: cost;
  font: 700 0.95rem/1 ui-monospace, Menlo, Consolas, monospace;
  color: #ffe678;
  padding-left: 14px;
  position: relative;
}
#battle .bf-pick-cost:not(:empty)::before {      /* the price is Salvage: a crystal in front */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -5px;
  width: 8px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%);
  background: linear-gradient(135deg, #fff3c0, #ffc83a 55%, #c47a10);
}
#battle .bf-pick-ico.glyph-up {                  /* upgrade: a chevron pair */
  clip-path: polygon(50% 8%, 90% 48%, 74% 48%, 50% 24%, 26% 48%, 10% 48%, 50% 8%, 50% 8%, 90% 80%, 74% 80%, 50% 56%, 26% 80%, 10% 80%, 50% 40%);
  background: linear-gradient(180deg, #aaf3e8, #2fc7b2);
}
#battle .bf-pick-ico.glyph-od {                  /* overdrive: a bolt */
  clip-path: polygon(58% 4%, 18% 56%, 46% 56%, 38% 96%, 82% 40%, 54% 40%);
  background: linear-gradient(180deg, #fff0b0, #ffb030);
}

/* ---- T957: the build picker rows and the base panel ---- */
#battle .bf-pick-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }  /* up to six bases (T853): three per row */
#battle .bf-pick-row.supports { flex-wrap: nowrap; gap: 4px; }
#battle .bf-pick-row.supports .bf-pick { flex: 1 1 0; min-width: 62px; padding-left: 2px; padding-right: 2px; column-gap: 3px; }
#battle .bf-pick-row.supports .bf-pick-name { font-size: 0.64rem; }
#battle .bf-pick-row.supports .bf-pick-cost { font-size: 0.85rem; padding-left: 12px; }
#battle .bf-pick-label { align-self: stretch; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hud-teal); opacity: 0.85; text-align: left; line-height: 1.2; }
#battle .bf-pick-secs { grid-area: secs; font-size: 0.6rem; line-height: 1; color: rgba(210, 235, 240, 0.7); text-align: center; }
#battle .bf-pick-secs:empty { display: none; }
#battle .bf-picker.bf-panel { width: min(calc(100% - 8px), 320px); align-items: stretch; }
#battle .bf-panel-head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
#battle .bf-panel-ico { flex: none; width: 30px; height: 30px; display: block; }
#battle .bf-panel-ico canvas { display: block; }
#battle .bf-panel-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#battle .bf-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#battle .bf-panel-name { font-size: 0.9rem; font-weight: 700; line-height: 1.1; color: #eafffb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#battle .bf-panel-sub { font-size: 0.68rem; line-height: 1.15; color: rgba(210, 235, 240, 0.78); overflow-wrap: anywhere; }
#battle .bf-pips { flex: none; display: inline-flex; gap: 4px; }
#battle .bf-pips i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(79, 227, 208, 0.6); background: rgba(10, 16, 30, 0.8); }
#battle .bf-pips i.on { background: linear-gradient(135deg, #bff8ee, #2fc7b2); box-shadow: 0 0 5px rgba(79, 227, 208, 0.6); }
#battle .bf-pips i.dark { border-color: rgba(120, 130, 150, 0.35); background: rgba(40, 46, 60, 0.7); }
#battle .bf-build { position: relative; height: 26px; border-radius: 7px; border: 1px solid rgba(255, 200, 80, 0.55); background: rgba(10, 14, 26, 0.9); overflow: hidden; }
#battle .bf-build-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(135deg, rgba(255, 200, 80, 0.85) 0 8px, rgba(200, 140, 30, 0.85) 8px 16px); }
#battle .bf-build-txt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 0.72rem/1 ui-monospace, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
#battle .bf-stance { display: flex; border: 1px solid rgba(79, 227, 208, 0.4); border-radius: 9px; overflow: hidden; }
#battle .bf-st {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 4px;
  border: 0; border-left: 1px solid rgba(79, 227, 208, 0.25); border-radius: 0;
  background: linear-gradient(180deg, rgba(40, 56, 86, 0.9), rgba(18, 26, 48, 0.95));
  color: rgba(220, 240, 245, 0.8); font: inherit; font-size: 0.78rem; font-weight: 600;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer;
}
#battle .bf-st:first-child { border-left: 0; }
#battle .bf-st.on { background: linear-gradient(180deg, #4fe3d0, #1f9c8e); color: #04151a; box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.3); }
#battle .bf-st-desc { font-size: 0.66rem; line-height: 1.2; color: rgba(210, 235, 240, 0.7); text-align: center; min-height: 0.8rem; }
#battle .bf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#battle .bf-cards.one { grid-template-columns: 1fr; }
#battle .bf-choice {
  position: relative; min-width: 0; min-height: 88px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 3px;
  padding: 5px 6px 5px; text-align: left;
  border: 1px solid rgba(79, 227, 208, 0.45); border-radius: 8px 8px 8px 14px;
  background: linear-gradient(180deg, rgba(48, 66, 98, 0.9), rgba(20, 28, 52, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  color: #eafffb; font: inherit;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer;
}
#battle .bf-choice:active:not(:disabled) { transform: translateY(1px); border-color: var(--hud-teal); }
#battle .bf-choice:disabled { opacity: 0.6; cursor: default; filter: saturate(0.45); }
#battle .bf-choice.current { border-style: dashed; }
#battle .bf-choice-top { display: flex; align-items: center; gap: 5px; min-height: 28px; }
#battle .bf-choice-ico { flex: none; width: 28px; height: 28px; display: block; }
#battle .bf-choice-ico canvas { display: block; }
#battle .bf-choice-name { font-size: 0.78rem; font-weight: 700; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
#battle .bf-choice-desc { font-size: 0.64rem; line-height: 1.2; color: rgba(215, 235, 240, 0.82); flex: 1; overflow-wrap: anywhere; }
#battle .bf-choice-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 16px; }
#battle .bf-choice-need { font-size: 0.62rem; color: #ff9d8a; font-weight: 700; white-space: nowrap; }
#battle .bf-choice.current .bf-choice-need { color: rgba(210, 235, 240, 0.8); }
#battle .bf-maxed { font-size: 0.74rem; text-align: center; color: rgba(210, 235, 240, 0.75); padding: 6px 0; }
#battle .bf-acts { display: flex; gap: 6px; }
#battle .bf-acts .bf-pick { flex: 1; min-width: 0; min-height: 52px; }
#battle .bf-pick.sell.confirm { border-color: #ff7a5a; background: linear-gradient(180deg, rgba(120, 44, 38, 0.95), rgba(60, 20, 22, 0.97)); }
#battle .bf-pick-ico.glyph-refit { clip-path: polygon(0 22%, 62% 22%, 62% 6%, 100% 32%, 62% 58%, 62% 42%, 0 42%, 0 22%, 100% 66%, 100% 86%, 38% 86%, 38% 100%, 0 74%, 38% 48%, 38% 66%); background: linear-gradient(180deg, #aaf3e8, #2fc7b2); }
#battle .bf-pick-ico.glyph-sell { clip-path: polygon(34% 4%, 66% 4%, 66% 44%, 90% 44%, 50% 92%, 10% 44%, 34% 44%); background: linear-gradient(180deg, #ffd9a8, #e08a3a); }

/* On a phone the band is tight: the button is the orb and the cost (the name stays in the DOM and the label). */
@media (max-width: 430px) {
  #battle .bf-ability-name { display: none; }
  #battle .bt-hud { gap: 4px; }
  #battle .bt-band { gap: 4px; }
  #battle .bf-salvage { padding: 0 4px; }
  #battle .bt-timer { min-width: 2.6em; padding: 0 3px; font-size: 1rem; }
  #battle .bf-ability { padding: 0 5px; gap: 3px; }
}

/* The Salvage sink (T899): the Repair button in the band, the Overdrive button in the picker. */
#battle .bf-repair {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  overflow: hidden;
  font: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
#battle .bf-repair > :not(.bf-cd) { position: relative; }
#battle .bf-repair-icon { width: 17px; height: 17px; }
#battle .bf-repair-sub { font: 700 0.7rem/1 ui-monospace, Menlo, Consolas, monospace; }

#battle .bf-pick.overdrive { position: relative; }
#battle .bf-pick.overdrive.running { border-color: rgba(255, 200, 80, 0.9); }
#battle .bf-od-ring {
  --p: 0deg;
  position: absolute;
  inset: 2px;
  border-radius: 9px;
  pointer-events: none;
  background: conic-gradient(rgba(255, 200, 80, 0.4) var(--p), transparent 0);
}
#battle .bf-pick.overdrive > span:not(.bf-od-ring) { position: relative; }

@media (prefers-reduced-motion: reduce) {
  #battle .bf-picker, #battle .bf-picker *, #battle .bf-build-fill { animation: none; transition: none; }
  #battle .bt-wall-bar.hit,
  #battle .bt-wall-bar.hit::before,
  #battle .bf-salvage.gain { animation: none; }
  #battle .bt-wall-fill { transition: none; }
}
