.cf-player-photo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: var(--lime);
  background: radial-gradient(circle at 50% 32%, rgba(199, 246, 91, 0.18), rgba(20, 28, 37, 0.95) 72%);
}

.cf-player-photo-fallback {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.cf-player-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.35));
}

.roster-photo {
  width: 36px;
  height: 38px;
  border-radius: 9px;
}

.player-drawer-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.player-drawer-hero > :not(.drawer-player-photo) {
  z-index: 1;
  max-width: 62%;
}

.drawer-player-photo {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: 170px;
  height: 205px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 50% 58%, rgba(199, 246, 91, 0.2), transparent 65%);
}

.drawer-player-photo img {
  filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.44));
}

.pitch-player {
  grid-template-columns: 32px 1fr;
  position: absolute;
}

.pitch-player > .pitch-player-photo {
  grid-row: 1 / span 2;
  width: 30px;
  height: 35px;
  border: 0;
  border-radius: 7px;
  clip-path: none;
  color: var(--lime);
  background: rgba(9, 14, 18, 0.62);
}

.pitch-player > .pitch-player-rating {
  position: absolute;
  top: -7px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid #141c22;
  border-radius: 50%;
  clip-path: none;
  color: #0a0e10;
  background: var(--lime);
  font-size: 7px;
  font-weight: 900;
}

.pitch-player > strong,
.pitch-player > small {
  grid-column: 2;
}

.bench-strip button > .bench-player-photo {
  display: inline-grid;
  width: 30px;
  height: 32px;
  border-radius: 7px;
}

.selected-player-photo,
.transfer-player-photo {
  width: 40px;
  height: 44px;
  border-radius: 9px;
}

.admin-player-row {
  grid-template-columns: 38px 48px minmax(0, 1fr) 32px 32px;
}

.admin-player-photo {
  width: 34px;
  height: 36px;
  border-radius: 8px;
}

.cf-stats-player-photo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: var(--lime);
  background: radial-gradient(circle at 50% 35%, rgba(199, 246, 91, 0.18), rgba(20, 28, 37, 0.96) 72%);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.cf-stats-player-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.35));
}

.cf-stats-player-photo.bestof {
  width: 48px;
  height: 52px;
  border-radius: 11px;
}

.cf-stats-player-photo.profile {
  width: 82px;
  height: 94px;
  border: 0;
  border-radius: 13px;
}

.cf-stats-profile header p > i.has-club-logo {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: middle;
}

@media (max-width: 620px) {
  .drawer-player-photo {
    right: -8px;
    width: 145px;
    height: 180px;
  }

  .player-drawer-hero > :not(.drawer-player-photo) {
    max-width: 68%;
  }

  .admin-player-row {
    grid-template-columns: 36px 42px 1fr 30px 30px;
  }
}
