.slot-guardian {
    background: url("/assets/slots/Slot_Guardian-b67e8e8e.png") no-repeat center center;
    background-size: cover;
    padding: 13px;
}

.empty-character-slot {
    width: 92px;
    height: 92px;
}

.character-icon {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.skill-icon {
    width: 100%;
    height: 100%;
    background-size: cover;
    display: block;
}

progress.health-bar {
  margin-bottom: 2px;
  height: 16px;
}
.progress.turn-meter-bar {
  margin-bottom: 2px;
  height: 4px;
}
.character-stats {
    max-width: 128px;
}

.character-level {
    font-weight: bold;
    display: inline-block;
    margin-top: 48px;
    margin-left: 48px;
}

.dead-character {
  filter: grayscale(1);
}

.hidden-team-stats {
    display: none;
}

.character-frame {
    height: 200px;
}

.character-frame-front {
    width: 100%;
    height: 200px;
    position: relative;
}

.character-frame-front div:first-child {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* On the win screen the frame spans the whole cell with the exp bar beneath
   it, so the bottom-right anchoring above leaves the sprite hugging the edge
   instead of sitting over its own bar. */
.team-gains .character-frame-front div:first-child {
    right: 50%;
    transform: translateX(50%);
}

/* Fills .team-on-tile, which is a square share of the hex — see world.css.
   object-fit keeps the sprite's own proportions whatever box it is given. */
.character-in-world,
.character-in-world img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.character-sidebar-item {
  padding-bottom: 0;
}

.character-bar-top {
    margin-left: 5px;
    margin-top: 5px;
}

.character-bar-bottom {
    margin-top: 96px;
    margin-right: 5px;
}
