/* Original FIFA item artwork, with Barracuda's live portraits and ratings. */
.pc-fifa {
  --fifa-ink: #f4dfa4;
  filter: drop-shadow(0 6px 12px #0008) !important;
  color: var(--fifa-ink) !important;
}
.pc-fifa .pc-pop,
.pc-fifa .pc-spk,
.pc-fifa .pc-holo,
.pc-fifa .bb-shine,
.pc-fifa .pc-hover { display: none !important; }
.pc-fifa .pc-frame {
  left: -20px !important;
  top: -34px !important;
  width: 220px !important;
  height: auto !important;
  filter: none !important;
  z-index: 0;
}
.pc-fifa .pc-face {
  inset: 0 !important;
  background: transparent !important;
  clip-path: none !important;
  overflow: visible !important;
  z-index: 1;
}
.pc-fifa .pc-face > div { display: none; }
.pc-fifa .pc-avatar {
  left: 35px !important;
  top: 25px !important;
  width: 139px !important;
  height: 151px !important;
  object-fit: cover !important;
  object-position: 50% 27% !important;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 76%, transparent 100%);
  mask-composite: intersect;
}
.pc-fifa .pc-rating {
  left: 10px !important;
  top: 31px !important;
  width: 42px !important;
  z-index: 2;
}
.pc-fifa .pc-rating > span:first-child {
  background: none !important;
  color: var(--fifa-ink) !important;
  font-size: 41px !important;
  line-height: 1 !important;
  filter: none !important;
  text-shadow: 0 1px 3px #0008 !important;
}
.pc-fifa .pc-rating > span:nth-child(2) { color: var(--fifa-ink) !important; font-size: 11px !important; }
.pc-fifa .pc-rating span[title] {
  color: var(--fifa-ink) !important;
  border-color: currentColor !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  min-width: 26px !important;
  height: 20px !important;
  filter: none !important;
}
.pc-fifa .pc-name {
  left: 9px !important;
  right: 9px !important;
  top: 161px !important;
  font-size: 21px !important;
  line-height: 24px !important;
  color: var(--fifa-ink) !important;
  text-shadow: 0 1px 3px #0006 !important;
  z-index: 2;
}
.pc-fifa .pc-stats {
  left: 5px !important;
  right: 5px !important;
  top: 189px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  color: var(--fifa-ink) !important;
  text-shadow: none !important;
  z-index: 2;
}
.pc-fifa .pc-stats > span { flex-direction: column !important; gap: 1px; }
.pc-fifa .pc-stats > span > span:first-child {
  font-family: 'Sofia Sans Extra Condensed', Oswald, sans-serif !important;
  font-size: 14px !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
  opacity: .8 !important;
}
.pc-fifa .pc-stats > span > span:last-child { font-size: 18px !important; line-height: 20px !important; }
.pc-fifa .pc-fish { top: 238px !important; z-index: 2; }
.pc-fifa .pc-fish svg { width: 11px; height: 11px; stroke: var(--fifa-ink) !important; filter: none !important; }
.pc-fifa-poty { --fifa-ink: #fff0bf; }
.pc-fifa-poty .pc-name { text-shadow: 0 1px 3px #000, 0 0 8px #0009 !important; }
.pc-fifa-poty .pc-avatar,
.pc-fifa-near .pc-avatar,
.pc-fifa-toty .pc-avatar {
  left: 0 !important;
  top: 0 !important;
  width: 180px !important;
  height: 272px !important;
  object-position: 50% 25% !important;
  clip-path: none !important;
  mask-image: none !important;
}
.pc-fifa-poty .pc-face,
.pc-fifa-near .pc-face {
  clip-path: path('M 4 31 C 25 28 45 12 68 7 C 75 18 83 17 90 6 C 97 17 105 18 112 7 C 135 12 155 28 176 31 L 176 210 C 176 229 164 232 137 234 C 115 235 104 238 90 246 C 76 238 65 235 43 234 C 16 232 4 229 4 210 Z') !important;
  overflow: hidden !important;
}
.pc-fifa-poty .pc-face::after,
.pc-fifa-near .pc-face::after,
.pc-fifa-toty .pc-face::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, #07090d18 52%, #07090d8c 75%, #07090db8 100%);
}
.pc-fifa-poty .pc-stats,
.pc-fifa-near .pc-stats,
.pc-fifa-toty .pc-stats {
  text-shadow: 0 1px 3px #000, 0 0 6px #0009 !important;
}
.pc-fifa-toty { --fifa-ink: #f8e7af; }
.pc-fifa-toty .pc-frame { left: -10px !important; top: -10px !important; width: 200px !important; }
.pc-fifa-toty .pc-face {
  clip-path: path('M 18 39 C 27 38 36 29 44 23 C 52 17 60 13 68 10 C 73 20 84 20 90 10 C 96 20 107 20 112 10 C 120 13 128 17 136 23 C 144 29 153 38 162 39 L 162 211 C 162 218 151 221 136 226 C 118 231 102 236 90 244 C 78 236 62 231 44 226 C 29 221 18 218 18 211 Z') !important;
  overflow: hidden !important;
}
.pc-fifa-toty .pc-rating { left: 21px !important; top: 35px !important; text-shadow: 0 1px 3px #000; }
.pc-fifa-toty .pc-rating > span:first-child { text-shadow: 0 1px 3px #000, 0 0 8px #000b !important; }
.pc-fifa-toty .pc-name { left: 22px !important; right: 22px !important; }
.pc-fifa-toty .pc-stats { left: 20px !important; right: 20px !important; }
.pc-fifa-toty .pc-fish { top: 227px !important; }
.pc-fifa-poty .pc-rating span[title],
.pc-fifa-near .pc-rating span[title],
.pc-fifa-toty .pc-rating span[title] { background: #080b11a6; }
.pc-fifa-poty .pc-rating { --fifa-ink: #fff0bf; text-shadow: 0 1px 3px #000, 0 0 8px #000b; }
.pc-fifa-poty .pc-rating > span:first-child { text-shadow: 0 1px 3px #000, 0 0 8px #000b !important; }
.pc-fifa-near { --fifa-ink: #e4edff; }
.pc-fifa-near .pc-rating { text-shadow: 0 1px 3px #000, 0 0 8px #000b; }
.pc-fifa-near .pc-rating > span:first-child { text-shadow: 0 1px 3px #000, 0 0 8px #000b !important; }
.pc-fifa-future {
  --fifa-ink: #fff4c6;
  filter: drop-shadow(0 6px 12px #0008) drop-shadow(0 0 12px #9c6feb38) !important;
}
.pc-fifa-future .pc-frame { top: -13px !important; }
.pc-fifa-future .pc-avatar {
  left: 0 !important; top: 0 !important; width: 180px !important; height: 190px !important;
  object-position: 50% 25% !important;
  clip-path: path('M 8 34 C 25 32 45 14 69 9 C 76 19 84 19 90 8 C 96 19 104 19 111 9 C 135 14 155 32 172 34 L 172 190 L 8 190 Z');
  mask-image: linear-gradient(180deg, #000 0%, #000 69%, transparent 100%);
}
.pc-fifa-future .pc-rating { left: 13px !important; top: 32px !important; text-shadow: 0 1px 3px #180c2f, 0 0 8px #180c2fc9; }
.pc-fifa-future .pc-rating > span:first-child { text-shadow: 0 1px 3px #180c2f, 0 0 8px #180c2fc9 !important; }
.pc-fifa-future .pc-rating span[title] { background: #21113296; }
.pc-fifa-future .pc-name { top: 166px !important; color: #fff8dd !important; text-shadow: 0 1px 4px #25113ddd !important; }
.pc-fifa-future .pc-stats { left: 10px !important; right: 10px !important; top: 197px !important; text-shadow: 0 1px 3px #25113d !important; }
.pc-fifa-future .pc-fish { top: 245px !important; }
.aw-tile:has(.pc-fifa-future) { border-top-color: #ba96f0 !important; background: linear-gradient(180deg, #9063c524, #9063c500 42%), #19151f !important; }
.aw-tile:has(.pc-fifa-future) > div:last-child > span:first-child { color: #cdb3f5 !important; }
#contenders + div { gap: 24px 32px !important; }
#contenders + div a > span { filter: drop-shadow(0 0 12px #5979cb40) !important; }
@media (prefers-reduced-motion: reduce) { .pc-fifa { transition: none !important; transform: none !important; } }
