.player-card{--player-card-image:linear-gradient(125deg,#273630,#17252e);display:flex;gap:20px;align-items:center;position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:24px;border:1px solid var(--player-card-accent,#78916a);border-radius:14px;background:#141e24;color:#f1f3f5;box-shadow:inset 0 0 0 4px #11182080}
.player-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10151bd9,#10151b94),var(--player-card-image);background-size:cover;background-position:center;opacity:.95}
.player-card:after{content:"";position:absolute;inset:8px;pointer-events:none;border:1px solid var(--player-card-accent,#78916a);border-radius:9px;opacity:.3}
.player-card-avatar{flex:0 0 96px;width:96px;height:96px;overflow:hidden;align-self:flex-start;margin-top:7px;background:#10171cbf;border:2px solid var(--player-card-accent,#78916a);border-radius:10px;box-shadow:0 3px 16px #0007;image-rendering:pixelated}
.player-card-avatar img,.player-card-avatar canvas{display:block;width:100%;height:100%;object-fit:cover}
.player-card-details{flex:1;min-width:0}.player-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:18px}
.player-card-heading>div{min-width:0}.player-card-heading small{display:block;font-size:9px;letter-spacing:1.8px;color:#bac8ce}.player-card-heading h3{margin:0;font-size:22px;line-height:1.25;overflow-wrap:anywhere;color:#fff}
.player-card-rank{flex:0 0 auto;text-align:right;padding:6px 10px;border:1px solid #ffffff25;border-radius:7px;background:#0f171c88}.player-card-rank span{display:block;font-size:11px;color:#b7c2ca}.player-card-rank small{margin-top:4px;letter-spacing:.5px;color:#93a1ab}
.player-card-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.player-card-trophy{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;text-align:center;min-width:0;padding:8px 3px;border-radius:8px;background:#0c131950}
.player-card-trophy .achievement-icon{display:block;width:52px;height:52px;margin:0;flex-shrink:0;overflow:hidden;image-rendering:pixelated}.player-card-trophy>span{font-size:10px;line-height:1.3;overflow-wrap:anywhere}.player-card-trophy>small{font-size:9px;color:#aebbc2}.player-card-empty>span{display:grid;place-items:center;width:52px;height:52px;font-size:24px;color:#a3b3be80}.player-card-empty>small{max-width:90px;color:#9cabb5}
.player-card-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff25}.player-card-statistics:empty{display:none}.player-card-stat{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;min-width:0}.player-card-stat strong{font-size:20px;line-height:1.2;color:#d0f2b3;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}.player-card-stat span{font-size:10px;line-height:1.35;color:#d6dfe5}.player-card-stat small{font-size:9px;line-height:1.35;color:#aebbc2;overflow-wrap:anywhere}.player-card-editor>h4{margin:22px 0 6px;font-size:13px}
.player-card-editor{margin-top:28px;border-top:1px solid #ffffff15;padding-top:22px}.player-card-editor>h3{margin:0 0 8px;font-size:18px}.player-card-editor>p{font-size:12px;line-height:1.6;color:#9caebc}.player-card-banners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0 16px;padding:0;border:0;min-width:0}.player-card-banners legend{font-size:12px;margin-bottom:10px;color:#d9e3e9}.player-card-banners button{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px;border:1px solid #394751;border-radius:7px;background:#1c2831;color:#d9e3e9;font:inherit;font-size:11px;text-align:left;cursor:pointer}.player-card-banners i{width:11px;height:22px;flex:0 0 11px;border-radius:3px;background:var(--banner-swatch)}.player-card-banners button[aria-pressed=true]{border-color:#b8f573;background:#263c2b;color:#d0ff9e}.player-card-banners button:focus-visible,.player-card-name:focus-visible{outline:2px solid #b8f573;outline-offset:3px}
.player-card-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.player-card-slots label{font-size:11px;color:#d9e3e9;min-width:0}.player-card-slots select{display:block;width:100%;height:44px;margin-top:7px;padding:8px;border:1px solid #435365;border-radius:7px;background:#24313d;color:#e9f1f7;font-size:11px}.player-card-retry{min-height:40px;padding:8px 14px;border:1px solid #5c7550;border-radius:6px;background:#263c2b;color:#d0ff9e;cursor:pointer}.player-card-status:empty{display:none}
.player-card-name{display:inline;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;line-height:inherit;text-align:left;padding:0;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.player-card-name:hover{color:#b8f573;text-decoration:underline;text-underline-offset:3px}
.player-card-dialog{width:min(680px,calc(100% - 32px));max-width:680px;box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:0;border:0;border-radius:14px;background:#161d25;color:#e9eff4;box-shadow:0 20px 80px #0009}
.player-card-dialog::backdrop{background:#05090dcc;backdrop-filter:blur(4px)}
.player-card-dialog .player-card-heading{padding-right:50px}
.player-card-close{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff30;border-radius:8px;background:#10171cbf;color:#d9e3e9;font-size:25px;cursor:pointer}
.player-card-close:hover{background:#29353ee6;color:#fff}.player-card-close:focus-visible{outline:2px solid #b8f573;outline-offset:2px}
.player-card-dialog>[role=status]{min-height:88px;box-sizing:border-box;padding:24px 76px 24px 24px;font-size:13px;color:#b9c7d0;margin:0}.player-card-dialog>[role=status]:empty{display:none}
.player-card-trophy[type=button]{border:1px solid #ffffff20;color:inherit;font:inherit;cursor:pointer}.player-card-trophy[type=button]:hover,.player-card-trophy[aria-expanded=true]{background:#263c2bc9;border-color:#b8f573}.player-card-trophy[type=button]:focus-visible,.player-card-choice:focus-visible,.player-card-picker-close:focus-visible,.player-card-clear:focus-visible{outline:2px solid #b8f573;outline-offset:2px}
.player-card-picker{margin-top:14px;padding:16px;border:1px solid #4e6441;border-radius:10px;background:#15231d}.player-card-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.player-card-picker-heading h4{margin:0;font-size:14px;color:#eef5e9}.player-card-picker-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #405345;border-radius:7px;background:#203328;color:#d9e5dc;font-size:25px;cursor:pointer}.player-card-picker>p{font-size:12px;line-height:1.6;color:#bac8bc}.player-card-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.player-card-choice{display:flex;align-items:center;flex-direction:column;gap:6px;min-width:0;padding:12px 8px;border:1px solid #394b40;border-radius:8px;background:#1c2c22;color:#e6eee8;text-align:center;cursor:pointer}.player-card-choice .achievement-icon{width:60px;height:60px;flex-shrink:0;image-rendering:pixelated;overflow:hidden}.player-card-choice strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.player-card-choice small{font-size:10px;color:#b9d69d}.player-card-choice>span{font-size:10px;line-height:1.45;color:#aabbb0}.player-card-choice:hover:not(:disabled),.player-card-choice[aria-pressed=true]{border-color:#b8f573;background:#2a402b}.player-card-choice:disabled{opacity:.5;cursor:not-allowed}.player-card-clear{min-height:44px;margin-top:14px;padding:9px 14px;border:1px solid #4d6153;border-radius:7px;background:#223429;color:#dce6de;font-size:12px;cursor:pointer}.player-card-clear:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.player-card-picker{padding:12px}.player-card-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.player-card-choice .achievement-icon{width:52px;height:52px}}
@media(max-width:600px){.player-card{padding:16px;gap:12px}.player-card-avatar{width:64px;height:64px;flex-basis:64px}.player-card-heading{flex-wrap:wrap;gap:8px;margin-bottom:12px}.player-card-heading h3{font-size:18px}.player-card-heading small{font-size:8px;letter-spacing:1px}.player-card-rank{text-align:left;padding:4px 7px}.player-card-rank span{font-size:9px}.player-card-rank small{font-size:8px}.player-card-showcase{gap:4px}.player-card-trophy{padding:6px 2px}.player-card-trophy .achievement-icon,.player-card-empty>span{width:42px;height:42px}.player-card-trophy>span{font-size:9px}.player-card-trophy>small{font-size:8px}.player-card-banners{grid-template-columns:repeat(2,minmax(0,1fr))}.player-card-slots{grid-template-columns:1fr}}
@media(max-width:600px){.player-card-statistics{gap:5px}.player-card-stat strong{font-size:17px}.player-card-stat span{font-size:9px}.player-card-stat small{font-size:8px}}
