/* Pro player cards (owner 25/11) — records page, public leaderboards, TV.
   One look everywhere: set --pcw on .pc for the card's width. */
.pc { --pcw: 200px; --t1: #3a4a5c; --t2: #101820; --tl: #9fb3c8; --tx: #eef4fb;
      position: relative; width: var(--pcw); aspect-ratio: 5 / 7.2; flex: none;
      font-size: calc(var(--pcw) / 13); color: var(--tx); font-family: inherit; line-height: 1.1;
      background: linear-gradient(160deg, var(--t1) 0%, var(--t2) 78%);
      clip-path: polygon(10% 0, 90% 0, 100% 6%, 100% 92%, 50% 100%, 0 92%, 0 6%);
      box-shadow: 0 .6em 1.6em -0.6em rgba(0,0,0,.6); overflow: hidden; }
.pc::before { content: ''; position: absolute; inset: .28em; pointer-events: none;
              clip-path: polygon(10% 0, 90% 0, 100% 6%, 100% 92%, 50% 100%, 0 92%, 0 6%);
              border: .12em solid var(--tl); opacity: .55; }
.pc::after { content: ''; position: absolute; inset: 0; pointer-events: none;
             background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%);
             background-size: 250% 100%; animation: pc-shine 6s ease-in-out infinite; }
@keyframes pc-shine { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.pc-gold   { --t1: #f6d365; --t2: #8a5d0b; --tl: #fff3c4; --tx: #2a1c02; }
.pc-silver { --t1: #e7edf3; --t2: #6b7a89; --tl: #ffffff; --tx: #17212b; }
.pc-bronze { --t1: #e3a46c; --t2: #6b3612; --tl: #ffd7b3; --tx: #2b1406; }
.pc-new    { --t1: #2d7ff9; --t2: #0b1e3f; --tl: #9cc6ff; --tx: #eef5ff; }
.pc-top { position: absolute; left: 8%; top: 7%; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.pc-ovr { font-size: 2.3em; font-weight: 900; letter-spacing: -.03em; }
.pc-tag { font-size: .62em; font-weight: 800; letter-spacing: .12em; margin-top: .1em; }
.pc-game { font-size: .6em; font-weight: 800; margin-top: .45em; max-width: 5.5em; text-align: center; word-break: break-word; opacity: .9; }
.pc-photo { position: absolute; right: 5%; top: 5%; width: 63%; aspect-ratio: 4 / 5; z-index: 1;
            -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-ini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
          font-size: 3.2em; font-weight: 900; opacity: .9; }
.pc-ini::before { content: ''; position: absolute; left: 22%; right: 22%; top: 16%; height: 36%; border-radius: 50%;
                  background: currentColor; opacity: .14; }
.pc-ini::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 36%;
                 border-radius: 50% 50% 0 0; background: currentColor; opacity: .14; }
.pc-name { position: absolute; left: 0; right: 0; top: 59%; text-align: center; font-weight: 900; font-size: 1.15em;
           z-index: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8%; }
.pc-line { position: absolute; left: 16%; right: 16%; top: 67.5%; height: .1em; background: var(--tl); opacity: .6; }
.pc-stats { position: absolute; left: 10%; right: 10%; top: 70%; display: grid; grid-template-columns: 1fr 1fr; gap: .25em .6em; z-index: 2; }
.pc-stats div { display: flex; align-items: baseline; gap: .35em; }
.pc-stats b { font-size: 1.05em; font-weight: 900; min-width: 1.2em; text-align: right; }
.pc-stats span { font-size: .58em; font-weight: 800; letter-spacing: .06em; opacity: .85; }
.pc-foot { position: absolute; left: 0; right: 0; bottom: 9.5%; text-align: center; font-size: .48em; font-weight: 800;
           letter-spacing: .14em; opacity: .7; z-index: 2; }
/* the small round picture beside a name in a list */
.pc-ava { width: 2em; height: 2em; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex;
          align-items: center; justify-content: center; font-weight: 800; font-size: .85em; vertical-align: middle;
          color: #fff; background: #2d7ff9; border: .12em solid rgba(255,255,255,.7); }
.pc-ava img { width: 100%; height: 100%; object-fit: cover; }
.pc-ava.gold { background: #b8860b; } .pc-ava.silver { background: #6b7a89; } .pc-ava.bronze { background: #9a5a2a; }
@media (prefers-reduced-motion: reduce) { .pc::after { animation: none; } }
