.battle-map .battle-map-row:after {
  content: "";
  display: table;
  clear: both;
}

.battle-map {
  padding-bottom: 20px;
  position: relative;
  margin: auto;
}
.battle-map.battle-map-size-x-6 {
  width: 640px;
}
.battle-map .battle-map-row {
  margin-left: 15px;
  height: 82px;
  z-index: 5;
  position: relative;
}
.battle-map .battle-map-row:nth-child(odd) {
  margin-left: 62px;
}
.battle-map .battle-map-row .cell {
  float: left;
  width: 94px;
  height: 82px;
  position: relative;
}
.battle-map .battle-map-row .cell .empty-cell {
  position: absolute;
  left: 45px;
  top: 42px;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: red;
}
.battle-map .battle-map-row .edit-cell {
  position: absolute;
  display: block;
  z-index: 100;
  top: 50px;
  left: 5px;
  padding: 10px;
  min-width: 260px;
  border-radius: 10px;
  border: 1px gray solid;
  background-color: #222;
}
.battle-map .battle-map-row .battle-map-cell-key {
  text-align: center;
  position: absolute;
  bottom: -15px;
  left: 39px;
  z-index: 1;
}
.battle-map .battle-map-row .battle-map-cell {
  margin: 0;
  float: left;
  position: relative;
  clip-path: polygon(0 25%, 0 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0);
  width: 93px;
  height: 107px;
  background-color: #111;
}
.battle-map .battle-map-row .battle-map-cell.battle-map-cell-removed {
  opacity: 0.2;
}
.battle-map .battle-map-row .battle-map-cell .battle-map-cell-character .character-view {
  pointer-events: none;
  margin-top: 14px;
  background-position: 50% 0;
  background-repeat: no-repeat;
  width: 94px;
  height: 94px;
  background-size: contain;
  z-index: 10;
  position: absolute;
}
.battle-map .battle-map-row .battle-map-cell .battle-map-cell-character.battle-map-cell-user-character {
  background-color: #121;
}
.battle-map .battle-map-row .battle-map-cell .battle-map-cell-character.already-move .character-view {
  opacity: 0.7;
}
.battle-map .battle-map-row .battle-map-cell .character-cell {
  width: 94px;
  height: 94px;
  font-size: 25px !important;
  text-align: center;
  padding: 35px 0 0;
}
.battle-map .battle-map-row .battle-map-cell .character-cell.character-cell-enemy {
  height: 110px;
  background-color: #522;
}
.battle-map .battle-map-row .battle-map-cell.active:before {
  content: "";
  width: 94px;
  height: 89px;
  display: block;
  position: absolute;
  background: url("https://lastfortress.ru/images/interface/battle/cellActive.png");
}
.battle-map .battle-map-row .battle-map-cell:hover:before {
  content: "";
  width: 94px;
  height: 89px;
  display: block;
  position: absolute;
  background: url("https://lastfortress.ru/images/interface/battle/cellHover.png");
}
.battle-map:after {
  position: absolute;
  content: "";
  display: block;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-map-background-arena-bestFitted-width-640-height-1024.png");
  z-index: 1;
}
.battle-map .battle-map-corner {
  position: absolute;
  width: 13px;
  height: 13px;
  z-index: 6;
}
.battle-map .battle-map-corner-left-top {
  top: 0;
  left: 0;
  background: url("https://lastfortress.ru/images/interface/battle/battle-border-corner.png");
}
.battle-map .battle-map-corner-right-top {
  top: 0;
  right: 0;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-corner-rotated-90.png");
}
.battle-map .battle-map-corner-right-bottom {
  right: 0;
  bottom: 0;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-corner-rotated-180.png");
}
.battle-map .battle-map-corner-left-bottom {
  left: 0;
  bottom: 0;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-corner-rotated-270.png");
}
.battle-map .battle-map-border {
  position: absolute;
  z-index: 5;
}
.battle-map .battle-map-border-top {
  left: 0;
  right: 0;
  height: 5px;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-rotated-90.png");
}
.battle-map .battle-map-border-right {
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-rotated-180.png");
}
.battle-map .battle-map-border-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: url("https://lastfortress.ru/images_process/interface/battle/battle-border-rotated-270.png");
}
.battle-map .battle-map-border-left {
  top: 0;
  bottom: 0;
  width: 5px;
  background: url("https://lastfortress.ru/images/interface/battle/battle-border.png");
}

.flip-any {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}