/* Display just the foreground portrait from the club's original photograph.
   Percentage coordinates refer to the original graphic's 1080 × 1350 frame. */
.uniform-stage .martinez-portrait {
  display: grid;
  place-items: end center;
  container-type: size;
  pointer-events: none;
}

.martinez-portrait-frame {
  position: relative;
  display: block;
  width: min(100cqw, 63.21cqh);
  aspect-ratio: 622 / 984;
}

body.player-martinez .uniform-stage .martinez-portrait {
  top: 16px;
  bottom: 24px;
  height: auto;
}

#rosa .player-image .martinez-portrait-frame > img,
.uniform-stage .martinez-portrait-frame img {
  position: absolute;
  bottom: 0;
  left: -27.65%;
  display: block;
  width: 173.63%;
  height: 137.20%;
  max-width: none;
  object-fit: fill;
  clip-path: polygon(
    46.57% 27.48%, 47.13% 27.63%, 47.69% 27.78%, 48.06% 27.93%, 49.17% 28.07%,
    49.63% 28.22%, 50.37% 28.37%, 51.02% 28.52%, 51.39% 28.67%, 51.94% 28.96%,
    52.13% 29.26%, 52.50% 29.56%, 53.06% 29.85%, 54.07% 30.37%, 54.81% 31.11%,
    55.56% 32.22%, 56.11% 33.33%, 56.20% 35.19%, 56.02% 36.96%, 56.02% 37.33%,
    56.94% 37.63%, 57.31% 37.93%, 57.50% 38.22%, 57.59% 38.52%, 57.59% 39.11%,
    57.50% 40.00%, 57.41% 40.89%, 57.31% 41.48%, 56.94% 42.07%, 56.67% 42.37%,
    56.30% 42.67%, 55.00% 42.96%, 54.81% 43.26%, 54.72% 43.56%, 54.54% 44.15%,
    54.35% 45.19%, 54.35% 46.30%, 54.35% 47.33%, 54.35% 48.22%, 54.35% 49.11%,
    54.91% 50.00%, 55.46% 50.59%, 56.20% 50.89%, 56.48% 51.19%, 57.04% 51.48%,
    58.43% 52.07%, 59.54% 52.67%, 60.65% 53.26%, 61.67% 53.85%, 62.87% 54.44%,
    63.89% 55.04%, 64.91% 55.63%, 65.74% 56.22%, 67.04% 57.04%, 68.06% 57.70%,
    69.26% 58.52%, 69.81% 59.63%, 70.28% 60.37%, 70.65% 61.48%, 70.83% 62.96%,
    70.83% 64.81%, 70.93% 66.67%, 71.20% 68.52%, 70.74% 70.37%, 69.91% 72.22%,
    69.44% 73.70%, 68.98% 75.19%, 68.43% 77.04%, 67.96% 78.15%, 67.59% 79.63%,
    66.76% 81.48%, 66.57% 83.70%, 66.57% 85.19%, 66.39% 86.30%, 66.30% 86.81%,
    66.20% 87.26%, 66.11% 87.78%, 66.11% 88.30%, 66.11% 88.74%, 66.11% 89.26%,
    66.02% 91.11%, 65.65% 93.33%, 65.46% 95.56%, 65.09% 97.78%, 65.00% 100.00%,
    28.61% 100.00%, 29.17% 97.78%, 29.72% 95.56%, 30.09% 93.33%, 30.56% 91.11%,
    31.11% 89.26%, 31.11% 88.74%, 31.30% 88.30%, 25.83% 87.78%, 22.31% 87.26%,
    19.26% 86.81%, 18.52% 86.30%, 17.96% 85.19%, 17.69% 83.70%, 17.87% 81.48%,
    18.15% 79.63%, 18.52% 78.15%, 18.80% 77.04%, 19.35% 75.19%, 20.09% 73.70%,
    20.83% 72.22%, 22.31% 70.37%, 23.24% 68.52%, 23.80% 66.67%, 24.54% 64.81%,
    25.28% 62.96%, 26.02% 61.48%, 26.57% 60.37%, 27.04% 59.63%, 27.87% 58.52%,
    28.80% 57.70%, 30.00% 57.04%, 32.87% 56.22%, 34.44% 55.63%, 35.83% 55.04%,
    36.94% 54.44%, 37.78% 53.85%, 38.70% 53.26%, 40.19% 52.67%, 41.20% 52.07%,
    41.85% 51.48%, 41.94% 51.19%, 41.94% 50.89%, 41.94% 50.59%, 41.94% 50.00%,
    41.85% 49.11%, 41.76% 48.22%, 41.02% 47.33%, 40.37% 46.30%, 39.91% 45.19%,
    39.54% 44.15%, 39.35% 43.56%, 38.43% 43.26%, 37.87% 42.96%, 37.78% 42.67%,
    37.50% 42.37%, 37.50% 42.07%, 37.31% 41.48%, 37.22% 40.89%, 37.13% 40.00%,
    36.94% 39.11%, 37.13% 38.52%, 37.50% 38.22%, 37.78% 37.93%, 37.87% 37.63%,
    37.87% 37.33%, 37.87% 36.96%, 37.87% 35.19%, 37.96% 33.33%, 38.33% 32.22%,
    38.80% 31.11%, 39.44% 30.37%, 40.28% 29.85%, 40.56% 29.56%, 41.11% 29.26%,
    41.57% 28.96%, 42.04% 28.67%, 42.41% 28.52%, 42.78% 28.37%, 43.15% 28.22%,
    43.61% 28.07%, 44.35% 27.93%, 44.81% 27.78%, 45.28% 27.63%, 46.11% 27.48%
  );
}

