/* Repris à l'identique de l'ancien pages/teams.php */
.pm-teams-v2{--surface:var(--card-bg,#252525);--surface2:var(--search-bar-bg,#171717);--border:var(--card-border,#444);--muted:var(--card-text-muted,#aaa);color:var(--text-page,#f4f4f4);padding:8px 0 34px}.pm-teams-v2 *{box-sizing:border-box}.pm-teams-v2 a{color:inherit}.pm-team-flash{padding:12px 15px;margin:0 0 16px;border-radius:11px;font-weight:800}.pm-team-flash.success{background:rgba(34,197,94,.15);border:1px solid rgba(34,197,94,.4);color:#bff7cf}.pm-team-flash.error{background:rgba(239,68,68,.14);border:1px solid rgba(239,68,68,.4);color:#ffd0d0}.pm-teams-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 20px}.pm-teams-hero h1{margin:0 0 6px;text-align:left;font-size:clamp(1.8rem,3vw,2.6rem)}.pm-teams-hero p{margin:0;color:var(--muted);text-align:left;max-width:760px}.pm-team-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:inherit;text-decoration:none;font-weight:850;cursor:pointer}.pm-team-btn.primary{background:#22c55e;border-color:#22c55e;color:#07140b}.pm-team-btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.pm-team-btn.small{padding:7px 10px;font-size:.84rem}.pm-team-btn:disabled{opacity:.45;cursor:not-allowed}.pm-team-filter{display:grid;grid-template-columns:minmax(220px,2fr) repeat(5,minmax(130px,1fr)) auto;gap:10px;padding:14px;margin-bottom:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.pm-team-filter input,.pm-team-filter select,.pm-team-form textarea,.pm-team-form select{width:100%;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);color:inherit;outline:none}.pm-team-filter .search{position:relative}.pm-team-filter .search i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted)}.pm-team-filter .search input{padding-left:37px}.pm-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pm-team-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface);text-decoration:none;transition:.18s ease}.pm-team-card.clickable:hover{transform:translateY(-3px);border-color:rgba(34,197,94,.72)}.pm-team-card.private{opacity:.82;cursor:not-allowed}.pm-team-banner{position:relative;height:150px;overflow:hidden;background:linear-gradient(135deg,rgba(34,197,94,.2),rgba(37,99,235,.18))}.pm-team-banner>img{width:100%;height:100%;object-fit:cover}.pm-team-logo{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:150px;height:105px;display:grid;place-items:center;padding:0;background:transparent;border:0;overflow:visible}.pm-team-logo.has-background,.pm-team-logo.has-border{padding:9px;border-radius:14px;overflow:hidden}.pm-team-logo img{width:100%;height:100%;object-fit:contain}.pm-team-logo span{font-size:2rem;font-weight:950}.pm-team-lock{position:absolute;right:12px;top:12px;padding:7px 10px;border-radius:999px;background:rgba(8,8,8,.82);font-size:.78rem;font-weight:900;color:#fff}.pm-team-card-content{display:flex;flex-direction:column;gap:10px;padding:16px;min-height:210px}.pm-team-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pm-team-title-row h2{margin:0;text-align:left;font-size:1.17rem}.pm-team-visibility{padding:4px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface2);font-size:.72rem;font-weight:850;white-space:nowrap}.pm-team-description{margin:0;color:var(--muted);text-align:left;line-height:1.48;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-team-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto;color:var(--muted);font-size:.83rem;font-weight:750}.pm-team-badges{display:flex;gap:6px;flex-wrap:wrap}.pm-team-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;font-size:.7rem;font-weight:900;background:#343840;border:1px solid rgba(255,255,255,.1)}.pm-team-badge.official{background:rgba(168,85,247,.18);color:#e9d5ff}.pm-team-badge.verified{background:rgba(59,130,246,.18);color:#bfdbfe}.pm-team-badge.partner{background:rgba(245,158,11,.18);color:#fde68a}.pm-team-badge.developer{background:rgba(14,165,233,.2);color:#bae6fd}.pm-team-badge.active{background:rgba(34,197,94,.18);color:#bbf7d0}.pm-team-badge.featured{background:rgba(236,72,153,.18);color:#fbcfe8}.pm-team-empty,.pm-team-error{padding:38px 20px;border:1px dashed var(--border);border-radius:14px;text-align:center;color:var(--muted)}.pm-team-error{border-style:solid;background:rgba(239,68,68,.1);color:#ffd0d0}.pm-team-request-list{margin:0 0 20px;padding:15px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.pm-team-request-list h2{margin:0 0 10px;text-align:left;font-size:1.05rem}.pm-team-request-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--border)}.pm-team-request-row:first-of-type{border-top:0}.pm-team-status{padding:4px 8px;border-radius:999px;background:var(--surface2);font-size:.75rem;font-weight:850}.pm-team-detail-back{display:inline-flex;gap:8px;align-items:center;margin-bottom:14px;text-decoration:none;font-weight:850}.pm-team-detail{overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.pm-team-detail-hero{position:relative;min-height:250px;background:linear-gradient(135deg,rgba(34,197,94,.24),rgba(37,99,235,.2));overflow:hidden}.pm-team-detail-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pm-team-detail-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,12,.88),rgba(8,10,12,.25),rgba(8,10,12,.42))}.pm-team-detail-title{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:30px;min-height:250px}.pm-team-detail-main{display:flex;align-items:center;gap:22px;min-width:0}.pm-team-detail-title .pm-team-logo{position:relative;left:auto;top:auto;transform:translateY(-28px);width:210px;height:145px;flex:0 0 auto}.pm-team-detail-title h1{margin:0 0 8px;text-align:left}.pm-team-detail-title p{margin:0;color:#d1d5db;text-align:left}.pm-team-hero-follow{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:220px;max-width:100%;padding:12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(10,12,16,.52);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(0,0,0,.18)}.pm-team-hero-follow-top{display:flex;align-items:center;gap:10px;justify-content:flex-end;width:100%}.pm-team-hero-follow-count{font-size:1.35rem;font-weight:950;line-height:1}.pm-team-hero-follow-label{color:#d1d5db;font-size:.84rem;font-weight:700;white-space:nowrap}.pm-team-hero-follow .pm-team-btn{min-width:170px}.pm-team-hero-follow-help{margin:0;color:#cbd5e1;font-size:.76rem;line-height:1.4;text-align:right}.pm-team-hero-follow .follow-disabled{opacity:.72}.pm-team-detail-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px;padding:22px}.pm-team-section{padding:17px;border:1px solid var(--border);border-radius:14px;background:var(--surface2)}.pm-team-section+.pm-team-section{margin-top:16px}.pm-team-section h2{margin:0 0 12px;text-align:left;font-size:1.15rem}.pm-team-section p{text-align:left}.pm-team-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pm-team-stat{padding:12px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.pm-team-stat strong{display:block;font-size:1.35rem}.pm-team-stat span{color:var(--muted);font-size:.8rem}.pm-team-links{display:flex;gap:8px;flex-wrap:wrap}.pm-team-social{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--border);border-radius:9px;text-decoration:none;background:var(--surface)}.pm-team-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pm-team-member{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.pm-team-member img{width:42px;height:42px;border-radius:50%;object-fit:cover}.pm-team-member small{display:block;color:var(--muted)}.pm-team-mods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pm-team-mod{display:flex;gap:11px;padding:11px;border:1px solid var(--border);border-radius:12px;background:var(--surface);text-decoration:none}.pm-team-mod-thumb{width:88px;height:68px;flex:0 0 auto;border-radius:9px;object-fit:cover;background:#111}.pm-team-mod h3{margin:0 0 5px;text-align:left;font-size:.95rem}.pm-team-mod small{display:block;color:var(--muted)}.pm-team-sidebar-card{padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface2)}.pm-team-sidebar-card+.pm-team-sidebar-card{margin-top:14px}.pm-team-sidebar-card h2{margin:0 0 10px;text-align:left;font-size:1.08rem}.pm-team-form{display:grid;gap:9px}.pm-team-form textarea{min-height:90px;resize:vertical}.pm-team-private-detail{padding:30px;display:grid;place-items:center;gap:16px;text-align:center}.pm-team-private-detail .pm-team-logo{position:relative;left:auto;top:auto;transform:none;width:220px;height:150px}.pm-team-private-detail p{max-width:650px;color:var(--muted)}.pm-team-games{display:flex;gap:7px;flex-wrap:wrap}.pm-team-game-pill{padding:6px 9px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:.8rem;font-weight:800}.pm-team-developed-games{display:flex;gap:9px;flex-wrap:wrap}.pm-team-developed-game{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 11px 6px 7px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(12,14,18,.72);color:#fff;text-decoration:none;font-size:.84rem;font-weight:850;transition:.17s ease}.pm-team-developed-game:hover{border-color:rgba(56,189,248,.75);background:rgba(14,165,233,.18);transform:translateY(-1px)}.pm-team-developed-game img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:#111}.pm-team-developed-game i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(56,189,248,.18);color:#bae6fd;font-size:.72rem}.pm-team-dev-publications{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pm-team-dev-publication{display:block;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface);text-decoration:none}.pm-team-dev-publication h3{margin:0 0 5px;font-size:.95rem}.pm-team-dev-publication p{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-team-dev-publication small{display:block;margin-top:7px;color:var(--muted)}.pm-team-date{color:var(--muted)}details.pm-team-report summary{cursor:pointer;font-weight:850;list-style:none}details.pm-team-report summary::-webkit-details-marker{display:none}.pm-team-report[open] summary{margin-bottom:12px}.pm-team-login-note{padding:11px;border-radius:10px;background:rgba(59,130,246,.12);color:#bfdbfe}.pm-team-pagination-note{margin-top:13px;color:var(--muted);text-align:center}

.pm-team-card-link{display:flex;flex:1;flex-direction:column;color:inherit;text-decoration:none;min-height:0}.pm-team-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-top:1px solid var(--border);background:rgba(0,0,0,.1)}.pm-team-card-footer form{margin:0}.pm-team-follow-count{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:.82rem;font-weight:800}.pm-team-btn.following{background:#334155;border-color:#64748b;color:#fff}.pm-team-btn.following:hover{background:#475569}.pm-team-btn.follow-disabled{background:#4b4b4b;border-color:#5f5f5f;color:#c8c8c8;opacity:.55}.pm-team-follow-help{margin:0 0 10px;color:var(--muted);font-size:.88rem;line-height:1.45}.pm-team-follow-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.pm-team-follow-summary strong{font-size:1.25rem}.pm-team-follow-summary span{color:var(--muted);font-size:.86rem}.pm-team-private-follow{display:grid;gap:7px;min-width:min(320px,100%)}
@media(max-width:1180px){.pm-team-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-team-filter .search{grid-column:span 2}.pm-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-team-detail-body{grid-template-columns:1fr}.pm-team-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.pm-teams-hero{align-items:flex-start;flex-direction:column}.pm-team-filter{grid-template-columns:1fr}.pm-team-filter .search{grid-column:auto}.pm-team-grid{grid-template-columns:1fr}.pm-team-detail-title{align-items:flex-start;flex-direction:column;padding:20px}.pm-team-detail-main{align-items:flex-start;flex-direction:column}.pm-team-detail-title .pm-team-logo{width:170px;height:115px;transform:translateY(-10px)}.pm-team-hero-follow{width:100%;align-items:stretch}.pm-team-hero-follow-top{justify-content:space-between}.pm-team-hero-follow-help{text-align:left}.pm-team-hero-follow .pm-team-btn{width:100%;min-width:0}.pm-team-detail-body{padding:14px}.pm-team-members,.pm-team-mods,.pm-team-dev-publications{grid-template-columns:1fr}.pm-team-stat-grid{grid-template-columns:1fr 1fr}.pm-team-request-row{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.pm-team-card-footer{align-items:stretch;flex-direction:column}.pm-team-card-footer form,.pm-team-card-footer .pm-team-btn{width:100%}.pm-team-follow-count{justify-content:center}}

.pm-team-pack-sidebar{display:grid;gap:12px}.pm-team-pack-sidebar>h2{display:flex;align-items:center;gap:8px;margin:0}.pm-team-public-pack-list{display:grid;gap:10px}
.pm-team-public-pack{border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.pm-team-public-pack>summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;cursor:pointer;list-style:none}.pm-team-public-pack>summary::-webkit-details-marker{display:none}.pm-team-public-pack[open]>summary{border-bottom:1px solid var(--border)}.pm-team-public-pack-cover,.pm-team-public-pack-cover-empty{width:58px;height:48px;border-radius:9px;object-fit:cover;background:linear-gradient(135deg,rgba(34,197,94,.22),rgba(59,130,246,.18))}.pm-team-public-pack-cover-empty{display:grid;place-items:center;color:#86efac;font-size:1.1rem}.pm-team-public-pack-title{min-width:0;text-align:left}.pm-team-public-pack-title strong,.pm-team-public-pack-title small{display:block;overflow-wrap:anywhere}.pm-team-public-pack-title small{margin-top:3px;color:var(--muted);font-size:.77rem}.pm-team-public-pack-chevron{color:var(--muted);transition:transform .18s ease}.pm-team-public-pack[open] .pm-team-public-pack-chevron{transform:rotate(180deg)}.pm-team-public-pack-description{margin:0;padding:10px 11px 0;color:var(--muted);font-size:.84rem;line-height:1.45;text-align:left;white-space:pre-wrap}.pm-team-public-pack-mods{display:grid;gap:7px;padding:10px}.pm-team-public-pack-mod{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);text-decoration:none}.pm-team-public-pack-mod:hover{border-color:rgba(34,197,94,.65)}.pm-team-public-pack-mod img,.pm-team-public-pack-mod-thumb{width:47px;height:38px;border-radius:7px;object-fit:cover;background:#111;flex:0 0 auto}.pm-team-public-pack-mod div{min-width:0;text-align:left}.pm-team-public-pack-mod strong,.pm-team-public-pack-mod small{display:block;overflow-wrap:anywhere}.pm-team-public-pack-mod small{color:var(--muted);font-size:.75rem}.pm-team-public-pack-empty{padding:11px;color:var(--muted);text-align:center;font-size:.84rem}
@media(max-width:520px){.pm-team-public-pack>summary{grid-template-columns:50px minmax(0,1fr) auto}.pm-team-public-pack-cover,.pm-team-public-pack-cover-empty{width:50px;height:43px}}

/* ===== Fiche publique Team : même langage visuel que /utilisateurs/{pseudo} ===== */
.pm-team-profile-shell{--pm-tp-surface:var(--card-bg,#252525);--pm-tp-border:var(--card-border,#444);--pm-tp-muted:var(--card-text-muted,#aaa);--pm-tp-text:var(--card-text,var(--text-page,#fff));overflow:hidden;border:1px solid var(--pm-tp-border);border-radius:22px;background:var(--pm-tp-surface);box-shadow:0 18px 48px rgba(0,0,0,.16);color:var(--pm-tp-text)}
.pm-team-profile-hero{position:relative;min-height:280px;background:linear-gradient(135deg,rgba(122,165,46,.42),rgba(37,99,235,.34));overflow:hidden}
.pm-team-profile-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pm-team-profile-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,10,.06),rgba(10,10,10,.82))}
.pm-team-profile-identity{position:absolute;left:30px;right:30px;bottom:24px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;z-index:2}
.pm-team-profile-identity-main{display:flex;align-items:flex-end;gap:20px;min-width:0}
.pm-team-profile-logo-frame{flex:0 0 142px;width:142px;height:142px;display:grid;place-items:center;padding:0;border-radius:24px;border:0;background:transparent;box-shadow:none;overflow:visible}
.pm-team-profile-logo-frame .pm-team-logo{position:relative;left:auto;top:auto;transform:none;width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:16px;overflow:visible}
.pm-team-profile-logo-frame .pm-team-logo.has-background,.pm-team-profile-logo-frame .pm-team-logo.has-border{padding:7px;overflow:hidden}
.pm-team-profile-logo-frame .pm-team-logo img{width:100%;height:100%;object-fit:contain}
.pm-team-profile-name-wrap{min-width:0;padding-bottom:6px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.55)}
.pm-team-profile-name-wrap h1{margin:0 0 8px;text-align:left;font-size:clamp(1.8rem,4vw,3rem);overflow-wrap:anywhere}
.pm-team-profile-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pm-team-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-team-profile-badge.private{background:rgba(180,83,9,.82)}
.pm-team-profile-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.pm-team-profile-actions form{margin:0}
.pm-team-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!important;font:inherit;font-weight:850;backdrop-filter:blur(5px);cursor:pointer;text-decoration:none}
.pm-team-profile-button.primary{border-color:#8db83f;background:#7aa52e;color:#fff!important}.pm-team-profile-button.following{border-color:rgba(255,255,255,.42);background:rgba(12,12,12,.86)}.pm-team-profile-button.disabled{opacity:.72;cursor:not-allowed}
.pm-team-profile-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:20px;padding:22px}
.pm-team-profile-column{display:flex;flex-direction:column;gap:20px;min-width:0}
.pm-team-profile-card{border:1px solid var(--pm-tp-border);border-radius:16px;background:color-mix(in srgb,var(--pm-tp-surface) 94%,#fff 6%);padding:20px;min-width:0}
.pm-team-profile-card h2{display:flex;align-items:center;gap:9px;margin:0 0 15px;text-align:left;font-size:1.18rem}
.pm-team-profile-description{margin:0;white-space:pre-wrap;line-height:1.7;color:var(--pm-tp-muted);text-align:left}.pm-team-profile-description.empty{font-style:italic}
.pm-team-profile-games{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.pm-team-profile-game-pill{padding:6px 9px;border:1px solid var(--pm-tp-border);border-radius:999px;background:var(--search-bar-bg,#171717);font-size:.8rem;font-weight:800}
.pm-team-profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.pm-team-profile-stat{padding:16px 12px;border:1px solid var(--pm-tp-border);border-radius:14px;background:var(--search-bar-bg,#171717);text-align:center}.pm-team-profile-stat strong{display:block;font-size:1.45rem;line-height:1.1}.pm-team-profile-stat span{display:block;margin-top:6px;color:var(--pm-tp-muted);font-size:.78rem;font-weight:750}
.pm-team-profile-meta{display:flex;flex-direction:column;gap:11px}.pm-team-profile-meta-row{display:flex;align-items:center;gap:10px;color:var(--pm-tp-muted)}.pm-team-profile-meta-row i{width:22px;text-align:center;color:#8db83f}
.pm-team-profile-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pm-team-profile-social{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--pm-tp-border);border-radius:11px;background:var(--search-bar-bg,#171717);color:inherit!important;font-weight:800;overflow:hidden}.pm-team-profile-social span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-team-profile-social:hover{border-color:#8db83f}
.pm-team-profile-member-grid{display:grid;grid-template-columns:1fr;gap:9px}.pm-team-profile-member{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid var(--pm-tp-border);border-radius:12px;background:var(--search-bar-bg,#171717)}.pm-team-profile-member img{width:48px;height:48px;border-radius:50%;object-fit:cover}.pm-team-profile-member strong,.pm-team-profile-member small{display:block}.pm-team-profile-member small{margin-top:3px;color:var(--pm-tp-muted);font-size:.76rem}
.pm-team-profile-mod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-team-profile-mod-card{overflow:hidden;border:1px solid var(--pm-tp-border);border-radius:15px;background:var(--search-bar-bg,#171717);color:inherit!important;transition:transform .18s,border-color .18s}.pm-team-profile-mod-card:hover{transform:translateY(-2px);border-color:#8db83f}.pm-team-profile-mod-image{position:relative;height:150px;background:linear-gradient(135deg,rgba(122,165,46,.2),rgba(37,99,235,.18));overflow:hidden}.pm-team-profile-mod-image img{width:100%;height:100%;object-fit:cover;display:block}.pm-team-profile-mod-image-empty{height:100%;display:grid;place-items:center;color:var(--pm-tp-muted);font-size:2rem}.pm-team-profile-mod-content{padding:13px}.pm-team-profile-mod-content h3{margin:0 0 7px;text-align:left;font-size:1rem;overflow-wrap:anywhere}.pm-team-profile-mod-game{margin:0;color:#8db83f;font-size:.8rem;font-weight:800;text-align:left}.pm-team-profile-mod-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:11px;color:var(--pm-tp-muted);font-size:.75rem}
.pm-team-profile-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-team-profile-pack{overflow:hidden;border:1px solid var(--pm-tp-border);border-radius:15px;background:var(--search-bar-bg,#171717)}.pm-team-profile-pack>summary{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:128px;cursor:pointer;list-style:none}.pm-team-profile-pack>summary::-webkit-details-marker{display:none}.pm-team-profile-pack:hover{border-color:#8db83f}.pm-team-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-team-profile-pack-cover img{width:100%;height:100%;object-fit:cover;display:block}.pm-team-profile-pack-cover-empty{height:100%;display:grid;place-items:center;color:var(--pm-tp-muted);font-size:2rem}.pm-team-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-team-profile-pack-copy{display:flex;min-width:0;flex-direction:column;padding:13px;text-align:left}.pm-team-profile-pack-copy h3{margin:0 0 6px;text-align:left;font-size:1rem;overflow-wrap:anywhere}.pm-team-profile-pack-game{margin:0 0 8px;color:#8db83f;font-size:.8rem;font-weight:800}.pm-team-profile-pack-desc{display:-webkit-box;margin:0;color:var(--pm-tp-muted);font-size:.78rem;line-height:1.4;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pm-team-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-team-profile-pack[open] .pm-team-profile-pack-open i{transform:rotate(90deg)}.pm-team-profile-pack-dep{display:inline-flex;align-items:center;gap:5px;margin-top:7px;padding:4px 7px;border-radius:999px;font-size:.65rem;font-weight:900;width:max-content}.pm-team-profile-pack-dep.ok{background:rgba(34,197,94,.13);color:#86efac}.pm-team-profile-pack-dep.warning{background:rgba(245,158,11,.13);color:#fcd34d}.pm-team-profile-pack-dep.error{background:rgba(239,68,68,.13);color:#fda4af}.pm-team-profile-pack-items{display:grid;gap:8px;padding:12px;border-top:1px solid var(--pm-tp-border)}.pm-team-profile-pack-item{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid var(--pm-tp-border);border-radius:9px;background:color-mix(in srgb,var(--search-bar-bg,#171717) 92%,#fff 8%);color:inherit!important}.pm-team-profile-pack-item img,.pm-team-profile-pack-item-thumb{width:52px;height:42px;border-radius:7px;object-fit:cover;background:#111;flex:0 0 auto}.pm-team-profile-pack-item div{min-width:0;text-align:left}.pm-team-profile-pack-item strong,.pm-team-profile-pack-item small{display:block;overflow-wrap:anywhere}.pm-team-profile-pack-item small{color:var(--pm-tp-muted);font-size:.75rem}.pm-team-pack-compat{display:grid;gap:9px;padding:12px;border-top:1px solid var(--pm-tp-border);background:rgba(255,255,255,.015)}.pm-team-pack-compat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pm-team-pack-score{font-size:.75rem;font-weight:900}.pm-team-pack-compat-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.pm-team-pack-compat-stat{padding:7px;border:1px solid var(--pm-tp-border);border-radius:8px;text-align:center}.pm-team-pack-compat-stat strong,.pm-team-pack-compat-stat span{display:block}.pm-team-pack-compat-stat span{margin-top:2px;color:var(--pm-tp-muted);font-size:.58rem}.pm-team-pack-issues{display:grid;gap:5px}.pm-team-pack-issue{padding:6px 8px;border-radius:7px;background:rgba(255,255,255,.035);font-size:.65rem}.pm-team-pack-issue.warning{border-left:3px solid #f59e0b}.pm-team-pack-issue.error{border-left:3px solid #ef4444}.pm-team-pack-order{display:flex;gap:5px;flex-wrap:wrap}.pm-team-pack-order span{padding:5px 7px;border:1px solid var(--pm-tp-border);border-radius:7px;font-size:.62rem}.pm-team-pack-order b{margin-right:4px;color:#8db83f}@media(max-width:620px){.pm-team-pack-compat-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pm-team-profile-empty{padding:26px 18px;border:1px dashed var(--pm-tp-border);border-radius:14px;text-align:center;color:var(--pm-tp-muted)}
.pm-team-profile-developed-games{display:flex;gap:9px;flex-wrap:wrap}.pm-team-profile-developed-game{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:6px 11px 6px 7px;border:1px solid var(--pm-tp-border);border-radius:999px;background:var(--search-bar-bg,#171717);color:inherit!important;font-size:.84rem;font-weight:850}.pm-team-profile-developed-game:hover{border-color:#8db83f}.pm-team-profile-developed-game img{width:26px;height:26px;border-radius:50%;object-fit:cover}.pm-team-profile-dev-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pm-team-profile-dev-card{display:block;padding:11px;border:1px solid var(--pm-tp-border);border-radius:11px;background:var(--search-bar-bg,#171717);color:inherit!important}.pm-team-profile-dev-card h3{margin:0 0 5px;text-align:left;font-size:.95rem}.pm-team-profile-dev-card p{margin:0;color:var(--pm-tp-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-team-profile-dev-card small{display:block;margin-top:7px;color:var(--pm-tp-muted)}
.pm-team-profile-join{display:grid;gap:10px}.pm-team-profile-join p{margin:0;color:var(--pm-tp-muted);text-align:left}.pm-team-profile-join .pm-team-form{margin-top:2px}.pm-team-profile-join .pm-team-btn{width:100%}
.pm-team-profile-private-note{margin:20px;padding:14px;border:1px solid rgba(245,158,11,.4);border-radius:12px;background:rgba(245,158,11,.1);color:var(--pm-tp-text)}
@media(max-width:1180px){.pm-team-profile-body{grid-template-columns:1fr}.pm-team-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-team-profile-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pm-team-profile-hero{min-height:360px}.pm-team-profile-identity{left:18px;right:18px;bottom:18px;align-items:flex-start;flex-direction:column}.pm-team-profile-identity-main{align-items:flex-end}.pm-team-profile-logo-frame{width:108px;height:108px;flex-basis:108px;border-width:4px}.pm-team-profile-actions{width:100%;justify-content:flex-start}.pm-team-profile-body{padding:14px}.pm-team-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-team-profile-mod-grid,.pm-team-profile-pack-grid,.pm-team-profile-dev-list{grid-template-columns:1fr}.pm-team-profile-member-grid{grid-template-columns:1fr}}
@media(max-width:520px){.pm-team-profile-identity-main{align-items:flex-start;flex-direction:column}.pm-team-profile-hero{min-height:430px}.pm-team-profile-logo-frame{width:96px;height:96px;flex-basis:96px}.pm-team-profile-actions,.pm-team-profile-actions form,.pm-team-profile-button{width:100%}.pm-team-profile-socials{grid-template-columns:1fr}.pm-team-profile-pack>summary{grid-template-columns:100px minmax(0,1fr)}.pm-team-profile-pack-cover{min-height:112px}}


.pm-team-profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;color:var(--pm-tp-muted);font-size:.82rem;font-weight:750}.pm-team-profile-toolbar form{display:flex;align-items:center;gap:8px;margin:0}.pm-team-profile-toolbar label{white-space:nowrap}.pm-team-profile-toolbar select{min-width:150px;padding:7px 32px 7px 10px;border:1px solid var(--pm-tp-border);border-radius:10px;background:var(--search-bar-bg,#171717);color:inherit;font:inherit;font-weight:800}.pm-team-profile-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:16px}.pm-team-profile-pagination a,.pm-team-profile-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--pm-tp-border);border-radius:10px;background:var(--search-bar-bg,#171717);color:inherit!important;text-decoration:none;font-weight:850}.pm-team-profile-pagination a:hover{border-color:#8db83f}.pm-team-profile-pagination .active{background:#7aa52e;border-color:#8db83f;color:#fff!important}.pm-team-profile-pagination .disabled{opacity:.42}.pm-team-profile-pagination .ellipsis{min-width:auto;border:0;background:transparent;color:var(--pm-tp-muted)}.pm-team-profile-card.pm-team-ajax-loading{position:relative;opacity:.55;pointer-events:none;transition:opacity .15s ease}.pm-team-profile-card.pm-team-ajax-loading::after{content:"";position:absolute;inset:0}.pm-team-profile-card#publications,.pm-team-profile-card#packs,.pm-team-profile-card#members{position:relative}
@media(max-width:620px){.pm-team-profile-toolbar{align-items:stretch;flex-direction:column}.pm-team-profile-toolbar form{justify-content:space-between}.pm-team-profile-toolbar select{flex:1;min-width:0}.pm-team-profile-pagination{flex-wrap:wrap}}


.pm-team-profile-pack-item{display:flex;align-items:center;gap:8px}
.pm-team-profile-pack-item-main{display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 auto;color:inherit!important;text-decoration:none!important}
.pm-team-profile-pack-item-main:hover strong{color:#8db83f}
.pm-team-profile-pack-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 9px;border:1px solid rgba(34,197,94,.30);border-radius:8px;background:rgba(34,197,94,.10);color:#86efac;font:inherit;font-size:.66rem;font-weight:850;cursor:pointer;flex:0 0 auto}
.pm-team-profile-pack-download:hover{border-color:#22c55e;background:rgba(34,197,94,.17)}
.pm-team-profile-pack-download:disabled{opacity:.55;cursor:wait}
@media(max-width:520px){.pm-team-profile-pack-download span{display:none}.pm-team-profile-pack-download{width:34px;padding:0}}


.pm-verified-team-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;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)}
