/* Correctifs ciblés Communauté / Profil — chargé après vxg-community.css. */

/* Les médias décoratifs ne doivent jamais intercepter l'action « Modifier la couverture ». */
html.vxg-member-page .vxg-mp-hero::before,
html.vxg-member-page .vxg-mp-hero::after,
html.vxg-member-page .vxg-mp-cover,
html.vxg-member-page .vxg-mp-generated-cover,
html.vxg-member-page .vxg-mp-empty-cover{pointer-events:none}
html.vxg-member-page .vxg-mp-media-edit.cover{z-index:9;pointer-events:auto}

/* Le hero ne forme plus un contexte global au-dessus des tabs. Ses morceaux visuels
   restent au premier plan individuellement ; seules les actions montent à l'ouverture. */
html.vxg-member-page .vxg-mp-head{z-index:auto}
html.vxg-member-page .vxg-mp-avatar,
html.vxg-member-page .vxg-mp-id,
html.vxg-member-page .vxg-mp-actions{position:relative;z-index:5}
html.vxg-member-page.vxg-mp-owner-menu-open .vxg-mp-actions{z-index:140}
html.vxg-member-page.vxg-mp-owner-menu-open .vxg-mp-owner-menu{z-index:142}

/* Tracks réguliers : pas de colonnes poussées aux extrêmes par space-between. */
html.vxg-community-page ul.grid-temp.vxg-cm-grid,
html.vxg-member-page ul.grid-temp.vxg-mp-member-grid{justify-content:start!important}
@media (max-width:959px){
  html.vxg-community-page ul.grid-temp.vxg-cm-grid,
  html.vxg-member-page ul.grid-temp.vxg-mp-member-grid{
    grid-template-columns:repeat(auto-fill,minmax(138px,1fr))!important;
    column-gap:10px!important;
    row-gap:16px!important
  }
}
@media (max-width:429px){
  html.vxg-community-page ul.grid-temp.vxg-cm-grid,
  html.vxg-member-page ul.grid-temp.vxg-mp-member-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:8px!important;
    row-gap:14px!important
  }
}
@media (max-width:559px){
  :is(html.vxg-community-page,html.vxg-member-page) .vxg-mc{max-width:none}
}

/* /my/friends/ : pagination KVS conservée comme moteur, remplacée visuellement
   par un sentinel d'autoload et un état de reprise explicite. */
html.vxg-friends-autoload-ready .vxg-my-friends>.load-more{
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important
}
html .vxg-friends-autoload{display:none;align-items:center;justify-content:center;gap:9px;min-height:44px;margin:12px 0 0;color:var(--muted-foreground);font-size:12px;font-weight:700}
html .vxg-friends-autoload[data-state="loading"],
html .vxg-friends-autoload[data-state="error"]{display:flex}
html .vxg-friends-autoload[data-state="idle"],
html .vxg-friends-autoload[data-state="complete"]{display:block;width:100%;height:1px;min-height:1px;margin:0;overflow:hidden;opacity:0}
html .vxg-friends-autoload__spinner{display:block;width:17px;height:17px;border:2px solid color-mix(in oklab,var(--foreground) 16%,transparent);border-top-color:var(--primary-glow);border-radius:50%;animation:vxgFriendsSpin .72s linear infinite}
html .vxg-friends-autoload button{display:none;min-height:38px;padding:0 14px;border:1px solid var(--border);border-radius:9999px;background:#0b0b0b;color:var(--foreground);font:800 12px/1 Inter,sans-serif;cursor:pointer}
html .vxg-friends-autoload[data-state="error"] .vxg-friends-autoload__spinner{display:none}
html .vxg-friends-autoload[data-state="error"] button{display:inline-flex;align-items:center;justify-content:center}
@keyframes vxgFriendsSpin{to{transform:rotate(360deg)}}

/* La demande reçue devient un dock compact au-dessus de la navigation mobile. */
@media (max-width:767px){
  html.vxg-member-page.vxg-mp-has-friend-dock .vxg-mp-actions{z-index:198}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request>.sub-btn,
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request>.msg,
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request>.vxg-mp-visitor-more{grid-row:1}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request>.vxg-mp-friend-inline.is-received{
    position:fixed;
    right:max(10px,env(safe-area-inset-right,0px));
    bottom:calc(var(--vxg-mobile-bottomnav-clearance,90px) + 6px);
    left:max(10px,env(safe-area-inset-left,0px));
    z-index:198;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto;
    align-items:center;
    gap:8px;
    width:auto;
    min-width:0;
    margin:0;
    padding:9px 10px;
    border:1px solid color-mix(in oklab,var(--primary) 34%,var(--border));
    border-radius:16px;
    background:color-mix(in oklab,#0b0b0b 94%,transparent);
    box-shadow:0 14px 38px rgba(0,0,0,.5);
    -webkit-backdrop-filter:blur(16px) saturate(135%);
    backdrop-filter:blur(16px) saturate(135%);
    transition:opacity .18s,transform .18s
  }
  html.vxg-member-page .vxg-mp-friend-inline.is-received>.generic-error:not(.hidden){
    grid-column:1/-1;
    grid-row:2;
    width:100%
  }
  html.vxg-member-page .vxg-mp-friend-inline-copy{gap:8px}
  html.vxg-member-page .vxg-mp-friend-inline-icon{flex-basis:32px;width:32px;height:32px;border-radius:9px}
  html.vxg-member-page .vxg-mp-friend-inline-copy strong{font-size:12px}
  html.vxg-member-page .vxg-mp-friend-inline-copy small{max-width:38vw;font-size:9.5px}
  html.vxg-member-page .vxg-mp-friend-inline-actions{
    display:flex;
    grid-column:2;
    grid-row:1;
    gap:6px;
    width:auto
  }
  html.vxg-member-page .vxg-mp-friend-inline-actions .vxg-mp-btn{
    width:auto;
    min-height:44px;
    height:44px;
    padding:0 10px;
    font-size:11px
  }
  html.vxg-member-page.vxg-mp-has-friend-dock .wrapper{padding-bottom:calc(var(--vxg-mobile-bottomnav-clearance,90px) + 80px)}
  html.vxg-member-page body.nav-open .vxg-mp-friend-inline.is-received{opacity:0;pointer-events:none;transform:translateY(10px)}
}
@media (max-width:399px){
  html.vxg-member-page .vxg-mp-friend-inline.is-received{padding-left:9px}
  html.vxg-member-page .vxg-mp-friend-inline-icon{display:none}
  html.vxg-member-page .vxg-mp-friend-inline-copy small{max-width:34vw}
  html.vxg-member-page .vxg-mp-friend-inline-actions .vxg-mp-btn{padding:0 9px}
  html.vxg-member-page .vxg-mp-friend-inline-actions .vxg-mp-btn svg{display:none}
}
@media (prefers-reduced-motion:reduce){
  html .vxg-friends-autoload__spinner{animation-duration:1.5s}
  html.vxg-member-page .vxg-mp-friend-inline.is-received{transition:none}
}

/* Profil V31 : hero full-bleed desktop, navigation plate et niveaux KVS. */
html.vxg-member-page .profile{margin-bottom:0}
@media (min-width:960px){
  html.vxg-member-hero-page .main{padding-top:0!important}
  html.vxg-member-page .profile{padding:0 0 22px}
  html.vxg-member-page .profile>.container{width:100%;max-width:none!important;margin:0;padding:0}
  html.vxg-member-page .vxg-mp-panel{width:100%;max-width:none;margin:0!important;padding:0}
  html.vxg-member-page .vxg-mp-hero{width:100%;margin:0!important;border-radius:0}
  html.vxg-member-page .vxg-mp-head{padding-right:clamp(20px,2vw,32px);padding-left:clamp(20px,2vw,32px)}
}

/* Bandeau sticky sans l’aspect d’une section/card imbriquée. */
html.vxg-member-page .vxg-mp-tabs-wrap{
  position:sticky;
  top:var(--vxg-header-h,64px)!important;
  z-index:120;
  /* 12/11/2026 (audit visuel) — gouttière du thème : le -15px!important du palier 801px dépassait de 3px de chaque côté. */
  margin:0 calc(-1 * var(--vxg-gutter,12px))!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:color-mix(in oklab,#0a0a0a 92%,transparent)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:blur(14px) saturate(130%);
  backdrop-filter:blur(14px) saturate(130%)
}
html.vxg-member-page .vxg-mp-tabsbar{width:100%;max-width:none;margin:0;padding:8px var(--vxg-gutter,12px);border:0;border-bottom:1px solid color-mix(in oklab,var(--border) 72%,transparent);border-radius:0;background:transparent;box-shadow:none}
@media (min-width:960px){
  html.vxg-member-page .vxg-mp-tabs-wrap{margin-right:-24px!important;margin-left:-24px!important}
  html.vxg-member-page .vxg-mp-tabsbar{padding-right:24px;padding-left:24px}
}
@media (max-width:959px){
  html.vxg-member-page .vxg-mp-tabs-wrap{top:env(safe-area-inset-top,0px)!important}
}

/* Niveau du profil : status_id=3 => VIP, membre actif => Plus. */
:is(html.vxg-member-page,html.vxg-community-page) .vxg-member-tier{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:22px;padding:0 8px;border:1px solid color-mix(in oklab,var(--foreground) 18%,transparent);border-radius:9999px;background:color-mix(in oklab,#0a0a0a 82%,transparent);color:var(--muted-foreground);font:850 9.5px/1 Inter,sans-serif;letter-spacing:.065em;text-transform:uppercase;text-shadow:none;white-space:nowrap}
:is(html.vxg-member-page,html.vxg-community-page) .vxg-member-tier--plus{border-color:color-mix(in oklab,var(--primary) 38%,transparent);background:color-mix(in oklab,var(--primary) 9%,#0a0a0a);color:var(--primary-glow)}
:is(html.vxg-member-page,html.vxg-community-page) .vxg-member-tier--vip{border-color:transparent;background:var(--gradient-brand);color:#fff;box-shadow:0 5px 16px color-mix(in oklab,var(--primary) 20%,transparent)}
html.vxg-member-page .vxg-mp-h1>.vxg-member-tier{min-height:23px;transform:translateY(1px)}
:is(html.vxg-member-page,html.vxg-community-page) .vxg-mc-name>.vxg-mc-tier{min-height:18px;padding:0 5px;color:#fff;font-size:7.5px;line-height:1;letter-spacing:.045em}

html.vxg-member-page .vxg-mp-actions .vxg-mp-vip-cta{border-color:color-mix(in oklab,var(--primary) 42%,var(--border));background:linear-gradient(145deg,color-mix(in oklab,var(--primary) 15%,#0a0a0a),#0a0a0a 72%);color:#fff}
html.vxg-member-page .vxg-mp-actions .vxg-mp-vip-cta:hover{border-color:var(--primary);background:color-mix(in oklab,var(--primary) 20%,#0a0a0a);color:#fff}
html.vxg-member-page .vxg-mp-actions .vxg-mp-vip-cta:focus-visible{outline:3px solid color-mix(in oklab,var(--primary) 42%,transparent);outline-offset:2px}
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-owner-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;width:100%}
  html.vxg-member-page .vxg-mp-owner-actions .vxg-mp-edit-main{grid-column:1;grid-row:1;width:100%}
  html.vxg-member-page .vxg-mp-owner-actions .vxg-mp-owner-more{grid-column:2;grid-row:1}
  html.vxg-member-page .vxg-mp-owner-actions .vxg-mp-vip-cta{grid-column:1/-1;grid-row:2;width:100%}
}

/* URL partenaire absente : information neutre, jamais de faux lien. */
html .vxg-av-way-actions .vxg-av-action-unavailable{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px dashed color-mix(in oklab,var(--foreground) 17%,transparent);border-radius:9999px;color:var(--muted-foreground);font-size:11.5px;font-weight:650;cursor:default}

/* ===== Lot 3 (11/11/2026) — espace membre, variante « Deux rangées » =====
   Onglets du propriétaire en deux groupes étiquetés (affiché sur le profil / lui seul), carte « Boîte de réception »
   en tête de l'aperçu, bouton « Paramètres » à la place du « … ». Règles additives : elles ne visent que des classes neuves. */
html.vxg-member-page .vxg-mp-tabs-wrap--two .vxg-mp-tabsbar{display:flex;align-items:flex-end;gap:29px;padding-top:9px}
html.vxg-member-page .vxg-mp-tabgroup{position:relative;display:flex;flex-direction:column;flex:0 1 auto;gap:6px;min-width:0}
html.vxg-member-page .vxg-mp-tabgroup--private::before{content:"";position:absolute;top:2px;bottom:2px;left:-15px;width:1px;background:var(--border)}
html.vxg-member-page .vxg-mp-tablabel{display:inline-flex;align-items:center;gap:6px;padding-left:5px;color:var(--muted-foreground);font:800 10px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
html.vxg-member-page .vxg-mp-tablabel svg{flex:0 0 13px;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.vxg-member-page .vxg-mp-tabs-wrap--two .vxg-mp-tabsbar .section-tabs{width:auto;max-width:100%}
@media (max-width:959px){
  html.vxg-member-page .vxg-mp-tabs-wrap.vxg-mp-tabs-wrap--two{position:static!important}
  html.vxg-member-page .vxg-mp-tabs-wrap--two .vxg-mp-tabsbar{flex-direction:column;align-items:stretch;gap:11px;padding-top:11px;padding-bottom:10px}
  html.vxg-member-page .vxg-mp-tabgroup--private::before{display:none}
}

html.vxg-member-page .vxg-mp-overview>.vxg-mp-inbox-card{flex-wrap:nowrap;align-items:center;margin-top:22px;border-style:solid}
html.vxg-member-page .vxg-mp-inbox-card>div:not(.vxg-mp-empty-actions){flex:1 1 auto;min-width:0}
html.vxg-member-page .vxg-mp-inbox-card .vxg-mp-empty-actions{flex:0 0 auto;margin-left:auto}
html.vxg-member-page .vxg-mp-inbox-card h2{display:flex;align-items:center;gap:8px}
html.vxg-member-page .vxg-mp-inbox-card h2 a{color:inherit;text-decoration:none}
html.vxg-member-page .vxg-mp-inbox-card em{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 6px;border-radius:9999px;background:var(--primary);color:#fff;font:800 10.5px/1 Inter,sans-serif;font-style:normal}
html.vxg-member-page .vxg-mp-inbox-card em[hidden]{display:none}
html.vxg-member-page .vxg-mp-inbox-card .vxg-mp-inbox-volets{display:flex;flex-wrap:wrap;gap:4px 16px;margin:7px 0 0}
html.vxg-member-page .vxg-mp-inbox-volets a{display:inline-flex;align-items:center;gap:6px;min-height:30px;color:var(--muted-foreground);font-size:12.5px;font-weight:700;text-decoration:none}
html.vxg-member-page .vxg-mp-inbox-volets a:hover{color:var(--foreground)}
html.vxg-member-page .vxg-mp-inbox-card a:focus-visible{outline:2px solid var(--primary-glow);outline-offset:2px;border-radius:6px}
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-overview>.vxg-mp-inbox-card{gap:12px;margin-top:16px;padding:14px}
  html.vxg-member-page .vxg-mp-inbox-card .vxg-mp-empty-actions{display:none}
  html.vxg-member-page .vxg-mp-inbox-volets a{min-height:34px}
}

html.vxg-member-page .vxg-mp-owner-more.vxg-mp-owner-settings>summary{width:auto;padding:0 16px!important}
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-owner-actions.vxg-mp-owner-actions--settings{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  html.vxg-member-page .vxg-mp-owner-actions--settings .vxg-mp-owner-settings>summary{width:100%}
}

/* ===== Profil public, lots 1 et 2 (25/11/2026) =====
   Profil réservé, actions mobiles sur une rangée, en-têtes de section, grille « Dernières vidéos » / « Favoris de X »,
   couverture mobile plus basse, rail des membres du pays sans pastille « Sans photo ». */

/* 1. Profil réservé aux membres : carte centrée. Sélecteurs sans html.vxg-member-page : la carte tient même sans la classe. */
html .section-row.vxg-mp-empty.vxg-mp-private-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;max-width:560px;min-height:0;margin:clamp(32px,7vw,72px) auto 48px;padding:36px 24px 32px;border:1px solid oklch(1 0 0/.1);border-radius:20px;background:linear-gradient(180deg,oklch(1 0 0/.05),oklch(1 0 0/.015));text-align:center}
html .vxg-mp-private-card .vxg-mp-empty-icon{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border-radius:18px;background:color-mix(in oklab,var(--primary) 14%,transparent);color:var(--primary-glow)}
html .vxg-mp-private-card .vxg-mp-empty-icon svg{width:28px;height:28px}
html .vxg-mp-private-card h1{margin:0;color:var(--foreground);font:800 clamp(22px,3vw,28px)/1.15 Outfit,Inter,sans-serif}
html .vxg-mp-private-card p{margin:6px 0 0;color:var(--muted-foreground);font-size:14px;line-height:1.5}
html .section-row.vxg-mp-private-card .vxg-mp-empty-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:center;gap:10px;width:100%;margin:6px 0 0}
html .section-row.vxg-mp-private-card .vxg-mp-empty-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border:1px solid oklch(1 0 0/.14);border-radius:9999px;background:oklch(1 0 0/.04);color:var(--foreground);font-size:13.5px;font-weight:800;text-decoration:none}
html .section-row.vxg-mp-private-card .vxg-mp-empty-actions a:hover{border-color:var(--input);background:oklch(1 0 0/.09)}
html .section-row.vxg-mp-private-card .vxg-mp-empty-actions a.is-primary{border-color:transparent;background:var(--gradient-brand);color:#fff;box-shadow:var(--shadow-glow)}
html .section-row.vxg-mp-private-card .vxg-mp-empty-actions a:focus-visible{outline:2px solid var(--primary-glow);outline-offset:3px}
@media (max-width:640px){
  html .section-row.vxg-mp-private-card .vxg-mp-empty-actions a{flex:1 1 100%}
}

/* 6. En-têtes de section : « Voir tout » reste collé à droite, les flèches de défilement à sa suite (Xreels, playlists, pays). */
html.vxg-member-page .vxg-mp-section-head>a{margin-left:auto}
html.vxg-member-page .vxg-mp-section-head>.vxg-hscroll-controls-inline{flex:0 0 auto;margin-left:0}

/* Lot 2. Grille de vidéos de l'aperçu : rangées pleines seulement (2 rangées, 3 sur mobile). */
html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;overflow:visible;padding:2px 0 0;scroll-snap-type:none;-webkit-mask-image:none;mask-image:none}
html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card{flex:none;width:auto;min-width:0}
html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+7){display:none}
@media (min-width:1280px){
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-rail{grid-template-columns:repeat(4,minmax(0,1fr))}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+7){display:block}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+9){display:none}
}
@media (min-width:1800px){
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-rail{grid-template-columns:repeat(5,minmax(0,1fr))}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+9){display:block}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+11){display:none}
}
@media (min-width:2200px){
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-rail{grid-template-columns:repeat(6,minmax(0,1fr))}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-card:nth-child(n+11){display:block}
}
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-video-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  html.vxg-member-page .vxg-mp-videos-grid .vxg-mp-media-title{margin-top:6px;font-size:12.5px}
}
html.vxg-member-page .vxg-mp-more{display:flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:100%;min-height:44px;margin:16px auto 0;padding:0 22px;border:1px solid oklch(1 0 0/.12);border-radius:9999px;background:oklch(1 0 0/.05);color:var(--foreground);font-size:13px;font-weight:800;text-decoration:none}
html.vxg-member-page .vxg-mp-more:hover{border-color:var(--input);background:oklch(1 0 0/.09);color:var(--foreground)}
html.vxg-member-page .vxg-mp-more:focus-visible{outline:2px solid var(--primary-glow);outline-offset:3px}
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-more{width:100%}
}

/* Lot 2. Héros mobile plus compact : couverture 150 → 120 px, Suivre + Message + ami (icône) [+ menu] sur une seule rangée. */
@media (max-width:640px){
  html.vxg-member-page .vxg-mp-hero{height:120px}
  html.vxg-member-page .vxg-mp-actions.is-visitor{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-profile-menu{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px}
  html.vxg-member-page .vxg-mp-actions.is-visitor>.friend,
  html.vxg-member-page .vxg-mp-actions.is-visitor>.vxg-mp-friend-inline:not(.is-received),
  html.vxg-member-page .vxg-mp-actions.is-visitor>.vxg-mp-friend-pending{grid-column:3;grid-row:1;width:44px;min-width:44px;padding:0;justify-content:center}
  html.vxg-member-page .vxg-mp-actions.is-visitor>.vxg-mp-friend-inline:not(.is-received)>.vxg-mp-btn{width:44px;min-width:44px;padding:0}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-profile-menu>.vxg-mp-visitor-more{grid-column:4}
  html.vxg-member-page .vxg-mp-actions.is-visitor>.friend>span,
  html.vxg-member-page .vxg-mp-actions.is-visitor>.vxg-mp-friend-pending>span,
  html.vxg-member-page .vxg-mp-actions.is-visitor>.vxg-mp-friend-inline:not(.is-received)>.vxg-mp-btn>span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request,
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request.has-profile-menu{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}
  html.vxg-member-page .vxg-mp-actions.is-visitor.has-friend-request>.vxg-mp-visitor-more{grid-column:3}
}

/* Lot 2. Rail « Membres en <pays> » : les profils avec photo passent en tête (bloc), la pastille « Sans photo » n'y sert plus. */
html.vxg-member-page .vxg-mp-country-rail .vxg-mc-nophoto{display:none}

/* ===== Profil public, lot 3 (25/11/2026) — choix de Fabien : A = V3 + montage, B = VIP seul (gabarit), C = inchangé =====
   A. Sans couverture : montage de ses vignettes (vidéos, puis favoris publics) ; sans rien à montrer, pas de bandeau pour le
   visiteur (le propriétaire garde un bandeau réduit et « Ajouter une couverture ») ; monogramme teinté par membre (8 teintes,
   sans rouge ni rose : le rouge reste aux actions). */
html.vxg-member-page .vxg-mp-montage{position:absolute;inset:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;overflow:hidden;background:#080808;pointer-events:none}
html.vxg-member-page .vxg-mp-montage img{display:block;width:100%;height:100%;min-width:0;object-fit:cover;filter:brightness(.66) saturate(.9)}
html.vxg-member-page .vxg-mp-montage img:nth-child(n+4){display:none}
@media (min-width:641px){
  html.vxg-member-page .vxg-mp-montage img:nth-child(4){display:block}
}
@media (min-width:1280px){
  html.vxg-member-page .vxg-mp-montage img:nth-child(5){display:block}
}
@media (min-width:1800px){
  html.vxg-member-page .vxg-mp-montage img:nth-child(6){display:block}
}
html.vxg-member-page .vxg-mp-montage img[hidden]{display:none!important}

html.vxg-member-page .vxg-mp-hero:not(.has-cover):not(.is-owner){height:0;min-height:0;margin:0!important;overflow:hidden}
html.vxg-member-page .vxg-mp-hero:not(.has-cover):not(.is-owner)+.vxg-mp-head{margin-top:8px;align-items:center}
@media (min-width:960px){
  html.vxg-member-page .vxg-mp-hero:not(.has-cover):not(.is-owner)+.vxg-mp-head{margin-top:28px}
}
html.vxg-member-page .vxg-mp-hero.is-owner:not(.has-cover){height:72px}
@media (min-width:960px){
  html.vxg-member-page .vxg-mp-hero.is-owner:not(.has-cover){height:112px}
}
html.vxg-member-page .vxg-mp-empty-cover>span{display:none}

html.vxg-member-page .vxg-mp-avatar .mono[class*="vxg-mp-hue-"]{border-color:transparent;background:radial-gradient(circle at 72% 18%,oklch(1 0 0/.14),transparent 42%),linear-gradient(145deg,oklch(.58 .13 var(--vxg-mp-hue,235)),oklch(.36 .1 var(--vxg-mp-hue,235)));color:#fff}
html.vxg-member-page .vxg-mp-hue-0{--vxg-mp-hue:60}
html.vxg-member-page .vxg-mp-hue-1{--vxg-mp-hue:95}
html.vxg-member-page .vxg-mp-hue-2{--vxg-mp-hue:140}
html.vxg-member-page .vxg-mp-hue-3{--vxg-mp-hue:175}
html.vxg-member-page .vxg-mp-hue-4{--vxg-mp-hue:205}
html.vxg-member-page .vxg-mp-hue-5{--vxg-mp-hue:235}
html.vxg-member-page .vxg-mp-hue-6{--vxg-mp-hue:265}
html.vxg-member-page .vxg-mp-hue-7{--vxg-mp-hue:295}
