/* Finish is confined to the border and background, keeping text readable. */
.community-player-card[data-finish="metal"] { border:3px solid #dbc69c; box-shadow:inset 0 0 0 3px #605440,0 4px 18px #0007; }
.community-player-card[data-finish="holo"] { border:3px solid #adf5ee; box-shadow:inset 2px 2px 0 #b9b1fa,inset -2px -2px 0 #f6c28a,0 0 18px #adf5ee33; }
.community-player-card[data-finish="holo"] .community-player-card__theme-bg::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg,transparent 20%,#51fff122 40%,#df5afc22 48%,#fff9 50%,transparent 56%); background-size:300% 100%; opacity:.26; animation:workshop-reflection 9s ease-in-out infinite; }
.community-player-card[data-finish="emboss"] .community-player-card__identity h2 { text-shadow:1px 1px 0 #111,2px 2px 0 #777,4px 4px 7px #000; }
.workshop-pins { position:absolute; z-index:7; left:6%; right:6%; bottom:10%; display:flex; gap:.5em; justify-content:flex-start; pointer-events:none; }
.workshop-pins span { font-size:clamp(6px,1cqw,14px); max-width:32%; padding:.5em .7em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff3d8; background:#171411ed; border:1px solid #a89670; }
.has-pinned-badges .community-player-card__honors,.has-pinned-badges .community-player-card__badges { visibility:hidden; }
.workshop-back { position:absolute; z-index:8; left:6%; top:38%; width:42%; color:#fff3d8; text-shadow:0 2px 4px #000; }
.workshop-back blockquote { margin:0 0 1em; font-size:clamp(9px,2cqw,24px); font-weight:800; }
.workshop-back p,.workshop-back small { display:block; margin:.4em 0; font-size:clamp(7px,1.4cqw,17px); overflow-wrap:anywhere; }
.community-player-card--back .workshop-pins { display:none; }
@keyframes workshop-reflection { 0%,100% { background-position:0 0; } 50% { background-position:100% 0; } }
@media(prefers-reduced-motion:reduce) { .community-player-card[data-finish="holo"] .community-player-card__theme-bg::after { animation:none; } }
.community-player-card[data-card-theme="collection-midnight"] .community-player-card__theme-bg { background:radial-gradient(ellipse at 75% 25%,#7962bb88,transparent 60%),repeating-linear-gradient(135deg,#161a2c 0 35px,#242b44 35px 37px); }
.community-player-card[data-card-theme="collection-ember"] .community-player-card__theme-bg { background:radial-gradient(ellipse at 75% 70%,#b44b2199,transparent 65%),repeating-linear-gradient(45deg,#241511 0 28px,#472217 28px 30px); }
.community-player-card[data-card-theme="collection-frost"] .community-player-card__theme-bg { background:radial-gradient(ellipse at 75% 25%,#5da6a388,transparent 60%),repeating-linear-gradient(120deg,#12252b 0 32px,#274851 32px 34px); }
.community-player-card[data-card-frame="collector"] { border:3px solid #eccb82; outline:1px solid #ad9055; outline-offset:-10px; }

.workshop-back-preview .community-player-card__identity,.workshop-back-preview .community-player-card__honors,.workshop-back-preview .community-player-card__badges,.workshop-back-preview .community-player-card__games,.workshop-back-preview .workshop-pins {visibility:hidden;}
.community-player-card[data-card-theme="collection-midnight"] .community-player-card__theme-bg {background:none;}
.community-player-card[data-card-theme="collection-ember"] .community-player-card__theme-bg {background:none;}
.community-player-card[data-card-theme="collection-frost"] .community-player-card__theme-bg {background:none;}

/* Personal back content follows the identity, including on small cards. */
.community-player-card__back-brand:has(.workshop-back) { top:10%; width:42%; }
.community-player-card__back-brand .workshop-back { position:static; width:100%; margin-top:1cqw; text-transform:none; }
.community-player-card__back-brand .workshop-back blockquote { margin-bottom:.5em; }
