.Combatant {
  width: 67px;
  height: 14px;
  background: url("../images/ui/combatant-plate.png") no-repeat no-repeat;
  position: absolute;
}

.Battle .Combatant {
  transform: scale(2);
  transition: opacity 0.4s;
}

.Battle .Combatant[data-active="false"] {
  opacity: 0;
}
.Battle .Combatant[data-active="true"] {
  opacity: 1;
}

.Combatant[data-team="player"] {
  left: 46px;
  top: 70px;
}
.Combatant[data-team="enemy"] {
  top: 28px;
  right: 77px;
}

.Combatant_character_crop {
  position: absolute;
  bottom: 1px;
  left: 3px;
  width: 22px;
  height: 12px;
  overflow: hidden;
}
.Combatant_character {
  display: block;
  position: absolute;
  left: -11px;
  bottom: -7px;
}
.Battle .Combatant_character_crop {
  display: none;
}

.Combatant_name {
  position: absolute;
  left: -2px;
  top: -8px;
  white-space: nowrap;
  background: var(--menu-font-color);
  color: #000;
  font-size: 5px;
  padding-left: 2px;
  padding-right: 2px;
  margin: 0;
}
.Combatant_type {
  position: absolute;
  left: 7px;
  top: 2px;
  width: 10px;
  height: 10px;
}

.Combatant_life-container {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 26px;
  height: 3px;
}
.Combatant_life-container > rect {
  transition: width 0.2s;
}

.Combatant_xp-container {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 26px;
  height: 2px;
}
.Combatant_level {
  position: absolute;
  font-size: 8px;
  right: 2px;
  top: -1px;
  width: 17px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  border-top: 1px dotted #eeeeee;
  border-bottom: 1px dotted #eeeeee;
  border-right: 1px dotted #eeeeee;
  margin: 0;
}

.Combatant_status {
  position: absolute;
  font-size: 5px;
  left: 47px;
  bottom: -3px;
  padding-left: 2px;
  padding-right: 2px;
  background: rgba(250, 250, 250);
  color: black;
  margin: 0;
}
.Combatant_status[data-status="bearish"] {
  color: red;
}
.Combatant_status[data-status="bullish"] {
  background: #31ff88;
}

.Coin {
  position: absolute;
  transform: scale(2);
  transition: opacity 0.4s, transform 0.4s;
  background: url(../images/characters/coins/coin-shadow.png) no-repeat
    no-repeat;
}
.Coin[data-team="player"] {
  bottom: 73px;
  left: 51px;
}
.Coin[data-team="enemy"] {
  top: 47px;
  right: 100px;
}
.Coin[data-active="false"] {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(2);
}
.Coin[data-active="true"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(2);
}
