/* Player profile: shared club palette, scoped to avoid changing other pages. */
.profile-home{--ms-muted:#b4b2aa;--bs-secondary-color:#b4b2aa;font-family:var(--bs-font-sans-serif);font-size:.85rem}
.profile-home .profile-banner{position:relative;isolation:isolate;padding:22px;background:linear-gradient(110deg,#201d16,#151514 70%);border:1px solid var(--ms-border);border-radius:12px;margin-bottom:0!important}
.profile-home .profile-banner::before{content:'';position:absolute;inset:0;background:#0a0a0a55;border-radius:inherit;z-index:-1;pointer-events:none}
.profile-home .profile-banner h2{font:600 1.9rem/1.3 var(--bs-font-sans-serif);overflow-wrap:anywhere}
.profile-home .profile-banner .small{font-size:.75rem}
.profile-hero-title{display:flex;align-items:center;gap:7px;font-size:.76rem;color:var(--ms-gold-light);margin:5px 0}
.profile-public-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.profile-home .btn{border-radius:7px;font-size:.75rem}
.profile-public-actions .btn{padding:9px 12px;background:#191916;border-color:#484235}
.profile-home-actions{display:flex;width:100%;margin-top:5px;padding-top:12px;border-top:1px solid #ffffff15}
.profile-home-actions .btn{padding:7px 10px}
.profile-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:#c7a55228;border:1px solid #c7a55228;border-radius:11px;overflow:hidden;margin:16px 0 20px}
.profile-metric{padding:17px 16px;min-width:0;background:linear-gradient(145deg,#24221c,#191918);position:relative;display:flex;flex-direction:column;align-items:flex-start}
.profile-metric>.bi{color:#a89970;font-size:1rem;margin-bottom:7px}
.profile-metric strong{font:600 1.6rem/1.3 var(--bs-font-sans-serif);letter-spacing:-.6px;font-variant-numeric:tabular-nums}
.profile-metric>span{font-size:.7rem;color:#b9b3a5;margin-top:3px}
.profile-metric:nth-child(2) strong,.profile-metric:nth-child(5) strong,.profile-metric:nth-child(6) strong{color:var(--ms-gold-light)}
.profile-metric:nth-child(4){background:radial-gradient(ellipse at top right,#c7a55218,transparent 90%),#20201b}
.profile-metric:nth-child(4)::after{content:'';position:absolute;bottom:0;left:16px;right:16px;height:2px;background:#c7a55280}
.profile-metric a{font-size:.67rem;margin-top:5px;color:#c2b185;text-decoration:none}
.profile-section-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.profile-section-button{position:relative;display:flex;align-items:center;gap:11px;text-align:left;padding:17px 14px;min-height:76px;background:#191918;border:1px solid #ffffff12;border-radius:10px;color:#b4b2aa;transition:background .2s,border-color .2s;font:inherit;cursor:pointer}
.profile-section-button>.bi{font-size:1.35rem;color:#a89a75}
.profile-section-button strong{display:block;font-size:.8rem;font-weight:600;color:#eee5d1}
.profile-section-button small{display:block;font-size:.7rem;color:#aaa69a;margin-top:3px}
.profile-section-button[aria-expanded=true]{border-color:#c7a55288;background:linear-gradient(110deg,#30291c,#1b1b18)}
.profile-section-button[aria-expanded=true]::after{content:'';position:absolute;left:16px;right:16px;bottom:0;height:2px;background:var(--ms-gold)}
.profile-section-button:hover{border-color:#c7a55266}
.profile-section-button:focus-visible,.profile-home a:focus-visible,.profile-more:focus-visible{outline:2px solid var(--ms-gold-light);outline-offset:3px}
.profile-content-stage{position:relative;isolation:isolate;border-radius:11px;overflow:hidden;background:var(--ms-surface);margin-bottom:20px}
.profile-content-stage[hidden],.profile-panel[hidden]{display:none!important}
.profile-panel{background:var(--ms-surface);border:1px solid var(--ms-border);border-radius:11px;overflow:hidden}
.profile-panel-head{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.profile-panel-head h3{font:600 .95rem/1.4 var(--bs-font-sans-serif);margin:0;display:flex;align-items:center;gap:8px}
.profile-panel-head h3 small{font:400 .7rem var(--bs-font-sans-serif);color:var(--ms-muted)}
.profile-panel-head>a{color:var(--ms-gold-light);text-decoration:none;font-size:.72rem;white-space:nowrap}
.profile-game{--game-role:#e9a39a;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:14px 18px;min-height:91px;position:relative;border-top:1px solid #ffffff0b;background:linear-gradient(90deg,#ffffff03,transparent 65%);text-decoration:none;color:var(--ms-text)}
.profile-game::before{content:'';position:absolute;left:0;top:15px;bottom:15px;width:2px;background:var(--game-role);opacity:.65}
.profile-role-don{--game-role:#c59aea}.profile-role-sheriff{--game-role:#ffc35c}.profile-role-mafia{--game-role:#d8d8e1}
.profile-role-mark{width:36px;height:40px;display:grid;place-items:center;border-radius:8px;color:var(--game-role);background:#ffffff07;font-size:1.2rem}
.profile-role-don .profile-role-mark{background:#7743a525}
.profile-role-label{color:var(--game-role);font-size:.72rem;font-weight:500;margin-left:7px}
.profile-game-body{min-width:0;align-self:center}
.profile-game-title{display:block;font-weight:600;font-size:.85rem}
.profile-game-meta,.profile-game-context{display:block;color:var(--ms-muted);font-size:.72rem;margin-top:3px;overflow-wrap:anywhere}
.profile-game-context{color:#a8a59c}
.profile-game-end{display:flex;flex-direction:column;align-items:flex-end;gap:7px;align-self:center}
.profile-game-score{font:500 1.25rem/1.2 var(--bs-font-sans-serif);font-variant-numeric:tabular-nums;color:#e7e2d8}
.profile-game-score.is-win{color:var(--ms-gold-light)}
.profile-result{display:inline-flex;align-items:center;gap:4px;font-size:.65rem;padding:3px 7px;border-radius:5px;background:#ffffff06;color:#bdb6b0;white-space:nowrap}
.profile-result.is-win{color:var(--ms-gold-light);background:#c7a55216}
.profile-tourney{display:flex;gap:12px;padding:15px 18px;align-items:center;border-top:1px solid #ffffff0b;text-decoration:none;color:var(--ms-text)}
.profile-game:hover,.profile-tourney:hover{color:var(--ms-text);background:#ffffff06}
.profile-place{border-radius:9px;min-width:38px;height:42px;display:grid;place-items:center;background:#24231e;color:var(--ms-gold);font-size:1.2rem;font-weight:600}
.profile-place--2{color:var(--ms-silver);background:#b8b8b811}.profile-place--3{color:var(--ms-bronze);background:#b08d5711}
.profile-tourney-body{flex:1;min-width:0}.profile-tourney strong{display:block;font-size:.83rem;font-weight:600;overflow-wrap:anywhere}
.profile-tourney small{display:block;font-size:.72rem;color:var(--ms-muted);margin-top:4px}.profile-tourney>.bi{color:#8a857b}
.profile-more{display:block;width:100%;border:0;border-top:1px solid var(--ms-border);padding:13px 18px;background:transparent;color:var(--ms-gold-light);text-align:left;font:inherit;font-size:.75rem;cursor:pointer}
.profile-more:disabled{opacity:.6;cursor:wait}
.profile-empty{font-size:.8rem;color:var(--ms-muted);padding:12px 18px 20px;margin:0}
.profile-awards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 18px 18px;align-items:start}
.profile-titles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-award{--award-color:#c7a552;position:relative;padding:13px 13px 9px 55px;min-width:0;background:linear-gradient(145deg,#25231d,#1c1c1a);border:1px solid #c7a55233;border-radius:9px}
.profile-award--epic{--award-color:#c59aea;background:linear-gradient(145deg,#302635,#1e1c20);border-color:#ad83cd55}
.profile-award--rare{--award-color:#99afd6;background:linear-gradient(145deg,#222630,#1c1d20);border-color:#839dcf44}
.profile-award--legendary{--award-color:#e1b56b;background:linear-gradient(145deg,#30271e,#201e1b);border-color:#b9782b66}
.profile-award--mythic,.profile-award--ultra{--award-color:#e79a9a;border-color:#c8707055}
.profile-award-icon{position:absolute;left:12px;top:14px;width:31px;height:34px;display:grid;place-items:center;border-radius:7px;color:var(--award-color);background:#ffffff07;font-size:1.2rem}
.profile-award-heading{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-bottom:3px}
.profile-award h4{font:600 .83rem/1.4 var(--bs-font-sans-serif);margin:0;overflow-wrap:anywhere}
.profile-award-rarity{font-size:.65rem;color:var(--award-color)}
.profile-award p{font-size:.72rem;color:var(--ms-muted);line-height:1.6;margin:0;overflow-wrap:anywhere}
.profile-award small{font-size:.65rem;color:var(--ms-muted)}
.profile-award-detail{margin-top:6px}.profile-award-detail summary{color:#d6c79f;font-size:.7rem;line-height:28px;cursor:pointer}
.profile-award-meta{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:6px 0 8px;padding-top:8px;border-top:1px solid #ffffff0b;font-size:.65rem;color:var(--ms-muted)}
.profile-payout{color:var(--ms-gold-light)}.profile-award-detail form{margin-top:8px}.profile-award-detail form .btn{font-size:.7rem;padding:5px 9px}
.profile-award-extra{display:none}.profile-titles-expanded .profile-award-extra{display:block}
.profile-content-stage>.profile-scratch-old{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;background:var(--ms-surface)}
.profile-scratch-old>.profile-panel{min-height:100%}.profile-scratch-dust{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
.profile-bar-body{padding:18px!important}.profile-bar-body .text-muted{font-size:.78rem}
@media(max-width:991px){.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-awards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.profile-home .profile-banner{padding:18px}.profile-home .profile-banner h2{font-size:1.6rem}.profile-home .profile-banner .avatar-circle{width:64px;height:64px;font-size:1.7rem}.profile-public-actions{width:100%;margin:0;padding-top:12px;border-top:1px solid #ffffff12}.profile-public-actions a{flex:1;text-align:center}.profile-metric{padding:14px 11px}.profile-metric strong{font-size:1.4rem}.profile-metric>span{font-size:.68rem}.profile-metric a{font-size:.63rem}.profile-section-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-section-button{padding:14px 12px;min-height:73px;gap:10px}.profile-panel-head{padding:15px 14px}.profile-panel-head h3{font-size:.88rem}.profile-panel-head>a{font-size:.67rem}.profile-game{padding:14px;gap:10px}.profile-awards-grid{grid-template-columns:1fr;gap:8px;padding:0 14px 14px}.profile-bar-body{justify-content:center;text-align:center}.profile-tourney{padding:14px}.profile-award-detail summary{line-height:32px}}
@media(max-width:360px){.profile-metric{padding:12px 9px}.profile-metric strong{font-size:1.2rem}.profile-game{gap:8px;grid-template-columns:30px minmax(0,1fr) auto}.profile-role-mark{width:30px}.profile-game-title{font-size:.77rem}.profile-result{font-size:.6rem;padding:3px 5px}}
@media(prefers-reduced-motion:reduce){.profile-section-button{transition:none}}
