/*
 * Page profil membre (/m/pseudo), refonte du 27/10/2026. Règles : _doc/profil/01_METHODOLOGIE.md ; maquette validée par Ben.
 * Charte : jaune #F2E70D (bandeau, bandes de section) + fuchsia #e6007e (partage, actions) ; bleu nuit réservé à l'important
 * (En [année], vitrine, trophées rares, goûts) ; le reste sur blanc. Préfixe vgp- (profil).
 * Appelé avec ?v=<?= _VERSION_ ?> (views/member/index.php) : monter $version en prod.
 */

/* ===== Présentation : avatar, classe, médailles ===== */
.vgp-medals { margin-top: 16px; display: grid; justify-items: center; gap: 12px; width: 172px; }
.vgp-class { cursor: help; border-radius: 50%; transition: transform .15s; line-height: 1; }
.vgp-class .fa-stack { font-size: 2.6rem; }
.vgp-class:hover, .vgp-class:focus-visible { transform: scale(1.05); }
.vgp-medals-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; justify-items: center; width: 100%; }
.vgp-medal { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; transition: transform .15s; line-height: 1; }
.vgp-medal .fa-stack { font-size: 1.05rem; }
.vgp-medal:hover, .vgp-medal:focus-visible { transform: translateY(-2px) scale(1.08); }
.vgp-medal:focus-visible, .vgp-class:focus-visible { outline: 2px solid #e6007e; outline-offset: 2px; }
@media (min-width: 768px) {
    #tabPresentation .vgp-avatar-col { display: flex; flex-direction: column; align-items: center; }
}

/* Bulle commune (médailles, classe, calendrier) */
.vgp-tip { position: fixed; z-index: 100000; max-width: 280px; background: #fff; color: #0f1028; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3); pointer-events: none; }
.vgp-tip small { color: #6c757d; font-weight: 500; }
.vgp-tip .g { color: #c2006a; font-weight: 700; }

/* Présence d'abord : vert ≤ 1 mois, orange 1 à 6 mois, rouge au-delà (§ 2 bis) */
.vgp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 2px 0 12px; font-size: 13px; color: #6c757d; }
.vgp-meta i { margin-right: 4px; }
.vgp-meta .dot { color: #ced4da; }
.vgp-presence { font-weight: 600; cursor: help; }
.vgp-presence .fa-circle { font-size: 8px; vertical-align: middle; }
.vgp-presence.on { color: #2b8a3e; } .vgp-presence.on .fa-circle { color: #2fb344; }
.vgp-presence.mid { color: #d9480f; } .vgp-presence.mid .fa-circle { color: #fd7e14; }
.vgp-presence.off { color: #c92a2a; } .vgp-presence.off .fa-circle { color: #e03131; }

/* Analyse VoxGaming : texte | anneau de fiabilité, même fond clair (§ 8) */
.vgp-ana { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-radius: 10px; overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-left: 4px solid #ffd400; }
.vgp-ana-main { padding: 16px 20px; }
.vgp-ana-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6c757d; }
.vgp-ana-label i { color: #e6007e; margin-right: 4px; }
.vgp-ana-title { margin: 6px 0 8px; font-size: 1.6rem; font-weight: 900; color: #ff9500; line-height: 1.1; }
.vgp-ana-text { margin: 0; font-size: 14px; line-height: 1.6; color: #343a40; }
.vgp-ana-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.vgp-ana-tags .gamer-style-tag { margin: 0; }
.vgp-ident { display: inline-flex; align-items: center; gap: 6px; background: #F2E70D; color: #0f1028; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 99px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08); cursor: help; }
.vgp-ana-rel { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 4px; padding: 4px 18px; margin: 14px 0;
    border-left: 1px solid #dee2e6; color: #0f1028; cursor: help; }
.vgp-ring { position: relative; width: 96px; height: 96px; grid-row: 1 / span 2; }
.vgp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vgp-ring circle { fill: none; stroke-width: 9; }
.vgp-ring .trk { stroke: #dfe2e8; }
.vgp-ring .val { stroke: url(#vgp-ring-grad); stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.vgp-ring .pc { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; font-size: 1.6rem; font-weight: 900; font-style: italic; color: #0f1028; }
.vgp-ring .pc small { font-size: .85rem; font-style: normal; margin-top: 4px; }
.vgp-ana-rel b { align-self: end; font-size: 15px; font-weight: 800; }
.vgp-ana-rel > span { align-self: start; font-size: 12px; line-height: 1.4; color: #6c757d; }
.vgp-ana-rel strong { color: #0f1028; }
@media (prefers-reduced-motion: reduce) { .vgp-ring .val { transition: none; } }

/* Jeux préférés : bande pleine largeur, 9 sur une ligne */
.vgp-favs { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eef0f4; }
.vgp-favs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vgp-favs-head .t { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6c757d; }
.vgp-favs-head .t i { color: #e03131; margin-right: 4px; }
.vgp-favs-edit { font-size: 12px; font-weight: 700; color: #1358c9 !important; text-decoration: none !important; }
.vgp-favs-edit:hover { color: #c2006a !important; }
.vgp-favs .gamer-top-games-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; }
.vgp-favs .gamer-top-game { max-width: none; display: flex; }

/* Partages regroupés (fuchsia) */
.vgp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef0f4; }
.vgp-share .lbl { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6c757d; margin-right: 4px; }
.vgp-share a.pill-cta { margin: 0; }
.vgp-share a.pill-cta i { margin-right: 7px; }

/* ===== Communauté : lignes d'avatars sur fond clair, popup commune ===== */
.vgp-people-pane .vx-community-title { color: #0f1028; font-size: .95rem; }
.vgp-people-pane .vx-community-title b { font-weight: 900; }
.vgp-people-line + .vgp-people-line { margin-top: 10px; }
.vgp-vox-title { font-weight: 900; color: #0f1028; margin-bottom: 8px; }
.vgp-vox-title i { color: #e6007e; margin-right: 4px; }
.vgp-vox-title span { font-weight: 500; font-size: .8rem; color: #6c757d; }
.vgp-people-modal .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
.vgp-people-modal .modal-header { border-bottom: 1px solid #eef0f4; align-items: center; }
.vgp-people-modal .modal-title { font-weight: 900; color: #0f1028; font-size: 1rem; }
.vgp-people-modal .modal-title i { color: #e6007e; margin-right: 4px; }
.vgp-people-modal .modal-title .n { color: #6c757d; font-weight: 600; }
.vgp-people-modal .modal-body { max-height: 65vh; overflow-y: auto; padding: 6px 16px 12px; }
.vgp-people-list { list-style: none; margin: 0; padding: 0; }
.vgp-people-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f3f5; }
.vgp-people-list li:last-child { border-bottom: 0; }
.vgp-people-list .who { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: #0f1028; text-decoration: none; }
.vgp-people-list .who:hover .ps { color: #c2006a; }
.vgp-people-list img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #dee2e6; flex: none; }
.vgp-people-list .ps { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-people-list .sc { margin-left: auto; font-size: 12px; font-weight: 800; color: #c2006a; white-space: nowrap; }
.vgp-follow { flex: none; font: 700 12px 'Montserrat', sans-serif; border-radius: 99px; padding: 5px 12px; cursor: pointer; border: 0; color: #fff !important;
    background: radial-gradient(circle at 30% 25%, #ff5fb4 0%, #e6007e 45%, #7b2ff7 100%); text-decoration: none !important; }
.vgp-follow.on { background: #f1f3f5; color: #495057 !important; }
.vgp-follow:focus-visible { outline: 2px solid #e6007e; outline-offset: 2px; }
.vgp-people-more { text-align: center; color: #6c757d; font-size: 12px; padding: 10px 0 4px; }

/* ===== Bandes de section (jaune du bandeau) ===== */
.vgp-band { margin-top: 2.6rem; border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 10px 16px; background: #F2E70D; color: #0f1028; }
.vgp-band .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; flex: none; background: #0f1028; color: #F2E70D; }
.vgp-band .txt { flex: 1; min-width: 0; }
.vgp-band h2 { margin: 0; font-weight: 900; font-size: 1.6rem; letter-spacing: .5px; text-transform: uppercase; line-height: 1.05; color: #0f1028; }
.vgp-band h2 .at { text-transform: none; }
.vgp-band p { margin: 3px 0 0; font-size: .9rem; color: #0f1028; }
.vgp-band p b { font-weight: 900; }

/* ===== Profil de joueur ===== */
.vgp-stack { display: grid; gap: 18px; margin-top: 18px; }
.vgp-card { background: linear-gradient(145deg, #0f0f23 0%, #1a1a3e 50%, #0d0d1f 100%); border-radius: 16px; padding: 14px 16px 16px; color: #f8f9ff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25); min-width: 0; }
.vgp-card .radar-card-title { color: #fff; font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.vgp-card .radar-card-title .t { display: flex; gap: 8px; align-items: center; }
.vgp-gold { color: #ffd400; }
.vgp-green { color: #69db7c; }
.vgp-muted { color: #a9abd0; font-size: 11px; }
.vgp-empty { margin: 0; color: #d6d8f0; font-size: 14px; }
.vgp-empty a { color: #ffd400; }
.vgp-grid-75 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.vgp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vgp-grid-75.single, .vgp-grid-2.single { grid-template-columns: 1fr; }

/* En [année] */
.vgp-year { background: radial-gradient(110% 140% at 0% 0%, rgba(230, 0, 126, .32), transparent 55%), linear-gradient(145deg, #0f0f23 0%, #1a1a3e 50%, #0d0d1f 100%); }
.vgp-year .radar-card-title .fa-fire { color: #ff5fb4; }
.vgp-big { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: flex-end; margin-bottom: 16px; }
.vgp-big .n { font-size: 2.6rem; font-weight: 900; font-style: italic; line-height: .9; color: #ffd400; }
/* chiffres de l'année à la taille du nombre de jeux (Ben 28/10 : la carte a la place), seul le 1er en jaune */
.vgp-big .s b { display: block; font-size: 2.6rem; font-weight: 900; font-style: italic; line-height: .9; }
.vgp-big span { display: block; margin-top: 4px; font-size: 12.5px; color: #a9abd0; white-space: nowrap; }
.vgp-top { display: grid; grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.vgp-tg { display: grid; gap: 6px; min-width: 0; }
.vgp-tg .rank { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #a9abd0; }
.vgp-tg:first-child .rank { color: #ffd400; }
.vgp-tg .name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-tg .hrs { font-size: 1rem; font-weight: 800; font-style: italic; }
.vgp-tg:first-child .hrs { font-size: 1.3rem; color: #ffd400; }
.vgp-tot { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: #d6d8f0; margin-top: 2px; }
.vgp-tot i { color: #ff5fb4; font-size: 13px; }
.vgp-tot b { font-size: 1.25rem; font-weight: 900; color: #fff; }
.vgp-tg:first-child .vgp-tot b { font-size: 1.5rem; }
.vgp-prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.vgp-prog span { font-size: 11px; font-weight: 700; color: #a9abd0; }
.vgp-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.vgp-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #e6007e, #7b2ff7); }
.vgp-method { margin: 14px 0 0; font-size: 11px; color: #a9abd0; }

.vgp-cover { position: relative; display: block; aspect-ratio: 3 / 4; max-width: 100%; border-radius: 6px; overflow: hidden; background: #2a2a4a; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.vgp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgp-cover .console { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-weight: 800; padding: 3px 6px; background: rgba(15, 15, 35, .82); color: #fff; letter-spacing: .04em; }

/* Vitrine */
.vgp-empty-note { font-size: 11px; color: #a9abd0; margin: -6px 0 10px; }
.vgp-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vgp-shelf .it { display: grid; gap: 4px; text-align: center; min-width: 0; }
.vgp-shelf .vgp-cover { box-shadow: 0 0 0 2px #ffd400, 0 0 16px rgba(255, 212, 0, .3); }
.vgp-shelf .p { font-size: 1.05rem; font-weight: 900; font-style: italic; color: #ffd400; margin-top: 4px; }
.vgp-shelf .d { font-size: 10px; color: #a9abd0; }
.vgp-shelf .nm { font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Trophées les plus rares : n° 1 en grand, jeu visible ; n° 2 et 3 : jaquette seule, trophée puis jeu */
.vgp-rare { background: radial-gradient(90% 90% at 50% 0%, rgba(255, 212, 0, .2), transparent 60%), linear-gradient(145deg, #0f0f23 0%, #1a1a3e 50%, #0d0d1f 100%); }
.vgp-rare1 { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.vgp-rare-ico { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 3px #ffd400, 0 0 30px rgba(255, 212, 0, .5); background: #2a2a4a; }
.vgp-rare-ico img { width: 100%; height: 100%; object-fit: cover; }
.vgp-rare1 h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 900; color: #fff; line-height: 1.15; }
.vgp-rg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vgp-rg img { width: 44px; height: 59px; object-fit: cover; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); flex: none; }
.vgp-rg > span { display: grid; min-width: 0; }
.vgp-rg b { color: #ffd400; font-size: 1rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-rg small { color: #a9abd0; font-size: 11px; }
.vgp-rare1-rate { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vgp-rare1-rate .rate { font-size: 2.2rem; font-weight: 900; font-style: italic; color: #ffd400; line-height: 1; }
.vgp-rare-more { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; }
.vgp-rare-more li { display: grid; grid-template-columns: 16px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.vgp-rare-more .rk { font-size: 11px; font-weight: 900; color: #a9abd0; }
.vgp-rare-more .ico.cover { width: 34px; height: 46px; border-radius: 5px; overflow: hidden; background: #2a2a4a; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.vgp-rare-more .ico img { width: 100%; height: 100%; object-fit: cover; }
.vgp-rare-more .tx { display: grid; gap: 3px; min-width: 0; }
.vgp-rare-more .tx b { font-size: 12px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-rare-more .tx .gm { font-size: 12px; font-weight: 800; color: #ffd400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-rare-more .pc { font-weight: 900; font-style: italic; color: #ffd400; font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
    .vgp-rare-ico { animation: vgp-glow 3s ease-in-out infinite; }
    @keyframes vgp-glow { 50% { box-shadow: 0 0 0 3px #ffd400, 0 0 46px rgba(255, 212, 0, .75); } }
}

/* Sous-section « Pour aller plus loin » : pastille, même langage que la bande en plus petit */
/* Titres de chapitre (« En ce moment », « Depuis toujours ») : la pastille d'origine, en fuchsia (dégradé des boutons Gamer Card) ;
   le seul grand bandeau reste le jaune « Profil de joueur » (Ben 28/10 : un bandeau de plus cassait la lecture) */
.vgp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 34px 0 6px; } /* plus d'air avant et après (Ben 28/10) */
.vgp-sub h3 { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 7px 24px 7px 7px; border-radius: 99px;
    background: radial-gradient(circle at 15% 25%, #ff5fb4 0%, #e6007e 45%, #7b2ff7 100%); box-shadow: 0 4px 16px rgba(230, 0, 126, .35);
    font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.vgp-sub h3 .ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.vgp-sub h3 .ic i { color: #e6007e; font-size: 16px; }
.vgp-sub > span { font-size: 14px; color: #6c757d; }
@media (max-width: 520px) { .vgp-sub { margin-top: 26px; } .vgp-sub h3 { font-size: 15px; padding: 6px 18px 6px 6px; } .vgp-sub h3 .ic { width: 32px; height: 32px; } }

/* Listes blanches lisibles : grandes icônes, une ligne sur deux teintée, pastilles à droite */
.vgp-light { background: #fff; border: 1px solid #e9ecef; border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 4px 14px rgba(15, 16, 40, .06); min-width: 0; }
.vgp-light-title { font-weight: 800; font-size: .95rem; color: #0f1028; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.vgp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vgp-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.vgp-list li:nth-child(odd) { background: #f6f7fa; }
.vgp-list .ico { position: relative; width: 48px; height: 48px; border-radius: 10px; overflow: visible; background: #f1f3f5; }
.vgp-list .ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.vgp-list .ico .net { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #0f1028; box-shadow: 0 0 0 1px #dee2e6;
    display: grid; place-items: center; font-size: 10px; }
.vgp-list b { display: block; font-size: 14px; color: #0f1028; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.vgp-list b a { color: inherit; }
.vgp-list .sub { display: block; font-size: 12.5px; color: #495057; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-list .sub .more { color: #c2006a; font-weight: 700; }
.vgp-list .w { font-size: 12px; color: #495057; display: grid; justify-items: end; gap: 4px; white-space: nowrap; }
.vgp-list .w em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; color: #c2006a; background: rgba(230, 0, 126, .09); padding: 2px 8px; border-radius: 99px; }
.vgp-done .ico { width: 38px; height: 52px; border-radius: 6px; justify-self: center; }
.vgp-done .ico img { border-radius: 6px; }
.vgp-done .w { grid-template-columns: auto 16px; align-items: center; gap: 8px; }
.vgp-done .w em { color: #495057; background: #eef0f4; min-width: 76px; text-align: center; }

/* Plis : une seule carte, blanche fermée ; rose des notifications au survol et en tête d'un pli ouvert */
.vgp-folds { display: grid; gap: 10px; }
.vgp-fold { background: #fff; border: 1px solid #e9ecef; border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 16, 40, .06); overflow: hidden; transition: box-shadow .15s; }
.vgp-fold:not([open]):hover { background: #fdf0f7; border-color: #f6d3e6; box-shadow: 0 4px 14px rgba(230, 0, 126, .12); }
.vgp-fold[open] { border-color: #f6d3e6; }
.vgp-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: #0f1028; }
.vgp-fold > summary::-webkit-details-marker { display: none; }
.vgp-fold > summary:focus-visible { outline: 2px solid #e6007e; outline-offset: -2px; }
.vgp-fold[open] > summary { background: #fdf0f7; border-bottom: 1px solid #f6d3e6; }
.vgp-fold .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
    background: linear-gradient(135deg, #ff4fae, #e6007e); box-shadow: 0 3px 8px rgba(230, 0, 126, .3); }
.vgp-fold .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vgp-fold .tx > b { font-size: 1.05rem; font-weight: 900; }
.vgp-fold .teaser { font-size: 13px; color: #495057; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-fold .teaser b { color: #c2006a; font-weight: 800; }
.vgp-fold .chev { flex: none; width: 16px; text-align: center; margin-left: 6px; color: #e6007e; transition: transform .2s; }
.vgp-fold[open] > summary .chev { transform: rotate(180deg); }
.vgp-fold .pv { display: flex; align-items: center; gap: 6px; flex: none; margin-left: 8px; }
.vgp-fold-body { padding: 16px 18px 18px; }
.pv-b { font-size: 12px; font-weight: 800; color: #fff; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.pv-b.ps { background: #0070d1; } .pv-b.xb { background: #107c10; } .pv-b.st { background: #171a21; }
.pv-covers { display: flex; }
.pv-covers img { width: 30px; height: 40px; object-fit: cover; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.pv-covers img + img { margin-left: -8px; }
.pv-bars { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.pv-bars i { width: 7px; height: 2px; border-radius: 2px; background: #e6007e; }
.pv-bars i.z { background: #f0c4dc; }
.pv-t { font-size: 12px; font-weight: 800; color: #F2E70D; background: #0f1028; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pv-note { font-size: 12px; color: #495057; white-space: nowrap; }
.pv-note b { font-size: 1.1rem; font-weight: 900; color: #0f1028; }
.pv-note .st { color: #f59f00; margin-left: 4px; }

/* Compteur aux couleurs des réseaux */
.vgp-counter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vgp-cnt { border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; color: #fff; }
.vgp-cnt.ps { background: linear-gradient(135deg, #0070d1, #003791); }
.vgp-cnt.xb { background: linear-gradient(135deg, #1a9c1a, #0e6a0e); }
.vgp-cnt.st { background: linear-gradient(135deg, #2a475e, #171a21); }
.vgp-cnt h4 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); display: flex; gap: 6px; align-items: center; }
.vgp-cnt .r { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.vgp-cnt .r span { display: inline-flex; gap: 5px; align-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; }
.vgp-cnt small { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.vgp-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.vgp-dot.plat { background: #a8dcff; } .vgp-dot.gold { background: #ffd400; } .vgp-dot.silver { background: #c3cad6; } .vgp-dot.bronze { background: #d08a4a; }

/* Les jeux les plus joués */
.vgp-alltime { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.vgp-alltime .it { display: grid; gap: 4px; min-width: 0; color: #0f1028; text-decoration: none; }
.vgp-alltime .hrs { font-size: 12px; font-weight: 800; }
.vgp-alltime .vgp-cover { box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }

/* Calendrier : cases vides gris clair, jours actifs en bleu nuit du clair au foncé */
.vgp-cal-scroll { overflow-x: auto; padding-bottom: 4px; }
.vgp-cal { display: grid; grid-template-columns: 30px repeat(53, 12px); grid-template-rows: 16px repeat(7, 12px); gap: 3px; width: max-content; }
.vgp-cal .ml { grid-row: 1; font-size: 10px; color: #6c757d; white-space: nowrap; }
.vgp-cal .dl { grid-column: 1; font-size: 9px; color: #6c757d; line-height: 12px; }
.vgp-cal i, .vgp-cal-legend i { border-radius: 2px; background: #eceef4; display: block; }
.vgp-cal i { cursor: pointer; }
/* jours actifs en fuchsia du site, du rose pâle (1-2 trophées) au fuchsia plein (6 et +), Ben 28/10 */
.vgp-cal i.l1, .vgp-cal-legend i.l1 { background: #f9c4df; }
.vgp-cal i.l2, .vgp-cal-legend i.l2 { background: #f066ab; }
.vgp-cal i.l3, .vgp-cal-legend i.l3 { background: #e6007e; box-shadow: 0 0 6px rgba(230, 0, 126, .45); }
.vgp-cal i:hover { outline: 2px solid #0f1028; outline-offset: 1px; }
.vgp-cal-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 10px; color: #6c757d; margin-top: 6px; }
.vgp-cal-legend i { width: 11px; height: 11px; display: inline-block; }

/* Plis « Ses goûts » et « Ses notations » : contenu existant, sans son ancien titre */
.vgp-fold-body .radar-section { margin-top: 0; margin-bottom: 0; }
.vgp-fold-notes .vgp-fold-body .radar-headline { display: none; }
.vgp-fold-body .tagcloud-container { margin-top: 0; }

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .vgp-grid-75, .vgp-grid-2, .vgp-ana { grid-template-columns: 1fr; }
    .vgp-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vgp-top .vgp-tg:first-child { grid-column: 1 / -1; grid-template-columns: 130px 1fr; column-gap: 14px; align-items: center; }
    .vgp-top .vgp-tg:first-child .vgp-cover { grid-row: 1 / span 6; }
    .vgp-alltime { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vgp-counter { grid-template-columns: 1fr; }
    .vgp-ana-rel { border-left: 0; border-top: 1px solid #dee2e6; margin: 0 20px; padding: 14px 0 16px; grid-template-columns: 76px minmax(0, 1fr); }
    .vgp-ana-rel .vgp-ring { width: 76px; height: 76px; }
}
@media (max-width: 767px) {
    #tabPresentation .vgp-avatar-col { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
    #tabPresentation .vgp-avatar-col .avatar { width: 84px !important; height: 84px !important; min-width: 84px; flex: none; padding: 0 !important; margin: 0 !important;
        display: block !important; border-radius: 50%; overflow: hidden; }
    #tabPresentation .vgp-avatar-col .avatar img { width: 84px !important; height: 84px !important; object-fit: cover; border-radius: 50%; }
    .vgp-medals { display: contents; }
    .vgp-class .fa-stack { font-size: 2rem; }
    .vgp-medals-row { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
    .vgp-medal .fa-stack { font-size: .9rem; }
    .vgp-meta .dot { display: none; }
    .vgp-favs .gamer-top-games-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vgp-fold .pv { display: none; }
    .vgp-band h2 { font-size: 1.25rem; }
}
@media (max-width: 520px) {
    .vgp-big { gap: 10px 20px; }
    .vgp-big .n, .vgp-big .s b { font-size: 1.9rem; }
    .vgp-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgp-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vgp-shelf .it:nth-child(n+4) { display: none; }
}

@media (max-width: 520px) {
    .vgp-list li { gap: 10px; padding: 8px; }
    .vgp-done .w em { min-width: 0; }
}

/* ===== S'abonner / Message en pastilles sous la présence (28/10/2026) ; base .pill-cta de custom.css ===== */
.vgp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 12px; }
.vgp-actions a.pill-cta { margin-bottom: 0; padding: 6px 16px; gap: 7px; }
.vgp-actions #isnotfriend, .vgp-actions #isfriend { gap: 7px; align-items: center; }
.vgp-actions #isnotfriend:not([style*="none"]), .vgp-actions #isfriend:not([style*="none"]) { display: inline-flex; }
a.pill-cta.vgp-pill-follow { background: #F2E70D; border-color: #F2E70D; }
a.pill-cta.vgp-pill-msg { background: #fff; border-color: #0f1028; }
.vgp-actions-note { font-size: 13px; color: #6c757d; }

/* ===== Jeux et trophées cliquables (28/10/2026) : même apparence, survol seulement ===== */
a.vgp-tg, .vgp-shelf a.it { color: inherit; text-decoration: none; }
a.vgp-tg:hover .name, .vgp-shelf a.it:hover .nm { text-decoration: underline; }
a.vgp-tg .vgp-cover, .vgp-shelf a.it .vgp-cover, .vgp-rg > a, .vgp-list .ico > a { display: block; transition: transform .15s; }
.vgp-rare-ico > a, .vgp-rare-more .ico > a, .vgp-list .ico > a { display: block; height: 100%; }
a.vgp-tg:hover .vgp-cover, .vgp-shelf a.it:hover .vgp-cover, .vgp-rg > a:hover, .vgp-list .ico > a:hover { transform: translateY(-2px); }
.vgp-rare-ico > a:hover img, .vgp-rare-more .ico > a:hover img { filter: brightness(1.12); }
.vgp-rare1-txt h3 a, .vgp-rg b a, .vgp-rare-more .tx a, .vgp-list .sub a { color: inherit; }
.vgp-rare1-txt h3 a:hover, .vgp-rg b a:hover, .vgp-rare-more .tx a:hover, .vgp-list b a:hover, .vgp-list .sub a:hover { text-decoration: underline; }

/* ===== « Joue sur » (28/10/2026) : anneau SVG des familles + barres des consoles, néon sur bleu nuit, quadrillage léger.
   Deux mesures dans la page (jeux : --dn --on --wn --rn ; heures : --dh --oh --wh --rh) : la bascule .is-h fait glisser
   anneau, barres et ordre des consoles, sans appel au serveur ===== */
.vgp-plat { background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(145deg, #0f0f23 0%, #1a1a3e 50%, #0d0d1f 100%); background-size: 22px 22px, 22px 22px, auto; }
.vgp-plat .radar-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vgp-plat .radar-card-title .fa-satellite-dish { color: #38bdf8; }
.vgp-plat-verdict { margin: 2px 0 6px; font-size: 1.05rem; font-weight: 900; font-style: italic; color: #38bdf8; text-shadow: 0 0 12px rgba(56, 189, 248, .35); }
.vgp-plat-mode { display: inline-flex; padding: 3px; border-radius: 50rem; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.vgp-plat-mode button { border: 0; background: transparent; color: #a9abd0; font-size: 11.5px; font-weight: 800; padding: 4px 14px; border-radius: 50rem; cursor: pointer;
    transition: background .2s, color .2s; }
.vgp-plat-mode button.on { background: #F2E70D; color: #0f1028; box-shadow: 0 0 12px rgba(242, 231, 13, .45); } /* jaune fluo du site (Ben 28/10) */
/* contenu grossi pour remplir la hauteur de l'anneau (Ben 28/10 : trop de vide) ; anneau + légende serrés, les barres prennent le reste */
.vgp-plat-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 48px; align-items: center; margin-top: 6px; }
.vgp-plat-ring { display: grid; grid-template-columns: 170px auto; gap: 26px; align-items: center; }
.vgp-plat-donut { position: relative; width: 170px; height: 170px; }
.vgp-plat-donut svg { width: 100%; height: 100%; overflow: visible; }
.vgp-plat-donut .tick { fill: none; stroke: rgba(169, 171, 208, .35); stroke-width: 1.5; stroke-dasharray: 1 5.28; }
.vgp-plat-donut .trk { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 18; }
.vgp-plat-donut .seg { fill: none; stroke: var(--c); stroke-width: 18; filter: drop-shadow(0 0 5px var(--c)); cursor: pointer;
    stroke-dasharray: calc(var(--dn) * 1px) calc(var(--C) * 1px); stroke-dashoffset: calc(var(--on) * 1px);
    transition: stroke-dasharray .9s cubic-bezier(.2, .8, .2, 1), stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1), stroke-width .2s, opacity .2s; }
.vgp-plat.is-h .seg { stroke-dasharray: calc(var(--dh) * 1px) calc(var(--C) * 1px); stroke-dashoffset: calc(var(--oh) * 1px); }
.vgp-plat-donut .seg.on { stroke-width: 22; }
.vgp-plat.is-hl .seg:not(.on) { opacity: .35; }
.vgp-plat.js-wait .seg { stroke-dasharray: 0 calc(var(--C) * 1px) !important; }
.vgp-plat-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.vgp-plat-center b { font-size: 2.2rem; font-weight: 900; font-style: italic; line-height: 1; color: #fff; text-shadow: 0 0 14px rgba(56, 189, 248, .45); white-space: nowrap; }
.vgp-plat-center span { font-size: 10.5px; color: #a9abd0; margin-top: 4px; max-width: 110px; }
.vgp-plat .vh { display: none; }
.vgp-plat.is-h .vn { display: none; }
.vgp-plat.is-h .vh { display: inline; }
.vgp-plat-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vgp-plat-legend li { display: grid; grid-template-columns: 12px 112px 58px 66px; gap: 10px; align-items: center; font-size: 15px; cursor: pointer;
    padding: 3px 6px; border-radius: 6px; transition: background .15s; }
.vgp-plat-legend li.on { background: rgba(255, 255, 255, .07); }
.vgp-plat-legend .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.vgp-plat-legend .lb { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-plat-legend b { font-size: 18px; font-weight: 900; font-style: italic; color: var(--c); text-align: right; }
.vgp-plat-legend small { font-size: 15px; font-weight: 900; font-style: italic; color: #fff; text-align: right; white-space: nowrap; } /* comme les nombres des barres (Ben 28/10) */
.vgp-plat-consoles .lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a9abd0; margin: 0 0 10px; }
.vgp-plat-consoles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.vgp-plat-consoles li { display: grid; grid-template-columns: 136px minmax(0, 1fr) 74px; gap: 14px; align-items: center; order: var(--rn); }
.vgp-plat.is-h .vgp-plat-consoles li { order: var(--rh); }
.vgp-plat:not(.is-open):not(.is-h) .vgp-plat-consoles li.xn, .vgp-plat.is-h:not(.is-open) .vgp-plat-consoles li.xh { display: none; }
.vgp-plat-consoles .nm { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgp-plat-consoles .bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.vgp-plat-consoles .bar i { display: block; height: 100%; width: var(--wn); border-radius: 4px; background: var(--c);
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent), var(--c)); box-shadow: 0 0 10px var(--c);
    transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.vgp-plat.is-h .vgp-plat-consoles .bar i { width: var(--wh); }
.vgp-plat.js-wait .bar i { width: 0 !important; }
.vgp-plat-consoles li b { font-size: 15px; font-weight: 900; font-style: italic; text-align: right; white-space: nowrap; }
.vgp-plat-consoles .more { display: inline-block; margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: #38bdf8; cursor: pointer; }
.vgp-plat-consoles .more:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .vgp-plat-donut .seg, .vgp-plat-consoles .bar i { transition: none; } }
@media (max-width: 900px) { .vgp-plat-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
    .vgp-plat-ring { grid-template-columns: 124px minmax(0, 1fr); gap: 12px; }
    .vgp-plat-donut { width: 124px; height: 124px; }
    /* le nombre de chaque famille passe au centre de l'anneau (appui) : les noms tiennent en entier */
    .vgp-plat-legend li { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 6px; padding: 2px 4px; font-size: 13.5px; }
    .vgp-plat-legend b { font-size: 15px; }
    .vgp-plat-legend small { display: none !important; }
    .vgp-plat-center b { font-size: 1.6rem; }
    .vgp-plat-consoles li { grid-template-columns: 116px minmax(0, 1fr) 58px; gap: 8px; }
    .vgp-plat-consoles .nm, .vgp-plat-consoles li b { font-size: 13.5px; }
    .vgp-plat-consoles .bar { height: 10px; }
}

/* ===== Calendrier des 12 mois en carte ouverte (28/10/2026) : la grille prend toute la largeur, jours carrés ===== */
.vgp-pink { color: #e6007e; }
.vgp-calcard .vgp-light-title { flex-wrap: wrap; }
.vgp-calcard-sum { font-weight: 500; font-size: 12.5px; color: #6c757d; margin-left: 4px; }
.vgp-calcard-sum b { color: #e6007e; font-weight: 800; }
.vgp-calcard .vgp-cal { width: 100%; min-width: 720px; grid-template-columns: 30px repeat(53, minmax(0, 1fr)); grid-template-rows: 16px repeat(7, auto); }
.vgp-calcard .vgp-cal i { aspect-ratio: 1; }
.vgp-calcard .vgp-cal .dl { line-height: 1; align-self: center; }

/* ===== Phrase de résumé « @pseudo est un joueur [marque] (supports) » sous « En ce moment » (28/10/2026) ===== */
.vgp-now-head { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; font-size: 1.3rem; font-weight: 600; color: #0f1028; line-height: 1.6; }
.vgp-now-head .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #F2E70D; }
.vgp-now-head .ps { font-weight: 900; }
.vgp-now-head strong { font-weight: 900; font-style: italic; color: #e6007e; }
.vgp-now-head .sup { font-weight: 600; } /* même noir et même taille que la phrase (Ben 28/10) */
.vgp-brand { display: inline-flex; align-items: center; gap: 7px; padding: 3px 14px; border-radius: 50rem; background: var(--c); color: #fff; vertical-align: middle;
    font-size: 1rem; font-weight: 900; box-shadow: 0 2px 10px color-mix(in srgb, var(--c) 40%, transparent); }
@media (max-width: 520px) {
    .vgp-now-head { font-size: 1.05rem; align-items: flex-start; }
    .vgp-now-head .av { width: 38px; height: 38px; }
    .vgp-brand { font-size: .85rem; padding: 2px 10px; }

}

/* ===== Fin de page harmonisée (28/10/2026) : phrase du collectionneur, « Ses tier lists » en carte claire ===== */
.vgp-collect-head { margin: 18px 0 14px; }
.vgp-tierlists { margin: 26px 0 8px; }
.vgp-tl-list { display: flex; flex-wrap: wrap; gap: 8px; }
.vgp-tl { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 50rem; background: #f1f3f5; color: #0f1028; font-size: 13.5px; font-weight: 700;
    text-decoration: none; transition: background .15s, color .15s; }
.vgp-tl i { color: #e6007e; }
.vgp-tl:hover { background: #0f1028; color: #fff; text-decoration: none; }
.vgp-band-activity { margin-top: 30px; }
