/* The game puts the normalized catalog image on the plate, including ranked players' plates. */
@media (forced-colors: none) {
  #topIdentity.title-row-background-equipped:is([style*="/api/title-assets/a5ddf66e02e55e2528cbe0b17286eeceb66bd0ee25933f7fa92cc97468900822.webp"], [style*="/api/title-assets/bfd0e9bdc805ba6c2f5b772677ce615352d3ab4696db480add2ebec84b594487.webp"]):not(.power-rating-equipped) {
    background: var(--title-row-background-image) center / cover no-repeat !important;
  }

  .title-row-background-equipped:is([style*="/api/title-assets/a5ddf66e02e55e2528cbe0b17286eeceb66bd0ee25933f7fa92cc97468900822.webp"], [style*="/api/title-assets/bfd0e9bdc805ba6c2f5b772677ce615352d3ab4696db480add2ebec84b594487.webp"])
  :is(.presence-title, .presence-name, .top-player-title, .top-player-name, .player-title-identity > b, [data-title-preview-title], [data-kb-title-text], .creator-world-plate > strong) {
    width: max-content;
    max-width: 100%;
    background: none;
    color: #c5ff72 !important;
    -webkit-text-fill-color: #c5ff72;
    font-family: 'Inter', Arial, sans-serif;
    text-shadow: 0 1px 2px #101808;
  }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .title-row-background-equipped:is([style*="/api/title-assets/a5ddf66e02e55e2528cbe0b17286eeceb66bd0ee25933f7fa92cc97468900822.webp"], [style*="/api/title-assets/bfd0e9bdc805ba6c2f5b772677ce615352d3ab4696db480add2ebec84b594487.webp"]) {
    --title-row-background-image: url("/assets/images/titles/immortal-bessmertny/row-85adf754dbfc.webp") !important;
  }

  .title-row-background-equipped:is([style*="/api/title-assets/a5ddf66e02e55e2528cbe0b17286eeceb66bd0ee25933f7fa92cc97468900822.webp"], [style*="/api/title-assets/bfd0e9bdc805ba6c2f5b772677ce615352d3ab4696db480add2ebec84b594487.webp"])
  :is(.presence-title, .presence-name, .top-player-title, .top-player-name, .player-title-identity > b, [data-title-preview-title], [data-kb-title-text], .creator-world-plate > strong) {
    background-image: linear-gradient(105deg, transparent 40%, #f0ffd0 50%, transparent 60%),
                      linear-gradient(90deg, #a2f238, #e2ff8a, #75da33);
    background-repeat: no-repeat;
    background-size: 280% 100%, 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    text-shadow: none;
    filter: drop-shadow(0 1px 1px #101808);
    animation: immortal-bessmertny-glint 6s linear infinite;
  }
}

@keyframes immortal-bessmertny-glint {
  from { background-position: 100% 50%, center; }
  to   { background-position: 0% 50%, center; }
}
