.cCard {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 1.75rem;
  color: var(--color-white-lighter);
  line-height: 1;
  transform: translateY(0);
  transition: background-color 50ms ease-out, box-shadow
      50ms ease-out,
    transform 100ms cubic-bezier(0.3, 0.6, 0.8, 1.25);
}

.cCard.A-rank,
.cCard.B-rank,
.cCard.S-rank {
  box-shadow: inset 0 0 3rem 1rem var(--color-white-darker);
}

.cCard.A-rank:hover,
.cCard.A-rank:active,
.cCard.A-rank:focus {
  background: var(--color-a-rank-lighter);
  color: var(--color-white);
}

.cCard.B-rank:hover,
.cCard.B-rank:active,
.cCard.B-rank:focus {
  background: var(--color-b-rank-lighter);
  color: var(--color-white);
}

.cCard.S-rank:hover,
.cCard.S-rank:active,
.cCard.S-rank:focus {
  background: var(--color-s-rank-lighter);
  color: var(--color-white);
}

.cCard__character-picture {
  overflow: hidden;
  display: flex;
  justify-content: center;
  width: 100%;
}

.cCard__eCoefficient-wrapper {
  position: absolute;
  top: 2.5rem;
  left: .25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cCard__coefficient-picture {
  height: 30px;
}

.cCard__coefficient-picture img {
  width: 30px;
}

.cCard__classRank-picture {
  position: absolute;
  top: .45rem;
  left: 0;
}

.cCard__classRank-picture img {
  width: 36px;
}

.cCard__classType-picture {
  position: absolute;
  top: .25rem;
  right: .25rem;
}

.cCard__classType-picture img {
  width: 36px;
}

.cCard__displayName {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: .5rem .25rem;
  font-size: .9rem;
  text-shadow: var(--text-shadow);
  text-align: right;
}

.cCard__displayName.A-rank {
  background: var(--color-a-rank-darker);
}

.cCard__displayName.B-rank {
  background: var(--color-b-rank-darker);
}

.cCard__displayName.S-rank {
  background: var(--color-s-rank-darker);
}