/* Rank values stay in the foreground; a watermark follows the calculated place. */
.rank-emblem { display:inline-grid; position:relative; isolation:isolate; place-items:center; min-width:2.6rem; min-height:2.6rem; color:var(--academy); font-variant-numeric:tabular-nums; }
.rank-emblem[data-podium] { font-weight:650; }
.rank-emblem[data-podium]::before {
  content:""; position:absolute; z-index:-1; inset:-2px; pointer-events:none;
  background:var(--academy); opacity:.13;
  -webkit-mask:url('/assets/icons/trophy.svg') center/contain no-repeat;
  mask:url('/assets/icons/trophy.svg') center/contain no-repeat;
}
.rank-emblem[data-podium="2"]::before { opacity:.10; }
.rank-emblem[data-podium="3"]::before { opacity:.08; }
@media (forced-colors:active) {
  .rank-emblem[data-podium]::before { display:none; }
}
