.photo-visual img,
.avatar img,
.preview-person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-visual::after,
.avatar::after,
.preview-person::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(0deg, #1009188a, transparent 48%);
}

.photo-visual .media-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a42, #d347d2);
  font-size: 9px;
  font-weight: 900;
}

.photo-visual .duration {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 12px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #0d0817d9;
  color: #fff;
  font-size: 9px;
}

.duel-photo .versus-badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #24122e;
  box-shadow: 0 8px 25px #0008;
  transform: translate(-50%, -50%);
}

.avatar img {
  transition: transform .45s ease;
}

.character:hover .avatar img {
  transform: scale(1.035);
}

.avatar > span,
.preview-person span {
  z-index: 2;
}

.preview-person img {
  position: absolute;
  inset: 0;
}

.preview-person::after {
  background: linear-gradient(0deg, #170b22ba, transparent 42%);
}
