/* Repris à l'identique de l'ancien pages/profil.php */
.pm-public-profile--state{padding:28px 0 60px}.pm-public-profile-state-card{max-width:720px;margin:auto;padding:48px 24px;text-align:center;border:1px solid var(--card-border,#444);border-radius:20px;background:var(--card-bg,#252525);color:var(--card-text,#fff)}.pm-public-profile-state-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 18px;border-radius:50%;background:rgba(239,68,68,.12);color:#ef6c6c;font-size:2rem}.pm-public-profile-state-card h1{margin:0 0 10px}.pm-public-profile-state-card p{color:var(--card-text-muted,#aaa)}.pm-public-profile-button{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:10px 15px;border-radius:10px;background:#7aa52e;color:#fff;text-decoration:none;font-weight:800}

.pm-public-profile--state{padding:28px 0 60px}.pm-public-profile-state-card{max-width:720px;margin:auto;padding:48px 24px;text-align:center;border:1px solid var(--card-border,#444);border-radius:20px;background:var(--card-bg,#252525);color:var(--card-text,#fff)}.pm-public-profile-state-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 18px;border-radius:50%;background:rgba(239,68,68,.12);color:#ef6c6c;font-size:2rem}.pm-public-profile-state-icon--lock{background:rgba(245,158,11,.13);color:#eab54b}.pm-public-profile-state-card h1{margin:0 0 10px}.pm-public-profile-state-card p{color:var(--card-text-muted,#aaa)}.pm-public-profile-button{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:10px 15px;border-radius:10px;background:#7aa52e;color:#fff;text-decoration:none;font-weight:800}

.pm-public-profile{--pm-profile-surface:var(--card-bg,#252525);--pm-profile-border:var(--card-border,#444);--pm-profile-muted:var(--card-text-muted,#aaa);--pm-profile-text:var(--card-text,var(--text-page,#fff));color:var(--pm-profile-text);padding:8px 0 60px}.pm-public-profile *{box-sizing:border-box}.pm-public-profile a{text-decoration:none}.pm-profile-shell{overflow:hidden;border:1px solid var(--pm-profile-border);border-radius:22px;background:var(--pm-profile-surface);box-shadow:0 18px 48px rgba(0,0,0,.16)}.pm-profile-hero{position:relative;min-height:280px;background:linear-gradient(135deg,rgba(122,165,46,.42),rgba(37,99,235,.34));overflow:hidden}.pm-profile-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pm-profile-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,10,.06),rgba(10,10,10,.82))}.pm-profile-identity{position:absolute;left:30px;right:30px;bottom:24px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.pm-profile-identity-main{display:flex;align-items:flex-end;gap:20px;min-width:0}.pm-profile-avatar{width:142px;height:142px;border-radius:50%;object-fit:cover;border:5px solid rgba(255,255,255,.9);background:#171717;box-shadow:0 10px 34px rgba(0,0,0,.36)}.pm-profile-name-wrap{min-width:0;padding-bottom:6px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.55)}.pm-profile-name-wrap h1{margin:0 0 8px;text-align:left;font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:anywhere}.pm-verified-name-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pm-verified-name-dot{display:inline-grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:50%;color:#fff;font-size:12px;line-height:1;text-shadow:none;vertical-align:middle}
.pm-verified-name-dot.blue{background:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.17),0 5px 16px rgba(59,130,246,.35)}
.pm-verified-name-dot.gold{color:#2d2100;background:linear-gradient(145deg,#ffe08a,#f5b82e);box-shadow:0 0 0 3px rgba(245,197,66,.18),0 5px 16px rgba(245,197,66,.36)}.pm-profile-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pm-profile-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(12,12,12,.72);border:1px solid rgba(255,255,255,.22);font-size:.78rem;font-weight:850;color:#fff;backdrop-filter:blur(5px)}.pm-profile-badge.private{background:rgba(180,83,9,.82)}.pm-profile-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pm-profile-actions form{margin:0}.pm-profile-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border-radius:11px;border:1px solid rgba(255,255,255,.28);background:rgba(12,12,12,.76);color:#fff;font:inherit;font-weight:850;backdrop-filter:blur(5px);cursor:pointer}.pm-profile-button.primary{border-color:#8db83f;background:#7aa52e;color:#fff}.pm-profile-button.following{border-color:rgba(255,255,255,.42);background:rgba(12,12,12,.86)}.pm-profile-button.disabled{opacity:.72;cursor:not-allowed}.pm-profile-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:20px;padding:22px}.pm-profile-column{display:flex;flex-direction:column;gap:20px}.pm-profile-card{border:1px solid var(--pm-profile-border);border-radius:16px;background:color-mix(in srgb,var(--pm-profile-surface) 94%,#fff 6%);padding:20px;min-width:0}.pm-profile-card h2{display:flex;align-items:center;gap:9px;margin:0 0 15px;text-align:left;font-size:1.18rem}.pm-profile-description{margin:0;white-space:pre-wrap;line-height:1.7;color:var(--pm-profile-muted);text-align:left}.pm-profile-description.empty{font-style:italic}.pm-profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.pm-profile-stat{padding:16px 12px;border:1px solid var(--pm-profile-border);border-radius:14px;background:var(--search-bar-bg,#171717);text-align:center}.pm-profile-stat strong{display:block;font-size:1.45rem;line-height:1.1}.pm-profile-stat span{display:block;margin-top:6px;color:var(--pm-profile-muted);font-size:.78rem;font-weight:750}.pm-profile-meta{display:flex;flex-direction:column;gap:11px}.pm-profile-meta-row{display:flex;align-items:center;gap:10px;color:var(--pm-profile-muted)}.pm-profile-meta-row i{width:22px;text-align:center;color:#8db83f}.pm-profile-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pm-profile-social{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--pm-profile-border);border-radius:11px;background:var(--search-bar-bg,#171717);color:inherit;font-weight:800;overflow:hidden}.pm-profile-social span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-profile-social:hover{border-color:#8db83f;color:inherit}.pm-profile-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pm-profile-team-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid var(--pm-profile-border);border-radius:14px;background:var(--search-bar-bg,#171717);color:inherit}.pm-profile-team-card:hover{border-color:#8db83f;color:inherit}.pm-profile-team-logo{width:58px;height:58px;border-radius:12px;object-fit:contain;background:rgba(255,255,255,.06)}.pm-profile-team-logo-fallback{display:grid;place-items:center;font-size:1.25rem;font-weight:900}.pm-profile-team-name{font-weight:900;overflow-wrap:anywhere}.pm-profile-team-meta{margin-top:4px;color:var(--pm-profile-muted);font-size:.78rem}.pm-profile-mod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-profile-mod-card{overflow:hidden;border:1px solid var(--pm-profile-border);border-radius:15px;background:var(--search-bar-bg,#171717);color:inherit;transition:transform .18s,border-color .18s}.pm-profile-mod-card:hover{transform:translateY(-2px);border-color:#8db83f;color:inherit}.pm-profile-mod-image{height:150px;background:linear-gradient(135deg,rgba(122,165,46,.2),rgba(37,99,235,.18));overflow:hidden}.pm-profile-mod-image img{width:100%;height:100%;object-fit:cover;display:block}.pm-profile-mod-image-fallback{height:100%;display:grid;place-items:center;color:var(--pm-profile-muted);font-size:2rem}.pm-profile-favorite-badge{position:absolute;top:9px;right:9px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(12,12,12,.82);border:1px solid rgba(255,255,255,.14);color:#ff6476;font-size:.7rem;font-weight:900;backdrop-filter:blur(6px)}.pm-profile-mod-content{padding:13px}.pm-profile-mod-content h3{margin:0 0 7px;text-align:left;font-size:1rem;overflow-wrap:anywhere}.pm-profile-mod-game{margin:0;color:#8db83f;font-size:.8rem;font-weight:800;text-align:left}.pm-profile-mod-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px;color:var(--pm-profile-muted);font-size:.75rem}.pm-profile-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-profile-collection-card{display:grid;grid-template-columns:130px minmax(0,1fr);min-height:128px;overflow:hidden;border:1px solid var(--pm-profile-border);border-radius:14px;background:var(--search-bar-bg,#171717);color:inherit}.pm-profile-collection-card:hover{border-color:#8db83f;color:inherit}.pm-profile-collection-cover{position:relative;min-height:128px;background:linear-gradient(135deg,rgba(122,165,46,.22),rgba(59,130,246,.18));overflow:hidden}.pm-profile-collection-cover img{width:100%;height:100%;object-fit:cover}.pm-profile-collection-cover-fallback{height:100%;display:grid;place-items:center;color:#a8d45a;font-size:1.8rem}.pm-profile-collection-count{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:999px;background:rgba(12,12,12,.82);color:#fff;font-size:.65rem;font-weight:850}.pm-profile-collection-content{display:flex;flex-direction:column;padding:12px}.pm-profile-collection-content h3{margin:0 0 7px;font-size:.98rem;text-align:left}.pm-profile-collection-desc{display:-webkit-box;margin:0;color:var(--pm-profile-muted);font-size:.76rem;line-height:1.4;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pm-profile-collection-open{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:9px;color:#8db83f;font-size:.73rem;font-weight:850}.pm-profile-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-profile-pack-card{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:128px;overflow:hidden;border:1px solid var(--pm-profile-border);border-radius:15px;background:var(--search-bar-bg,#171717);color:inherit;transition:transform .18s,border-color .18s}.pm-profile-pack-card:hover{transform:translateY(-2px);border-color:#8db83f;color:inherit}.pm-profile-pack-cover{position:relative;min-height:128px;overflow:hidden;background:linear-gradient(135deg,rgba(122,165,46,.24),rgba(37,99,235,.2))}.pm-profile-pack-cover img{width:100%;height:100%;object-fit:cover;display:block}.pm-profile-pack-cover-fallback{height:100%;display:grid;place-items:center;color:var(--pm-profile-muted);font-size:2rem}.pm-profile-pack-count{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(10,10,10,.82);color:#fff;font-size:.72rem;font-weight:850}.pm-profile-pack-content{display:flex;min-width:0;flex-direction:column;padding:13px}.pm-profile-pack-content h3{margin:0 0 6px;text-align:left;font-size:1rem;overflow-wrap:anywhere}.pm-profile-pack-game{margin:0 0 8px;color:#8db83f;font-size:.8rem;font-weight:800;text-align:left}.pm-profile-pack-desc{display:-webkit-box;margin:0;color:var(--pm-profile-muted);font-size:.78rem;line-height:1.4;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pm-profile-pack-open{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:9px;color:#8db83f;font-size:.75rem;font-weight:850}.pm-profile-empty{padding:26px 18px;border:1px dashed var(--pm-profile-border);border-radius:14px;text-align:center;color:var(--pm-profile-muted)}.pm-profile-mod-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:-3px 0 15px}.pm-profile-mod-page-status{color:var(--pm-profile-muted);font-size:.86rem;font-weight:800}.pm-profile-mod-per-page{display:flex;align-items:center;gap:8px;margin:0}.pm-profile-mod-per-page label{margin:0;color:var(--pm-profile-muted);font-size:.82rem;font-weight:750;white-space:nowrap}.pm-profile-mod-per-page select{min-width:150px;padding:8px 34px 8px 10px;border:1px solid var(--pm-profile-border);border-radius:10px;background:var(--search-bar-bg,#171717);color:var(--pm-profile-text);font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}.pm-profile-mod-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:16px}.pm-profile-mod-pagination a,.pm-profile-mod-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;border:1px solid var(--pm-profile-border);border-radius:10px;background:var(--search-bar-bg,#171717);color:var(--pm-profile-text);font-size:.82rem;font-weight:800;text-decoration:none}.pm-profile-mod-pagination a:hover{border-color:#8db83f;color:#8db83f}.pm-profile-mod-pagination .active{border-color:#8db83f;background:#7aa52e;color:#fff}.pm-profile-mod-pagination .disabled{opacity:.42;cursor:not-allowed}.pm-profile-mod-pagination .pm-page-label{min-width:auto;padding:0 4px;border:0;background:transparent;color:var(--pm-profile-muted)}.pm-profile-warning{margin:0 22px 20px;padding:12px 14px;border:1px solid rgba(245,158,11,.4);border-radius:12px;background:rgba(245,158,11,.1);color:#e0ab42}.pm-profile-private-notice{margin:0 22px 20px;padding:12px 14px;border:1px solid rgba(245,158,11,.4);border-radius:12px;background:rgba(245,158,11,.1);color:var(--pm-profile-text)}.pm-profile-follow-flash{margin:18px 22px 0;padding:12px 14px;border:1px solid var(--pm-profile-border);border-radius:12px;font-weight:800}.pm-profile-follow-flash.success{border-color:rgba(34,197,94,.45);background:rgba(34,197,94,.12);color:#8ee9b3}.pm-profile-follow-flash.error{border-color:rgba(239,68,68,.45);background:rgba(239,68,68,.12);color:#fecaca}

.pm-profile-creator-level{border-color:rgba(168,212,90,.48)!important;background:rgba(122,165,46,.18)!important}
.pm-profile-creator-card{overflow:hidden}
.pm-profile-creator-level-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pm-profile-creator-level-copy{display:flex;align-items:center;gap:10px}
.pm-profile-creator-level-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:rgba(122,165,46,.12);color:#a8d45a;font-size:1.1rem}
.pm-profile-creator-level-copy strong{display:block}.pm-profile-creator-level-copy small{display:block;margin-top:2px;color:var(--pm-profile-muted)}
.pm-profile-creator-xp{text-align:right}.pm-profile-creator-xp strong{display:block;font-size:1.1rem}.pm-profile-creator-xp span{color:var(--pm-profile-muted);font-size:.66rem}
.pm-profile-creator-progress-copy{display:flex;justify-content:space-between;gap:8px;margin-top:12px;color:var(--pm-profile-muted);font-size:.65rem}
.pm-profile-creator-track{height:7px;margin-top:4px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.08)}
.pm-profile-creator-bar{height:100%;background:linear-gradient(90deg,#7aa52e,#3b82f6)}
.pm-profile-creator-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.pm-profile-creator-award{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--pm-profile-border);border-radius:999px;background:var(--search-bar-bg,#171717);font-size:.67rem;font-weight:800}
.pm-profile-creator-award i{color:#a8d45a}
.pm-profile-creator-more{color:var(--pm-profile-muted);font-size:.67rem}

@media(max-width:980px){.pm-profile-body{grid-template-columns:1fr}.pm-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-profile-identity{align-items:flex-start;flex-direction:column}.pm-profile-actions{justify-content:flex-start}}
@media(max-width:700px){.pm-profile-hero{min-height:390px}.pm-profile-identity{left:18px;right:18px;bottom:18px}.pm-profile-identity-main{align-items:flex-start;flex-direction:column;gap:12px}.pm-profile-avatar{width:112px;height:112px}.pm-profile-body{padding:14px}.pm-profile-mod-grid,.pm-profile-team-grid,.pm-profile-socials,.pm-profile-pack-grid,.pm-profile-collection-grid{grid-template-columns:1fr}.pm-profile-pack-card{grid-template-columns:105px minmax(0,1fr)}.pm-profile-warning,.pm-profile-private-notice,.pm-profile-follow-flash{margin-left:14px;margin-right:14px}.pm-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-profile-mod-toolbar{align-items:stretch;flex-direction:column}.pm-profile-mod-per-page{justify-content:space-between}.pm-profile-mod-per-page select{flex:1 1 auto;min-width:0}.pm-profile-mod-page-status{text-align:left}}
@media(max-width:440px){.pm-profile-stats{grid-template-columns:1fr 1fr}.pm-profile-actions,.pm-profile-actions .pm-profile-button{width:100%}}

.pm-profile-game-grid{display:grid;grid-template-columns:1fr;gap:10px}.pm-profile-game-card{display:grid;grid-template-columns:82px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:9px;border:1px solid var(--pm-profile-border);border-radius:13px;background:var(--search-bar-bg,#171717);color:inherit;transition:border-color .18s,transform .18s}.pm-profile-game-card:hover{border-color:#8db83f;color:inherit;transform:translateY(-1px)}.pm-profile-game-cover{width:82px;height:62px;border-radius:9px;object-fit:cover;background:rgba(255,255,255,.06)}.pm-profile-game-copy{display:flex;min-width:0;flex-direction:column;gap:5px;text-align:left}.pm-profile-game-name{overflow:hidden;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.pm-profile-game-meta{color:#8db83f;font-size:.76rem;font-weight:800}.pm-profile-game-arrow{color:var(--pm-profile-muted);font-size:.78rem}.pm-profile-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:-2px 0 14px}.pm-profile-section-status{color:var(--pm-profile-muted);font-size:.8rem;font-weight:800}.pm-profile-compact-per-page select{min-width:132px}.pm-profile-card .pm-profile-mod-pagination{margin-top:14px}@media(max-width:700px){.pm-profile-section-toolbar{align-items:stretch;flex-direction:column}.pm-profile-compact-per-page{justify-content:space-between}.pm-profile-compact-per-page select{flex:1 1 auto;min-width:0}}

.pm-profile-card.pm-profile-ajax-loading{opacity:.55;pointer-events:none;transition:opacity .15s ease}.pm-profile-card.pm-profile-ajax-loading::after{content:"";position:absolute;inset:0}.pm-profile-card#publications,.pm-profile-card#packs,.pm-profile-card#jeux-favoris{position:relative}

/* PM_PROFILE_VERIFICATION_BADGE_V1_STYLE */
.pm-profile-badge.pm-profile-verified{
    position:relative;
    border-width:1px;
    border-style:solid;
    font-weight:900;
}
.pm-profile-badge.pm-profile-verified i{
    font-size:.9rem;
}
.pm-profile-badge.pm-profile-verified.is-blue{
    color:#eaf4ff;
    border-color:rgba(96,165,250,.78);
    background:linear-gradient(135deg,rgba(29,78,216,.92),rgba(14,116,144,.88));
    box-shadow:0 0 0 1px rgba(147,197,253,.12),0 7px 22px rgba(37,99,235,.24);
}
.pm-profile-badge.pm-profile-verified.is-gold{
    color:#fff8d6;
    border-color:rgba(250,204,21,.85);
    background:linear-gradient(135deg,rgba(161,98,7,.95),rgba(202,138,4,.90));
    box-shadow:0 0 0 1px rgba(253,224,71,.16),0 7px 22px rgba(202,138,4,.25);
}
.pm-profile-badge.pm-profile-verified.is-gold i{
    color:#fde68a;
}
.pm-profile-badge.pm-profile-verified.is-blue i{
    color:#bfdbfe;
}
a.pm-profile-badge.pm-profile-verified:hover{
    color:inherit;
    filter:brightness(1.08);
}
