/* Shared profile identity inside matches and on the main profile page. */
#sdpp-card .sdpp-stars { align-items:center; gap:2px; }
#sdpp-card .sdpp-stars .sdpp-icon-star {
  width:17px; height:17px; flex:0 0 17px;
  background:none!important; background-color:#cda66c!important;
  -webkit-mask:url('/platform/assets/profile/star.svg') center/contain no-repeat;
  mask:url('/platform/assets/profile/star.svg') center/contain no-repeat;
  filter:none!important; box-shadow:none!important;
}
#sdpp-card .sdpp-cover { background-size:cover!important; background-position:center!important; }
#sdpp-card [data-profile-league] { order:3; }
#sdpp-card [data-theme] { color:inherit; }
/* The match frame has its own document, so its theme belongs to the card. */
#sdpp-card[data-theme="light"] .sd-profile-details {
  --sd-rank-bg:var(--identity-panel); --sd-rank-line:var(--identity-line);
  --sd-rank-ink:var(--identity-ink); --sd-rank-muted:var(--identity-muted);
}
#sdpp-card[data-theme="light"] .sd-owned-card,
#sdpp-card[data-theme="light"] .sd-game-statistics,
#sdpp-card[data-theme="light"] .sd-collection-more { background:#edf2f0; }
#sdpp-card[data-theme="light"] .sd-rank-progress { background:#cbd8d5; }
#sdpp-card[data-theme="light"] .sd-collection-more,
#sdpp-card[data-theme="light"] .sd-profile-full { color:#806323; }
#sdpp-card[data-theme="dark"] .sd-profile-details {
  --sd-rank-bg:var(--identity-panel); --sd-rank-line:var(--identity-line);
  --sd-rank-ink:var(--identity-ink); --sd-rank-muted:var(--identity-muted);
}
/* The reverse face must not paint over the active season's details. */
.pl-league-face[aria-hidden="true"] { visibility:hidden; }
.pl-league-badge-wrap .pl-league-rays { display:none!important; animation:none!important; }
