/* =========================================================================
   VXG-v2 — Design system (refonte videosxgays.com, fidèle au modèle Lovable)
   Dark-only · Outfit + Inter · palette oklch IDENTIQUE à gaytube-reimagined.
   Chargé APRÈS black_orange.css → on gagne par SPÉCIFICITÉ (préfixe `html `,
   variables sur html:root / html:root.light), pas par ordre (black_orange est async).
   À consolider en Phase 1.x (repli + suppression light-mode + dédoublonnage).
   ========================================================================= */

/* ---------- 1. Fonts self-hostées (sous-ensemble latin) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/inter-latin-400.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/inter-latin-600.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/inter-latin-700.woff2') format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/outfit-latin-700.woff2') format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/outfit-latin-800.woff2') format('woff2')}

/* ---------- 2. Tokens (oklch exact Lovable) + remap des variables KVS ---------- */
html:root,
html:root.light{
  color-scheme:dark;
  --radius:1rem;

  --background:oklch(0.08 0.004 25);
  --foreground:oklch(0.98 0.003 25);
  --surface:oklch(0.13 0.006 25);
  --surface-elevated:#0b0b0b;
  --card:oklch(0.14 0.007 25);
  --popover:oklch(0.15 0.008 25);
  --primary:oklch(0.52 0.26 22);
  --primary-foreground:oklch(0.99 0 0);
  --primary-glow:oklch(0.62 0.24 24);
  --primary-deep:oklch(0.38 0.22 20);
  --secondary:oklch(0.20 0.008 25);
  --muted:oklch(0.19 0.006 25);
  --muted-foreground:oklch(0.70 0.012 25);
  --accent:oklch(0.48 0.24 22);
  --border:oklch(1 0 0 / 7%);
  --input:oklch(1 0 0 / 11%);
  --ring:oklch(0.52 0.26 22);
  --success:oklch(0.74 0.17 155);
  --warning:oklch(0.80 0.16 78);

  --gradient-brand:linear-gradient(135deg,var(--primary),var(--primary-glow));
  --gradient-card-overlay:linear-gradient(180deg,transparent 30%,oklch(0 0 0 / .88) 100%);
  --shadow-glow:0 0 0 1px oklch(0.52 0.26 22 / .40),0 10px 40px -10px oklch(0.52 0.26 22 / .60);
  --shadow-card:0 8px 24px -12px oklch(0 0 0 / .65);
  --shadow-elevated:0 20px 50px -20px oklch(0 0 0 / .75);

  /* --- Remap des variables KVS existantes vers la palette Lovable --- */
  --main-background:var(--background);
  --header-background:var(--background);
  --header-background2:var(--background);
  --thumb-box-bg:var(--surface);
  --thumb-placeholder-bg:var(--surface);
  --footer-bg:var(--background);
  --footer-box-bg:var(--surface);
  --pagination-bg:var(--surface);
  --sort-bg:var(--surface);
  --sort-box-bg:var(--surface);
  --tags-link-bg:var(--surface);
  --tags-link-bg-hover:var(--surface-elevated);
  --input-bg:var(--surface);
  --btn-bg:var(--surface);
  --member-menu-bg:var(--surface);
  --modal-bg:var(--surface);
  --profile-bg:var(--surface);
  --general-color:var(--foreground);
  --main-grey-color:var(--muted-foreground);
  --tags-link-color:var(--muted-foreground);
  --theme-color:var(--muted-foreground);
  --heading-title-color:var(--foreground);
  --thumb-text-color:var(--foreground);
  --thumb-info-color:var(--muted-foreground);
  --theme-hover-color:var(--primary);
  --btn-box-shadow:var(--shadow-glow);
  --header-border:1px solid var(--border);
}

/* La page vidéo utilise des neutres froids : la faible chroma évite la dérive brune
   des anciens tokens en teinte 25, sans introduire une seconde palette de composants. */
html.vxg-watch-page{
  --background:#0b0b0c;
  --foreground:#f8f8f9;
  --surface:#191a1d;
  --surface-elevated:#232429;
  --card:#1c1d21;
  --popover:#232429;
  --secondary:#2a2b30;
  --muted:#27282c;
  --muted-foreground:#a9abb2;
  --border:rgba(255,255,255,.10);
  --input:rgba(255,255,255,.13);
}
@supports (color:oklch(0 0 0)){
  html.vxg-watch-page{
    --background:oklch(0.08 0.002 250);
    --foreground:oklch(0.98 0.002 250);
    --surface:oklch(0.13 0.004 250);
    --surface-elevated:oklch(0.17 0.006 250);
    --card:oklch(0.14 0.005 250);
    --popover:oklch(0.17 0.006 250);
    --secondary:oklch(0.20 0.006 250);
    --muted:oklch(0.19 0.004 250);
    --muted-foreground:oklch(0.72 0.008 250);
    --border:oklch(1 0 0 / 10%);
    --input:oklch(1 0 0 / 13%);
  }
}

/* ---------- 3. Base typographique ---------- */
html body{font-family:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html ::selection{background:oklch(0.52 0.26 22 / .35);color:#fff}
html .heading .title,
html .title-holder .title,
html .video-inner .title-holder .title,
html .description-holder .title,
html h1,html h2,html h3{
  font-family:'Outfit','Inter',ui-sans-serif,system-ui,sans-serif;
  font-weight:800;letter-spacing:-.02em;
}

/* ---------- 4. Utilities portées de Lovable (réutilisables dans le markup) ---------- */
.vxg-glass{background:color-mix(in oklab,var(--background) 60%,transparent);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
.vxg-glass-strong{background:color-mix(in oklab,var(--background) 80%,transparent);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)}
.vxg-text-glow{text-shadow:0 0 24px color-mix(in oklab,var(--primary) 60%,transparent)}
.vxg-gradient-brand{background-image:var(--gradient-brand)}
.vxg-shadow-glow{box-shadow:var(--shadow-glow)}
.vxg-shadow-card{box-shadow:var(--shadow-card)}
.vxg-scrollbar-none{scrollbar-width:none}
.vxg-scrollbar-none::-webkit-scrollbar{display:none}
.vxg-mask-fade-r{-webkit-mask-image:linear-gradient(to right,#000 85%,transparent);mask-image:linear-gradient(to right,#000 85%,transparent)}
.vxg-mask-fade-x{-webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent)}
@keyframes vxg-pulse-ring{0%{box-shadow:0 0 0 0 color-mix(in oklab,var(--primary) 70%,transparent)}70%{box-shadow:0 0 0 8px color-mix(in oklab,var(--primary) 0%,transparent)}100%{box-shadow:0 0 0 0 transparent}}

/* ---------- 5. Header (glass-strong, façon Lovable) ---------- */
html .header{background:transparent}
html .header-holder{
  background:color-mix(in oklab,var(--background) 80%,transparent);
  -webkit-backdrop-filter:blur(24px) saturate(160%);
  backdrop-filter:blur(24px) saturate(160%);
  border-bottom:1px solid var(--border);
}
html .header-nav{
  background:color-mix(in oklab,var(--background) 70%,transparent);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--border);
}
html .search input{
  background:color-mix(in oklab,var(--surface) 80%,transparent);
  border:1px solid var(--border);
  border-radius:9999px;height:42px;
  transition:border-color .25s,box-shadow .25s;
}
html .search input:focus{border-color:oklch(0.52 0.26 22 / .6);box-shadow:0 0 0 3px oklch(0.52 0.26 22 / .3);outline:none}
html .header-nav .nav-link::before{background:var(--primary)}
/* Logo wordmark : accent X en crimson (le markup ajoute <span class="vxg-x">) */
html .vxg-x{color:var(--primary);text-shadow:0 0 24px color-mix(in oklab,var(--primary) 60%,transparent)}
/* dark-only : on masque le toggle de thème */

/* ---------- 6. Header — composants (look Lovable, fonctions KVS conservées) ---------- */
/* Bouton UPLOAD → pilule gradient + glow (remplace visuellement le "PREMIUM" Lovable) */
html .buttons-col .upload-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;color:var(--foreground);
  border:1px solid var(--border);
  border-radius:9999px;padding:9px 16px;margin-right:12px;
  font-size:12px;font-weight:700;letter-spacing:.03em;line-height:1;
  transition:border-color .2s,background .2s;
}
html .buttons-col .upload-btn i{margin-right:0}
html .buttons-col .upload-btn svg{fill:currentColor}
@media (min-width:1024px){html .buttons-col .upload-btn:hover{border-color:color-mix(in oklab,var(--primary) 55%,transparent);background:oklch(1 0 0 / .06)}}

/* Bibliothèque / Replay : bouton discret */
html .buttons-col .replay-btn{color:var(--muted-foreground);font-weight:600;font-size:13px;margin-right:14px}
html .buttons-col .replay-btn svg{fill:var(--muted-foreground)}
@media (min-width:1024px){html .buttons-col .replay-btn:hover{color:var(--foreground)}}

/* Avatar (logué) : rond, anneau, dégradé en fond si pas de photo */
html .mebers-block .mebers-switcher{display:flex;align-items:center;gap:8px;cursor:pointer}
html .mebers-block .mebers-photo{width:36px;height:36px;border-radius:9999px;overflow:hidden;flex-shrink:0;box-shadow:0 0 0 2px oklch(1 0 0 / .1)}
html .mebers-block .mebers-photo img{width:100%;height:100%;object-fit:cover;border-radius:9999px}
html .mebers-block .mebers-photo .no-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-image:var(--gradient-brand);color:#fff}
html .mebers-block .mebers-photo .no-thumb svg{fill:#fff}
html .mebers-block .mebers-name{font-weight:600;font-size:14px;color:var(--foreground)}

/* Non logué : login = ghost, signup = pilule gradient */
html .mebers-block a#login{color:var(--foreground);font-weight:600;border-radius:9999px;padding:9px 16px;background:transparent}
@media (min-width:1024px){html .mebers-block a#login:hover{background:oklch(1 0 0 / .1);color:var(--foreground);box-shadow:none}}
/* Inscription : bord accent, pas de fond plein — le fond dégradé reste réservé aux CTA/états actifs */
html .mebers-block a#signup{background:transparent;border:1px solid color-mix(in oklab,var(--primary) 60%,transparent);color:var(--primary-glow);font-weight:700;border-radius:9999px;padding:8px 16px}
@media (min-width:1024px){html .mebers-block a#signup:hover{background:color-mix(in oklab,var(--primary) 16%,transparent);color:#fff;box-shadow:none}}

/* Dropdowns (membre / bibliothèque / langue) : popover surface-elevated */
html .member-links,html .replay-list,html .leng-holder .drop{
  background:var(--surface-elevated);border:1px solid var(--border);
  border-radius:14px;box-shadow:var(--shadow-elevated);padding:6px;
}
html .member-links a,html .replay-list a,html .leng-holder .drop a{border-radius:10px}
@media (min-width:1024px){
  html .member-links a:hover,html .replay-list a:hover,html .leng-holder .drop a:hover{background:oklch(1 0 0 / .06);color:var(--foreground)}
}

/* ---------- 7. Barre de chips de filtres ---------- */
html .vxg-chips{display:flex;gap:8px;overflow-x:auto;padding:6px 0 10px;scrollbar-width:none;margin-bottom:8px}
html .vxg-chips::-webkit-scrollbar{display:none}
html .vxg-chips a{
  flex-shrink:0;display:inline-flex;align-items:center;
  border-radius:9999px;padding:9px 16px;font-size:12px;font-weight:600;
  letter-spacing:.02em;white-space:nowrap;
  background:var(--surface);border:1px solid var(--border);color:color-mix(in oklab,var(--foreground) 80%,transparent);
  transition:background .25s,color .25s,box-shadow .25s;
}
html .vxg-chips a.is-active{background-image:var(--gradient-brand);color:#fff;border-color:transparent;box-shadow:var(--shadow-glow)}
@media (min-width:1024px){html .vxg-chips a:hover{background:oklch(1 0 0 / .1)}}

/* ---------- 8. Titres de section (façon Lovable SectionHeader) ---------- */
html .heading{align-items:center;gap:16px;margin-bottom:0}
html .heading .title{font-size:20px;line-height:1.1}
@media (min-width:1024px){html .heading .title{font-size:24px}}

/* ---------- 9. Grille vidéo — SOURCE UNIQUE des colonnes (uniforme sur tout le site) ----------
   2 colonnes <640px · 3 colonnes 640-1023px · 4 colonnes ≥1024px.
   Toute grille de vignettes (.grid-temp) partout sur le site suit ces breakpoints.
   Seule exception : la page watch (.col-video .grid-temp) plus étroite à cause de la sidebar. */
html .grid-temp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;align-items:start;margin:0;padding:0;list-style:none}
@media (min-width:640px){html .grid-temp{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){html .grid-temp{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}}
/* Listing (.vxg-listing) : colonnes qui s'ajoutent sur écrans larges (compact) + conteneur élargi — n'impacte PAS watch (.col-video) ni home */
@media (min-width:1440px){html .vxg-listing .grid-temp{grid-template-columns:repeat(5,minmax(0,1fr))} html .vxg-listing .main>.container{max-width:1720px}}
@media (min-width:1760px){html .vxg-listing .grid-temp{grid-template-columns:repeat(6,minmax(0,1fr))} html .vxg-listing .main>.container{max-width:2060px}}
@media (min-width:2200px){html .vxg-listing .grid-temp{grid-template-columns:repeat(7,minmax(0,1fr))} html .vxg-listing .main>.container{max-width:2440px}}
/* Spot pub agnostique au nb de colonnes (remplace le grid-column:3/span 2 figé 4-col de black_orange) :
   mobile/tablette = pleine largeur ; desktop = bloc à DROITE sur les 2 dernières colonnes × 2 rangées,
   quel que soit le nb de colonnes (3 confort → 7 très large). Les vidéos s'écoulent autour. */
@media (max-width:1023px){html .grid-temp>li.spot{grid-column:1/-1;grid-row:auto!important}}
@media (min-width:1024px){html .grid-temp>li.spot{grid-column:-3/-1;grid-row:1/span 2}}
html .grid-temp>li{min-width:0}
html .grid-temp .thumb,html .thumbs .thumb{padding:0}
html .thumbs{margin:0 0 32px}

/* ---------- 10. CARTE VIDÉO (structure Lovable) ---------- */
html .thumb .img-holder{
  border-radius:20px;overflow:hidden;margin-bottom:0;
  background:var(--surface);box-shadow:var(--shadow-card);
}
html .thumb .img-holder img{border-radius:20px;transition:transform .7s ease;object-position:center}

/* Badge qualité (HD) → coin haut-gauche, façon Lovable */
html .thumb .img-holder .qualtiy{
  position:absolute;top:8px;left:8px;margin:0;z-index:3;
  background:oklch(0 0 0 / .7);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border-radius:8px;padding:3px 8px;font-size:10px;font-weight:700;letter-spacing:.06em;color:#fff;
}
/* Durée → coin bas-droite */
html .thumb .item-bottom{right:8px;bottom:8px;z-index:3}
html .thumb .time{
  background:oklch(0 0 0 / .8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border-radius:8px;padding:3px 8px;font-size:12px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;
}
/* Favoris → coin haut-droite (ne chevauche pas la qualité) */
html .thumb .item-top{top:8px;left:auto;right:8px;z-index:3}

/* VXG-v2 : bouton play retiré au survol — on ne garde QUE l'aperçu vidéo natif KVS */
html .thumb .vxg-play{display:none}

/* Barre de like (rating) en bas du thumbnail */
html .thumb .vxg-likebar{position:absolute;left:0;right:0;bottom:0;height:3px;background:oklch(1 0 0 / .1);z-index:3;border-radius:0 0 20px 20px;overflow:hidden}
html .thumb .vxg-likebar span{display:block;height:100%;background:var(--primary)}

/* Titre + méta */
html .thumb .title{
  font-family:'Inter',sans-serif;font-weight:600;font-size:14px;line-height:1.3;
  color:var(--foreground);margin:12px 0 0;
}
/* méta UNIFORME (home + watch + listings) façon Lovable : « xxx vues » · ❤ likes · date.
   Pas d'icône pour vues/date (mot « vues » à la place), cœur coloré pour les likes, séparateur · entre items. */
html .thumb .thumb-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:7px;color:var(--muted-foreground)}
html .thumb .thumb-bottom .thumb-item{display:inline-flex;align-items:center;gap:4px;padding-left:0;font-size:12px;line-height:1.2;color:var(--muted-foreground)}
html .thumb .thumb-bottom .thumb-item i{display:none}
html .thumb .thumb-bottom .thumb-item.vxg-likes i{display:inline-flex;align-items:center}
html .thumb .thumb-bottom .thumb-item svg{fill:var(--muted-foreground)}
html .thumb .thumb-bottom .thumb-item.vxg-likes svg{fill:var(--primary);width:13px;height:13px}
html .thumb .thumb-bottom .thumb-item+.thumb-item::before{content:"";flex:0 0 auto;width:3px;height:3px;margin-right:4px;border-radius:9999px;background:currentColor;opacity:.45}
html .vxg-vues{display:inline}

/* Interactions desktop : pas de zoom ni de bouton play — on laisse uniquement l'aperçu vidéo natif KVS */
@media (min-width:1024px){
  html .thumb a:hover .title{color:var(--primary)}
}

/* ---------- 11. Tags / chips bas de page ---------- */
html .tags-row a{background:var(--surface);border:1px solid var(--border);border-radius:9999px;color:var(--muted-foreground)}
@media (min-width:1024px){html .tags-row a:hover{background:var(--surface-elevated);color:var(--primary)}}

/* ---------- 12. Pagination + boutons (remplace l'ancien #b80606) ---------- */
html .pagination a.active{background:var(--primary);color:#fff}
html .description-holder a,html .description-holder .text a{color:var(--primary)}
@media (min-width:1024px){
  html .pagination a:hover{background:var(--primary);color:#fff}
  html .pagination a:hover.next svg,html .pagination a:hover.prev svg{fill:#fff}
  html .more-title:hover{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:var(--shadow-glow)}
  html .more-title:hover svg{fill:#fff}
  html .mebers-block a:hover{background:var(--primary);color:#fff;box-shadow:var(--shadow-glow)}
}

/* ---------- 13. Bannière "newversion" (home) en style premium ---------- */
html .container > p{border-radius:20px}

/* ---------- 13bis. Header desktop : garder le sticky toujours visible ----------
   Le CSS critique inline pose `body,html{height:100%}`, casse classique de
   position:sticky (le conteneur de défilement devient le body à hauteur figée).
   On repasse en hauteur auto ; .wrapper conserve la pleine hauteur via min-height:100vh (vh, indépendant du parent). */
html:root{height:auto;min-height:100%}
html body{height:auto;min-height:100vh}

/* ---------- 14. Méta de carte façon Lovable : avatars à gauche · colonne texte (titre, acteurs, stats) · signet ---------- */
html .thumb .vxg-card-meta{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;align-items:start;margin-top:12px}
html .thumb .vxg-card-meta .vxg-actors{grid-column:1;grid-row:1}
html .thumb .vxg-card-meta .vxg-card-text{grid-column:2;grid-row:1}
html .thumb .vxg-card-meta .vxg-card-bookmark{grid-column:3;grid-row:1}
/* stats pleine largeur : la rangée passe SOUS le signet quand elle est longue */
html .thumb .vxg-card-meta > .thumb-bottom{grid-column:2 / -1;grid-row:2;margin-top:6px;min-width:0}
html .thumb .vxg-actors{display:flex;align-items:center;margin-top:0}
html .thumb .vxg-card-meta .vxg-actors{flex:0 0 auto;margin-top:2px}
html .thumb .vxg-actors .vxg-avatar{width:32px;height:32px;border-radius:9999px;object-fit:cover;border:2px solid var(--background);margin-left:-8px}
html .thumb .vxg-actors .vxg-avatar:first-child{margin-left:0}
html .thumb .vxg-card-text{flex:1 1 auto;min-width:0}
html .thumb .vxg-card-text .title{margin-top:0}
/* noms d'acteurs sous le titre (Nom · Nom) */
html .thumb .vxg-card-models{margin-top:4px;font-family:'Inter',sans-serif;font-size:12px;line-height:1.3;color:var(--muted-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* signet (favoris) — en flux sur mobile ; en absolu (top-droite) sur desktop pour libérer la largeur du texte, révélé au survol comme Lovable */
html .thumb .vxg-card-bookmark{flex:0 0 auto;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;color:var(--muted-foreground);background:transparent;border:0;cursor:pointer;transition:opacity .2s,background .2s,color .2s}
html .thumb .vxg-card-bookmark svg{width:17px;height:17px;fill:none;stroke:currentColor}
html .thumb .vxg-card-bookmark:hover{background:oklch(1 0 0 / .08);color:var(--foreground)}
@media (min-width:1024px){
  html .thumb .vxg-card-bookmark{position:absolute;top:0;right:0;opacity:0}
  html .thumb:hover .vxg-card-bookmark,html .thumb .vxg-card-bookmark:focus-visible{opacity:1}
}

/* ====================== INCREMENT C — sections home ====================== */

/* ---------- 15. CTA de section "voir plus" : lien discret (Lovable) ---------- */
html .heading .more-title{background:transparent;border:none;min-width:0;padding:6px 8px;color:var(--muted-foreground);font-size:12px;font-weight:600;line-height:1}
html .heading .more-title svg{fill:var(--muted-foreground)}
@media (min-width:1024px){
  html .heading .more-title:hover{background:transparent;color:var(--primary);box-shadow:none;border:none}
  html .heading .more-title:hover svg{fill:var(--primary)}
}

/* ---------- 16. Acteurs (list_models) : avatars ronds + ring (Lovable) ---------- */
html .pornstars-row a img,
html .models-thumbs .thumb .img-holder img{
  border-radius:9999px;object-fit:cover;object-position:top center;
  box-shadow:0 0 0 2px oklch(0.52 0.26 22 / .4);transition:transform .3s;
}
html .models-thumbs .thumb{text-align:center}
html .models-thumbs .thumb .img-holder{padding-bottom:0;width:96px;height:96px;margin:0 auto 8px;border-radius:9999px;background:transparent;box-shadow:none;overflow:visible}
html .models-thumbs .thumb .title{justify-content:center;font-size:13px;font-weight:600;color:var(--foreground)}
html .models-thumbs .thumb .thumb-bottom{justify-content:center}
@media (min-width:1024px){html .pornstars-row a:hover img,html .models-thumbs .thumb a:hover .img-holder img{transform:scale(1.05)}}

/* ---------- 17. Catégories : cartes 4:3 + overlay dégradé (Lovable) ---------- */
html .categories-thumbs .thumb .img-holder{position:relative;aspect-ratio:4/3;padding-bottom:0;border-radius:20px;overflow:hidden;margin-bottom:0;box-shadow:var(--shadow-card)}
html .categories-thumbs .thumb .img-holder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:20px;transition:transform .7s}
html .categories-thumbs .thumb .img-holder::after{content:"";position:absolute;inset:0;border-radius:20px;background:linear-gradient(to top,#000,oklch(0 0 0 / .4) 42%,transparent);pointer-events:none}
html .categories-thumbs .cat-title{position:absolute;left:0;right:0;bottom:0;z-index:2;display:block;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:12px}
html .categories-thumbs .cat-title .title{font-family:'Outfit',sans-serif;font-weight:800;font-size:16px;letter-spacing:-.02em;color:#fff;margin:0}
html .categories-thumbs .cat-title .thumb-item{display:inline-flex;font-size:11px;color:oklch(1 0 0 / .8);margin:2px 8px 0 0}
@media (min-width:1024px){html .categories-thumbs .thumb a:hover .img-holder img{transform:scale(1.1)}}

/* ---------- 18. Bannière premium in-feed (Lovable) ---------- */
html .vxg-premium-banner{display:flex;align-items:center;gap:12px;margin:0;border-radius:20px;border:1px solid oklch(0.52 0.26 22 / .3);background:linear-gradient(90deg,oklch(0.52 0.26 22 / .15),oklch(0.52 0.26 22 / .05),transparent);padding:14px 16px;transition:border-color .25s}
@media (min-width:1024px){html .vxg-premium-banner:hover{border-color:oklch(0.52 0.26 22 / .6)}}
html .vxg-pb-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9999px;background-image:var(--gradient-brand);box-shadow:var(--shadow-glow);flex-shrink:0}
html .vxg-pb-icon svg{fill:#fff;font-size:18px}
html .vxg-pb-text{flex:1;min-width:0}
html .vxg-pb-title{display:block;font-family:'Outfit',sans-serif;font-weight:800;font-size:14px;letter-spacing:-.02em;color:var(--foreground)}
html .vxg-pb-sub{display:block;font-size:11px;color:var(--muted-foreground);margin-top:2px}
html .vxg-pb-cta{flex-shrink:0;display:inline-flex;align-items:center;border-radius:9999px;background:var(--primary);color:#fff;padding:7px 14px;font-size:11px;font-weight:700;box-shadow:var(--shadow-glow)}
@media (max-width:575px){html .vxg-pb-cta{display:none}}

/* ---------- 19. Collections (playlists) : cartes 16:10 + overlay (Lovable) ---------- */
html .vxg-collections .playlist-thumbs{display:grid;grid-template-columns:1fr;gap:16px;margin:0}
@media (min-width:768px){html .vxg-collections .playlist-thumbs{grid-template-columns:repeat(3,1fr)}}
html .vxg-collections .playlist-thumbs .thumb{width:100%;padding:0}
html .vxg-collections .thumb a{position:relative;display:block}
html .vxg-collections .thumb .img-holder{position:relative;aspect-ratio:16/10;padding-bottom:0;border-radius:24px;overflow:hidden;margin:0;box-shadow:var(--shadow-card)}
html .vxg-collections .thumb .img-holder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:24px;display:none;transition:transform .7s}
html .vxg-collections .thumb .img-holder img.video1{display:block}
html .vxg-collections .thumb .img-holder::after{content:"";position:absolute;inset:0;border-radius:24px;background:linear-gradient(to top,#000,oklch(0 0 0 / .45) 42%,transparent);pointer-events:none}
html .vxg-collections .thumb .title{position:absolute;left:0;right:0;bottom:32px;z-index:2;font-family:'Outfit',sans-serif;font-weight:800;font-size:22px;line-height:1.1;letter-spacing:-.02em;color:#fff;padding:0 20px;margin:0}
html .vxg-collections .thumb .title::before{content:"COLLECTION";display:block;font-family:'Inter',sans-serif;font-weight:700;font-size:10px;letter-spacing:.2em;color:var(--primary);margin-bottom:6px;text-shadow:0 0 24px color-mix(in oklab,var(--primary) 60%,transparent)}
html .vxg-collections .thumb .thumb-bottom{position:absolute;left:0;right:0;bottom:12px;z-index:2;padding:0 20px;color:oklch(1 0 0 / .8)}
html .vxg-collections .thumb .thumb-bottom .thumb-item{font-size:11px;color:oklch(1 0 0 / .8)}
@media (min-width:1024px){html .vxg-collections .thumb a:hover .img-holder img.video1{transform:scale(1.05)}}
html .vxg-collections .thumb .no-thumb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--surface),var(--surface-elevated));color:var(--muted-foreground);font-size:12px;border-radius:24px}

/* ====================== INCREMENT D — cluster Shorts ====================== */
/* ---------- 20. Rangée Shorts 9:16 (scroll horizontal, façon Lovable) ---------- */
html .vxg-shorts-row{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:4px 0 10px;-webkit-mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent)}
html .vxg-shorts-row::-webkit-scrollbar{display:none}
html .vxg-short{position:relative;flex:0 0 auto;width:150px;aspect-ratio:9/16;border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card);display:block}
@media (min-width:1024px){html .vxg-short{width:172px}}
html .vxg-short-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s}
@media (min-width:1024px){html .vxg-short:hover .vxg-short-img{transform:scale(1.1)}}
html .vxg-short-grad{position:absolute;inset:0;background:linear-gradient(to top,oklch(0 0 0 / .9),transparent 35%,oklch(0 0 0 / .3));pointer-events:none}
html .vxg-short-badge{position:absolute;top:8px;left:8px;background:color-mix(in oklab,var(--primary) 90%,transparent);color:#fff;font-size:10px;font-weight:700;letter-spacing:.08em;padding:2px 8px;border-radius:8px;box-shadow:var(--shadow-glow)}
html .vxg-short-meta{position:absolute;left:0;right:0;bottom:0;padding:10px;display:flex;flex-direction:column;gap:2px;pointer-events:none}
html .vxg-short-views{font-size:11px;font-weight:600;color:oklch(1 0 0 / .85)}
html .vxg-short-title{font-size:13px;font-weight:600;color:#fff;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html .vxg-short-actor{font-size:11px;color:oklch(1 0 0 / .6)}

/* ====================== INCREMENT E — bottom-nav mobile + FAB ====================== */
/* ---------- 21. Tabbar GLASS flottante (pilule, réf capturée borntobefuck 17/07) :
   fixed 6px du bas / 16px des bords, 58px, radius 100, fond noir 34% + blur 10. ---------- */
html{--vxg-mobile-bottomnav-clearance:0px}
html .vxg-bottomnav{display:none}
@media (max-width:1023px){
  html{--vxg-mobile-bottomnav-clearance:calc(92px + env(safe-area-inset-bottom,0px))}
  html .vxg-bottomnav{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:center;
    position:fixed;
    left:16px;
    right:16px;
    bottom:calc(14px + env(safe-area-inset-bottom));
    z-index:200;
    height:64px;
    padding:6px;
    background:rgba(0,0,0,.34);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:100px;
  }
  /* navigateurs sans backdrop-filter : fond plus opaque pour rester lisible */
  @supports not (backdrop-filter:blur(1px)){
    html .vxg-bottomnav{background:rgba(0,0,0,.72)}
  }
  html .vxg-bn-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;width:auto;min-height:44px;height:100%;font-size:10px;font-weight:600;color:rgba(255,255,255,.72);background:none;border:none;cursor:pointer;text-align:center;line-height:1;transition:color .16s}
  html .vxg-bn-item svg{width:22px;height:22px;fill:currentColor}
  /* actif = icône + libellé colorés (réf BTBF) — rouge CLAIR --primary-glow pour rester lisible sur le verre sombre (18/07) */
  html .vxg-bn-item.is-active{color:var(--primary-glow);font-weight:700}
  /* Shorts : pastille DANS la barre (ne déborde plus), légèrement mise en avant — réf bouton + BTBF (18/07) */
  html .vxg-bn-fab .vxg-bn-fab-btn{display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0 auto;border-radius:9999px;background:#ffffff1a;color:#fff}
  html .vxg-bn-fab .vxg-bn-fab-btn svg{width:20px;height:20px;fill:#fff}
  html .vxg-bn-fab .vxg-bn-fab-label{margin-top:0}
  html .wrapper{padding-bottom:var(--vxg-mobile-bottomnav-clearance)}
}

/* ====================== INCREMENT F — footer 4 colonnes ====================== */
/* ---------- 22. Footer (colonnes façon Lovable) ---------- */
html .footer .footer-nav{display:none}
html .footer .footer-inner{display:block}
html .footer .box,
html .footer .footer-box,
html .footer .block-inner{max-width:100%;overflow-x:hidden}
html .footer .logo{margin-bottom:20px}
html .vxg-footer-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 16px;margin:0 0 28px;width:100%}
@media (min-width:768px){html .vxg-footer-cols{grid-template-columns:repeat(4,1fr)}}
html .vxg-fc-title{font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--primary);margin:0 0 12px}
html .vxg-footer-cols ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
html .vxg-footer-cols a{font-size:14px;color:var(--muted-foreground);transition:color .2s}
@media (min-width:1024px){html .vxg-footer-cols a:hover{color:var(--foreground)}}
html .footer .footer-desc{border-top:1px solid var(--border);padding-top:20px}
html .footer .footer-desc .copi{color:var(--muted-foreground);font-size:12px}


/* ====================== INCREMENT G — home Lovable + sidebar desktop corrigée ====================== */
:root{
  --vxg-header-h:64px;
  --vxg-sidebar-w:248px;
  --vxg-sidebar-w-compact:212px;
}

html .vxg-home{padding-top:0}
html .vxg-home .section-row{margin-top:56px;margin-bottom:56px}
html .vxg-home .heading{margin-top:22px;margin-bottom:16px}
html .vxg-home .heading .title{letter-spacing:0}

html .vxg-chips{
  margin:8px 0 18px;
  padding-bottom:4px;
  scrollbar-width:none;
}
html .vxg-chips::-webkit-scrollbar{display:none}
html .vxg-chips a{
  border:1px solid var(--border);
  box-shadow:0 8px 22px oklch(0 0 0 / .14);
}
html .vxg-chips a.is-active{
  border-color:color-mix(in oklab,var(--primary) 42%,transparent);
  background:var(--gradient-brand);
  color:#fff;
}

html .vxg-announcement{
  margin:14px 0 24px;
  padding:14px 18px;
  border:1px solid color-mix(in oklab,var(--primary) 44%,var(--border));
  border-radius:16px;
  background:
    radial-gradient(circle at 12% 0,color-mix(in oklab,var(--primary) 22%,transparent),transparent 30%),
    linear-gradient(135deg,var(--surface),var(--surface-elevated));
  color:var(--foreground);
  box-shadow:0 14px 40px oklch(0 0 0 / .28),0 0 24px color-mix(in oklab,var(--primary) 14%,transparent);
  font-size:15px;
  font-weight:800;
  line-height:1.35;
  text-align:center;
}

html .vxg-shorts-section{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:24px 0;
}

html .vxg-tags-heading{margin-top:42px}
html .vxg-tags-heading + .tags-row{margin-top:0}

@media (min-width:1024px){
  html .header{position:sticky;top:0;z-index:130}
  html .header-holder{min-height:var(--vxg-header-h)}
  html .main > .container{
    max-width:1560px;
    padding-left:24px;
    padding-right:24px;
  }
  html #mega-menu-dropdown{display:none !important}
}


@media (max-width:1023px){
  html .vxg-home{padding-top:0}
  html .vxg-announcement{
    margin:12px 0 18px;
    padding:12px 14px;
    border-radius:14px;
    font-size:13px;
  }
}

/* ====================== INCREMENT H — burger desktop + mini sidebar Lovable ====================== */
:root{
  --vxg-sidebar-mini:80px;
  --vxg-sidebar-open:288px;
}

@media (min-width:1024px){
  html .header-holder .header-inner{gap:12px}
  html .header-holder .menu-icon{
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    order:1;
    flex:0 0 40px;
    width:40px;
    height:40px;
    padding:0;
    border:0;
    border-radius:9999px;
    background:transparent;
    color:var(--foreground);
    cursor:pointer;
    transition:background .2s,color .2s,transform .2s;
  }
  html .header-holder .menu-icon:hover{
    background:oklch(1 0 0 / .1);
    color:var(--foreground);
  }
  html .header-holder .menu-icon:focus-visible{
    outline:2px solid color-mix(in oklab,var(--primary) 72%,transparent);
    outline-offset:2px;
  }
  html .header-holder .menu-icon span{
    display:block;
    position:static;top:auto;left:auto;  /* annule le position:absolute hérité de black_orange.css : les barres redeviennent des enfants flex centrés dans le bouton */
    width:18px;
    height:2px;
    border-radius:9999px;
    background:currentColor;
    transition:transform .25s ease,opacity .2s ease,width .2s ease;
  }
  html body.vxg-sidebar-open .header-holder .menu-icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  html body.vxg-sidebar-open .header-holder .menu-icon span:nth-child(2){opacity:0;width:0}
  html body.vxg-sidebar-open .header-holder .menu-icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}

/* ====================== INCREMENT I — mini sidebar dédiée + mega-menu expanded ====================== */
html .vxg-mini-sidebar{display:none}

@media (min-width:1024px){
  html .header{position:sticky;top:0;z-index:160}
  html .header-holder{position:relative;z-index:2;height:var(--vxg-header-h);padding:0}
  html .header-holder .container{height:100%;max-width:none;padding-left:24px;padding-right:24px}
  html .header-holder .header-inner{display:flex;align-items:center;justify-content:flex-start;gap:8px;height:100%;width:100%}
  html .header-holder .menu-icon{position:relative !important;top:auto !important;left:auto !important;order:1;align-self:center;margin:0 6px 0 0;transform:none !important}
  html .header-holder .logo{order:2;display:flex;align-items:center;flex:0 0 auto;margin:0 18px 0 0}
  html .header-holder .search{order:3;flex:1 1 auto;min-width:0}
  html .header-holder .buttons-col{order:4;flex:0 0 auto}
  html .header-holder .btn-mobile{order:5;flex:0 0 auto}
  html .header-nav{
    position:fixed;
    top:var(--vxg-header-h);
    left:0;
    bottom:0;
    width:var(--vxg-sidebar-mini);
    height:calc(100vh - var(--vxg-header-h));
    padding:0;
    z-index:120;
    border-right:1px solid var(--border);
    background:color-mix(in oklab,var(--background) 96%,transparent);
    box-shadow:12px 0 30px oklch(0 0 0 / .28);
    border-bottom:0;
    overflow:hidden;
    transition:width .3s ease;
  }
  html body.vxg-sidebar-open .header-nav{
    width:var(--vxg-sidebar-open);
    padding:0;
  }

  html .vxg-mini-sidebar{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    width:100%;
    height:100%;
    padding:16px 8px;
  }
  html body.vxg-sidebar-open .vxg-mini-sidebar{display:none}

  html .vxg-mini-nav{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    align-items:center;
    gap:4px;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:none;
  }
  html .vxg-mini-nav::-webkit-scrollbar{display:none}
  html .vxg-mini-bottom{
    display:flex;
    flex:0 0 auto;
    flex-direction:column;
    align-items:center;
    gap:4px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid color-mix(in oklab,var(--foreground) 10%,transparent);
  }
  html .vxg-mini-link{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    width:64px;
    min-height:58px;
    padding:8px 4px;
    border-radius:14px;
    color:var(--muted-foreground);
    text-align:center;
    transition:background .2s,color .2s;
  }
  html .vxg-mini-link svg{
    width:21px;
    height:21px;
    fill:currentColor;
  }
  html .vxg-mini-link span{
    display:block;
    max-width:56px;
    overflow:hidden;
    font-size:10px;
    font-weight:650;
    line-height:1.08;
    letter-spacing:0;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  html .vxg-mini-link:hover{
    background:oklch(1 0 0 / .06);
    color:var(--foreground);
  }
  html .vxg-mini-link.active{
    background:color-mix(in oklab,var(--primary) 15%,transparent);
    color:var(--primary);
  }

  html .vxg-mini-link .vxg-lucide{
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.75;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  html .vxg-mini-link .vxg-lucide *{
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.75;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  html .header-nav > .container{
    display:none !important;
    height:100%;
    max-width:none;
    width:100%;
    margin:0;
    padding:14px 12px 30px;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
  }
  html body.vxg-sidebar-open .header-nav > .container{display:block !important}
  html body.vxg-sidebar-open .header-nav > .container > .header-inner{
    display:block;
    padding:0;
  }
  html body.vxg-sidebar-open .main,
  html body.vxg-sidebar-open .footer{padding-left:var(--vxg-sidebar-open)}
  html body:not(.vxg-sidebar-open) .main,
  html body:not(.vxg-sidebar-open) .footer{padding-left:var(--vxg-sidebar-mini)}
}


/* ====================== INCREMENT K - sticky chips liquid glass ====================== */
html .vxg-home .vxg-chips{
  position:sticky;
  top:var(--vxg-header-h,64px);
  z-index:135;
  margin:0 -24px 18px;
  padding:10px 24px 12px;
  overflow-x:auto;
  overflow-y:hidden;
  background:
    linear-gradient(180deg,
      color-mix(in oklab,var(--background) 82%,transparent),
      color-mix(in oklab,var(--surface) 62%,transparent)
    );
  -webkit-backdrop-filter:blur(22px) saturate(180%) contrast(108%);
  backdrop-filter:blur(22px) saturate(180%) contrast(108%);
  border-bottom:1px solid color-mix(in oklab,var(--foreground) 10%,transparent);
  box-shadow:
    0 14px 34px oklch(0 0 0 / .30),
    inset 0 1px 0 oklch(1 0 0 / .08);
  isolation:isolate;
}
html .vxg-home .vxg-chips::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(110deg,
      oklch(1 0 0 / .10),
      transparent 30%,
      transparent 68%,
      color-mix(in oklab,var(--primary) 16%,transparent)
    );
  opacity:.55;
}
html .vxg-home .vxg-chips::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-18px;
  height:18px;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(
    180deg,
    color-mix(in oklab,var(--background) 45%,transparent),
    transparent
  );
}
html .vxg-home .vxg-chips a{
  position:relative;
  z-index:1;
  background:color-mix(in oklab,var(--surface-elevated) 72%,transparent);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  backdrop-filter:blur(10px) saturate(160%);
}
html .vxg-home .vxg-chips a.is-active{
  background:var(--gradient-brand);
  box-shadow:var(--shadow-glow);
}
@media (max-width:1023px){
  html .vxg-home .vxg-chips{
    top:56px;
    margin:0 -12px 16px;
    padding:8px 12px 10px;
  }
}

/* ====================== INCREMENT L - home order blocks Lovable ====================== */
html .vxg-home .vxg-video-section{scroll-margin-top:calc(var(--vxg-header-h,64px) + 84px)}
html .vxg-home .vxg-video-section .heading{margin-bottom:20px}
html .vxg-home .vxg-video-section .heading .title{display:flex;align-items:center;gap:8px}
html .vxg-trending-section{margin-top:24px}
html .vxg-trending-section .heading .title::after{
  content:"";width:8px;height:8px;border-radius:9999px;background:var(--primary);box-shadow:0 0 18px color-mix(in oklab,var(--primary) 70%,transparent)
}
html .vxg-new-section .heading .title::after{
  content:"NEW";font-family:'Inter',sans-serif;font-size:10px;letter-spacing:.08em;font-weight:800;color:#fff;background:var(--primary);border-radius:6px;padding:4px 7px;box-shadow:var(--shadow-glow)
}

html .vxg-home-band{
  margin-left:-24px;margin-right:-24px;padding:32px 24px;
  background:color-mix(in oklab,var(--surface) 40%,transparent);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border)
}
html .vxg-shorts-section .heading{margin-bottom:18px}
html .vxg-shorts-section .heading .title{display:flex;align-items:center;gap:8px}
html .vxg-shorts-section .title::before{content:"";width:10px;height:18px;border-radius:9999px;background:var(--gradient-brand);box-shadow:var(--shadow-glow)}
html .vxg-shorts-row{gap:12px;margin-top:0;padding-bottom:8px}
html .vxg-short{width:144px;border-radius:16px}
html .vxg-short-img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
html .vxg-short-grad{position:absolute;inset:0;background:linear-gradient(to top,oklch(0 0 0 / .90),oklch(0 0 0 / .10) 58%,oklch(0 0 0 / .30));pointer-events:none}
html .vxg-short-badge{left:8px;top:8px;border-radius:6px;background:color-mix(in oklab,var(--primary) 90%,transparent);box-shadow:var(--shadow-glow);font-size:10px;letter-spacing:.08em}
html .vxg-short-meta{padding:12px}
html .vxg-short-views{font-size:12px;color:oklch(1 0 0 / .82)}
html .vxg-short-title{margin-top:4px;font-size:14px;line-height:1.25;color:#fff}
html .vxg-short-actor{display:block;margin-top:3px;font-size:11px;color:oklch(1 0 0 / .60);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (min-width:1024px){
  html .vxg-short{width:176px}
  html .vxg-short:hover .vxg-short-img{transform:scale(1.10)}
}

html .vxg-actors-section .heading{margin-bottom:20px}
html .vxg-actors-rail{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding:4px 0 10px}
html .vxg-actors-rail::-webkit-scrollbar{display:none}
html .vxg-actor-card{
  flex:0 0 192px;display:flex;flex-direction:column;align-items:center;text-align:center;
  border:1px solid var(--border);border-radius:16px;background:var(--surface);padding:16px;
  box-shadow:var(--shadow-card);transition:transform .25s,border-color .25s,background .25s
}
html .vxg-actor-avatar-wrap{display:flex;align-items:center;justify-content:center;width:82px;height:82px;border-radius:9999px;margin:0 auto;background:var(--gradient-brand);box-shadow:0 0 0 2px color-mix(in oklab,var(--primary) 42%,transparent)}
html .vxg-actor-avatar-wrap img{width:80px;height:80px;border-radius:9999px;object-fit:cover;object-position:top center}
html .vxg-actor-avatar-wrap .no-thumb{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:9999px;color:#fff;font-family:'Outfit',sans-serif;font-weight:800;font-size:24px;background:var(--surface-elevated)}
html .vxg-actor-name{display:block;width:100%;margin-top:12px;font-weight:700;font-size:15px;color:var(--foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .vxg-actor-meta{display:block;margin-top:3px;font-size:12px;color:var(--muted-foreground)}
html .vxg-follow-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:36px;margin-top:12px;border-radius:9999px;background:var(--gradient-brand);color:#fff;font-size:12px;font-weight:800;box-shadow:var(--shadow-glow)}
@media (min-width:1024px){
  html .vxg-actor-card:hover{transform:translateY(-2px);border-color:color-mix(in oklab,var(--primary) 42%,transparent);background:var(--surface-elevated)}
}

html .vxg-for-you-section{margin-top:48px}
html .vxg-for-you-section .heading{border-top:1px solid var(--border);padding-top:32px}
html .vxg-for-you-section .heading::after{content:"";display:block;flex:1;height:1px;background:linear-gradient(90deg,var(--border),transparent)}
html .vxg-for-you-section .load-more{display:flex;justify-content:center;margin:34px 0 8px}
html .vxg-for-you-section .load-more .btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:9999px;
  border:1px solid color-mix(in oklab,var(--foreground) 12%,transparent);background:color-mix(in oklab,var(--surface) 62%,transparent);
  color:var(--foreground);font-size:14px;font-weight:700;padding:0 24px;box-shadow:none;transition:border-color .25s,background .25s,box-shadow .25s
}
@media (min-width:1024px){html .vxg-for-you-section .load-more .btn:hover{border-color:color-mix(in oklab,var(--primary) 50%,transparent);background:color-mix(in oklab,var(--surface-elevated) 82%,transparent);box-shadow:var(--shadow-glow)}}

@media (max-width:1023px){
  html .vxg-home-band{margin-left:-12px;margin-right:-12px;padding:28px 12px}
  html .vxg-actor-card{flex-basis:164px;padding:14px}
  html .vxg-actor-avatar-wrap,html .vxg-actor-avatar-wrap img,html .vxg-actor-avatar-wrap .no-thumb{width:72px;height:72px}
  html .vxg-for-you-section{margin-top:38px}
}

/* ====================== INCREMENT M - actor follow action ====================== */
html .vxg-actor-main{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}
html .vxg-follow-btn .vxg-follow-done{display:none}
html .vxg-follow-btn.done,
html .vxg-follow-btn.orange{
  background:color-mix(in oklab,var(--success) 22%,var(--surface-elevated));
  color:var(--success);
  box-shadow:0 0 0 1px color-mix(in oklab,var(--success) 36%,transparent),0 10px 28px -14px color-mix(in oklab,var(--success) 65%,transparent)
}
html .vxg-follow-btn.done .vxg-follow-on,
html .vxg-follow-btn.orange .vxg-follow-on{display:none}
html .vxg-follow-btn.done .vxg-follow-done,
html .vxg-follow-btn.orange .vxg-follow-done{display:inline}
html .vxg-follow-count{display:none !important}

/* ====================== INCREMENT — header sticky desktop · scroll horizontal · overlay shorts ====================== */

/* 1) Header desktop : ne se masque/réduit plus au scroll (la classe header-fixed reste mobile-only) */
@media (min-width:1024px){
  html .header.header-fixed{position:sticky !important;top:0 !important;max-height:none !important;width:auto !important}
  html .header.header-fixed .header-holder{height:auto !important}
  html body{padding-top:0 !important}
}

/* 2) Défilement horizontal sans dépendance (vxg-hscroll.js) : dégradé de bord à droite si contenu à droite,
      à gauche une fois déplacé. Surclasse les masques statiques des rails. */
html .vxg-hscroll{-webkit-mask-image:none;mask-image:none}
html .vxg-hscroll.is-of-right:not(.is-of-left){-webkit-mask-image:linear-gradient(to right,#000 82%,transparent);mask-image:linear-gradient(to right,#000 82%,transparent)}
html .vxg-hscroll.is-of-left:not(.is-of-right){-webkit-mask-image:linear-gradient(to right,transparent,#000 18%);mask-image:linear-gradient(to right,transparent,#000 18%)}
html .vxg-hscroll.is-of-left.is-of-right{-webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent)}
html .vxg-hscroll.is-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none}
html .vxg-hscroll.is-dragging a{pointer-events:none}

/* 3) Overlay Shorts — porté de shorts.css (non chargé hors /shorts/) pour que l'overlay soit stylé partout */
.shorts-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s;pointer-events:none}
.shorts-overlay.visible{opacity:1;pointer-events:all}
.shorts-overlay-close{position:absolute;top:18px;right:18px;width:42px;height:42px;background:rgba(255,255,255,.08);border:none;border-radius:50%;color:#fff;font-size:22px;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;transition:background .2s}
.shorts-overlay-close:hover{background:rgba(255,255,255,.15)}
.shorts-overlay iframe{width:100%;max-width:420px;height:100vh;height:100dvh;max-height:92vh;border:none;border-radius:18px;box-shadow:var(--shadow-elevated)}

/* ====================== INCREMENT N - server Shorts + Lovable video cards ====================== */
/* VXG-v2 : colonnes/gaps de la home gérés par la règle globale .grid-temp (source unique, 2/3/4) — plus de divergence ici */
html .vxg-home .thumb a{display:block;color:inherit;text-decoration:none}
html .vxg-home .thumb .img-holder{
  position:relative;
  aspect-ratio:16/9;
  height:auto;
  padding-bottom:0!important;
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
  isolation:isolate;
}
html .vxg-home .thumb .img-holder::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:16px;
  background:linear-gradient(to top,oklch(0 0 0 / .34),transparent 50%);
  opacity:.78;
  pointer-events:none;
}
html .vxg-home .thumb .img-holder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:16px;
  object-fit:cover;
}
html .vxg-home .thumb .item-bottom{position:static!important}
html .vxg-home .thumb .img-holder .qualtiy{
  position:absolute!important;
  top:8px;
  left:8px;
  z-index:4;
  border-radius:7px;
  padding:4px 8px;
  background:oklch(0 0 0 / .72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:1;
  letter-spacing:.08em;
}
html .vxg-home .thumb .time{
  position:absolute;
  right:8px;
  bottom:8px;
  z-index:4;
  border-radius:7px;
  padding:4px 8px;
  background:oklch(0 0 0 / .82);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
}
html .vxg-home .thumb .item-top{
  position:absolute;
  top:8px;
  right:8px;
  z-index:5;
  display:flex;
  gap:6px;
}
html .vxg-home .thumb .item-top>div{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:9999px;
  background:oklch(0 0 0 / .54);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  color:#fff;
  transition:opacity .22s,background .22s,transform .22s;
}
html .vxg-home .thumb .item-top svg{width:18px;height:18px;fill:currentColor}
html .vxg-home .thumb .vxg-play{z-index:3;border-radius:16px;background:linear-gradient(to top,oklch(0 0 0 / .70),transparent 62%)}
html .vxg-home .thumb .vxg-play::before{width:56px;height:56px}
html .vxg-home .thumb .vxg-likebar{z-index:4;height:3px;border-radius:0 0 16px 16px}
html .vxg-home .thumb .vxg-actors{margin-top:12px;margin-bottom:2px}
html .vxg-home .thumb .vxg-actors .vxg-avatar{width:34px;height:34px;margin-left:-10px}
html .vxg-home .thumb .vxg-actors .vxg-avatar:first-child{margin-left:0}
html .vxg-home .thumb .title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:36px;
  margin-top:8px;
  font-size:14px;
  line-height:1.3;
  font-weight:600;
}
html .vxg-home .thumb .thumb-bottom{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 8px;
  margin-top:7px;
  color:var(--muted-foreground);
}
html .vxg-home .thumb .thumb-bottom .thumb-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  line-height:1.2;
}
/* stats (icônes vues/date masquées, cœur visible, mot « vues », séparateur) → gérées par le bloc générique unifié plus haut */
html .vxg-home .thumb .thumb-bottom .thumb-item+.thumb-item::before{
  content:"";
  width:3px;
  height:3px;
  margin-right:3px;
  border-radius:9999px;
  background:currentColor;
  opacity:.45;
}
@media (min-width:1024px){
  html .vxg-home .thumb .item-top{opacity:0}
  html .vxg-home .thumb a:hover .item-top{opacity:1}
  html .vxg-home .thumb .item-top>div:hover{background:color-mix(in oklab,var(--primary) 88%,black);transform:translateY(-1px)}
}
@media (max-width:767px){
  html .vxg-home .thumb .title{font-size:13px;min-height:35px}
  html .vxg-home .thumb .thumb-bottom .thumb-item{font-size:11px}
}
html .vxg-shorts-section .vxg-shorts-row{display:flex;overflow-x:auto;gap:12px;scrollbar-width:none;padding:4px 0 10px}
html .vxg-shorts-section .vxg-shorts-row::-webkit-scrollbar{display:none}
html .vxg-shorts-section .vxg-short{position:relative;display:block;flex:0 0 144px;aspect-ratio:9/16;overflow:hidden;border-radius:16px;background:var(--surface);box-shadow:var(--shadow-card);color:#fff;text-decoration:none}
@media (min-width:1024px){html .vxg-shorts-section .vxg-short{flex-basis:176px}}

/* ====================== WATCH (page view_video) — mise en page Lovable ====================== */

/* Grille 8/4 desktop : colonne principale + rail droit.
   Le rail fait 340px au total pour garder 300px utiles + 20px de respiration de chaque cote. */
@media (min-width:1024px){
  html .video-inner .video-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
  html .video-inner .col-asside{position:sticky;top:80px;align-self:start;width:340px;max-width:340px;flex:none;margin:0;padding:0 20px;box-sizing:border-box;max-height:calc(100vh - 92px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none}
  html .video-inner .col-asside::-webkit-scrollbar{display:none}
  html .video-inner .col-asside .asside-link{display:block;width:300px;max-width:300px;height:auto;min-height:0;margin:0 0 24px;padding:0;box-sizing:border-box}
  html .video-inner .col-asside .asside-link .table{width:300px;max-width:300px}
  html .video-inner .col-asside .asside-thumb,
  html .video-inner .col-asside .vxg-upnext{width:300px;max-width:300px;box-sizing:border-box}
  html .video-inner .col-asside .asside-link iframe,
  html .video-inner .col-asside .asside-link img,
  html .video-inner .col-asside .asside-link video,
  html .video-inner .col-asside .asside-link object,
  html .video-inner .col-asside .asside-link embed{width:300px!important;max-width:300px!important}
  html .video-inner .col-asside .asside-thumb iframe,
  html .video-inner .col-asside .asside-thumb img,
  html .video-inner .col-asside .asside-thumb video,
  html .video-inner .col-asside .asside-thumb object,
  html .video-inner .col-asside .asside-thumb embed{width:300px;max-width:300px}
}
html .video-inner .col-video{min-width:0}
/* Neutralise le théâtre NATIF KVS (.theatre) : 97vw casse la largeur (overflow), margin 917px pousse l'aside. On utilise html.vxg-theatre, jamais .theatre */
html .theatre .col-video .video{width:auto}
html .theatre .col-asside{margin-top:0}

/* --- Player --- */
html .col-video .player.video{margin:0}
@media (min-width:1024px){
  html .col-video .player-holder,
  html .col-video .player-wrap,
  html .col-video #kt_player{border-radius:16px}
  html .col-video .player-holder{overflow:hidden;box-shadow:var(--shadow-elevated)}
}
@media (max-width:1023px){
  html .col-video .player.video{position:sticky;top:0;z-index:50;background:#000;margin:0 -10px}
}

/* --- Titre H1 + ligne méta --- */
html .col-video .title-holder{display:block;min-width:0;margin:14px 0 0}
@media (max-width:1023px){html .col-video .title-holder{margin-top:10px}}
html .col-video .title-holder .title{font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:20px;line-height:1.2;letter-spacing:-.02em;color:var(--foreground);margin:0}
@media (min-width:1024px){html .col-video .title-holder .title{font-size:24px}}
html .col-video .title-holder .flex{display:flex;flex-wrap:nowrap;align-items:center;gap:0 14px;max-width:100%;margin-top:7px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html .col-video .title-holder .flex::-webkit-scrollbar{display:none}
html .col-video .title-holder .count-item{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}
html .col-video .title-holder .count-item i{display:inline-flex;flex:0 0 auto;margin-right:0}
html .col-video .title-holder .count-item svg{fill:var(--muted-foreground);width:13px;height:13px}

/* --- Barre d'actions (favoris / playlist / download / like-dislike) --- */
html .col-video .video-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 4px}
html .col-video .video-controls .col.second{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
/* règles .btn-favourites de l'ancienne barre retirées — elles écrasaient le popover Enregistrer (vxg-action-bar) */
html .col-video .rate-holder{display:flex;align-items:center;height:46px;border-radius:9999px;background:var(--surface);border:1px solid var(--border);overflow:hidden}
html .col-video .rate-holder .btn{display:inline-flex;align-items:center;gap:7px;height:100%;padding:0 16px;border:0;background:transparent;color:var(--muted-foreground);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
html .col-video .rate-holder .rate-dislike{border-left:1px solid var(--border)}
html .col-video .rate-holder .btn svg{fill:currentColor;width:20px;height:20px}
html .col-video .rate-holder .rate-like.active,html .col-video .rate-holder .rate-like.voted{background:var(--primary);color:#fff}
html .col-video .rate-holder .voters{display:none}

/* --- Onglets --- */
html .col-video .sort-control{display:flex;flex-wrap:wrap;gap:6px;margin:0}
html .col-video .sort-control .tab-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:9999px;background:transparent;border:1px solid transparent;color:var(--muted-foreground);font-size:13px;font-weight:600}
html .col-video .sort-control .tab-btn.active{background:oklch(0.52 0.26 22/.15);color:var(--primary)}
html .col-video .sort-control .tab-btn svg{fill:currentColor;width:16px;height:16px}
@media (min-width:1024px){html .col-video .sort-control .tab-btn:hover{color:var(--foreground)}}

/* --- Bloc Info : description + chips studio/acteurs/cats/tags --- */
html .col-video .block-tabs{margin-top:14px}
html .col-video .block-tabs .description{font-size:14px;line-height:1.65;color:color-mix(in oklab,var(--foreground) 85%,transparent);margin-bottom:14px}
html .col-video .top-options .block{display:flex;flex-wrap:wrap;gap:8px}
html .col-video .top-options .btn-v,
html .col-video .top-options .sub-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 14px 7px 8px;border-radius:12px;background:var(--surface);border:1px solid var(--border);color:var(--foreground);font-size:13px;font-weight:600;transition:border-color .2s,background .2s}
@media (min-width:1024px){html .col-video .top-options .btn-v:hover,html .col-video .top-options .sub-btn:hover{border-color:oklch(0.52 0.26 22/.45);background:var(--surface-elevated)}}
html .col-video .top-options .btn-v img,
html .col-video .top-options .sub-btn img{width:30px;height:30px;border-radius:8px;object-fit:cover}
html .col-video .top-options .sub-btn .count{margin-left:6px;font-size:11px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}
html .col-video .top-options .toggle-btn{min-height:44px;width:44px;justify-content:center;color:var(--muted-foreground)}

html .col-video .block-screenshots img{border-radius:8px}

/* --- Related + rail droit : titres Lovable --- */
html .ralated-holder .heading .title,
html .ralated-holder .sort-holder .title,
html .col-asside .asside-thumb .title,
html .col-asside .asside-link .title{font-family:'Outfit','Inter',sans-serif;font-weight:800;letter-spacing:-.02em;color:var(--foreground)}
html .col-asside .asside-thumb{border-radius:14px;overflow:hidden}

/* --- Ordre like/dislike/jauge + masquage compteur dislike --- */
html .col-video .rate-holder .rate-like{order:0}
html .col-video .rate-holder .rate-dislike{order:1}
html .col-video .rate-holder .vxg-ratio{order:2}
html .col-video .rate-holder .voters{order:3;display:none}
html .col-video .rate-holder .vxg-dn{display:none}
html .col-video .rate-holder .vxg-ratio{display:inline-flex;align-items:center;gap:8px;height:100%;padding:0 14px;border-left:1px solid var(--border)}
html .col-video .rate-holder .vxg-ratio-track{width:64px;height:6px;border-radius:9999px;background:oklch(1 0 0/.1);overflow:hidden}
@media (min-width:1024px){html .col-video .rate-holder .vxg-ratio-track{width:96px}}
html .col-video .rate-holder .vxg-ratio-track i{display:block;height:100%;background:var(--primary)}
html .col-video .rate-holder .vxg-ratio b{font-size:12px;font-weight:600;color:var(--muted-foreground);font-variant-numeric:tabular-nums}

/* --- Eyebrows de section watch --- */
html .col-video .vxg-eyebrow{font-family:'Inter',sans-serif;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:color-mix(in oklab,var(--muted-foreground) 80%,transparent);margin:18px 0 8px}

/* --- Casting portrait 3:4 --- */
html .vxg-cast-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
html .vxg-cast-rail::-webkit-scrollbar{display:none}
html .vxg-cast-card{position:relative;flex:0 0 96px;width:96px;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:var(--surface);display:block;color:#fff;text-decoration:none}
@media (min-width:1024px){html .vxg-cast-card{flex-basis:120px;width:120px}}
html .vxg-cast-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .3s}
@media (min-width:1024px){html .vxg-cast-card:hover img{transform:scale(1.04)}}
html .vxg-cast-grad{position:absolute;inset:0;background:linear-gradient(to top,oklch(0 0 0/.85),transparent 42%);pointer-events:none}
html .vxg-cast-name{position:absolute;left:0;right:0;bottom:0;padding:8px;font-size:12px;font-weight:600;color:#fff;line-height:1.2;z-index:1}
@media (min-width:1024px){html .vxg-cast-name{font-size:13px}}

/* --- EXPLORER mini-cards --- */
html .vxg-explorer-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:4px 22px 6px 0;scroll-snap-type:x proximity;scroll-padding-inline:0 22px}
html .vxg-explorer-rail::-webkit-scrollbar{display:none}
html .vxg-ex-card{display:flex;align-items:center;gap:10px;flex:0 0 auto;height:60px;padding:0 12px 0 8px;border-radius:12px;background:var(--surface);border:1px solid var(--border);color:var(--foreground);text-decoration:none;scroll-snap-align:start;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
/* hover : halo rouge charnel (déclinaison adoucie de --shadow-glow, trop dense pour une mini-carte 60px) */
@media (min-width:1024px){html .vxg-ex-card:hover{transform:translateY(-1px);border-color:rgba(229,0,38,.42);border-color:oklch(0.52 0.26 22/.45);background:var(--surface-elevated);box-shadow:0 0 0 1px rgba(229,0,38,.25),0 8px 26px -12px rgba(229,0,38,.5);box-shadow:0 0 0 1px oklch(0.52 0.26 22/.25),0 8px 26px -12px oklch(0.52 0.26 22/.5)}}
html .vxg-ex-card.is-cat{border-color:var(--border)}
html .vxg-ex-thumb{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:9px;overflow:hidden;background:var(--surface);flex-shrink:0}
html .vxg-ex-thumb img{width:100%;height:100%;object-fit:cover}
html .vxg-ex-hash,html .vxg-ex-card.is-tag .vxg-ex-thumb{background:var(--surface-elevated)}
html .vxg-ex-thumb b{color:#e6002e;color:var(--primary);font-size:20px;font-weight:800}
html .vxg-ex-text{display:flex;flex-direction:column;min-width:0;gap:1px}
html .vxg-ex-label{font-size:14px;font-weight:600;white-space:nowrap;color:var(--foreground)}
html .vxg-ex-card.is-cat .vxg-ex-label{color:var(--foreground)}
html .vxg-ex-count{font-size:12px;color:var(--muted-foreground);white-space:nowrap}
html .vxg-ex-card:focus-visible{outline:2px solid var(--primary-glow);outline-offset:3px;border-color:var(--primary)}

/* Anciennes chips top-options remplacées par Casting + EXPLORER */
html .col-video .top-options{display:none}

/* Description repliée (toggle .expanded déjà géré en JS) */
html .col-video .block-tabs .description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
html .col-video .block-tabs .description.expanded{display:block;-webkit-line-clamp:unset}

/* --- Toast (favoris/partage) --- */
html .vxg-toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translateX(-50%) translateY(10px);z-index:300;background:var(--surface-elevated);color:var(--foreground);border:1px solid var(--border);border-radius:9999px;padding:10px 18px;font-size:13px;font-weight:600;box-shadow:var(--shadow-elevated);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
html .vxg-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media (min-width:1024px){html .vxg-toast{bottom:24px}}

/* --- Timecodes cliquables dans les commentaires --- */
html .vxg-tc{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;margin:0 2px;border-radius:9999px;background:oklch(0.52 0.26 22/.15);color:var(--primary);font-weight:600;font-variant-numeric:tabular-nums;font-size:.92em;border:0;cursor:pointer;vertical-align:baseline}
html .vxg-tc::before{content:"▶";font-size:.7em}
html .vxg-tc:focus-visible{outline:2px solid var(--primary-glow);outline-offset:2px}
@media (min-width:1024px){html .vxg-tc:hover{background:oklch(0.52 0.26 22/.28)}}

/* --- Bottom sheets (acteur / description / commentaires) --- */
html .vxg-sheet-backdrop{position:fixed;inset:0;z-index:120;background:oklch(0 0 0/.55);opacity:0;pointer-events:none;transition:opacity .25s}
html .vxg-sheet-backdrop.open{opacity:1;pointer-events:auto}
html .vxg-sheet{position:fixed;left:0;right:0;bottom:0;z-index:130;display:flex;flex-direction:column;background:#0a0606;border-top:1px solid var(--border);border-radius:18px 18px 0 0;box-shadow:var(--shadow-elevated);transform:translateY(100%);transition:transform .3s ease;max-height:88vh}
html .vxg-sheet.open{transform:translateY(0)}
@media (max-width:1023px){
  /* clampé sous le player sticky : haut = hauteur player 16:9 → la vidéo continue de jouer */
  html .vxg-sheet{top:calc(env(safe-area-inset-top,0px) + 56.25vw);max-height:none}
}
@media (min-width:1024px){
  html .vxg-sheet{left:50%;right:auto;transform:translate(-50%,120%);width:440px;max-width:92vw;bottom:24px;border-radius:18px}
  html .vxg-sheet.open{transform:translate(-50%,0)}
}
html .vxg-sheet-head{display:flex;align-items:center;gap:10px;padding:14px 14px 10px;position:relative;flex-shrink:0;cursor:grab;touch-action:none}
html .vxg-sheet-handle{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:40px;height:4px;border-radius:9999px;background:oklch(1 0 0/.2)}
html .vxg-sheet-title{flex:1;font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:16px;color:var(--foreground)}
html .vxg-sheet-title:empty{display:none}
html .vxg-sheet-close{width:44px;height:44px;border:0;background:oklch(1 0 0/.06);border-radius:9999px;color:var(--foreground);font-size:22px;line-height:1;cursor:pointer;flex-shrink:0;margin-left:auto}
html .vxg-sheet-close:focus-visible{outline:2px solid var(--primary-glow);outline-offset:2px}
html .vxg-sheet-body{flex:1;overflow-y:auto;padding:4px 16px 24px;-webkit-overflow-scrolling:touch}
html .vxg-sheet-body .description{display:block;-webkit-line-clamp:unset;font-size:15px;line-height:1.7;color:var(--foreground);cursor:auto}
html body.vxg-sheet-open{overflow:hidden}

/* contenu sheet acteur */
html .vxg-actor-top{display:flex;align-items:center;gap:14px;padding:6px 0 14px}
html .vxg-actor-photo{width:80px;height:80px;border-radius:9999px;object-fit:cover;border:none;box-shadow:0 0 0 2px var(--background),0 0 0 4px oklch(0.52 0.26 22/.65);flex-shrink:0;margin:4px}
html .vxg-actor-name{display:block;font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:18px;color:var(--foreground)}
html .vxg-actor-handle{display:block;font-size:13px;color:var(--muted-foreground);margin-top:2px}
html .vxg-actor-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
html .vxg-actor-stats > div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px;border-radius:12px;background:color-mix(in oklab,var(--surface) 60%,transparent);border:1px solid var(--border)}
html .vxg-actor-stats b{font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:16px;color:var(--foreground);font-variant-numeric:tabular-nums}
html .vxg-actor-stats span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted-foreground)}
html .vxg-actor-bio{font-size:13px;line-height:1.5;color:color-mix(in oklab,var(--foreground) 85%,transparent);margin:25px 0 16px}
html .vxg-actor-actions{display:flex;gap:10px}
html .vxg-actor-actions a,html .vxg-actor-actions button{flex:1;display:inline-flex;align-items:center;justify-content:center;height:48px;border-radius:9999px;font-size:14px;font-weight:700;text-decoration:none;border:none;cursor:pointer}
html .vxg-btn-brand{background-image:var(--gradient-brand);color:#fff;box-shadow:var(--shadow-glow)}
html .vxg-btn-ghost{background:var(--surface);border:1px solid var(--border);color:var(--foreground)}

/* --- Rail "À suivre" (sidebar desktop) --- */
html .col-asside .vxg-upnext{margin-top:16px}
@media (max-width:1023px){html .col-asside .vxg-upnext{display:none}}
html .vxg-upnext-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
html .vxg-upnext-title{font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:16px;color:var(--foreground)}
html .vxg-autoplay{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground);cursor:pointer;user-select:none}
html .vxg-switch{position:relative;width:34px;height:20px;border-radius:9999px;background:var(--primary);transition:background .2s;flex-shrink:0}
html .vxg-switch::after{content:"";position:absolute;top:2px;left:16px;width:16px;height:16px;border-radius:9999px;background:#fff;transition:left .2s}
html .vxg-switch.off{background:oklch(1 0 0/.18)}
html .vxg-switch.off::after{left:2px}
html .vxg-upnext-item{display:flex;gap:10px;padding:6px;border-radius:12px;text-decoration:none;margin-bottom:2px}
@media (min-width:1024px){html .vxg-upnext-item:hover{background:oklch(1 0 0/.05)}}
html .vxg-up-thumb{position:relative;flex:0 0 150px;width:150px;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--surface)}
html .vxg-up-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html .vxg-up-text{display:flex;flex-direction:column;min-width:0;gap:3px}
html .vxg-up-title{font-size:13px;font-weight:600;line-height:1.3;color:var(--foreground);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html .vxg-up-meta{font-size:11px;color:var(--muted-foreground)}

/* --- Bannière 300x100 sous le player (mobile) --- */
html .vxg-mobile-adband{min-height:118px;background:#0f0909;margin:10px -10px;padding:8px 10px;text-align:center}
html .vxg-mobile-adband .vxg-ad-label{display:block;font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#5e5454;margin-bottom:6px}

/* --- Tab-bar mobile : auto-hide au scroll (page watch) --- */
html .vxg-bottomnav{transition:transform .3s ease}
/* pilule flottante : 110% laisserait un liseré (gap 6px) → on pousse au-delà du bord */
html .vxg-bottomnav.vxg-nav-hidden{transform:translateY(calc(100% + 20px + env(safe-area-inset-bottom,0px)))}

/* ====================== INCREMENT O - categories rail without Swiper ====================== */
html .vxg-home .vxg-categories-rail{
  display:flex;
  flex-wrap:nowrap;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  margin:0;
  padding:4px 0 10px;
  -webkit-overflow-scrolling:touch;
}
html .vxg-home .vxg-categories-rail::-webkit-scrollbar{display:none}
html .vxg-home .vxg-categories-rail .thumb{
  flex:0 0 220px;
  width:220px;
  padding:0;
}
html .vxg-home .vxg-categories-rail .thumb a{display:block}
html .vxg-home .vxg-categories-rail .img-holder{
  aspect-ratio:4/3;
  width:100%;
  height:auto;
  padding-bottom:0!important;
  border-radius:16px;
  overflow:hidden;
  background:var(--surface);
  box-shadow:var(--shadow-card);
}
html .vxg-home .vxg-categories-rail .img-holder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
}
html .vxg-home .vxg-categories-rail .cat-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  display:block;
  padding:14px;
  background:linear-gradient(to top,oklch(0 0 0 / .92),oklch(0 0 0 / .36) 62%,transparent);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
html .vxg-home .vxg-categories-rail .cat-title .title{
  display:block;
  margin:0;
  color:#fff;
  font-family:"Outfit",sans-serif;
  font-size:16px;
  font-weight:800;
  line-height:1.1;
  white-space:normal;
  overflow:hidden;
  text-overflow:ellipsis;
}
html .vxg-home .vxg-categories-rail .cat-title .thumb-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin:6px 10px 0 0;
  color:oklch(1 0 0 / .78);
  font-size:11px;
  line-height:1.2;
}
html .vxg-home .vxg-categories-rail .cat-title .thumb-item svg{width:12px;height:12px;fill:currentColor}
@media (min-width:1024px){
  html .vxg-home .vxg-categories-rail .thumb{flex-basis:252px;width:252px}
  html .vxg-home .vxg-categories-rail .thumb a:hover .img-holder img{transform:scale(1.08)}
}
@media (max-width:767px){html .vxg-home .vxg-categories-rail .thumb{flex-basis:190px;width:190px}}

/* ============================================================================
   CHROME MOBILE — app-first : AUCUN header sur mobile, seulement la tab bar basse
   ----------------------------------------------------------------------------
   Réf. Lovable : <SiteHeader> est `hidden lg:block` et <MiniSidebar> `hidden lg:flex`
   → tous deux ABSENTS sous 1024px ; le seul chrome mobile est .vxg-bottomnav.
   On ne supprime PAS le <header> du DOM : il héberge le menu (.header-nav, frère de
   .header-holder) et reçoit la classe .search-open. On masque seulement sa BARRE
   visible (.header-holder + .header-links) et on garde .search (overlay recherche)
   et .header-nav (menu) déclenchables par la tab bar — les triggers (.menu-icon,
   .btn-mobile.search-js) restent dans le DOM et cliquables via .click() proxifié
   (vxg-home.js), même en display:none. Bloc en fin de fichier → gagne par l'ordre.
   ============================================================================ */
@media (max-width:1023px){
  /* 1. Le wrapper header ne réserve aucun espace ni visuel (reste dans le flux/DOM). */
  html .header{position:sticky;top:0;height:0;min-height:0;background:transparent;border:0;box-shadow:none;z-index:130}
  html .header.header-fixed{position:sticky !important;max-height:none !important;height:0 !important;z-index:130 !important}
  html .header-links{display:none !important}
  html body{padding-top:0 !important}

  /* 2. La barre (logo / burger / trigger recherche / actions) est masquée.
        Les triggers restent dans le DOM (display:none reste cliquable via .click()). */
  html .header-holder{height:0;min-height:0;padding:0 !important;margin:0;border:0;background:transparent;overflow:visible;position:relative}
  html .header-holder .container,
  html .header-holder .header-inner{min-height:0;padding:0;margin:0}
  html .header-holder .logo,
  html .header-holder .menu-icon,
  html .header-holder .buttons-col,
  html .header-holder .btn-mobile{display:none !important}
  /* header-fixed (au scroll) ne doit jamais réafficher la barre */
  html .header.header-fixed .header-holder{height:0 !important;padding:0 !important}

  /* 3. RECHERCHE — overlay plein écran : styles déplacés dans vxg-search.css
        (gating html.vxg-search-ready, déclencheur .search-open inchangé). */


  /* 5. Offsets sticky : plus de header → on colle au haut du viewport. */
  html .vxg-chips,
  html .vxg-home .vxg-chips{top:0}
}

/* ====================== INCREMENT P - thumbnail contextual menu ====================== */
html .vxg-thumb-card{position:relative;isolation:isolate}
html .vxg-thumb-menu-trigger{position:absolute;top:12px;right:12px;z-index:12;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid oklch(1 0 0/.12);border-radius:9999px;background:oklch(0 0 0/.68);color:#fff;box-shadow:0 12px 28px oklch(0 0 0/.32);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:0;transform:translateY(-2px) scale(.96);transition:opacity .18s ease,transform .18s ease,background .18s ease;cursor:pointer}
html .vxg-thumb-menu-trigger span{display:block;font-size:22px;line-height:1;transform:translateY(-1px)}
html .vxg-thumb-menu-trigger:focus-visible{opacity:1;outline:2px solid var(--primary);outline-offset:2px}
@media (hover:hover) and (pointer:fine){html .vxg-thumb-card:hover .vxg-thumb-menu-trigger,html .vxg-thumb-card.is-menu-open .vxg-thumb-menu-trigger{opacity:1;transform:translateY(0) scale(1)}html .vxg-thumb-menu-trigger:hover{background:oklch(0 0 0/.84)}}
@media (hover:none),(pointer:coarse){html .vxg-thumb-menu-trigger{display:none}}
html .vxg-thumb-menu{position:absolute;top:52px;right:12px;z-index:40;width:230px;padding:6px;border:1px solid var(--border);border-radius:14px;background:color-mix(in oklab,var(--surface-elevated) 94%,#000);box-shadow:var(--shadow-elevated);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transform-origin:top right;animation:vxg-menu-in .16s ease both}
html .vxg-thumb-menu[hidden]{display:none!important}
html .vxg-thumb-menu button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:var(--foreground);font:600 13px/1.2 'Inter',Roboto,sans-serif;text-align:left;cursor:pointer}
html .vxg-thumb-menu button:hover,html .vxg-thumb-menu button:focus-visible{background:oklch(1 0 0/.07);outline:0}
html .vxg-thumb-menu button:disabled{opacity:.45;cursor:not-allowed}
html .vxg-thumb-menu .svg-icon{width:18px;height:18px;flex:0 0 18px;color:currentColor;fill:currentColor}
html .vxg-thumb-menu .vxg-share-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html .vxg-thumb-menu button.is-active{color:var(--primary);background:oklch(0.52 0.26 22/.13)}
html .vxg-thumb-card.is-menu-open .vxg-thumb-menu-trigger{opacity:1;transform:translateY(0) scale(1);background:oklch(0 0 0/.86)}
html .vxg-thumb-card.is-local-watch::after{content:"";position:absolute;top:12px;left:12px;z-index:5;width:8px;height:8px;border-radius:9999px;background:var(--primary);box-shadow:0 0 0 4px oklch(0.52 0.26 22/.22),var(--shadow-glow);pointer-events:none}
@keyframes vxg-menu-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media (max-width:1023px){html .vxg-thumb-menu{position:fixed;top:auto;left:12px;right:12px;bottom:calc(90px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;border-radius:18px;padding:8px;transform-origin:bottom center}html .vxg-thumb-menu button{min-height:48px;font-size:14px}}
/* ====================== PAGE VIDÉO — mode théâtre ====================== */
/* (bouton théâtre désormais dans la barre du player : .fp-wide — voir kt_player.js) */
@media (min-width:1024px){
  /* Mode théâtre (façon YouTube) : player PLEINE LARGEUR en haut, puis contenu (gauche) + sidebar (droite). */
  html.vxg-theatre .video-inner .video-cols{grid-template-columns:minmax(0,1fr) 340px;column-gap:28px;row-gap:0;align-items:start}
  /* .col-video dissous → ses enfants (player, titre, casting, related, commentaires) deviennent items de la grille */
  html.vxg-theatre .video-inner .col-video{display:contents}
  /* le player s'étend sur les 2 colonnes (pleine largeur), en haut ; pas de sticky ni marges négatives ici */
  html.vxg-theatre .video-inner .col-video > .player.video{grid-column:1 / -1;position:static;margin:0 0 20px;z-index:auto}
  /* tout le reste du contenu de la colonne vidéo → colonne 1 */
  html.vxg-theatre .video-inner .col-video > :not(.player.video){grid-column:1}
  /* sidebar : n'est PLUS masquée → colonne 2 = 300px utiles + padding, sans rogner les bannieres 300px */
  html.vxg-theatre .video-inner .col-asside{grid-column:2;grid-row:2 / span 99;width:340px;max-width:340px;margin:0;padding:0 20px;box-sizing:border-box}
  html.vxg-theatre .video-inner .col-asside .asside-link{width:300px;max-width:300px;margin:0 0 24px;padding:0;box-sizing:border-box}
}

/* ====================== PAGE VIDÉO — réactions emoji time-codées ====================== */
html .col-video .player-wrap .vxg-react-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:5}
html .vxg-react-float{position:absolute;bottom:72px;font-size:30px;line-height:1;will-change:transform,opacity;animation:vxg-react-rise 2.3s ease-out forwards;pointer-events:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}
@keyframes vxg-react-rise{0%{opacity:0;transform:translateY(0) translateX(0) scale(.6)}12%{opacity:1;transform:translateY(-22px) translateX(calc(var(--dx,0px)*.3)) scale(1.1)}100%{opacity:0;transform:translateY(-220px) translateX(var(--dx,0px)) scale(.85) rotate(6deg)}}
/* Déclencheur réactions DANS la barre de contrôle (.fp-controls, calqué sur les boutons natifs qualité/plein écran) */
html .fp-controls .fp-vxg-react{position:relative;float:right;margin:5px 0 0 0;width:30px;height:32px;padding:2px 5px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;line-height:1;color:#eee;opacity:.95;transition:opacity .15s,transform .15s}
html .fp-controls .fp-vxg-react:hover{opacity:1;transform:scale(1.1)}
/* Bouton mode théâtre dans la barre (créé par vxg-watch.js, calqué sur les boutons natifs) */
html .fp-controls .fp-wide{position:relative;float:right;right:auto;bottom:auto;left:auto;top:auto;margin:5px 0 0 0;width:30px;height:32px;padding:2px 5px;box-sizing:border-box;cursor:pointer;color:#eee;background:none;display:flex;align-items:center;justify-content:center;transition:color .15s ease}
html .fp-controls .fp-wide:hover{color:#fff}
html .fp-controls .fp-wide.is-active{color:#EE2D3E}
/* Icône théâtre = rectangle arrondi en contour, dessiné en CSS (bordure currentColor) — pas de SVG */
html .fp-controls .fp-wide::before{content:"";display:block;width:18px;height:13px;border:2px solid currentColor;border-radius:3px;box-sizing:border-box}
html .col-video .player-wrap .vxg-react-bar{position:absolute;right:8px;bottom:52px;z-index:2147483646;display:flex;gap:2px;padding:6px 8px;border-radius:9999px;background:oklch(0 0 0/.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid oklch(1 0 0/.12)}
html .col-video .player-wrap .vxg-react-bar[hidden]{display:none}
html .col-video .player-wrap .vxg-react-emoji{width:38px;height:38px;border-radius:9999px;font-size:22px;line-height:1;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .12s}
html .col-video .player-wrap .vxg-react-emoji:hover{transform:scale(1.25)}
html .col-video .player-wrap .vxg-react-emoji:active{transform:scale(1.08)}

/* ====================== PAGE VIDÉO — watermark + flash seek ====================== */
html .col-video .player-wrap .vxg-watermark{position:absolute;top:11px;right:14px;z-index:5;font-family:'Outfit','Inter',sans-serif;font-weight:800;font-size:15px;letter-spacing:.16em;color:#fff;opacity:.45;pointer-events:none;text-shadow:0 1px 4px rgba(0,0,0,.55)}
@media (min-width:1024px){html .col-video .player-wrap .vxg-watermark{right:58px}} /* dégage le bouton théâtre */
html .col-video .player-wrap .vxg-seek-flash{position:absolute;top:50%;z-index:60;display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px 18px;border-radius:16px;background:oklch(0 0 0/.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;pointer-events:none;animation:vxg-seek-fade .6s ease-out forwards}
html .col-video .player-wrap .vxg-seek-flash.left{left:14%}
html .col-video .player-wrap .vxg-seek-flash.right{right:14%}
html .col-video .player-wrap .vxg-seek-flash svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html .col-video .player-wrap .vxg-seek-flash b{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
@keyframes vxg-seek-fade{0%{opacity:0;transform:translateY(-50%) scale(.82)}22%{opacity:1;transform:translateY(-50%) scale(1)}100%{opacity:0;transform:translateY(-50%) scale(1)}}

/* ====================== Badge NEW ====================== */
html .thumb .img-holder .vxg-new{position:absolute;top:8px;right:8px;z-index:2;background:var(--primary);color:#fff;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1;padding:4px 7px;border-radius:8px;box-shadow:var(--shadow-glow);pointer-events:none}

/* ====================== Lot A — sidebar layout + description card + favoris ====================== */
/* Listings DANS la colonne vidéo → grille related plus étroite (sidebar "À suivre" court en regard) */
@media (min-width:1024px){html .col-video .grid-temp{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1440px){html .col-video .grid-temp{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Favoris : heart pop + burst */
@keyframes vxg-heart-pop{0%{transform:scale(1)}35%{transform:scale(1.35)}60%{transform:scale(.92)}100%{transform:scale(1)}}
html .btn-favourites .vxg-heart-pop{animation:vxg-heart-pop .42s cubic-bezier(.4,1.6,.55,1) both}
html .btn-favourites a[data-fav-type="0"]{position:relative}
html .btn-favourites .vxg-heart-burst{position:absolute;inset:0;border-radius:9999px;border:2px solid var(--primary);animation:vxg-heart-burst .56s ease-out forwards;pointer-events:none}
@keyframes vxg-heart-burst{0%{transform:scale(.4);opacity:.85}100%{transform:scale(1.85);opacity:0}}

/* ====================== Playlists « Apparaît dans les playlists » (page vidéo) — carte V4 mosaïque, rail 1 ligne swipe ====================== */
html .col-video .vxg-watch-content-heading{display:flex;align-items:center;min-height:28px;margin:32px 0 14px;padding:0}
html .col-video .vxg-watch-content-heading .title{margin:0;font-family:'Outfit','Inter',sans-serif;font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.01em;color:var(--foreground)}
html #list_playlists_playlists_items.playlist-thumbs{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;margin:0;padding:0 2px 14px;-webkit-mask-image:linear-gradient(to right,#000 94%,transparent);mask-image:linear-gradient(to right,#000 94%,transparent)}
html #list_playlists_playlists_items.playlist-thumbs::-webkit-scrollbar{display:none}
html #list_playlists_playlists_items .thumb{flex:0 0 auto;width:250px;margin:0;padding:0}
html #list_playlists_playlists_items .thumb a{display:block;text-decoration:none}
/* mosaïque : couverture (2 lignes) + 2 aperçus ; les img sont en cellules => plus AUCUNE superposition (fix effet fantôme rotator/lazy) */
html #list_playlists_playlists_items .img-holder{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:3px;position:relative;aspect-ratio:16/9;height:auto;padding:0;margin:0;border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-card)}
html #list_playlists_playlists_items .img-holder img{position:static!important;width:100%!important;height:100%!important;object-fit:cover;display:block!important;opacity:1!important;border:0!important;border-radius:0;transition:none;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;z-index:auto!important}
html #list_playlists_playlists_items .img-holder img.video1{grid-column:1;grid-row:1/3}
html #list_playlists_playlists_items .img-holder img:nth-of-type(n+4){display:none!important}
html #list_playlists_playlists_items .img-holder[data-more]::after{content:attr(data-more);position:absolute;right:0;bottom:0;width:calc((100% - 3px)/3);height:calc((100% - 3px)/2);display:flex;align-items:center;justify-content:center;background:oklch(0 0 0/.62);color:#fff;font:800 14px/1 'Outfit','Inter',sans-serif;pointer-events:none}
html #list_playlists_playlists_items .thumb .no-thumb{grid-column:1/-1;grid-row:1/3;display:flex;align-items:center;justify-content:center;color:var(--muted-foreground);font-size:11px}
html #list_playlists_playlists_items .thumb .title{margin:8px 0 0;padding:0;font:600 13px/1.35 'Inter',sans-serif;color:var(--foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html #list_playlists_playlists_items .thumb .thumb-bottom{display:flex;gap:12px;margin-top:2px;padding:0}
html #list_playlists_playlists_items .thumb .thumb-bottom .thumb-item{font-size:11.5px;color:var(--muted-foreground);display:flex;align-items:center;gap:4px;padding:0;margin:0}
html #list_playlists_playlists_items .thumb .thumb-bottom .thumb-item svg{fill:var(--muted-foreground);width:12px;height:12px}
@media (min-width:1024px){html #list_playlists_playlists_items .thumb a:hover .title{color:var(--primary-glow)}}
@media (max-width:767px){html .col-video .vxg-watch-content-heading{margin-top:28px;margin-bottom:12px}html .col-video .vxg-watch-content-heading .title{font-size:19px}}
@media (max-width:479px){html #list_playlists_playlists_items .thumb{width:216px}}

/* ====================== Filtres du bloc « Vidéos similaires » ====================== */
html .ralated-holder .sort-holder{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;margin:0 0 14px;padding:2px 0;-webkit-mask-image:linear-gradient(to right,#000 94%,transparent);mask-image:linear-gradient(to right,#000 94%,transparent)}
html .ralated-holder .sort-holder:empty{display:none}
html .ralated-holder .sort-holder::-webkit-scrollbar{display:none}
html .ralated-holder .sort-holder span,
html .ralated-holder .sort-holder a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:38px;margin:0;padding:8px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--muted-foreground);font-size:13px;font-weight:650;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}
@media (min-width:1024px){html .ralated-holder .sort-holder a:hover{border-color:rgba(229,0,38,.48);border-color:oklch(0.52 0.26 22/.5);color:var(--foreground)}}
html .ralated-holder .sort-holder span{background:var(--surface-elevated);border-color:var(--input);color:var(--foreground);font-weight:700;cursor:default;box-shadow:none}
html .ralated-holder .sort-holder a:focus-visible{outline:2px solid var(--primary-glow);outline-offset:2px}

/* ====================== Lot B — emplacements pub (slot natif + sticky 320x50) ====================== */
html .vxg-native-ad{margin:14px 0}
html .vxg-ad-label{display:block;font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-foreground);margin-bottom:6px}
html .vxg-native-ad .vxg-ad-slot{display:flex;justify-content:center}
html .vxg-sticky-ad{display:none}
@media (max-width:1023px){
  /* au-dessus de la pilule flottante (58px + 6px de gap + marge) */
  html .vxg-sticky-ad{display:block;position:fixed;left:0;right:0;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:190;padding:4px 8px;background:color-mix(in oklab,var(--background) 95%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center}
  html .vxg-sticky-ad .vxg-ad-label{margin:0 0 2px}
  html .vxg-sticky-ad .vxg-ad-slot{justify-content:center}
}

/* ====================== Lot C — up-next + follow + playlist sheet ====================== */
html .vxg-up-hidden{display:none}
/* vidéo en cours de lecture : masquée (ceinture — le bloc upnext l'exclut déjà côté moteur) */
html .vxg-up-current{display:none}
html .vxg-upnext-more{display:block;width:100%;margin-top:10px;padding:9px;border-radius:9999px;border:1px solid var(--border);background:transparent;color:var(--foreground);font-size:13px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}
html .vxg-upnext-more[hidden]{display:none}
@media (min-width:1024px){html .vxg-upnext-more:hover{background:oklch(1 0 0/.05);border-color:oklch(0.52 0.26 22/.4)}}
/* follow button state */
html .vxg-actor-actions .vxg-btn-brand.is-following{background-image:none;background:var(--surface-elevated);color:var(--primary);box-shadow:none}
html .vxg-actor-actions .vxg-btn-brand[disabled]{opacity:.6;pointer-events:none}
/* playlist .fav-drop rendue en liste dans la sheet (override dropdown KVS) */
html .vxg-sheet .fav-drop{position:static!important;display:block!important;opacity:1!important;visibility:visible!important;background:transparent!important;border:none!important;box-shadow:none!important;width:auto!important;max-height:none!important;transform:none!important;margin:0;padding:0}
html .vxg-sheet .fav-drop li{list-style:none}
html .vxg-sheet .fav-drop li.separator{height:1px;background:var(--border);margin:6px 0}
html .vxg-sheet .fav-drop li.hidden{display:none}
html .vxg-sheet .fav-drop a{display:block;padding:12px 14px;border-radius:10px;color:var(--foreground);font-size:14px}
@media (min-width:1024px){html .vxg-sheet .fav-drop a:hover{background:oklch(1 0 0/.06)}}
html .vxg-sheet .fav-drop li span{display:flex;align-items:center;justify-content:space-between;gap:8px}
html .vxg-sheet .fav-drop .delete{color:var(--muted-foreground)}

/* ====================== Correctifs : actor-sheet icônes + playlist layout ====================== */
/* #1 icônes par stat dans la mini-sheet acteur */
html .vxg-actor-stats > div svg{width:14px;height:14px;fill:var(--muted-foreground);margin-bottom:2px}
/* #2 (obsolète) : ancien verrou carrousel playlists retiré — remplacé par les règles #list_playlists_playlists_items (carte V4) */

/* ====================== INCREMENT Q - cartes video VXG optimisees ====================== */
html .thumb.vxg-thumb-card{padding:6px 8px}
html .grid-temp .thumb.vxg-thumb-card{width:auto}
html .thumb.vxg-thumb-card .vxg-card-thumb-link,
html .thumb.vxg-thumb-card .vxg-card-title-link{display:block;color:inherit;text-decoration:none}
html .thumb.vxg-thumb-card .img-holder{
  position:relative;
  aspect-ratio:16/9;
  height:auto;
  padding-bottom:0!important;
  margin-bottom:0;
  overflow:hidden;
  border-radius:16px;
  background:var(--surface);
  box-shadow:var(--shadow-card);
  isolation:isolate;
}
html .thumb.vxg-thumb-card .img-holder::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:inherit;
  background:linear-gradient(to top,oklch(0 0 0/.42),oklch(0 0 0/.08) 48%,transparent 72%);
  opacity:.9;
  pointer-events:none;
  transition:opacity .25s ease;
}
html .thumb.vxg-thumb-card .img-holder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover;
  object-position:center;
  transform:translateZ(0);
  transition:transform .7s cubic-bezier(.2,.8,.2,1);
}
html .thumb.vxg-thumb-card .vxg-card-badges{
  position:absolute;
  top:8px;
  left:8px;
  z-index:6;
  display:flex;
  align-items:center;
  gap:6px;
  max-width:calc(100% - 58px);
  pointer-events:none;
}
html .thumb.vxg-thumb-card .img-holder .qualtiy,
html .thumb.vxg-thumb-card .img-holder .vxg-new{
  position:static!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  margin:0;
  border-radius:7px;
  padding:4px 8px;
  font-size:10px;
  font-weight:800;
  line-height:1;
  letter-spacing:.08em;
  color:#fff;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  white-space:nowrap;
}
html .thumb.vxg-thumb-card .img-holder .qualtiy{background:oklch(0 0 0/.72)}
html .thumb.vxg-thumb-card .img-holder .vxg-new{background:var(--primary);box-shadow:var(--shadow-glow)}
html .thumb.vxg-thumb-card .item-bottom{
  position:absolute!important;
  right:8px;
  bottom:8px;
  z-index:6;
  display:block;
}
html .thumb.vxg-thumb-card .time{
  position:static;
  display:inline-flex;
  align-items:center;
  min-height:22px;
  border-radius:7px;
  padding:4px 8px;
  background:oklch(0 0 0/.82);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
html .thumb.vxg-thumb-card .vxg-status-badge{
  position:absolute;
  left:50%;
  top:50%;
  z-index:7;
  transform:translate(-50%,-50%);
  max-width:calc(100% - 24px);
  border-radius:9999px;
  padding:7px 10px;
  background:oklch(0 0 0/.72);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-align:center;
  white-space:nowrap;
}
html .thumb.vxg-thumb-card .vxg-play{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:inherit;
  background:linear-gradient(to top,oklch(0 0 0/.7),transparent 62%);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
html .thumb.vxg-thumb-card .vxg-play::before{
  content:"";
  position:absolute;
  width:56px;
  height:56px;
  border-radius:9999px;
  background:var(--gradient-brand);
  box-shadow:var(--shadow-glow);
}
html .thumb.vxg-thumb-card .vxg-play svg{
  position:relative;
  z-index:1;
  width:24px;
  height:24px;
  margin-left:3px;
  fill:#fff;
  color:#fff;
}
html .thumb.vxg-thumb-card .vxg-likebar{
  z-index:6;
  height:3px;
  border-radius:0 0 16px 16px;
  background:oklch(1 0 0/.12);
}
html .thumb.vxg-thumb-card .vxg-likebar span{background:var(--primary)}
html .thumb.vxg-thumb-card .vxg-card-meta{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:12px;
  min-width:0;
}
html .thumb.vxg-thumb-card .vxg-actors{
  flex:0 0 auto;
  display:flex;
  margin-top:1px;
}
html .thumb.vxg-thumb-card .vxg-actors:empty{display:none}
html .thumb.vxg-thumb-card .vxg-avatar{
  width:36px;
  height:36px;
  border-radius:9999px;
  border:2px solid var(--background);
  object-fit:cover;
  background:var(--surface-elevated);
}
html .thumb.vxg-thumb-card .vxg-avatar+img{margin-left:-10px}
html .thumb.vxg-thumb-card .vxg-card-text{min-width:0;flex:1 1 auto}
html .thumb.vxg-thumb-card .title{
  display:-webkit-box;
  min-height:38px;
  margin:0;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  color:var(--foreground);
  font-family:'Inter',Roboto,sans-serif;
  font-size:15px;
  font-weight:650;
  line-height:1.28;
  transition:color .2s ease;
}
html .thumb.vxg-thumb-card .vxg-card-models{
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted-foreground);
  font-size:12px;
  line-height:1.2;
}
html .thumb.vxg-thumb-card .thumb-bottom{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 8px;
  margin-top:7px;
  color:var(--muted-foreground);
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin:0;
  padding-left:0;
  color:var(--muted-foreground);
  font-size:12px;
  line-height:1.2;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item i{display:none}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes i{display:inline-flex}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item svg{fill:var(--muted-foreground)}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes svg{width:13px;height:13px;fill:var(--primary)}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item+.thumb-item::before{
  content:"";
  width:3px;
  height:3px;
  margin-right:3px;
  border-radius:9999px;
  background:currentColor;
  opacity:.45;
}
html .thumb.vxg-thumb-card .vxg-card-bookmark{
  flex:0 0 auto;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border:0;
  border-radius:9999px;
  background:transparent;
  color:var(--muted-foreground);
  cursor:pointer;
  font:inherit;
  transition:opacity .2s ease,background .2s ease,color .2s ease,transform .2s ease;
}
html .thumb.vxg-thumb-card .vxg-card-bookmark svg{width:19px;height:19px;fill:none;stroke:currentColor}
html .thumb.vxg-thumb-card .vxg-card-bookmark:hover,
html .thumb.vxg-thumb-card .vxg-card-bookmark:focus-visible{
  background:oklch(1 0 0/.08);
  color:var(--foreground);
  outline:0;
}
html .thumb.vxg-thumb-card .vxg-card-bookmark.is-active,
html .thumb.vxg-thumb-card .vxg-card-bookmark.fixed{
  background:oklch(0.52 0.26 22/.13);
  color:var(--primary);
}
html .thumb.vxg-thumb-card .item-top{display:none!important}
html .vxg-thumb-card.is-local-watch::after{display:none!important}
html .vxg-thumb-card .vxg-thumb-menu-trigger{top:8px;right:8px}
html .vxg-thumb-card .vxg-thumb-menu{top:48px;right:8px}
@media (hover:hover) and (pointer:fine){
  html .thumb.vxg-thumb-card .vxg-card-thumb-link:hover .img-holder img{transform:scale(1.08)}
  html .thumb.vxg-thumb-card .vxg-card-thumb-link:hover .img-holder::after{opacity:1}
  html .thumb.vxg-thumb-card .vxg-card-thumb-link:hover .vxg-play{opacity:1}
  html .thumb.vxg-thumb-card .vxg-card-title-link:hover .title{color:var(--primary)}
  html .thumb.vxg-thumb-card .vxg-card-bookmark{opacity:0}
  html .thumb.vxg-thumb-card:hover .vxg-card-bookmark,
  html .thumb.vxg-thumb-card .vxg-card-bookmark:focus-visible,
  html .thumb.vxg-thumb-card .vxg-card-bookmark.is-active,
  html .thumb.vxg-thumb-card .vxg-card-bookmark.fixed{opacity:1}
}
@media (max-width:1023px){
  html .thumb.vxg-thumb-card .vxg-play{display:none}
  html .thumb.vxg-thumb-card .vxg-card-bookmark{width:36px;height:36px}
  html .thumb.vxg-thumb-card .vxg-card-bookmark svg{width:18px;height:18px}
}
@media (max-width:767px){
  html .thumb.vxg-thumb-card{padding:5px}
  html .thumb.vxg-thumb-card .img-holder{border-radius:14px}
  html .thumb.vxg-thumb-card .vxg-card-meta{gap:8px;margin-top:9px}
  html .thumb.vxg-thumb-card .vxg-avatar{width:38px;height:38px}
  html .thumb.vxg-thumb-card .vxg-avatar+img{margin-left:-11px}
  html .thumb.vxg-thumb-card .title{min-height:34px;font-size:13px;line-height:1.28}
  html .thumb.vxg-thumb-card .vxg-card-models{display:none}
  html .thumb.vxg-thumb-card .thumb-bottom{gap:4px 6px;margin-top:6px}
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{font-size:11px}
  html .thumb.vxg-thumb-card .thumb-item-date{display:none!important}
  html .thumb.vxg-thumb-card .vxg-card-bookmark{width:32px;height:32px;margin-top:-2px}
  html .thumb.vxg-thumb-card .img-holder .qualtiy,
  html .thumb.vxg-thumb-card .img-holder .vxg-new{min-height:18px;padding:3px 6px;font-size:9px}
  html .thumb.vxg-thumb-card .time{min-height:20px;padding:3px 6px;font-size:11px}
}
/* ====================== INCREMENT R - home video grid spacing / title scale ====================== */
/* Lovable: spacing belongs to the grid (gap-3 / lg:gap-4), not to an inner .thumb padding. */
html .vxg-home .vxg-video-section .grid-temp{
  display:grid!important;
  column-gap:14px!important;
  row-gap:26px!important;
  align-items:start;
}
html .vxg-home .vxg-video-section .grid-temp>li{min-width:0;margin:0!important}
html .vxg-home .vxg-video-section .grid-temp .thumb.vxg-thumb-card{padding:0!important;width:auto}
@media (min-width:640px){
  html .vxg-home .vxg-video-section .grid-temp{column-gap:16px!important;row-gap:28px!important}
}
@media (min-width:1024px){
  html .vxg-home .vxg-video-section .grid-temp{column-gap:16px!important;row-gap:34px!important}
}
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .vxg-card-meta{margin-top:10px}
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{
  min-height:35px;
  font-size:14px;
  font-weight:600;
  line-height:1.25;
}
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .vxg-card-models{margin-top:4px;font-size:12px}
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .thumb-bottom{margin-top:6px}
@media (max-width:767px){
  html .vxg-home .vxg-video-section .grid-temp{column-gap:12px!important;row-gap:24px!important}
  html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .vxg-card-meta{gap:8px;margin-top:8px}
  html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{min-height:33px;font-size:13px;line-height:1.25}
}

/* ====================== INCREMENT S - thin like heart in video cards ====================== */
html .thumb .thumb-bottom .thumb-item.vxg-likes,
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes{color:var(--muted-foreground)}
html .thumb .thumb-bottom .thumb-item.vxg-likes .vxg-like-icon,
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes .vxg-like-icon{
  width:13px;
  height:13px;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  color:var(--muted-foreground);
}

/* ====================== INCREMENT T - Lovable category cards on home ====================== */
html .vxg-home .vxg-categories-section{margin-top:28px}
html .vxg-home .vxg-categories-section .heading{margin-bottom:14px}
html .vxg-home .vxg-categories-rail{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  margin:0;
  padding:4px 0 12px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
html .vxg-home .vxg-categories-rail::-webkit-scrollbar{display:none}
html .vxg-home .vxg-categories-rail .thumb.vxg-category-card{
  flex:0 0 180px;
  width:180px;
  padding:0!important;
  margin:0;
}
html .vxg-home .vxg-categories-rail .vxg-category-link{
  position:relative;
  display:block;
  color:#fff;
  text-decoration:none;
  border-radius:16px;
  overflow:hidden;
  transform:translateZ(0);
  transition:transform .22s ease;
}
html .vxg-home .vxg-categories-rail .img-holder{
  position:relative;
  width:100%;
  aspect-ratio:4/3;
  height:auto;
  padding-bottom:0!important;
  margin:0;
  border-radius:16px;
  overflow:hidden;
  background:var(--surface);
  box-shadow:none;
  isolation:isolate;
}
html .vxg-home .vxg-categories-rail .img-holder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  transform:scale(1.001);
  transition:transform .7s cubic-bezier(.2,.8,.2,1);
}
html .vxg-home .vxg-categories-rail .img-holder::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:inherit;
  background:linear-gradient(to top,oklch(0 0 0/.9) 0%,oklch(0 0 0/.42) 48%,transparent 100%);
  pointer-events:none;
}
html .vxg-home .vxg-categories-rail .cat-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  display:block;
  min-width:0;
  padding:12px;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html .vxg-home .vxg-categories-rail .cat-title .title{
  display:block;
  margin:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-family:'Outfit','Inter',Roboto,sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1.15;
  letter-spacing:0;
  text-transform:none;
}
html .vxg-home .vxg-categories-rail .vxg-category-count{
  margin-top:4px;
  color:oklch(1 0 0/.7);
  font-size:11px;
  font-weight:600;
  line-height:1.2;
}
html .vxg-home .vxg-categories-rail .cat-title .thumb-item{display:none!important}
html .vxg-home .vxg-categories-rail .no-thumb{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  border-radius:inherit;
  background:linear-gradient(135deg,var(--surface),var(--surface-elevated));
  color:var(--muted-foreground);
  font-size:12px;
  text-align:center;
}
@media (hover:hover) and (pointer:fine){
  html .vxg-home .vxg-categories-rail .vxg-category-link:hover{transform:translateY(-2px)}
  html .vxg-home .vxg-categories-rail .vxg-category-link:hover .img-holder img{transform:scale(1.1)}
}
html .vxg-home .vxg-categories-rail .vxg-category-link:active{transform:scale(.98)}
@media (min-width:640px){
  html .vxg-home .vxg-categories-rail{gap:14px}
  html .vxg-home .vxg-categories-rail .thumb.vxg-category-card{flex-basis:210px;width:210px}
  html .vxg-home .vxg-categories-rail .cat-title .title{font-size:18px}
}
@media (min-width:1024px){
  html .vxg-home .vxg-categories-rail{gap:16px}
  html .vxg-home .vxg-categories-rail .thumb.vxg-category-card{flex-basis:232px;width:232px}
}
@media (min-width:1440px){html .vxg-home .vxg-categories-rail .thumb.vxg-category-card{flex-basis:244px;width:244px}}

/* ====================== INCREMENT U - reset category title video-card leak ====================== */
html .vxg-home .vxg-categories-rail .cat-title .title{
  min-height:0!important;
  height:auto;
}

/* ====================== INCREMENT V - video card cleanup and category gradient ====================== */
html .thumb.vxg-thumb-card .vxg-play,
html .thumb.vxg-thumb-card .vxg-likebar,
html .thumb .vxg-play,
html .thumb .vxg-likebar{display:none!important}
html .thumb.vxg-thumb-card .title{
  min-height:34px;
  font-size:13.5px;
  font-weight:600;
  line-height:1.25;
}
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{
  min-height:33px;
  font-size:13.25px;
  line-height:1.25;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes,
html .thumb .thumb-bottom .thumb-item.vxg-likes{gap:6px}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes i,
html .thumb .thumb-bottom .thumb-item.vxg-likes i{margin-right:2px}
html .vxg-home .vxg-categories-rail .img-holder img{z-index:0}
html .vxg-home .vxg-categories-rail .img-holder::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  border-radius:inherit!important;
  background:linear-gradient(to top,rgba(0,0,0,.96) 0%,rgba(0,0,0,.4) 50%,rgba(0,0,0,0) 100%)!important;
  pointer-events:none!important;
}
html .vxg-home .vxg-categories-rail .cat-title{z-index:2}
@media (max-width:767px){
  html .thumb.vxg-thumb-card .title,
  html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{min-height:32px;font-size:12.75px;line-height:1.25}
}

/* ====================== INCREMENT W - bookmark stays in card meta flow ====================== */
html .thumb.vxg-thumb-card .vxg-card-meta{display:flex;align-items:flex-start;min-width:0}
html .thumb.vxg-thumb-card .vxg-card-text{flex:1 1 auto;min-width:0}
html .thumb.vxg-thumb-card .vxg-card-bookmark{
  position:static!important;
  top:auto!important;
  right:auto!important;
  z-index:2;
  flex:0 0 40px;
  margin-left:auto;
}
@media (max-width:1023px){html .thumb.vxg-thumb-card .vxg-card-bookmark{flex-basis:36px}}
@media (max-width:767px){html .thumb.vxg-thumb-card .vxg-card-bookmark{flex-basis:32px;margin-left:0}}

/* ====================== INCREMENT X - video card compact meta and full click target ====================== */
html .thumb.vxg-thumb-card{cursor:pointer}
html .thumb.vxg-thumb-card .vxg-card-text{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;justify-content:flex-start}
html .thumb.vxg-thumb-card .vxg-card-text-link{display:block;min-width:0;color:inherit;text-decoration:none}
html .thumb.vxg-thumb-card .vxg-card-text-link .title{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html .thumb.vxg-thumb-card .vxg-card-models{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .thumb.vxg-thumb-card .thumb-bottom,
html .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  margin-top:4px!important;
  line-height:1.2;
  white-space:nowrap;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{display:inline-flex;flex:0 0 auto;align-items:center;min-width:0;max-width:100%;white-space:nowrap}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item:first-child{flex-shrink:0;overflow:hidden;text-overflow:ellipsis}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item-date{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item-date i{flex:0 0 auto}
html .thumb.vxg-thumb-card .thumb-bottom .vxg-vues{display:inline;white-space:nowrap}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes{display:inline-flex!important;align-items:center;gap:12px!important;white-space:nowrap}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes i{display:inline-flex!important;flex:0 0 14px;width:14px;align-items:center;justify-content:center;margin-right:0!important}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes .vxg-like-icon{display:block;width:14px;height:14px}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes .vxg-like-count{display:inline-block;min-width:0;white-space:nowrap}

/* P7 (19/07) : la date ne doit JAMAIS être amputée (« il y a 5 jou » sur les
   largeurs serrées : increment X force une ligne nowrap + date compressible à 0,
   et l'ellipsis ne rend pas dans un item inline-flex). Le signet reste DANS le
   flux (increment W, voulu). Correctif : une seule ligne tant que ça tient,
   sinon la date passe entière à la ligne suivante. */
html .thumb.vxg-thumb-card .thumb-bottom,
html .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{flex-wrap:wrap!important;overflow:visible;row-gap:2px}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item-date{flex:0 0 auto;min-width:0;overflow:visible;text-overflow:clip;white-space:nowrap}
html .thumb.vxg-thumb-card .vxg-card-bookmark{cursor:pointer}
/* ====================== INCREMENT Y - video card meta sits directly under title ====================== */
html .thumb.vxg-thumb-card .vxg-card-text-link .title,
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .vxg-card-text-link .title{
  min-height:0!important;
  margin-bottom:0!important;
}
/* ====================== INCREMENT Z - video preview hover and card lift ====================== */
html .thumb.vxg-thumb-card{
  transition:transform .22s ease;
  will-change:transform;
}
html .thumb.vxg-thumb-card .img-holder img{z-index:0}
html .thumb.vxg-thumb-card .img-holder video.img-fluid{
  position:absolute!important;
  inset:0;
  z-index:2;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  border-radius:inherit;
  background:#000;
}
@media (hover:hover) and (pointer:fine){
  html .thumb.vxg-thumb-card:hover{transform:translateY(-6px)}
  html .thumb.vxg-thumb-card .vxg-card-thumb-link:hover .img-holder img,
  html .thumb.vxg-thumb-card .vxg-card-thumb-link:hover .img-holder video{transform:translateZ(0)!important}
}
/* ====================== INCREMENT AA - enlarged actor avatar preview ====================== */
html .thumb.vxg-thumb-card:hover{position:relative;z-index:18}
html .thumb.vxg-thumb-card .vxg-avatar-wrap{
  position:relative;
  z-index:3;
  display:inline-flex;
  flex:0 0 auto;
  width:36px;
  height:36px;
  border-radius:9999px;
}
html .thumb.vxg-thumb-card .vxg-avatar-wrap + .vxg-avatar-wrap{margin-left:-10px}
html .thumb.vxg-thumb-card .vxg-avatar-wrap:hover{z-index:28}
html .thumb.vxg-thumb-card .vxg-avatar-wrap .vxg-avatar{display:block;width:36px;height:36px;margin-left:0!important}
html .thumb.vxg-thumb-card .vxg-avatar-preview{
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  z-index:40;
  width:112px;
  height:112px;
  border:2px solid color-mix(in oklab,var(--primary) 40%,#fff 10%);
  border-radius:18px;
  object-fit:cover;
  background:#050505;
  box-shadow:0 18px 42px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.08) inset;
  opacity:0;
  pointer-events:none;
  transform:translateX(-50%) translateY(6px) scale(.94);
  transform-origin:bottom center;
  transition:opacity .16s ease,transform .16s ease;
}
html .thumb.vxg-thumb-card .vxg-avatar-wrap:first-child .vxg-avatar-preview{
  left:0;
  transform:translateY(6px) scale(.94);
  transform-origin:bottom left;
}
@media (hover:hover) and (pointer:fine){
  html .thumb.vxg-thumb-card .vxg-avatar-wrap:hover .vxg-avatar-preview{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}
  html .thumb.vxg-thumb-card .vxg-avatar-wrap:first-child:hover .vxg-avatar-preview{transform:translateY(0) scale(1)}
}
@media (max-width:767px){
  html .thumb.vxg-thumb-card .vxg-avatar-wrap{width:38px;height:38px}
  html .thumb.vxg-thumb-card .vxg-avatar-wrap + .vxg-avatar-wrap{margin-left:-11px}
  html .thumb.vxg-thumb-card .vxg-avatar-wrap .vxg-avatar{width:38px;height:38px}
  html .thumb.vxg-thumb-card .vxg-avatar-preview{display:none}
}

/* ===== Reliquats vivants ex-« refonte navigation » : badge notif header + masquage header mobile ===== */
/* Icône Messages dans le header (à côté de l'avatar) */
html .vxg-msg-ic{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;color:var(--foreground);position:relative;margin-right:6px}
html .vxg-msg-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
html .vxg-msg-ic.has-unread::after{content:"";position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:9999px;background:var(--primary)}
html [data-vxg-notification-link]{position:relative}
html [data-vxg-notification-link].has-notification-count::after,html [data-vxg-notification-link].has-unread::after{display:none}
html .vxg-header-notif-count{position:absolute;z-index:2;top:-4px;right:-7px;display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--primary,#e50914);box-shadow:0 0 0 2px #0a0a0a;color:#fff;font-size:10px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em;pointer-events:none}
html .vxg-header-notif-count[hidden]{display:none!important}
html .vxg-da-actions .vxg-header-notif-count{top:-5px;right:-6px}
@media (min-width:1024px){html .vxg-msg-ic:hover{background:oklch(1 0 0 / .08)}}
@media (max-width:1023px){
  /* avatar header masqué en mobile — le compte vit dans le drawer */
  html .mebers-block,html .vxg-msg-ic{display:none}
}
/* ===== INCREMENT AB - mobile normal logo header except video ===== */
@media (max-width:1023px){
  html .wrapper.vxg-index-page > .header,
  html .wrapper.vxg-index-page > .header.header-fixed{
    position:relative!important;
    top:auto!important;
    height:auto!important;
    min-height:0!important;
    background:#000!important;
    z-index:30;
  }
  html .wrapper.vxg-index-page > .header .header-holder,
  html .wrapper.vxg-index-page > .header.header-fixed .header-holder{
    height:58px!important;
    min-height:58px!important;
    padding:0!important;
    border-bottom:1px solid var(--border);
    background:#000!important;
  }
  html .wrapper.vxg-index-page > .header .header-holder .container,
  html .wrapper.vxg-index-page > .header .header-holder .header-inner{
    height:100%;
    min-height:58px;
    padding:0 14px;
    margin:0;
  }
  html .wrapper.vxg-index-page > .header .header-holder .header-inner{
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
  }
  html .wrapper.vxg-index-page > .header .logo{
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
    margin:0;
  }
  html .wrapper.vxg-index-page > .header .logo img:first-child{
    display:block;
    width:auto;
    height:30px;
    max-width:210px;
  }
  html .wrapper.vxg-index-page > .header .logo img:last-child,
  html .wrapper.vxg-index-page > .header .menu-icon,
  html .wrapper.vxg-index-page > .header .buttons-col,
  html .wrapper.vxg-index-page > .header .btn-mobile{
    display:none!important;
  }
}


/* ===== INCREMENT AF - mobile video listings: one card per row ===== */
@media (max-width:767px){
  html .grid-temp{
    grid-template-columns:minmax(0,1fr)!important;
    gap:26px!important;
  }
  html .grid-temp > li:not(.spot){
    width:100%!important;
  }
  html .grid-temp .thumb.vxg-thumb-card,
  html .grid-temp .thumb{
    width:100%!important;
    padding:0!important;
  }
  html .vxg-home .vxg-video-section .grid-temp{
    grid-template-columns:minmax(0,1fr)!important;
    column-gap:0!important;
    row-gap:28px!important;
  }
  html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{
    min-height:0!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
}

/* ===== INCREMENT AJ — menu consolidé : bottom-sheet mobile + panneau desktop =====
   Remplace AG (structure sheet) + AH (motion), et reprend le contrat desktop d'AD
   (largeur, fond, décalage du contenu) pour que la purge des blocs morts (étape 4)
   soit une suppression pure. Autonome : tokens, scrim, sheet, compte, grille
   .vxg-nav-grid (classe posée dans le template — plus de sélecteurs frères),
   listes, carte LIVE, langue, légal, déconnexion. */
html:root{
  --vxg-drawer-w:320px;
  --vxg-drawer-bg:oklch(0.14 0.006 25);
  --vxg-drawer-bg-2:oklch(0.19 0.008 25);
  --vxg-drawer-row:oklch(1 0 0 / 5%);
  --vxg-drawer-row-active:oklch(1 0 0 / 8%);
  --vxg-drawer-line:oklch(1 0 0 / 8%);
  --vxg-drawer-fg:oklch(0.95 0.004 25);
  --vxg-drawer-muted:oklch(0.68 0.012 25);
}
/* Base : grip et compte n'existent que dans le sheet mobile ; utilitaires de visibilité */
html .vxg-msheet-grip{display:none}
html .vxg-drawer-account{display:none}
@media (min-width:1024px){
  html .vxg-mob-only{display:none!important}
}
@media (max-width:1023px){
  html .header-nav .vxg-mob-hide{display:none!important}
}
@keyframes vxg-menu-sheet-up{from{transform:translateY(105%)}to{transform:translateY(0)}}
@keyframes vxg-menu-live-pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ---------- Carte LIVE (menu ouvert, mobile + desktop) ---------- */
html body.vxg-sidebar-open .header-nav .vxg-live-card,
html body.nav-open .header-nav .vxg-live-card{
  display:block!important;
  width:auto!important;
  margin:4px 0 8px!important;
  padding:16px!important;
  border:1px solid color-mix(in oklab,var(--primary) 42%,transparent)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,color-mix(in oklab,var(--primary) 16%,transparent),color-mix(in oklab,var(--primary) 4%,transparent))!important;
  color:var(--vxg-drawer-fg)!important;
  text-align:left!important;
  text-decoration:none!important;
  transition:border-color .2s!important;
}
html body.vxg-sidebar-open .header-nav .vxg-live-card{margin:6px 6px 10px!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card:hover{border-color:var(--primary)!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-row,
html body.nav-open .header-nav .vxg-live-card .vlc-row{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 8px!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-pill,
html body.nav-open .header-nav .vxg-live-card .vlc-pill{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:3px 8px!important;border-radius:5px!important;background:var(--primary)!important;color:#fff!important;font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-pill::before,
html body.nav-open .header-nav .vxg-live-card .vlc-pill::before{content:"";width:5px;height:5px;border-radius:999px;background:#fff;animation:vxg-menu-live-pulse 1.2s ease-in-out infinite}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-cnt,
html body.nav-open .header-nav .vxg-live-card .vlc-cnt{margin-left:auto!important;color:var(--vxg-drawer-muted)!important;font-size:12px!important;font-weight:500!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-title,
html body.nav-open .header-nav .vxg-live-card .vlc-title{display:block!important;margin:0 0 3px!important;color:var(--vxg-drawer-fg)!important;font-family:Outfit,Inter,ui-sans-serif,system-ui,sans-serif!important;font-size:17px!important;font-weight:700!important;line-height:1.18!important}
html body.vxg-sidebar-open .header-nav .vxg-live-card .vlc-sub,
html body.nav-open .header-nav .vxg-live-card .vlc-sub{display:block!important;margin:0!important;color:var(--vxg-drawer-muted)!important;font-size:12.5px!important;line-height:1.35!important}

/* ---------- Pied partagé : légal + © (styles complets, AJ autonome pour la purge) ---------- */
html body.vxg-sidebar-open .header-nav .vxg-legal,
html body.nav-open .header-nav .vxg-legal{display:flex!important;flex-wrap:wrap!important;gap:6px 12px!important}
html body.vxg-sidebar-open .header-nav .vxg-legal a,
html body.nav-open .header-nav .vxg-legal a{font-size:12px!important;color:var(--vxg-drawer-muted)!important;text-decoration:none!important}
@media (min-width:1024px){
  html body.vxg-sidebar-open .header-nav .vxg-legal{margin-top:8px!important;padding:14px 28px 4px!important;border-top:1px solid var(--vxg-drawer-line)!important}
  html body.vxg-sidebar-open .header-nav .vxg-legal a:hover{color:var(--primary)!important}
  html body.vxg-sidebar-open .header-nav .vxg-drawer-foot{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:12px 28px 18px!important;color:var(--vxg-drawer-muted)!important;font-size:11px!important}
  html body.vxg-sidebar-open .header-nav .vxg-lib-cta{white-space:normal!important;height:auto!important;color:var(--vxg-drawer-muted)!important}
  html body.vxg-sidebar-open .header-nav .vxg-lib-cta .lbl{white-space:normal!important}
}

/* ---------- PANNEAU DESKTOP (body.vxg-sidebar-open) — contrat repris d'AD ---------- */
@media (min-width:1024px){
  html body.vxg-sidebar-open .header-nav{
    width:var(--vxg-drawer-w)!important;
    background:var(--vxg-drawer-bg)!important;
    border-right:1px solid var(--vxg-drawer-line)!important;
    box-shadow:18px 0 46px rgba(0,0,0,.35)!important;
  }
  html body.vxg-sidebar-open .header-nav .vxg-mini-sidebar{display:none!important}
  html body.vxg-sidebar-open .header-nav > .container{
    display:block!important;
    height:100%!important;
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:28px 18px 72px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:var(--vxg-drawer-bg)!important;
    scrollbar-width:thin;
  }
  html body.vxg-sidebar-open .header-nav > .container::before{display:none!important}
  html body.vxg-sidebar-open .header-nav > .container > .header-inner{
    display:block!important;
    padding:0!important;
    min-height:100%;
  }
  html body.vxg-sidebar-open .main,
  html body.vxg-sidebar-open .footer{padding-left:var(--vxg-drawer-w)!important}
}
html body.vxg-sidebar-open .header-nav{color:var(--vxg-drawer-fg)!important}
html body.vxg-sidebar-open .header-nav .-nav-h1{
  display:block!important;
  margin:0!important;
  padding:18px 28px 14px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--vxg-drawer-muted)!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
html body.vxg-sidebar-open .header-nav .-nav-list + .-nav-h1,
html body.vxg-sidebar-open .header-nav .vxg-live-card + .-nav-h1{padding-top:30px!important}
html body.vxg-sidebar-open .header-nav .-nav-list{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  margin:0 0 8px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body.vxg-sidebar-open .header-nav span.-nav-item{display:block!important;width:100%!important;background:transparent!important}
html body.vxg-sidebar-open .header-nav .nav-link{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-height:56px!important;
  margin:0!important;
  padding:11px 28px!important;
  gap:28px!important;
  border:0!important;
  border-radius:18px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--vxg-drawer-fg)!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:15px!important;
  font-weight:500!important;
  text-align:left!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  transition:background .15s ease,color .15s ease!important;
}
html body.vxg-sidebar-open .header-nav .nav-link::before,
html body.vxg-sidebar-open .header-nav .nav-link::after{display:none!important;content:none!important}
html body.vxg-sidebar-open .header-nav .nav-link:hover{background:var(--vxg-drawer-row)!important;color:var(--vxg-drawer-fg)!important}
html body.vxg-sidebar-open .header-nav .nav-link.active{background:var(--vxg-drawer-row-active)!important;color:var(--vxg-drawer-fg)!important}
html body.vxg-sidebar-open .header-nav .nav-link .ico-mini{
  display:grid!important;
  place-items:center!important;
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  margin:0!important;
  border-radius:12px!important;
  background:var(--vxg-drawer-row)!important;
  color:var(--vxg-drawer-fg)!important;
  box-shadow:none!important;
}
html body.vxg-sidebar-open .header-nav .nav-link:hover .ico-mini{background:var(--vxg-drawer-row-active)!important}
html body.vxg-sidebar-open .header-nav .nav-link.active .ico-mini{background:var(--primary)!important;color:#fff!important}
html body.vxg-sidebar-open .header-nav .nav-link .ico-mini svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
html body.vxg-sidebar-open .header-nav .nav-link .lbl{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.vxg-sidebar-open .header-nav .nav-link .count{flex:0 0 auto!important;margin-left:auto!important;color:var(--vxg-drawer-muted)!important;font-size:13px!important;font-weight:600!important;font-variant-numeric:tabular-nums!important}

/* ---------- SHEET MOBILE (body.nav-open) ---------- */
@media (max-width:1023px){
  html body.nav-open{overflow:hidden!important;overscroll-behavior:none!important}
  /* scrim */
  html body.nav-open::before{
    content:""!important;
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:330!important;
    pointer-events:auto!important;
    background:rgba(0,0,0,.60)!important;
    -webkit-backdrop-filter:blur(4px)!important;
    backdrop-filter:blur(4px)!important;
  }
  html body.nav-open .vxg-bottomnav{z-index:320!important;transform:none!important}
  /* feuille */
  html body.nav-open .header-nav{
    display:flex!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    z-index:350!important;
    flex-direction:column!important;
    width:auto!important;
    height:auto!important;
    max-height:min(82dvh,720px)!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-top:1px solid var(--vxg-drawer-line)!important;
    border-radius:28px 28px 0 0!important;
    background:var(--vxg-drawer-bg)!important;
    color:var(--vxg-drawer-fg)!important;
    box-shadow:0 -20px 60px rgba(0,0,0,.60)!important;
    transform:translateY(0)!important;
    animation:vxg-menu-sheet-up .34s cubic-bezier(.2,.85,.2,1) both!important;
    transition:transform .24s cubic-bezier(.2,.85,.2,1)!important;
    will-change:transform!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  @media (max-height:700px){
    html body.nav-open .header-nav{max-height:86dvh!important}
  }
  html body.nav-open .header-nav.is-sheet-dragging{animation:none!important;transition:none!important}
  /* poignée */
  html body.nav-open .header-nav .vxg-msheet-grip{
    display:flex!important;
    flex:0 0 auto!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    min-height:32px!important;
    padding:14px 0 8px!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    touch-action:none!important;
    cursor:grab!important;
    user-select:none!important;
    -webkit-user-select:none!important;
  }
  html body.nav-open .header-nav.is-sheet-dragging .vxg-msheet-grip{cursor:grabbing!important}
  html body.nav-open .header-nav .vxg-msheet-grip span{
    display:block!important;
    width:42px!important;
    height:5px!important;
    border-radius:999px!important;
    background:color-mix(in oklab,var(--vxg-drawer-fg) 22%,transparent)!important;
    box-shadow:0 1px 0 rgba(255,255,255,.04) inset!important;
  }
  /* conteneur scrollable */
  html body.nav-open .header-nav > .container{
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-width:none!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:8px 16px calc(28px + env(safe-area-inset-bottom,0px))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:var(--vxg-drawer-bg)!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  html body.nav-open .header-nav > .container::-webkit-scrollbar{display:none}
  html body.nav-open .header-nav > .container::before{display:none!important;content:none!important}
  html body.nav-open .header-nav > .container > .header-inner{display:block!important;padding:0!important;min-height:0!important;background:transparent!important}
  html body.nav-open .header-nav .vxg-mini-sidebar{display:none!important}

  /* ----- zone compte : identité → CTA Publier → tuiles Notifications/Paramètres ----- */
  html body.nav-open .header-nav .vxg-drawer-account{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    margin:0!important;
    padding:6px 4px 18px!important;
    border:0!important;
    background:transparent!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-id,
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-guest{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    min-width:0!important;
    padding:0!important;
    color:var(--vxg-drawer-fg)!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .mebers-photo{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 48px!important;
    width:48px!important;
    height:48px!important;
    overflow:hidden!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,var(--primary),var(--primary-deep))!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .mebers-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
  html body.nav-open .header-nav .vxg-drawer-account .mebers-photo svg{width:22px!important;height:22px!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-info{display:block!important;flex:1 1 auto!important;min-width:0!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-info b{
    display:block!important;
    color:var(--vxg-drawer-fg)!important;
    font-family:Outfit,Inter,ui-sans-serif,system-ui,sans-serif!important;
    font-size:17px!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
    line-height:1.15!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-info span{
    display:block!important;
    margin-top:2px!important;
    color:var(--vxg-drawer-muted)!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-chev{flex:0 0 auto!important;display:grid!important;place-items:center!important;color:var(--vxg-drawer-muted)!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-chev svg{width:20px!important;height:20px!important}
  /* CTA Publier une vidéo */
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-upload{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:50px!important;
    border-radius:14px!important;
    background:var(--gradient-brand,linear-gradient(135deg,#dc2d3a,#ff5a3c))!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
    box-shadow:var(--shadow-glow)!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-upload svg{width:20px!important;height:20px!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-upload:active{transform:scale(.98)}
  /* tuiles labellisées Notifications / Paramètres */
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:0!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-actions a{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:auto!important;
    height:auto!important;
    min-height:46px!important;
    border:1px solid var(--vxg-drawer-line)!important;
    border-radius:13px!important;
    background:var(--vxg-drawer-bg-2)!important;
    color:var(--vxg-drawer-fg)!important;
    font-size:13.5px!important;
    font-weight:600!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-actions a svg{width:19px!important;height:19px!important;flex:0 0 auto!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-actions .vxg-header-notif-count{top:-6px!important;right:-4px!important}
  /* invité : Inscription = action primaire (gradient), Connexion = ghost */
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-cta{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin:0!important;
    width:100%!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-cta a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:46px!important;
    border-radius:13px!important;
    font-size:14px!important;
    font-weight:700!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-signup{background:var(--gradient-brand,#dc2d3a)!important;border:0!important;color:#fff!important;box-shadow:var(--shadow-glow)!important}
  html body.nav-open .header-nav .vxg-drawer-account .vxg-da-login{background:var(--vxg-drawer-bg-2)!important;border:1px solid var(--vxg-drawer-line)!important;color:var(--vxg-drawer-fg)!important}

  /* ----- titres + listes ----- */
  html body.nav-open .header-nav .-nav-h1{
    display:block!important;
    margin:0!important;
    padding:14px 6px 8px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:var(--vxg-drawer-muted)!important;
    font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
    font-size:11px!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
  }
  html body.nav-open .header-nav .-nav-list + .-nav-h1,
  html body.nav-open .header-nav .vxg-live-card + .-nav-h1{padding-top:18px!important}
  html body.nav-open .header-nav .-nav-list{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    margin:0 0 8px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body.nav-open .header-nav span.-nav-item{display:block!important;width:100%!important;min-width:0!important;background:transparent!important}
  html body.nav-open .header-nav .nav-link{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:58px!important;
    margin:0!important;
    padding:10px 8px!important;
    gap:14px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:color-mix(in oklab,var(--vxg-drawer-fg) 84%,var(--vxg-drawer-muted))!important;
    font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
    font-size:15px!important;
    font-weight:500!important;
    line-height:1.22!important;
    text-align:left!important;
    text-transform:none!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .nav-link::before,
  html body.nav-open .header-nav .nav-link::after{display:none!important;content:none!important}
  html body.nav-open .header-nav .nav-link:hover,
  html body.nav-open .header-nav .nav-link:focus-visible,
  html body.nav-open .header-nav .nav-link:active{background:var(--vxg-drawer-bg-2)!important;color:var(--vxg-drawer-fg)!important}
  html body.nav-open .header-nav .nav-link.active{background:var(--vxg-drawer-row-active)!important;color:var(--vxg-drawer-fg)!important}
  html body.nav-open .header-nav .nav-link .ico-mini{
    display:grid!important;
    place-items:center!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
    border-radius:12px!important;
    background:var(--vxg-drawer-row)!important;
    color:var(--vxg-drawer-fg)!important;
  }
  html body.nav-open .header-nav .nav-link.active .ico-mini{background:var(--primary)!important;color:#fff!important}
  html body.nav-open .header-nav .nav-link .ico-mini svg{
    width:18px!important;
    height:18px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.75!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  html body.nav-open .header-nav .nav-link .lbl{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  html body.nav-open .header-nav .nav-link .count{flex:0 0 auto!important;margin-left:auto!important;color:var(--vxg-drawer-muted)!important;font-size:12px!important;font-weight:500!important;font-variant-numeric:tabular-nums!important}

  /* ----- grille bento « Découvrir » (.vxg-nav-grid posée dans le template) ----- */
  html body.nav-open .header-nav .-nav-list.vxg-nav-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin:0 0 10px!important;
  }
  html body.nav-open .header-nav .vxg-nav-grid .nav-link{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    min-height:96px!important;
    padding:14px!important;
    border:1px solid var(--vxg-drawer-line)!important;
    border-radius:14px!important;
    background:var(--vxg-drawer-bg-2)!important;
    color:var(--vxg-drawer-fg)!important;
    white-space:normal!important;
  }
  html body.nav-open .header-nav .vxg-nav-grid .nav-link:active{transform:scale(.97)}
  html body.nav-open .header-nav .vxg-nav-grid .nav-link.active{
    border-color:color-mix(in oklab,var(--primary) 42%,transparent)!important;
    background:color-mix(in oklab,var(--primary) 14%,var(--vxg-drawer-bg-2))!important;
    color:var(--primary)!important;
  }
  html body.nav-open .header-nav .vxg-nav-grid .nav-link .ico-mini{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:11px!important}
  html body.nav-open .header-nav .vxg-nav-grid .nav-link .lbl{flex:0 0 auto!important;width:100%!important;font-size:13.5px!important;font-weight:600!important;line-height:1.18!important}
  html body.nav-open .header-nav .vxg-nav-grid .nav-link .count{position:absolute!important;top:11px!important;right:12px!important;margin:0!important;font-size:10px!important;font-weight:700!important}

  /* ----- pied : langue / légal / déconnexion / © ----- */
  html body.nav-open .header-nav .vxg-drawer-lang{
    display:flex!important;
    align-items:center!important;
    gap:10px 12px!important;
    flex-wrap:wrap!important;
    margin:14px 0 0!important;
    padding:14px 6px 2px!important;
    border-top:1px solid var(--vxg-drawer-line)!important;
  }
  html body.nav-open .header-nav .vxg-dl-label{color:var(--vxg-drawer-muted)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.10em!important;text-transform:uppercase!important}
  html body.nav-open .header-nav .vxg-dl-list{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  html body.nav-open .header-nav .vxg-dl-item{
    display:inline-flex!important;
    align-items:center!important;
    min-height:36px!important;
    padding:0 14px!important;
    border:1px solid var(--vxg-drawer-line)!important;
    border-radius:9999px!important;
    background:var(--vxg-drawer-bg-2)!important;
    color:var(--vxg-drawer-fg)!important;
    font-size:13px!important;
    font-weight:600!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-dl-item.is-current{
    border-color:color-mix(in oklab,var(--primary) 42%,transparent)!important;
    background:color-mix(in oklab,var(--primary) 14%,var(--vxg-drawer-bg-2))!important;
    color:var(--primary)!important;
  }
  html body.nav-open .header-nav .vxg-legal{margin:0!important;padding:12px 6px 0!important;border-top:0!important}
  html body.nav-open .header-nav .vxg-drawer-logout{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    margin:6px 0 0!important;
    padding:12px 6px!important;
    color:var(--vxg-drawer-muted)!important;
    font-size:13.5px!important;
    font-weight:600!important;
    text-decoration:none!important;
  }
  html body.nav-open .header-nav .vxg-drawer-logout svg{width:18px!important;height:18px!important}
  html body.nav-open .header-nav .vxg-drawer-logout:active{color:var(--vxg-drawer-fg)!important}
  html body.nav-open .header-nav .vxg-drawer-foot{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:10px 6px 2px!important;color:var(--vxg-drawer-muted)!important;font-size:11px!important}
  /* CTA bibliothèque invité : message long lisible */
  html body.nav-open .header-nav .vxg-lib-cta{white-space:normal!important;height:auto!important}
  html body.nav-open .header-nav .vxg-lib-cta .lbl{white-space:normal!important}
}



/* ===== Anti-saccade / anti-flash sidebar desktop : toggle INSTANTANÉ =====
   (animer la largeur d'un élément en backdrop-filter:blur fait ramer Safari ;
    et la transition rejouée au chargement crée un flash. On coupe l'animation.) */
@media (min-width:1024px){
  html .header-nav,
  html .vxg-mini-sidebar,
  html .main,
  html .footer{transition:none !important}
}

/* ===== INCREMENT AI - video card parity site-wide (home / listings / watch) ===== */
html .grid-temp{
  column-gap:12px!important;
  row-gap:24px!important;
  align-items:start!important;
}
html .grid-temp>li{min-width:0;margin:0!important}
html .grid-temp>li>.thumb.vxg-thumb-card,
html .thumbs .thumb.vxg-thumb-card{
  width:auto!important;
  padding:0!important;
}
html .thumb.vxg-thumb-card .vxg-card-meta{
  gap:12px!important;
  margin-top:10px!important;
}
html .thumb.vxg-thumb-card .title,
html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{
  min-height:0!important;
  font-size:13.25px!important;
  font-weight:600!important;
  line-height:1.25!important;
}
html .thumb.vxg-thumb-card .vxg-card-models{
  margin-top:4px!important;
  font-size:12px!important;
  line-height:1.2!important;
}
html .thumb.vxg-thumb-card .thumb-bottom,
html .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{
  gap:5px 8px!important;
  margin-top:4px!important;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{font-size:12px!important;line-height:1.2!important}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes{
  gap:12px!important;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item+.thumb-item::before{margin-right:3px!important}
@media (min-width:640px){
  html .grid-temp{column-gap:16px!important;row-gap:28px!important}
}
@media (min-width:1024px){
  html .grid-temp{column-gap:16px!important;row-gap:34px!important}
}
@media (max-width:767px){
  html .grid-temp{
    grid-template-columns:minmax(0,1fr)!important;
    column-gap:0!important;
    row-gap:28px!important;
  }
  html .grid-temp>li:not(.spot){width:100%!important}
  html .grid-temp>li.spot{
    width:auto!important;
    min-width:0!important;
    grid-column:1/-1!important;
    grid-row:auto!important;
    align-self:stretch!important;
    height:auto!important;
    padding-left:0!important;
  }
  html .grid-temp>li.spot .thumb-box{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  html .grid-temp>li.spot iframe,
  html .grid-temp>li.spot img{max-width:100%!important}
  html .grid-temp>li>.thumb.vxg-thumb-card,
  html .thumbs .thumb.vxg-thumb-card{width:100%!important;padding:0!important}
  html .thumb.vxg-thumb-card .vxg-card-meta{gap:8px!important;margin-top:8px!important}
  html .thumb.vxg-thumb-card .title,
  html .vxg-home .vxg-video-section .thumb.vxg-thumb-card .title{min-height:0!important;font-size:12.75px!important;line-height:1.25!important}
  html .thumb.vxg-thumb-card .thumb-bottom,
  html .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{gap:4px 6px!important;margin-top:4px!important}
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{font-size:11px!important}
}

/* ====================== INCREMENT — Barre filtres/tri du listing (/videos & co) ======================
   Restyle des contrôles .sort EXISTANTS (déjà câblés AJAX KVS ; ouverture via .sort-open, cf. index.js)
   au look POC validé (poc/filtres-videos.html). Scope STRICT : html .vxg-listing (page_id videos_list /
   search) -> n'affecte ni la home ni les autres .section-row. Source unique pour les styles sort dans ce scope. */

/* La barre = le .heading du bloc listing : titre à gauche, contrôles à droite, sticky sous le header. */
html .vxg-listing .section-row > .heading{
  position:sticky; top:0; z-index:120;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  margin:0 0 16px; padding:10px 0;
  background:var(--background);
}
html .vxg-listing .section-row > .heading > .title{width:auto;margin-right:auto;margin-bottom:0}
/* Reset local : l'ancien theme global pose width, min-width, radius, transform et opacites sur .sort. Dans .vxg-listing, le bloc ci-dessous est la source unique. */
html .vxg-listing .section-row > .heading .sort{position:relative;width:auto;margin:0;order:initial}
html .vxg-listing .section-row > .heading .sort:first-of-type{margin-right:0}

/* Déclencheur de dropdown = pilule sobre */
html .vxg-listing .heading .sort .sort-title{
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:0; height:40px; padding:0 14px;
  border:1px solid var(--border); border-radius:9999px;
  background:color-mix(in oklab, var(--foreground) 5%, transparent);
  font-size:13px; font-weight:600; line-height:1; color:var(--foreground);
  white-space:nowrap; cursor:pointer; box-shadow:none; transform:none; transition:border-color .15s, background .15s, color .15s;
}
html .vxg-listing .heading .sort .sort-title svg{width:14px; height:14px; fill:currentColor; transition:transform .2s}
/* icône de tête (Trier = flèches, Filtre = entonnoir) — tracé, pas de remplissage */
html .vxg-listing .heading .sort .sort-title .vxg-pill-ico{
  width:15px; height:15px; flex:0 0 auto; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transform:none;
}
html .vxg-listing .heading .sort.sort-open .sort-title{
  border-color:var(--primary); background:color-mix(in oklab, var(--primary) 14%, transparent); color:var(--primary);
  border-radius:9999px; box-shadow:none;
}
html .vxg-listing .heading .sort.sort-open .sort-title svg.icon-arrow-down{transform:rotate(180deg)}

/* Badge "nombre de filtres actifs" */
html .vxg-listing .heading .sort .sort-title strong{
  display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px;
  border-radius:9999px; background:var(--primary); color:#fff; font-size:10px; font-weight:700;
}

/* Menu déroulant = surface propre */
html .vxg-listing .heading .sort .sort-drop{
  position:absolute; top:calc(100% + 8px); left:0; z-index:40;
  display:none; width:auto; min-width:200px; max-width:min(320px, calc(100vw - 32px)); padding:6px;
  overflow:visible; opacity:1; visibility:visible; transform:none; transition:none;
  background:var(--surface-elevated); border:1px solid var(--border);
  border-radius:14px; box-shadow:var(--shadow-elevated);
}
html .vxg-listing .heading .sort.sort-open .sort-drop{display:block}

/* Lignes d'options */
html .vxg-listing .heading .sort .sort-drop a{
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  width:auto; text-align:left;
  padding:10px 12px; border-radius:9px;
  font-size:13.5px; font-weight:500; line-height:1.2; color:var(--foreground);
  white-space:nowrap; cursor:pointer;
}
html .vxg-listing .heading .sort .sort-drop a svg{width:14px; height:14px; flex:0 0 auto}
/* option sélectionnée : la coche icon-check n'est rendue par KVS que sur l'actif */
html .vxg-listing .heading .sort .sort-drop a .icon-check{fill:var(--primary)}

/* séparateurs internes du dropdown "Filtre" */
html .vxg-listing .heading .sort .sort-drop hr{border:0; border-top:1px solid var(--border); margin:6px 4px}

/* le dernier groupe ouvre vers la gauche pour ne pas déborder à droite (desktop) */
html .vxg-listing .heading .sort:last-of-type .sort-drop{left:auto; right:0}

/* Desktop : offset sous le header sticky + survols SOBRES (override de l'ancien survol accent plein) */
@media (min-width:1024px){
  html .vxg-listing .section-row > .heading{top:var(--vxg-header-h, 64px)}
  html .vxg-listing .heading .sort .sort-title:hover{
    background:color-mix(in oklab, var(--foreground) 9%, transparent);
    border-color:color-mix(in oklab, var(--foreground) 22%, transparent);
    color:var(--foreground); box-shadow:none;
  }
  html .vxg-listing .heading .sort .sort-title:hover svg{fill:currentColor}
  html .vxg-listing .heading .sort .sort-drop a:hover{
    background:color-mix(in oklab, var(--foreground) 7%, transparent); color:var(--foreground);
  }
}
/* Mobile : dropdowns ancrés à gauche (header replié → top:0 hérité) */
@media (max-width:1023px){
  html .vxg-listing .heading .sort .sort-drop,
  html .vxg-listing .heading .sort:last-of-type .sort-drop{left:0; right:auto}
}
/* ====================== fin INCREMENT barre filtres/tri ====================== */

/* ====================== INCREMENT — Densité de grille (Phase 1b) ======================
   Toggle injecté par static/js/vxg-listing.js dans .vxg-listing .heading (survit à l'AJAX).
   État persistant via classe html.vxg-density-comfort (localStorage vxg_density). */
html .vxg-listing .heading .vxg-density{
  display:inline-flex; gap:2px; margin-left:4px; padding:3px;
  border:1px solid var(--border); border-radius:9999px; background:var(--surface);
}
html .vxg-listing .heading .vxg-density-btn{
  display:grid; place-items:center; width:34px; height:30px; padding:0;
  border:0; background:none; border-radius:9999px; color:var(--muted-foreground);
  cursor:pointer; transition:background .14s, color .14s;
}
html .vxg-listing .heading .vxg-density-btn svg{width:15px; height:15px; fill:currentColor}
html .vxg-listing .heading .vxg-density-btn.active{
  background:color-mix(in oklab, var(--foreground) 10%, transparent); color:var(--foreground);
}
@media (min-width:1024px){
  html .vxg-listing .heading .vxg-density-btn:hover{color:var(--foreground)}
}
/* Mode confortable = une colonne de moins à chaque palier (cf. .grid-temp de base 2/3/4) */
html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1024px){
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1440px){
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1760px){
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (min-width:2200px){
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:repeat(6,minmax(0,1fr))}
}
/* ====================== fin INCREMENT densité ====================== */

/* ====================== INCREMENT — Chips de filtres actifs (Phase 1b) ======================
   Rangée injectée par static/js/vxg-listing.js dans .vxg-listing .heading (flex-basis:100% → propre ligne).
   Chips dérivés des filtres KVS actifs (HD, durée) ; clic = retrait via le lien AJAX natif. */
html .vxg-listing .heading .vxg-chips{
  flex-basis:100%; display:flex; flex-wrap:wrap; gap:8px; margin-top:2px;
}
html .vxg-listing .heading .vxg-chip{
  display:inline-flex; align-items:center; gap:7px; height:30px; padding:0 12px;
  border:1px solid var(--primary); border-radius:9999px;
  background:color-mix(in oklab, var(--primary) 16%, transparent);
  color:var(--primary); font-size:11.5px; font-weight:700; line-height:1; cursor:pointer;
}
html .vxg-listing .heading .vxg-chip svg{width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:2.5}
@media (min-width:1024px){
  html .vxg-listing .heading .vxg-chip:hover{background:color-mix(in oklab, var(--primary) 24%, transparent)}
}
/* ====================== fin INCREMENT chips ====================== */

/* ====================== INCREMENT — Segmented window (Phase 1b) ======================
   Les <a> de période (today/week/month) du dropdown "Filtre" sont masqués et remplacés
   par un segmented control proxy (.vxg-winseg) injecté par vxg-listing.js. */
html .vxg-listing .heading .sort-drop a.vxg-win-src{display:none}
html .vxg-listing .heading .vxg-winseg{
  display:flex; gap:2px; margin:2px 4px 8px; padding:3px;
  border:1px solid var(--border); border-radius:10px; background:rgba(0,0,0,.22);
}
html .vxg-listing .heading .vxg-winseg-btn{
  flex:1; min-width:0; border:0; background:none; border-radius:7px; padding:7px 8px;
  font-size:11.5px; font-weight:700; letter-spacing:.01em; color:var(--muted-foreground);
  white-space:nowrap; text-align:center; cursor:pointer; transition:background .14s, color .14s;
}
html .vxg-listing .heading .vxg-winseg-btn:hover{color:var(--foreground)}
html .vxg-listing .heading .vxg-winseg-btn.active{background:var(--primary); color:#fff}
/* ====================== fin INCREMENT segmented window ====================== */

/* ====================== INCREMENT — Réinitialiser + Sheets mobile (Phase 1b) ======================
   Reset = lien en bout de rangée de chips (JS resetAll). Sheets = transformation CSS des dropdowns
   en bottom-sheets sous 1024px, en réutilisant le toggle .sort-open d'index.js (aucune interception JS). */

/* lien « Réinitialiser » global */
html .vxg-listing .heading .vxg-chips-reset{
  height:30px; padding:0 6px; border:0; background:none;
  color:var(--primary); font-size:11.5px; font-weight:700; cursor:pointer;
}
html .vxg-listing .heading .vxg-chips-reset:hover{text-decoration:underline}

/* Mobile : dropdowns -> bottom-sheets */
@media (max-width:1023px){
  /* titre sur sa propre ligne -> les pills Trier/Filtres tiennent sur UNE ligne en dessous */
  html .vxg-listing .section-row > .heading > .title{flex-basis:100%; margin-right:0}
  /* sheet ouverte : on remonte le contexte d'empilement du heading AU-DESSUS du scrim (sinon il est
     emprisonné par le sticky z-index:120 et passe derrière le calque) */
  html .vxg-listing .section-row > .heading:has(.sort.sort-open){z-index:300}
  html .vxg-listing .heading .sort.sort-open .sort-drop{
    position:fixed; left:0; right:0; bottom:0; top:auto; z-index:210;
    margin:0; min-width:0; max-width:none; max-height:82vh; overflow-y:auto;
    border-radius:18px 18px 0 0;
    padding:8px 14px calc(16px + env(safe-area-inset-bottom));
    box-shadow:0 -12px 40px -12px rgba(0,0,0,.75);
  }
  /* poignée de glisse */
  html .vxg-listing .heading .sort.sort-open .sort-drop::before{
    content:""; display:block; width:40px; height:4px; border-radius:999px;
    background:var(--border); margin:6px auto 12px;
  }
  /* cibles tactiles plus généreuses dans la sheet */
  html .vxg-listing .heading .sort .sort-drop a{padding:13px 12px}
  /* scrim (backdrop) — via :has ; dégrade proprement si non supporté (la sheet reste fonctionnelle,
     fermeture par tap extérieur géré par index.js, ou re-tap du déclencheur) */
  body:has(.vxg-listing .heading .sort.sort-open)::after{
    content:""; position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:205;
  }
}
/* ====================== fin INCREMENT reset + sheets mobile ====================== */

/* ====================== INCREMENT — Listing vidéo mobile compact ======================
   - le mode compact redevient réellement dense (2 colonnes sous 768 px) ;
   - les trois contrôles tiennent sur une ligne à partir de 320 px ;
   - les métadonnées secondaires ne créent jamais une troisième ligne grise. */
html .vxg-listing .thumb.vxg-thumb-card .vxg-card-text,
html .vxg-listing .thumb.vxg-thumb-card .vxg-card-text-link{min-width:0;overflow:hidden}
html .vxg-listing .thumb.vxg-thumb-card .title{max-height:2.5em;overflow:hidden}
html .vxg-listing .thumb.vxg-thumb-card .vxg-card-models{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .vxg-listing .thumb.vxg-thumb-card .thumb-bottom,
html .vxg-listing .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{display:flex;flex-wrap:nowrap!important;max-width:100%;overflow:hidden!important;white-space:nowrap}
html .vxg-listing .thumb.vxg-thumb-card .thumb-bottom .thumb-item{flex:0 0 auto;min-width:0}
html .vxg-listing .thumb.vxg-thumb-card .thumb-bottom .thumb-item-date{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}

@media (max-width:767px){
  html .vxg-listing .section-row > .heading{gap:8px;margin-bottom:12px;padding:6px 0 8px}
  html .vxg-listing .section-row > .heading > .title{margin-bottom:0;font-size:20px;line-height:1.2}
  html .vxg-listing .heading .sort .sort-title{height:36px;gap:6px;padding:0 11px;font-size:12.5px}
  html .vxg-listing .heading .sort .sort-title > i{display:none}
  html .vxg-listing .heading .sort .sort-title .vxg-pill-current{display:none}
  html .vxg-listing .heading .vxg-density{flex:0 0 auto;margin-left:auto;padding:3px}
  html .vxg-listing .heading .vxg-density-btn{width:31px;height:28px}

  html:not(.vxg-density-comfort) .vxg-listing .grid-temp{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:8px!important;row-gap:22px!important}
  html.vxg-density-comfort .vxg-listing .grid-temp{grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;row-gap:28px!important}

  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .vxg-card-meta{position:static!important;gap:6px!important;margin-top:7px!important}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .vxg-actors .vxg-avatar-wrap:nth-child(n+2){display:none}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .title{font-size:12px!important;line-height:1.25!important}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-bottom,
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{gap:4px!important;margin-top:4px!important}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-bottom .thumb-item{font-size:10.5px!important}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-bottom .vxg-vues{display:none}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-item-date{display:none!important}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .vxg-card-bookmark{position:absolute!important;top:8px!important;right:8px!important;z-index:8;width:32px;height:32px;margin:0;border:1px solid rgba(255,255,255,.14);background:rgba(7,7,8,.78);color:#fff;backdrop-filter:blur(8px)}
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .vxg-card-badges{max-width:calc(100% - 50px);overflow:hidden}
}

@media (min-width:768px) and (max-width:1023px){
  html:not(.vxg-density-comfort) .vxg-listing .thumb.vxg-thumb-card .thumb-item-date{display:none!important}
}
/* ====================== fin INCREMENT listing vidéo mobile compact ====================== */

/* ===================================================================
   VXG-v2 — Page Catégories v2 (groupes, trending, recherche, A-Z)
   Surcouche : accent #DC2D3A, dark-only. Adapté de la réf. beurgay.
   =================================================================== */

/* --- Trending (carrousel) --- */
.trending-categories-row{margin-bottom:24px}
.trending-categories-row .heading{margin-bottom:12px}
.trending-categories-row .heading .title{display:flex;align-items:center;gap:8px;font-size:20px}
.trending-categories-row .heading .title .svg-icon{width:20px;height:20px;fill:#DC2D3A}
.trending-cats-swiper{position:relative;overflow:hidden}
.trending-cats-swiper .swiper-slide{width:200px;flex-shrink:0}
.trending-cat-card{display:block;border-radius:10px;overflow:hidden;position:relative;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease}
.trending-cat-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(220,45,58,.18)}
.trending-cat-img{position:relative;padding-bottom:62%;overflow:hidden;background:#1d1d1d}
.trending-cat-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.trending-cat-card:hover .trending-cat-img img{transform:scale(1.06)}
.trending-cat-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.1) 50%,transparent 100%);z-index:1}
.trending-cat-info{position:absolute;left:0;right:0;bottom:0;padding:12px;z-index:2;display:flex;flex-direction:column;gap:3px}
.trending-cat-title{font-weight:600;font-size:14px;color:#fff;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trending-cat-count{font-size:12px;color:#DC2D3A;font-weight:600}

/* --- Onglets de groupes --- */
.explore-tabs-row{margin-bottom:18px}
.explore-tabs{display:flex;gap:0;border-bottom:2px solid #282828;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.explore-tabs::-webkit-scrollbar{display:none}
.explore-tab{padding:12px 20px;font-size:14px;font-weight:500;color:#b8b8b8;white-space:nowrap;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .25s,border-color .25s;text-decoration:none}
.explore-tab:hover{color:#fff}
.explore-tab.active{color:#DC2D3A;border-bottom-color:#DC2D3A;font-weight:600}

/* --- Barre d'outils : recherche + chips de tri (sticky) --- */
.cat-toolbar{display:flex;align-items:center;gap:15px;margin-bottom:14px;flex-wrap:wrap;position:sticky;top:0;z-index:20;background:var(--main-background,#161616);padding:10px 0}
.cat-search{position:relative;flex:0 0 280px;max-width:100%}
.cat-search .svg-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:#777;pointer-events:none}
.cat-search-input{width:100%;padding:10px 15px 10px 38px;border-radius:8px;border:1px solid #2e2e32;background:#1d1d1d;color:#fff;font-size:14px;outline:none;transition:border-color .25s,box-shadow .25s}
.cat-search-input::placeholder{color:#777}
.cat-search-input:focus{border-color:#DC2D3A;box-shadow:0 0 0 2px rgba(220,45,58,.18)}
.cat-sort-chips{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.sort-chip{display:inline-flex;align-items:center;padding:8px 16px;border-radius:20px;font-size:13px;font-weight:500;color:#b8b8b8;background:#1d1d1d;border:1px solid #2e2e32;cursor:pointer;transition:all .2s ease;white-space:nowrap;text-decoration:none}
.sort-chip:hover{color:#fff;border-color:#DC2D3A}
.sort-chip.active{background:#DC2D3A;color:#fff;border-color:#DC2D3A;font-weight:600}

/* --- Barre A-Z --- */
.cat-az-bar{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:18px}
.cat-az-bar:empty{display:none}
.cat-az-bar .az-letter{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 6px;border-radius:6px;font-size:13px;color:#b8b8b8;background:#1d1d1d;border:1px solid #2e2e32;cursor:pointer;text-decoration:none;transition:all .15s}
.cat-az-bar .az-letter:hover{color:#fff;border-color:#DC2D3A}
.cat-az-bar .az-letter.active{background:#DC2D3A;color:#fff;border-color:#DC2D3A;font-weight:600}

/* --- Cartes catégories (refonte) --- */
.categories-thumbs .thumb .img-holder{position:relative;border-radius:10px;overflow:hidden;background:#1d1d1d}
.categories-thumbs .img-holder img{transition:opacity .3s ease,transform .4s ease}
.categories-thumbs .cat-img-hover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.categories-thumbs .thumb a:hover .cat-img-hover{opacity:1}
.categories-thumbs .cat-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.05) 50%,transparent 100%);z-index:1;transition:opacity .3s ease}
.categories-thumbs .thumb a:hover .cat-overlay{opacity:.85}
.categories-thumbs .cat-title{position:absolute;left:0;right:0;bottom:0;padding:12px;z-index:3;background:none;backdrop-filter:none;display:flex;align-items:flex-end}
.categories-thumbs .cat-title .title{font-weight:600;font-size:15px;line-height:1.3;color:#fff !important;margin:0;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.categories-thumbs .cat-video-count{position:absolute;top:8px;right:8px;z-index:3;display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:6px;background:rgba(0,0,0,.7);backdrop-filter:blur(4px);color:#fff;font-size:12px;font-weight:500}
.categories-thumbs .cat-video-count .svg-icon{width:12px;height:12px;fill:#DC2D3A}
.categories-thumbs .cat-badge{position:absolute;top:8px;left:8px;z-index:3;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700;line-height:1;color:#fff;background:#DC2D3A;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.categories-thumbs .cat-bottom{padding:8px 4px;display:flex;align-items:center;gap:12px}
.categories-thumbs .cat-stat{display:flex;align-items:center;gap:4px;font-size:12px;color:#b8b8b8}
.categories-thumbs .cat-stat .svg-icon{width:13px;height:13px;fill:#777}

/* --- État de chargement (skeleton AJAX) --- */
.categories-page-section.is-loading .categories-thumbs{opacity:.45;pointer-events:none;transition:opacity .2s}

/* --- Hover lift (pointeur fin) --- */
@media (hover:hover){
  .categories-thumbs .thumb a{display:block;transition:transform .3s ease}
  .categories-thumbs .thumb a:hover{transform:translateY(-2px)}
}

/* --- Responsive --- */
@media (max-width:900px){
  .cat-toolbar{flex-direction:column;align-items:stretch}
  .cat-search{flex:1 1 100%}
  .cat-sort-chips{justify-content:flex-start}
}
@media (max-width:660px){
  .explore-tab{padding:10px 14px;font-size:13px}
  .trending-cat-title{font-size:13px}
  .categories-thumbs .cat-title .title{font-size:13px}
  .categories-thumbs .cat-video-count{font-size:11px;padding:3px 7px}
}
@media (max-width:479px){
  .sort-chip{padding:6px 12px;font-size:12px}
  .cat-search-input{font-size:13px;padding:8px 12px 8px 34px}
}
/* ====================== fin Page Catégories v2 ====================== */

/* ====== Trending : rail horizontal identique au rail d'accueil (hors .vxg-home) ====== */
.trending-categories-row .vxg-categories-rail{display:flex;flex-wrap:nowrap;gap:16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;margin:0;padding:4px 0 10px;-webkit-overflow-scrolling:touch}
.trending-categories-row .vxg-categories-rail::-webkit-scrollbar{display:none}
.trending-categories-row .vxg-categories-rail .thumb{flex:0 0 220px;width:220px;padding:0}
.trending-categories-row .vxg-categories-rail .thumb a{display:block}
.trending-categories-row .vxg-categories-rail .img-holder{position:relative;aspect-ratio:4/3;width:100%;height:auto;padding-bottom:0 !important;border-radius:16px;overflow:hidden;background:#1d1d1d}
.trending-categories-row .vxg-categories-rail .img-holder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:16px;transition:transform .4s ease}
.trending-categories-row .vxg-categories-rail .cat-title{position:absolute;left:0;right:0;bottom:0;z-index:2;display:block;padding:14px;background:linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.36) 62%,transparent)}
.trending-categories-row .vxg-categories-rail .cat-title .title{display:block;margin:0;color:#fff;font-size:16px;font-weight:700;line-height:1.15;white-space:normal;text-shadow:none}
.trending-categories-row .vxg-categories-rail .vxg-category-count{display:block;margin-top:6px;color:rgba(255,255,255,.8);font-size:11px}
@media (min-width:1024px){.trending-categories-row .vxg-categories-rail .thumb{flex:0 0 252px;width:252px}.trending-categories-row .vxg-categories-rail .thumb a:hover .img-holder img{transform:scale(1.06)}}
@media (max-width:767px){.trending-categories-row .vxg-categories-rail .thumb{flex:0 0 190px;width:190px}}
/* ====== fin Trending rail ====== */

/* ====== Carte catégorie (grille page /categories) — design unifié, autorité sur l'ancien bloc "section 17" ====== */
html .categories-page-section .categories-thumbs .thumb .img-holder{position:relative;aspect-ratio:4/3;padding-bottom:0;border-radius:16px;overflow:hidden;margin-bottom:0}
html .categories-page-section .categories-thumbs .cat-overlay{display:none}              /* un seul dégradé (via .img-holder::after) */
html .categories-page-section .categories-thumbs .cat-title{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:flex-end;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:10px 12px}
html .categories-page-section .categories-thumbs .cat-title .title{font-family:'Outfit',sans-serif;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:-.01em;color:#fff;margin:0;text-transform:none;text-shadow:0 1px 3px rgba(0,0,0,.55)}
html .categories-page-section .categories-thumbs .cat-video-count{position:absolute;top:8px;right:8px;z-index:4;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:8px;background:rgba(0,0,0,.62);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;font-size:12px;font-weight:600;line-height:1}
html .categories-page-section .categories-thumbs .cat-video-count .svg-icon{width:12px;height:12px;fill:#fff}
html .categories-page-section .categories-thumbs .cat-badge{position:absolute;top:8px;left:8px;z-index:4;padding:3px 8px;border-radius:8px;background:#DC2D3A;color:#fff;font-size:11px;font-weight:700;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.3)}
html .categories-page-section .categories-thumbs .cat-bottom{display:flex;align-items:center;gap:10px;padding:8px 2px 2px}
html .categories-page-section .categories-thumbs .cat-stat{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1;color:#b8b8b8}
html .categories-page-section .categories-thumbs .cat-stat .svg-icon{width:13px;height:13px;fill:currentColor}
/* ====== fin carte catégorie grille ====== */

/* ====== Rythme vertical des cartes catégories (anti "collées") ======
   % collé à SON image (gap court au-dessus) + grand espace sous la carte (séparation des rangées) */
html .categories-page-section .categories-thumbs .thumb{padding-bottom:18px}
html .categories-page-section .categories-thumbs .cat-bottom{padding:7px 2px 0;margin:0}

/* ====== FIX carte grille : <a> en block inconditionnel ======
   Sans (hover:hover) (tactile/mobile) le <a> restait inline -> whitespace inline entre
   .img-holder et .cat-bottom = % décalé + cartes collées. */
html .categories-page-section .categories-thumbs .thumb a{display:block;color:inherit;text-decoration:none}

/* ====== Espacement vertical des rangées (flex-wrap sans row-gap natif) ====== */
html .categories-page-section .categories-thumbs{row-gap:22px}
html .categories-page-section .categories-thumbs .thumb{padding-top:5px;padding-bottom:6px}
html .categories-page-section .categories-thumbs .cat-bottom{padding:8px 2px 0}

/* ====== FIX /categories : grille cartes robuste ======
   La page categories ne doit pas hériter du layout flex/padding générique de .thumb.
   On force une grille stable et on attache le % like à la carte. */
html .categories-page-section .categories-thumbs{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:24px!important;
  margin:0 0 34px!important;
  padding:0!important;
  width:100%;
  align-items:start;
}
html .categories-page-section .categories-thumbs .thumb{
  width:auto!important;
  min-width:0;
  padding:0!important;
  margin:0!important;
}
html .categories-page-section .categories-thumbs .thumb a{
  position:relative;
  display:flex!important;
  flex-direction:column;
  height:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:#070707;
  color:inherit;
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
html .categories-page-section .categories-thumbs .thumb .img-holder{
  position:relative;
  aspect-ratio:4/3;
  width:100%;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  overflow:hidden;
  background:#101010;
}
html .categories-page-section .categories-thumbs .thumb .img-holder::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.42) 44%,rgba(0,0,0,.06) 100%);
}
html .categories-page-section .categories-thumbs .thumb .img-holder img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0!important;
}
html .categories-page-section .categories-thumbs .cat-overlay{display:none!important}
html .categories-page-section .categories-thumbs .cat-title{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  display:block;
  padding:12px 14px;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html .categories-page-section .categories-thumbs .cat-title .title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0!important;
  color:#fff!important;
  font-size:16px;
  font-weight:750;
  line-height:1.14;
  letter-spacing:0;
  text-transform:none;
  text-shadow:0 2px 8px rgba(0,0,0,.72);
}
html .categories-page-section .categories-thumbs .cat-video-count{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:calc(100% - 20px);
  padding:5px 9px;
  border-radius:9px;
  background:rgba(0,0,0,.66);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
html .categories-page-section .categories-thumbs .cat-video-count .svg-icon{
  flex:0 0 auto;
  width:12px;
  height:12px;
  fill:#d7ad4b;
}
html .categories-page-section .categories-thumbs .cat-badge{
  top:10px;
  left:10px;
  z-index:4;
  border-radius:9px;
}
html .categories-page-section .categories-thumbs .cat-bottom{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  min-height:38px;
  margin:0!important;
  padding:9px 13px 10px!important;
  border-top:1px solid rgba(255,255,255,.06);
  background:#070707;
}
html .categories-page-section .categories-thumbs .cat-stat{
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  min-width:0;
  color:#8f8f96;
  font-size:12px;
  font-weight:700;
  line-height:1;
}
html .categories-page-section .categories-thumbs .cat-stat .svg-icon{
  flex:0 0 auto;
  width:14px;
  height:14px;
  fill:currentColor;
}
@media (hover:hover){
  html .categories-page-section .categories-thumbs .thumb a:hover{
    transform:translateY(-3px);
    border-color:rgba(215,173,75,.35);
    box-shadow:0 16px 34px rgba(0,0,0,.32);
  }
  html .categories-page-section .categories-thumbs .thumb a:hover .img-holder img{
    transform:scale(1.045);
  }
}
@media (max-width:767px){
  html .categories-page-section .categories-thumbs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px!important;
  }
  html .categories-page-section .categories-thumbs .cat-title{padding:10px}
  html .categories-page-section .categories-thumbs .cat-title .title{font-size:14px}
  html .categories-page-section .categories-thumbs .cat-video-count{
    top:8px;
    right:8px;
    padding:4px 7px;
    font-size:11px;
  }
  html .categories-page-section .categories-thumbs .cat-bottom{
    min-height:34px;
    padding:8px 10px!important;
  }
}
@media (max-width:360px){
  html .categories-page-section .categories-thumbs{gap:10px!important}
  html .categories-page-section .categories-thumbs .cat-title .title{font-size:13px}
  html .categories-page-section .categories-thumbs .cat-stat{font-size:11px}
}

/* ====================== WATCH — informations sous le player ====================== */
html .wrapper.vxg-video-page{overflow-x:clip}
html .col-video .title-holder{margin:16px 0 0}
html .col-video .title-holder .title{
  display:block;
  overflow:visible;
  margin:0;
  color:var(--foreground);
  font-family:'Outfit','Inter',sans-serif;
  font-size:clamp(20px,2vw,26px);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
  -webkit-box-orient:initial;
  -webkit-line-clamp:unset;
}
/* --- Entête vidéo : identité/contexte, puis actions sur une ligne dédiée. --- */
html .vxg-topline{
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:10px;
  min-width:0;
  margin:10px 0 0;
}
html .vxg-identity-row{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
html .vxg-topline>.vxg-actions-lane{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  min-width:0;
  margin:0;
  container-type:inline-size;
}
html .vxg-actions-lane>.vxg-action-bar{
  width:100%;
}
html .vxg-info-source{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 1 auto;
  min-width:0;
  max-width:58%;
  min-height:44px;
  padding:0;
  border:0;
  background:transparent;
}
html .vxg-info-source .vxg-uploader{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 1 auto;
  min-width:0;
  min-height:44px;
  color:var(--foreground);
  text-decoration:none;
}
html .vxg-info-source .vxg-source-avatar{
  display:block;
  width:30px;
  height:30px;
  flex:0 0 30px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:50%;
  background:var(--surface);
  object-fit:cover;
  opacity:.88;
  transition:opacity .16s;
}
html .vxg-info-source .vxg-uploader:hover .vxg-source-avatar{opacity:1}
html .vxg-info-source .vxg-source-copy{
  display:block;
  min-width:0;
  white-space:nowrap;
}
html .vxg-info-source .vxg-uploader .vxg-source-copy strong{
  display:block;
  overflow:hidden;
  color:var(--muted-foreground);
  font:inherit;
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html .vxg-info-source .vxg-uploader:hover .vxg-source-copy strong{
  color:var(--muted-foreground);
  text-decoration:underline;
  text-underline-offset:3px;
}
/* Suivre : petite capsule de marque ; pseudo-élément = cible tactile de 44 px. */
html .vxg-follow{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:30px;
  padding:0 10px;
  border:1px solid rgba(230,0,46,.66);
  border-color:color-mix(in oklab,var(--primary) 72%,var(--border));
  border-radius:9999px;
  background:rgba(184,5,7,.82);
  background:color-mix(in oklab,var(--primary) 82%,#09090a);
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  transition:background .16s,border-color .16s,color .16s;
}
html .vxg-follow::after{content:"";position:absolute;inset:-7px -2px}
html .vxg-follow:hover{border-color:var(--primary);background:var(--primary);color:#fff}
html .vxg-follow .vxg-follow-on{display:none}
html .vxg-follow.is-on{
  border-color:var(--border);
  background:var(--surface-elevated);
  color:var(--muted-foreground);
}
html .vxg-follow.is-on .vxg-follow-on{display:inline}
html .vxg-follow.is-on .vxg-follow-off{display:none}
html .vxg-follow[hidden]{display:none}
/* Chaîne : fallback textuel lorsque la vidéo n'a pas d'uploader. */
html .vxg-info-source .vxg-source-studio{
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex:0 1 auto;
  min-width:0;
  max-width:15rem;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--muted-foreground);
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  text-decoration:none;
}
html .vxg-info-source .vxg-source-studio:hover{
  color:var(--muted-foreground);
  text-decoration:underline;
  text-underline-offset:3px;
}
html .vxg-info-source .vxg-source-studio .vxg-source-kicker{
  display:none;
}
html .vxg-info-source .vxg-source-studio strong{
  min-width:0;
  overflow:hidden;
  font:inherit;
  font-weight:500;
  text-overflow:ellipsis;
  white-space:nowrap;
}

html .col-video .block-tabs{margin-top:0}
html .vxg-info-card{
  margin-top:14px;
  padding:16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
}
/* Métadonnées contextuelles : même ton et même poids, sans concurrence avec le titre. */
html .vxg-info-meta{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  color:var(--muted-foreground);
  font-size:12.5px;
  font-weight:500;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
html .vxg-info-meta>span:first-child{color:inherit;font-weight:inherit}
html .vxg-description-wrap{display:grid;gap:6px;margin-top:0}
html .col-video .block-tabs .vxg-video-description{
  display:block;
  overflow:visible;
  margin:0;
  color:rgba(248,248,249,.88);
  color:color-mix(in oklab,var(--foreground) 88%,transparent);
  font-size:14px;
  line-height:1.62;
  cursor:auto;
  -webkit-box-orient:initial;
  -webkit-line-clamp:unset;
}
html .col-video .block-tabs .vxg-video-description.is-collapsible:not(.expanded){
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
html .vxg-description-toggle{
  justify-self:end;
  min-height:44px;
  padding:0 4px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--foreground);
  font:inherit;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
}
html .vxg-description-toggle[hidden]{display:none!important}
html .vxg-description-toggle:hover{color:var(--primary-glow)}

html .vxg-context-heading{
  margin:24px 0 12px;
  color:var(--foreground);
  font-family:'Outfit','Inter',sans-serif;
  font-size:19px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.01em;
}
@media (max-width:767px){html .vxg-context-heading{margin-top:22px;font-size:18px}}

html .vxg-comment-preview{
  position:relative;
  min-width:0;
  margin-top:24px;
}
html .vxg-comment-preview-link{
  display:block;
  min-height:88px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  color:var(--foreground);
  text-decoration:none;
  transition:border-color .16s,background .16s;
}
html .vxg-comment-preview-head{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  margin-bottom:7px;
}
html .vxg-comment-preview-head strong{
  color:var(--foreground);
  font-family:'Outfit','Inter',sans-serif;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
}
html .vxg-comment-preview-count{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:20px;
  padding:0 6px;
  border:1px solid var(--border);
  border-radius:9999px;
  background:var(--muted);
  color:var(--muted-foreground);
  font-size:10.5px;
  font-weight:750;
  font-variant-numeric:tabular-nums;
}
html .vxg-comment-preview-body{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-width:0;
}
html .vxg-comment-preview-avatar{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:50%;
  background:var(--surface-elevated);
  color:var(--muted-foreground);
  transition:opacity .17s ease,transform .17s ease;
}
html .vxg-comment-preview-avatar img{width:100%;height:100%;object-fit:cover}
html .vxg-comment-preview-avatar svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html .vxg-comment-preview-copy{display:block;min-width:0;transition:opacity .17s ease,transform .17s ease}
html .vxg-comment-preview-meta{
  display:block;
  overflow:hidden;
  margin-bottom:2px;
  color:var(--muted-foreground);
  font-size:11.5px;
  font-weight:650;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html .vxg-comment-preview-text{
  display:-webkit-box;
  overflow:hidden;
  color:rgba(248,248,249,.88);
  color:color-mix(in oklab,var(--foreground) 88%,transparent);
  font-size:13.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
html .vxg-comment-preview-chevron{width:18px;height:18px;fill:none;stroke:var(--muted-foreground);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Transition ticker : sortie = monte + fade ; entrée = arrive du bas,
   avatar en léger décalé (cascade). Bouton pause retiré 16/07 (le hover,
   le focus, la sheet et prefers-reduced-motion suspendent déjà). */
html .vxg-comment-preview.is-changing .vxg-comment-preview-copy,
html .vxg-comment-preview.is-changing .vxg-comment-preview-avatar{opacity:0;transform:translateY(-9px)}
@keyframes vxg-preview-in{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
html .vxg-comment-preview.is-entering .vxg-comment-preview-copy{animation:vxg-preview-in .26s cubic-bezier(.22,.9,.32,1) both}
html .vxg-comment-preview.is-entering .vxg-comment-preview-avatar{animation:vxg-preview-in .26s cubic-bezier(.22,.9,.32,1) .04s both}
@media (prefers-reduced-motion:reduce){
  html .vxg-comment-preview-copy,
  html .vxg-comment-preview-avatar{transition:none!important;animation:none!important;transform:none!important;opacity:1!important}
}
html .vxg-comment-preview-link:focus-visible{outline:2px solid var(--primary-glow);outline-offset:3px}
@media (hover:hover) and (pointer:fine){
  html .vxg-comment-preview-link:hover{border-color:color-mix(in oklab,var(--foreground) 22%,var(--border));background:var(--surface-elevated)}
}
@media (max-width:767px){
  html .vxg-comment-preview{margin-top:22px}
  html .vxg-comment-preview-link{min-height:96px;padding:13px 12px}
  html .vxg-comment-preview-body{grid-template-columns:32px minmax(0,1fr) 16px;gap:9px}
  html .vxg-comment-preview-avatar{width:32px;height:32px}
  html .vxg-comment-preview-text{font-size:13px}
}

html .vxg-comments-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}
html.vxg-watch-page .vxg-comments-section.is-mobile-inline-hidden{display:none!important}
html .vxg-comment-login-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  color:var(--muted-foreground);
  font-size:13px;
}
html .vxg-comment-login-note a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 15px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface-elevated);
  color:var(--foreground);
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}

html .vxg-uploader:focus-visible,
html .vxg-source-studio:focus-visible,
html .vxg-follow:focus-visible,
html .vxg-description-toggle:focus-visible{
  outline:2px solid var(--primary-glow);
  outline-offset:3px;
}
html .vxg-comment-login-note a:focus-visible{outline:2px solid var(--primary-glow);outline-offset:3px}

@media (max-width:767px){
  html .col-video .title-holder{margin-top:12px}
  html .col-video .title-holder .title{font-size:20px;line-height:1.28}
  html .vxg-topline{gap:10px;margin-top:6px}
  html .vxg-identity-row{gap:8px}
  html .vxg-info-source{flex:0 1 auto;gap:7px;max-width:none}
  html .vxg-info-source .vxg-uploader{gap:6px}
  html .vxg-info-source .vxg-source-avatar{width:28px;height:28px;flex-basis:28px}
  html .vxg-info-source .vxg-uploader .vxg-source-copy strong{font-size:12.5px;font-weight:500}
  html .vxg-follow{min-height:30px;padding:0 8px;font-size:12.5px}
  html .vxg-info-source .vxg-source-studio{max-width:100%;font-size:12.5px}
  html .vxg-info-meta{margin-left:0;gap:4px;font-size:11.5px}
  html .vxg-meta-published{display:none}
  html .vxg-info-card{margin-top:12px;padding:14px}
  html .vxg-comment-login-note{align-items:flex-start;flex-direction:column}
  html .vxg-comment-login-note a{width:100%}
}

@media (max-width:350px){
  html .vxg-identity-row{gap:6px}
  html .vxg-info-source{gap:5px}
  html .vxg-info-source .vxg-uploader{gap:5px}
  html .vxg-info-source .vxg-source-avatar{width:26px;height:26px;flex-basis:26px}
  html .vxg-info-source .vxg-uploader .vxg-source-copy strong{font-size:12px}
  html .vxg-follow{padding:0 7px;font-size:12px}
  html .vxg-info-source .vxg-source-studio{font-size:11.5px}
  html .vxg-info-meta{gap:3px;font-size:10.5px}
}

/* ====================== WATCH — finition mobile, sections et commentaires ====================== */
html.vxg-watch-page .vxg-sheet{background:var(--surface-elevated)}
html body.vxg-comments-sheet-open .vxg-sheet-backdrop{z-index:258}
html body.vxg-comments-sheet-open .vxg-sheet.is-comments{z-index:260}
html body.vxg-comments-sheet-open .vxg-bottomnav,
html body.vxg-comments-sheet-open .vxg-sticky-ad{visibility:hidden;pointer-events:none}
html.vxg-watch-page .vxg-sheet.is-comments .vxg-sheet-body{padding-top:0}
html.vxg-watch-page .vxg-sheet.is-comments .vxg-comments-section{display:block!important;margin:0;padding:0;border:0;scroll-margin-top:0}
html.vxg-watch-page .vxg-mobile-adband{
  background:var(--surface);
  color:var(--muted-foreground);
}
html.vxg-watch-page .vxg-mobile-adband .vxg-ad-label{color:var(--muted-foreground)}

html.vxg-watch-page .vxg-page-section-heading{
  display:flex;
  align-items:center;
  min-height:28px;
  margin:0 0 18px;
}
html.vxg-watch-page .vxg-page-section-heading .title{margin:0!important}
html.vxg-watch-page .vxg-live-section{margin-top:36px}
html.vxg-watch-page .vxg-for-you-section .vxg-page-section-heading{margin-bottom:18px}

html.vxg-watch-page #list_playlists_playlists_items.playlist-thumbs,
html.vxg-watch-page #list_playlists_playlists_items.playlist-thumbs>form.playlist-thumbs,
html.vxg-watch-page #list_playlists_playlists_items>form.playlist-thumbs{
  display:flex;
  flex-flow:row nowrap;
  gap:12px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
html.vxg-watch-page #list_playlists_playlists_items.playlist-thumbs>form.playlist-thumbs,
html.vxg-watch-page #list_playlists_playlists_items>form.playlist-thumbs{margin:0;padding:0 2px 14px}
html.vxg-watch-page #list_playlists_playlists_items.playlist-thumbs .thumb{float:none;scroll-snap-align:start}

html.vxg-watch-page .vxg-comments-section{
  display:block!important;
  margin-top:32px;
  padding-top:0;
  border-top:0;
  scroll-margin-top:84px;
}
html.vxg-watch-page .ralated-holder{margin-top:0;padding-top:0;border-top:0}
html.vxg-watch-page .vxg-comments-heading{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 16px;
}
html.vxg-watch-page .vxg-comments-heading h2{
  margin:0;
  color:var(--foreground);
  font-family:'Outfit','Inter',sans-serif;
  font-size:20px;
  font-weight:800;
  line-height:1.2;
}
html.vxg-watch-page .vxg-comments-count{
  display:inline-grid;
  place-items:center;
  min-width:26px;
  height:24px;
  padding:0 7px;
  border:1px solid var(--border);
  border-radius:9999px;
  background:var(--muted);
  color:var(--muted-foreground);
  font-size:11px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
html.vxg-watch-page .vxg-comment-login-note,
html.vxg-watch-page .vxg-comment-composer{
  margin:0 0 22px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
}
html.vxg-watch-page .vxg-comment-composer .block-new-comment{margin:0}
html.vxg-watch-page .vxg-comment-composer .row{margin:8px 0 0}
html.vxg-watch-page .vxg-comment-composer .row:first-child{margin-top:0}
html.vxg-watch-page .vxg-comment-composer .field-label{display:block;margin:0 0 7px;color:var(--muted-foreground);font-size:12px;font-weight:700}
:is(html.vxg-watch-page,html.vxg-model-page) .block-new-comment:not(.expanded) .row:not(:first-child){display:none}
:is(html.vxg-watch-page,html.vxg-model-page) .block-new-comment:not(.expanded) .smileys-bar{display:none}
:is(html.vxg-watch-page,html.vxg-model-page) .comment-holder textarea.not-expanded,
:is(html.vxg-watch-page,html.vxg-model-page) .comment-holder .block-new-comment:not(.expanded) textarea[name="comment"]{
  width:100%;
  min-height:52px!important;
  height:52px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface-elevated);
  color:var(--foreground);
  font:400 14px/1.45 'Inter',sans-serif;
  resize:none;
}
:is(html.vxg-watch-page,html.vxg-model-page) .block-new-comment.expanded .row{display:block;animation:vxg-comment-form-in .18s ease both}
:is(html.vxg-watch-page,html.vxg-model-page) .block-new-comment.expanded textarea{min-height:120px}
html.vxg-watch-page .vxg-comment-composer .submit{
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:9999px;
  background:var(--primary);
  color:#fff;
  font:800 13px/1 'Inter',sans-serif;
  cursor:pointer;
}
html.vxg-watch-page .vxg-comments-empty{margin:0 0 18px;color:var(--muted-foreground);font-size:14px}
@keyframes vxg-comment-form-in{from{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:none}}

:is(html.vxg-watch-page,html.vxg-model-page) .list-comments{position:relative;overflow:visible}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .vxg-comment-items{
  display:block!important;
  margin:0!important;
  padding:0!important;
  list-style:none;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .item,
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .item.dim-comment{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0;
  padding:16px 0;
  border:0;
  border-bottom:1px solid var(--border);
  color:var(--foreground);
  opacity:1;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .item:first-child{padding-top:4px}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .item:last-child{margin:0}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .image{
  width:42px;
  height:42px;
  flex:0 0 42px;
  margin:0;
  border:1px solid var(--border);
  border-radius:50%;
  background:var(--surface);
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .image img{width:100%;height:100%;object-fit:cover}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .image .icon-user{font-size:20px}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .text{min-width:0;align-items:center}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-info{min-width:0;color:var(--muted-foreground);font-size:12px}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-info .username{margin-right:10px;color:var(--foreground);font-size:13px;font-weight:700}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .date-holder i{display:none}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-text{
  width:100%;
  margin:0;
  padding:8px 0 0;
  color:rgba(248,248,249,.86);
  color:color-mix(in oklab,var(--foreground) 86%,transparent);
  font-size:13.5px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options{
  display:inline-flex;
  align-items:center;
  gap:2px;
  margin-left:auto;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-like,
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-dislike{
  display:inline-grid;
  place-items:center;
  min-width:32px;
  width:32px;
  height:32px;
  margin:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted-foreground);
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-like svg,
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-dislike svg{
  width:15px;
  height:15px;
  fill:currentColor;
  color:inherit;
  transform:none!important;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-rating,
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-rating.positive,
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-rating.negative{
  min-width:22px;
  margin:0;
  padding:0 3px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--muted-foreground);
  font-size:11px;
  font-weight:650;
  line-height:1;
  text-align:center;
}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-edit{min-height:32px;height:auto;margin-left:4px;background:transparent;color:var(--muted-foreground);font-size:11px}
:is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options a:focus-visible{outline:2px solid var(--primary-glow);outline-offset:1px}
@media (hover:hover) and (pointer:fine){
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-like:hover,
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-dislike:hover{
    background:rgba(255,255,255,.08);
    background:color-mix(in oklab,var(--foreground) 8%,transparent);
    color:var(--foreground);
  }
}
html.vxg-watch-page #video_comments_video_comments_pagination.load-more{display:flex;justify-content:center;margin:20px 0 0}
html.vxg-watch-page #video_comments_video_comments_pagination .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border:1px solid var(--border);
  border-radius:9999px;
  background:var(--surface);
  color:var(--foreground);
  font-size:13px;
  font-weight:800;
}

@media (max-width:1023px){
  html.vxg-watch-page .wrapper.vxg-video-page .main>.container{padding-right:16px;padding-left:16px}
  html.vxg-watch-page .col-video .player.video{margin-right:-16px;margin-left:-16px}
  html.vxg-watch-page .vxg-mobile-adband{margin-right:-16px;margin-left:-16px;padding-right:16px;padding-left:16px}
  html.vxg-watch-page .vxg-comments-section{scroll-margin-top:calc(56.25vw + 12px)}
}
@media (max-width:767px){
  html.vxg-watch-page .col-video .title-holder{margin-top:16px}
  html.vxg-watch-page .vxg-comments-heading h2{font-size:19px}
  html.vxg-watch-page .vxg-comment-composer,
  html.vxg-watch-page .vxg-comment-login-note{padding:12px}
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .item{gap:10px;padding:14px 0}
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .image{width:38px;height:38px;flex-basis:38px}
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options{flex:0 0 auto}
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-like,
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-options .comment-dislike{width:40px;min-width:40px;height:40px}
  html.vxg-watch-page .vxg-page-section-heading{margin-bottom:16px}
}
@media (max-width:420px){
  :is(html.vxg-watch-page,html.vxg-model-page) .list-comments .comment-info{flex-direction:column;align-items:flex-start;line-height:1.35}
}
@media (prefers-reduced-motion:reduce){:is(html.vxg-watch-page,html.vxg-model-page) .block-new-comment.expanded .row{animation:none}}

/* ============================================================
   §META CARTES VIDÉO — MOBILE (16/07)
   Ré-affiche les icônes (œil/calendrier, cachées par design desktop
   :278/:2077) et remet des espacements lisibles : les valeurs étaient
   collées, séparées d'un point 3px quasi invisible. En FIN de fichier
   exprès : doit gagner sur les couches :2390-2410 et :3748-3757.
   ============================================================ */
@media (max-width:767px){
  /* position:static OBLIGATOIRE : black_orange (:2563) pose les <i> en
     absolute left:0 → sans reset ils se dessinent PAR-DESSUS le compteur. */
  html .thumb .thumb-bottom .thumb-item i,
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item i{display:inline-flex!important;position:static!important;align-items:center;flex:0 0 auto;margin:0}
  html .thumb .thumb-bottom .thumb-item i .svg-icon{width:13px;height:13px;fill:var(--muted-foreground)}
  /* l'œil rend le mot « vues » redondant */
  html .thumb .thumb-bottom .thumb-item .vxg-vues{display:none!important}
  /* les icônes remplacent les points séparateurs */
  html .thumb .thumb-bottom .thumb-item+.thumb-item::before,
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item+.thumb-item::before{content:none!important;margin:0!important}
  /* variante .thumb-bottom-videos indispensable : la couche :3792 est en
     (0,4,1)+!important — il faut l'égaler pour que la déclaration tardive gagne */
  html .thumb .thumb-bottom,
  html .thumb.vxg-thumb-card .thumb-bottom,
  html .thumb.vxg-thumb-card .thumb-bottom.thumb-bottom-videos{gap:4px 10px!important}
  html .thumb .thumb-bottom .thumb-item,
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{gap:4px!important;padding-left:0!important}
  html .thumb .thumb-bottom .thumb-item.vxg-likes,
  html .thumb.vxg-thumb-card .thumb-bottom .thumb-item.vxg-likes{gap:4px!important}
}


/* ============================================================
   §PAGE MODÈLE V2 (18/07 — POC page-acteur v5 validé)
   Hero + identité + actions + stats + bio + sub-header sticky.
   Remplace le hero KVS brut (black_orange:8614-8725, markup disparu).
   ============================================================ */
html.vxg-model-page .holder-box{display:block}
html.vxg-model-page .holder-box>.content-section{width:100%}

html .vxg-mh{min-width:0}
html .vxg-mh-hero{position:relative;height:clamp(196px,28vw,320px);margin:-20px -10px 0;overflow:hidden}
@media (min-width:801px){html .vxg-mh-hero{margin:-20px -15px 0}}
/* desktop : collé au header (annule le margin-top du section-row) et à la mini-sidebar
   (annule le padding 24px du container + le centrage du container au-delà de son max-width,
   via max() décliné par palier .vxg-listing 1720/2060/2440) — sans arrondi */
@media (min-width:1024px){html .vxg-mh-hero{margin:-20px calc(-24px - max(0px, (100vw - 80px - 1720px)/2)) 0}}
@media (min-width:1760px){html .vxg-mh-hero{margin:-20px calc(-24px - max(0px, (100vw - 80px - 2060px)/2)) 0}}
@media (min-width:2200px){html .vxg-mh-hero{margin:-20px calc(-24px - max(0px, (100vw - 80px - 2440px)/2)) 0}}
/* garde-fou : clip sans créer de conteneur de scroll (sticky intacts) */
html.vxg-model-page{overflow-x:clip}
html .vxg-mh-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.1);filter:blur(14px);opacity:.5}
html .vxg-mh-hero.has-banner img{filter:blur(4px)}
html .vxg-mh-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,var(--background),oklch(0.08 0.004 25/.8) 40%,oklch(0.08 0.004 25/.3))}
html .vxg-mh-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 50% 120%,oklch(0.62 0.24 22/.35),transparent 70%)}

html .vxg-mh-head{position:relative;display:flex;gap:16px;align-items:flex-start}
@media (min-width:640px){html .vxg-mh-head{gap:22px}}
@media (min-width:1024px){html .vxg-mh-head{gap:28px}}
html .vxg-mh-avatar{width:104px;height:130px;margin-top:-52px;border-radius:18px;object-fit:cover;box-shadow:0 0 0 4px var(--background),var(--shadow-elevated);background:var(--surface);flex:0 0 auto}
@media (min-width:640px){html .vxg-mh-avatar{width:136px;height:170px;margin-top:-68px;border-radius:22px}}
@media (min-width:1024px){html .vxg-mh-avatar{width:168px;height:210px;margin-top:-90px;border-radius:26px}}
html .vxg-mh-avatar--none{display:grid;place-items:center;color:var(--muted-foreground)}
html .vxg-mh-avatar--none .svg-icon{width:44px;height:44px;fill:currentColor}
html .vxg-mh-id{min-width:0;flex:1;margin-top:-34px}
@media (min-width:640px){html .vxg-mh-id{margin-top:-40px}}
@media (min-width:1024px){html .vxg-mh-id{margin-top:-48px}}
html .vxg-mh-h1{margin:0;font-family:'Outfit','Inter',sans-serif;font-size:clamp(28px,4.6vw,46px);font-weight:800;letter-spacing:-.02em;line-height:1.05;text-shadow:0 2px 18px oklch(0 0 0/.5)}
html .vxg-mh-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;color:var(--muted-foreground);font-size:13.5px;font-weight:600}
html .vxg-mh-dot{opacity:.4}
html .vxg-mh-mitem{display:inline-flex;align-items:center;gap:5px;min-width:0}
html .vxg-mh-mitem svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
html .vxg-mh-note{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border:1px solid oklch(0.52 0.26 22/.4);border-radius:9999px;color:var(--primary-glow);font-size:11.5px;font-weight:800;font-variant-numeric:tabular-nums}
html .vxg-mh-note svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

html .vxg-mh-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}
html .vxg-mh-sub{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:9999px;background-image:var(--gradient-brand);color:#fff;font-size:14px;font-weight:800;text-decoration:none;box-shadow:var(--shadow-glow);transition:filter .16s,background .16s,color .16s;-webkit-tap-highlight-color:transparent}
html .vxg-mh-sub:hover{filter:brightness(1.1);color:#fff}
html .vxg-mh-sub svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
html .vxg-mh-sub em.button-info{font-style:normal;font-variant-numeric:tabular-nums;font-weight:800;opacity:.9}
html .vxg-mh-sub.is-on,html .vxg-mh-sub.done{background-image:none;background:oklch(1 0 0/.08);color:var(--foreground);border:1px solid oklch(1 0 0/.15);box-shadow:none}
html .vxg-mh-sub.is-on svg,html .vxg-mh-sub.done svg{fill:var(--primary);stroke:var(--primary)}
html .vxg-mh-of{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:9999px;background:#00AFF0;color:#fff;font-size:14px;font-weight:800;text-decoration:none;transition:filter .16s}
html .vxg-mh-of:hover{filter:brightness(1.08);color:#fff}
html .vxg-mh-of svg{width:19px;height:19px;fill:#fff}
html .vxg-mh-round{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:9999px;border:1px solid oklch(1 0 0/.1);background:oklch(1 0 0/.05);color:var(--muted-foreground);cursor:pointer;transition:background .16s,color .16s}
html .vxg-mh-round:hover{background:oklch(1 0 0/.1);color:var(--primary-glow)}
html .vxg-mh-round svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html .vxg-mh-round .vxg-mh-x{fill:currentColor;stroke:none}

html .vxg-mh-trend{display:inline-flex;align-items:center}
html .vxg-mh-trend svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
html .vxg-mh-trend.up{color:oklch(0.74 0.17 155)}
html .vxg-mh-trend.down{color:var(--primary-glow)}

html .vxg-mh-biowrap{max-width:820px}
html .vxg-mh-bio{margin:20px 0 0;color:oklch(0.98 0.003 25/.88);font-size:14.5px;line-height:1.65}
html .vxg-mh-bio.is-collapsible:not(.expanded){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html .vxg-mh-more{margin-top:4px;min-height:38px;border:0;background:none;color:var(--muted-foreground);font-weight:800;font-size:13px;cursor:pointer}
html .vxg-mh-more:hover{color:var(--primary-glow)}
html .vxg-mh-more[hidden]{display:none}

/* sub-header sticky (apparaît après le hero au scroll) */
html .vxg-mh-subhead{position:fixed;top:0;left:0;right:0;z-index:140;transform:translateY(-110%);transition:transform .25s ease;background:color-mix(in oklab,var(--background) 75%,transparent);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);border-bottom:1px solid oklch(1 0 0/.07)}
html .vxg-mh-subhead.on{transform:translateY(0)}
html .vxg-mh-subhead-in{display:flex;align-items:center;gap:11px;max-width:1720px;margin:0 auto;padding:8px 16px}
html .vxg-mh-subhead img{width:34px;height:42px;border-radius:9px;object-fit:cover}
html .vxg-mh-subhead strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'Outfit','Inter',sans-serif;font-size:15px;font-weight:800}
html .vxg-mh-sub--mini{margin-left:auto;min-height:36px;padding:0 15px;font-size:13px;border:0;cursor:pointer}
@media (max-width:1023px){html .vxg-mh-subhead{top:0}}
@media (prefers-reduced-motion:reduce){html .vxg-mh-subhead{transition:none}}

/* ---- P2 : onglets page modèle + panneaux + tri pills ---- */
html .vxg-mh-tabs{position:sticky;top:64px;z-index:120;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:24px -10px 0;padding:10px 12px;background:color-mix(in oklab,var(--background) 60%,transparent);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);border-bottom:1px solid oklch(1 0 0/.05)}
html .vxg-mh-tabs::-webkit-scrollbar{display:none}
@media (max-width:1023px){html .vxg-mh-tabs{top:56px}}
html .vxg-mh-tab{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:38px;padding:0 16px;border:0;border-radius:9999px;background:none;color:var(--muted-foreground);font-size:13.5px;font-weight:700;cursor:pointer;transition:background .16s,color .16s}
html .vxg-mh-tab:hover{color:var(--foreground);background:oklch(1 0 0/.05)}
html .vxg-mh-tab.on{background:var(--primary);color:#fff;box-shadow:var(--shadow-glow)}
html .vxg-mh-tab .n{font-size:11px;opacity:.75;font-variant-numeric:tabular-nums}
/* panneaux : défaut = Vidéos (grille visible, commentaires masqués, À propos masqué) */
html .vxg-mh-apropos{display:none;max-width:820px;margin-top:24px}
html.vxg-mtab-apropos .vxg-mh-apropos{display:block}
html.vxg-mtab-apropos .holder-box{display:none}
html.vxg-model-page .vxg-mh-compane{display:none}
html.vxg-mtab-comments .vxg-mh-compane{display:block}
html.vxg-mtab-comments #list_videos_common_videos_list{display:none}
html .vxg-mh-dl{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:640px){html .vxg-mh-dl{grid-template-columns:repeat(2,1fr)}}
html .vxg-mh-det{display:flex;flex-direction:column;gap:5px;margin:0;padding:12px 13px;border:1px solid oklch(1 0 0/.1);border-radius:13px;background:var(--surface)}
html .vxg-mh-det dt{color:var(--muted-foreground);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
html .vxg-mh-det dd{margin:0;font-size:14px;font-weight:650;color:var(--foreground)}
html .vxg-mh-apropos .vxg-mh-bio{margin-top:16px}
/* tri pills (dans le heading du bloc grille, fragment AJAX) */
html .vxg-mh-sortseg{display:inline-flex;gap:2px;padding:3px;border:1px solid oklch(1 0 0/.1);border-radius:9999px;background:var(--surface)}
html .vxg-mh-sortseg a,html .vxg-mh-sortseg span{display:inline-flex;align-items:center;min-height:34px;padding:0 15px;border-radius:9999px;color:var(--muted-foreground);font-size:12.5px;font-weight:700;text-decoration:none;cursor:pointer;transition:background .16s,color .16s}
html .vxg-mh-sortseg a:hover{color:var(--foreground);background:oklch(1 0 0/.06)}
html .vxg-mh-sortseg span.on{background:var(--primary);color:#fff;cursor:default}

/* ---- P3 : rail « avec » (co-acteurs) + mode duo ---- */
html .vxg-mh-with{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:18px 0 4px;padding-bottom:4px}
html .vxg-mh-with::-webkit-scrollbar{display:none}
html .vxg-mh-with-card{display:flex;align-items:center;gap:9px;flex:0 0 auto;padding:5px 12px 5px 5px;border:1px solid oklch(1 0 0/.1);border-radius:13px;background:var(--surface);text-decoration:none;transition:border-color .16s,background .16s,box-shadow .16s;-webkit-tap-highlight-color:transparent}
html .vxg-mh-with-card img{width:38px;height:47px;border-radius:9px;object-fit:cover;background:var(--surface-elevated)}
html .vxg-mh-with-card .t{display:flex;flex-direction:column;gap:1px;min-width:0}
html .vxg-mh-with-card .t i{font-style:normal;font-size:10.5px;color:var(--muted-foreground)}
html .vxg-mh-with-card .t b{font-size:12.5px;font-weight:750;color:var(--foreground);white-space:nowrap}
html .vxg-mh-with-card .x{display:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
html .vxg-mh-with-card:hover{border-color:oklch(0.52 0.26 22/.45);background:var(--surface-elevated)}
html .vxg-mh-with-card.on{border-color:var(--primary);background:linear-gradient(135deg,oklch(0.52 0.26 22/.16),transparent);box-shadow:var(--shadow-glow)}
html .vxg-mh-with-card.on .t b{color:var(--primary-glow)}
html .vxg-mh-with-card.on .x{display:block;color:var(--primary-glow)}
html.vxg-mtab-comments #list_models_cast_with{display:none}
/* mode duo : la grille native laisse place aux vidéos communes */
html.vxg-duo-on .vxg-mh-sortseg,html.vxg-duo-on #list_videos_common_videos_list_pagination{display:none}
html .vxg-duo-reset{display:inline-flex;align-items:center;gap:6px;margin-left:10px;min-height:32px;padding:0 12px;border:1px solid oklch(1 0 0/.12);border-radius:9999px;background:none;color:var(--muted-foreground);font-size:11.5px;font-weight:700;cursor:pointer}
html .vxg-duo-reset:hover{color:var(--foreground);background:oklch(1 0 0/.06)}
html .vxg-duo-load{display:grid;place-items:center;min-height:160px;color:var(--muted-foreground);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
html .vxg-duo-load::before{content:"";width:26px;height:26px;margin-bottom:10px;border:3px solid oklch(1 0 0/.12);border-top-color:var(--primary);border-radius:50%;animation:vxgduospin .7s linear infinite}
@keyframes vxgduospin{to{transform:rotate(360deg)}}
html .vxg-duo-empty{padding:24px 0;color:var(--muted-foreground);font-size:13.5px}

/* ---- P4 : panneau Shorts du modèle ---- */
html .vxg-mh-shorts-panel{display:none;margin-top:22px}
html.vxg-mtab-shorts .vxg-mh-shorts-panel{display:block}
html.vxg-mtab-shorts #list_videos_common_videos_list,
html.vxg-mtab-shorts #list_models_cast_with,
html.vxg-mtab-shorts .vxg-mh-compane{display:none}
html .vxg-mh-shorts-panel ul.vxg-mh-shorts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0;padding:0;list-style:none}
@media (min-width:640px){html .vxg-mh-shorts-panel ul.vxg-mh-shorts{grid-template-columns:repeat(4,1fr);gap:14px}}
html .vxg-mh-shorts-panel ul.vxg-mh-shorts>li{width:auto;float:none;margin:0;padding:0}
html .vxg-mh-short{position:relative;display:block;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:var(--surface)}
html .vxg-mh-short img{width:100%;height:100%;object-fit:cover}
html .vxg-mh-short::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,oklch(0 0 0/.75),transparent 45%)}
html .vxg-mh-short .b{position:absolute;left:8px;top:8px;z-index:2;padding:2px 8px;border-radius:7px;background:var(--gradient-brand);color:#fff;font-size:9.5px;font-weight:900;letter-spacing:.1em}
html .vxg-mh-short .v{position:absolute;left:9px;bottom:8px;z-index:2;color:#fff;font-size:11.5px;font-weight:700}

/* ---- P5 (18/07 soir) : vote modèle + commentaires en onglet + auto-load ---- */
html .vxg-mh-vote{display:inline-flex;align-items:center;height:46px;padding:0 4px;border:1px solid oklch(1 0 0/.1);border-radius:9999px;background:var(--surface)}
html .vxg-mh-vote .rate-like,html .vxg-mh-vote .rate-dislike{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border-radius:9999px;color:var(--muted-foreground);font-size:12.5px;font-weight:700;text-decoration:none;transition:color .16s,background .16s;-webkit-tap-highlight-color:transparent}
html .vxg-mh-vote svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html .vxg-mh-vote b{font-weight:700;font-variant-numeric:tabular-nums}
html .vxg-mh-vote a:hover{color:var(--foreground);background:oklch(1 0 0/.06)}
html .vxg-mh-vote a.voted{color:var(--primary-glow)}
html .vxg-mh-vote a.disabled{pointer-events:none}
html .vxg-mh-vote a.disabled:not(.voted){opacity:.55}
html .vxg-mh-vote .voters{display:none}
/* panneau commentaires (bloc entier : titre + formulaire + liste) */
html.vxg-model-page .vxg-mh-compane{max-width:820px;margin-top:24px}
html.vxg-model-page .vxg-mh-compane .heading{margin:0 0 6px}
html.vxg-model-page .vxg-mh-compane .heading .title{display:flex;align-items:center;gap:9px;margin:0;color:var(--foreground);font-family:'Outfit','Inter',sans-serif;font-size:20px;font-weight:800}
html.vxg-model-page .vxg-mh-compane .heading .title svg{width:20px;height:20px;fill:currentColor}
html.vxg-model-page .vxg-mh-compane .block-comments{display:flex;flex-direction:column}
html.vxg-model-page .vxg-mh-compane .block-comments>form{order:-1;margin:8px 0 10px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
html.vxg-model-page .vxg-mh-compane .field-label{display:block;margin:0 0 7px;color:var(--muted-foreground);font-size:12px;font-weight:700}
html.vxg-model-page .vxg-mh-compane .row{margin:8px 0 0}
html.vxg-model-page .vxg-mh-compane .row:first-child{margin-top:0}
html.vxg-model-page .vxg-mh-compane .submit{min-height:44px;padding:0 18px;border:0;border-radius:9999px;background:var(--primary);color:#fff;font:800 13px/1 'Inter',sans-serif;cursor:pointer}
html.vxg-model-page .vxg-mh-compane .success{margin:0 0 10px;color:oklch(0.74 0.17 155);font-size:13px;font-weight:700}
/* auto-load : bouton natif stylé (fallback si l'observer n'a pas encore cliqué) */
html.vxg-model-page .load-more{display:flex;justify-content:center;margin:22px 0 0}
html.vxg-model-page .load-more .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border:1px solid var(--border);border-radius:9999px;background:var(--surface);color:var(--foreground);font-size:13px;font-weight:800;text-decoration:none}
html.vxg-model-page .load-more .btn:hover{border-color:oklch(0.52 0.26 22/.45)}

/* ===== [19/07 soir] Cartes vidéo (site-wide) : la ligne stats (vues · likes · date)
   coule SOUS le signet au lieu de passer à la ligne (demande user). Le signet (32px,
   align-self:flex-start) ne chevauche que la zone du TITRE ; la ligne du bas récupère
   sa colonne (32px + gap 10px). Le fallback wrap P7 reste en dernier recours. ===== */
html .thumb.vxg-thumb-card .vxg-card-text .thumb-bottom{margin-right:-42px}

/* ===== [21/07] Fiche acteur — densité de l'onglet Shorts sur desktop ===== */
@media (min-width:1024px){
  html.vxg-model-page .vxg-mh-shorts-panel ul.vxg-mh-shorts{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
}
@media (min-width:1440px){
  html.vxg-model-page .vxg-mh-shorts-panel ul.vxg-mh-shorts{grid-template-columns:repeat(8,minmax(0,1fr));gap:18px}
}
@media (min-width:1760px){
  html.vxg-model-page .vxg-mh-shorts-panel ul.vxg-mh-shorts{grid-template-columns:repeat(10,minmax(0,1fr))}
}

/* ===== Espace membre — playlists : cartes alignées sur le hub /playlists ===== */
html.vxg-member-page .vxg-my-playlists{min-width:0;margin-top:2px}
html.vxg-member-page .vxg-my-pl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:25px 0 16px}
html.vxg-member-page .vxg-my-pl-head-copy{min-width:0}
html.vxg-member-page .vxg-my-pl-head h1,
html.vxg-member-page .vxg-my-pl-head h2{margin:0;color:var(--foreground);font:800 clamp(21px,2.2vw,28px)/1.12 Outfit,Inter,ui-sans-serif,sans-serif;letter-spacing:-.02em}
html.vxg-member-page .vxg-my-pl-head p{margin:6px 0 0;color:var(--muted-foreground);font-size:13px;line-height:1.45}
html.vxg-member-page .vxg-my-pl-create{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:0;border-radius:12px;background:var(--primary);box-shadow:var(--shadow-glow);color:#fff;font:800 13px/1 Inter,ui-sans-serif,sans-serif;white-space:nowrap;cursor:pointer}
html.vxg-member-page .vxg-my-pl-create svg{width:17px;height:17px}
html.vxg-member-page .vxg-my-pl-filters{max-width:100%;margin:0 0 18px;overflow-x:auto;scrollbar-width:none}
html.vxg-member-page .vxg-my-pl-filters::-webkit-scrollbar{display:none}
html.vxg-member-page .vxg-my-pl-bulk-form{min-width:0;margin:0}
html.vxg-member-page .vxg-my-pl-bulk-form>.generic-error{margin:0 0 12px}

html.vxg-member-page ul.grid-temp.vxg-my-pl-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important;width:100%;margin:0!important;padding:0!important;list-style:none}
html.vxg-member-page .vxg-my-pl-grid>li.item{display:block!important;float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important}
html.vxg-member-page .vxg-my-pl-card{min-width:0}
html.vxg-member-page .vxg-my-pl-card.is-disabled{opacity:.72}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-media-link{display:block;color:inherit;text-decoration:none}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic{position:relative;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:3px;aspect-ratio:16/9;overflow:hidden;border-radius:15px;background:var(--surface);box-shadow:var(--shadow-card);isolation:isolate}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic picture{min-width:0;min-height:0;overflow:hidden}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic img{position:static!important;display:block!important;width:100%!important;height:100%!important;min-width:0;object-fit:cover;object-position:center;border:0!important;border-radius:0!important;opacity:1!important;transition:transform .35s ease}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic .video1{grid-column:1;grid-row:1/3}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic.has-1 .video1{grid-column:1/-1}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic.has-2 .video2{grid-row:1/3}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-mosaic[data-more]::after{content:attr(data-more);position:absolute;right:0;bottom:0;z-index:2;display:grid;place-items:center;width:calc((100% - 3px)/3);height:calc((100% - 3px)/2);background:oklch(0 0 0/.66);color:#fff;font:800 14px/1 Outfit,Inter,sans-serif;pointer-events:none}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-media-count{position:absolute;left:8px;bottom:8px;z-index:4;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:oklch(0 0 0/.76);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);color:#fff;font-size:10.5px;font-weight:750;line-height:1}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-media-count svg{width:11px;height:11px}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-no-thumb{grid-column:1/-1;grid-row:1/3;display:grid;place-items:center;color:var(--muted-foreground);font-size:12px}
html.vxg-member-page .vxg-my-pl-badges{position:absolute;top:8px;right:8px;z-index:4;display:flex;align-items:center;gap:5px}
html.vxg-member-page .vxg-my-pl-badges>span{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:7px;background:oklch(0 0 0/.72);color:#fff;font-size:9.5px;font-weight:800;line-height:1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
html.vxg-member-page .vxg-my-pl-badges .is-private{color:#ffd9dc}
html.vxg-member-page .vxg-my-pl-badges .is-disabled{color:#ddd}

html.vxg-member-page .vxg-my-pl-card>.vxg-card-meta{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:9px 2px 0}
html.vxg-member-page .vxg-my-pl-card .vxg-card-text{flex:1 1 auto;min-width:0}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-title-link{display:block;color:inherit;text-decoration:none}
html.vxg-member-page .vxg-my-pl-card .title{display:-webkit-box;overflow:hidden;margin:0;color:var(--foreground);font-size:14px;font-weight:650;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2;transition:color .15s}
html.vxg-member-page .vxg-my-pl-card .vxg-pl-title-link:hover .title{color:var(--primary-glow)}
html.vxg-member-page .vxg-my-pl-card .thumb-bottom{display:flex;align-items:center;gap:5px 10px;overflow:hidden;margin-top:6px;padding:0;color:var(--muted-foreground)}
html.vxg-member-page .vxg-my-pl-card .thumb-item{display:flex;align-items:center;gap:4px;min-width:0;margin:0;padding:0;color:inherit;font-size:11px;font-weight:500;line-height:1;white-space:nowrap}
html.vxg-member-page .vxg-my-pl-card .thumb-item i{position:static;display:flex;margin:0}
html.vxg-member-page .vxg-my-pl-card .thumb-item svg{width:12px;height:12px;fill:currentColor}

html.vxg-member-page .vxg-my-pl-manage{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin:10px 2px 0;color:var(--foreground);font-size:11.5px;font-weight:750;text-decoration:none}
html.vxg-member-page .vxg-my-pl-manage svg{flex:0 0 auto;width:14px;height:14px;fill:currentColor}
html.vxg-member-page .vxg-my-pl-manage .icon-arrow-right{width:12px;height:12px;margin-left:1px;transition:transform .15s}
html.vxg-member-page .vxg-my-pl-manage:hover{color:var(--primary-glow)}
html.vxg-member-page .vxg-my-pl-manage:hover .icon-arrow-right{transform:translateX(2px)}

html.vxg-member-page .vxg-my-pl-card-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid color-mix(in oklab,var(--border) 72%,transparent)}
html.vxg-member-page .vxg-my-pl-select{display:inline-flex;align-items:center;gap:7px;min-height:34px;color:var(--muted-foreground);font-size:11px;font-weight:650;cursor:pointer;user-select:none}
html.vxg-member-page .vxg-my-pl-select input{appearance:none;display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin:0;border:1px solid color-mix(in oklab,var(--muted-foreground) 65%,transparent);border-radius:5px;background:transparent;cursor:pointer}
html.vxg-member-page .vxg-my-pl-select input::after{content:"";width:8px;height:4px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) scale(0);transition:transform .12s ease}
html.vxg-member-page .vxg-my-pl-select input:checked{border-color:var(--primary);background:var(--primary)}
html.vxg-member-page .vxg-my-pl-select input:checked::after{transform:rotate(-45deg) scale(1)}
html.vxg-member-page .vxg-my-pl-select.active{color:var(--foreground)}
html.vxg-member-page .vxg-my-pl-select.is-disabled{opacity:.42;cursor:not-allowed}
html.vxg-member-page .vxg-my-pl-actions{display:flex;align-items:center;gap:4px}
html.vxg-member-page .vxg-my-pl-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 9px;border:0;border-radius:9px;background:transparent;color:var(--muted-foreground);font:750 11px/1 Inter,ui-sans-serif,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
html.vxg-member-page .vxg-my-pl-action svg{width:14px;height:14px;fill:currentColor}
html.vxg-member-page .vxg-my-pl-action>svg:not(.svg-icon){fill:none;stroke:currentColor}
html.vxg-member-page .vxg-my-pl-action:hover{background:oklch(1 0 0/.06);color:var(--foreground)}
html.vxg-member-page .vxg-my-pl-action.is-danger{color:#ff7f87}
html.vxg-member-page .vxg-my-pl-action.is-danger:hover{background:oklch(.55 .2 25/.13);color:#ff9ba2}
html.vxg-member-page .vxg-my-pl-action:disabled{opacity:.4;pointer-events:none}

html.vxg-member-page .vxg-my-pl-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
html.vxg-member-page .vxg-my-pl-bulkbar>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
html.vxg-member-page .vxg-my-pl-bulkbar strong{color:var(--foreground);font-size:12.5px}
html.vxg-member-page .vxg-my-pl-bulkbar span{color:var(--muted-foreground);font-size:11.5px}
html.vxg-member-page .vxg-my-pl-bulk-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
html.vxg-member-page .vxg-my-pl-bulk-actions input{min-height:38px;padding:0 13px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--foreground);font:750 11.5px/1 Inter,ui-sans-serif,sans-serif;cursor:pointer}
html.vxg-member-page .vxg-my-pl-bulk-actions input:hover{background:oklch(1 0 0/.05)}
html.vxg-member-page .vxg-my-pl-bulk-actions input.is-danger{border-color:color-mix(in oklab,var(--primary) 42%,var(--border));color:#ff8d94}
html.vxg-member-page .vxg-my-pl-bulk-actions input:disabled{opacity:.38;cursor:not-allowed}
html.vxg-member-page .vxg-my-pl-delete-form{margin:0}

html.vxg-member-page .vxg-my-pl-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:230px;padding:30px 18px;color:var(--muted-foreground);text-align:center}
html.vxg-member-page .vxg-my-pl-empty strong{color:var(--foreground);font-size:16px}
html.vxg-member-page .vxg-my-pl-empty span{max-width:520px;font-size:13px;line-height:1.5}
html.vxg-member-page .vxg-my-pl-empty button{min-height:40px;margin-top:4px;padding:0 15px;border:0;border-radius:11px;background:var(--primary);color:#fff;font-size:12px;font-weight:800;cursor:pointer}

@media (hover:hover) and (min-width:1024px){
  html.vxg-member-page .vxg-my-pl-card .vxg-pl-media-link:hover .vxg-pl-mosaic img{transform:scale(1.025)}
}
@media (min-width:760px){
  html.vxg-member-page ul.grid-temp.vxg-my-pl-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:25px 13px!important}
}
@media (min-width:1380px){
  html.vxg-member-page ul.grid-temp.vxg-my-pl-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:28px 16px!important}
}
@media (max-width:759px){
  html.vxg-member-page .vxg-my-pl-head{align-items:flex-start;margin:20px 0 14px}
  html.vxg-member-page .vxg-my-pl-head p{display:none}
  html.vxg-member-page .vxg-my-pl-create{flex:0 0 42px;width:42px;padding:0;border-radius:11px}
  html.vxg-member-page .vxg-my-pl-create span{display:none}
  html.vxg-member-page .vxg-my-pl-filters{margin-right:-10px;padding-right:10px}
  html.vxg-member-page .vxg-my-pl-card-controls{align-items:stretch;flex-direction:column}
  html.vxg-member-page .vxg-my-pl-select{min-height:44px}
  html.vxg-member-page .vxg-my-pl-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  html.vxg-member-page .vxg-my-pl-action{width:100%;min-height:44px;padding:0 6px;background:oklch(1 0 0/.04)}
  html.vxg-member-page .vxg-my-pl-bulkbar{align-items:stretch;flex-direction:column}
  html.vxg-member-page .vxg-my-pl-bulk-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  html.vxg-member-page .vxg-my-pl-bulk-actions input{width:100%;padding:0 8px}
}
@media (max-width:420px){
  html.vxg-member-page ul.grid-temp.vxg-my-pl-grid{gap:21px 8px!important}
  html.vxg-member-page .vxg-my-pl-card .title{font-size:13px}
  html.vxg-member-page .vxg-my-pl-card .thumb-item-date{display:none}
  html.vxg-member-page .vxg-my-pl-select span{font-size:10.5px}
  html.vxg-member-page .vxg-my-pl-action{gap:4px;font-size:10.5px}
}


/* ===== Navigation de retour contextuelle — fiches de catalogue et communauté ===== */
@media (min-width:1024px){
  html .vxg-mini-link.vxg-mini-context{
    position:relative;
    flex:0 0 auto;
    margin-bottom:8px;
    color:var(--foreground);
  }
  html .vxg-mini-link.vxg-mini-context::after{
    content:"";
    position:absolute;
    right:6px;
    bottom:-5px;
    left:6px;
    height:1px;
    background:color-mix(in oklab,var(--foreground) 10%,transparent);
  }
  html .vxg-mini-link.vxg-mini-context svg{color:var(--primary-glow)}
  html .vxg-mini-link.vxg-mini-context:hover{
    background:color-mix(in oklab,var(--primary) 10%,transparent);
    color:var(--foreground);
  }
  html body.vxg-sidebar-open .header-nav .vxg-drawer-context{
    display:block;
    margin:0 0 8px;
    padding:0 0 14px;
    border-bottom:1px solid var(--vxg-drawer-line);
  }
  html body.vxg-sidebar-open .header-nav .vxg-context-return{
    min-height:48px!important;
    padding:7px 12px!important;
    border-radius:14px!important;
    gap:14px!important;
    color:var(--vxg-drawer-fg)!important;
  }
  html body.vxg-sidebar-open .header-nav .vxg-context-return .ico-mini{
    width:36px!important;
    height:36px!important;
    border-radius:11px!important;
    background:color-mix(in oklab,var(--primary) 13%,transparent)!important;
    color:var(--primary-glow)!important;
  }
  html body.vxg-sidebar-open .header-nav .vxg-context-return:hover{
    background:var(--vxg-drawer-row)!important;
  }
}

@media (max-width:1023px){
  html .vxg-drawer-context{display:none!important}
  html .vxg-bn-context{color:var(--primary-glow)}
  html .vxg-bn-context svg{
    fill:currentColor;
    transform:translateX(-1px);
  }
  html .vxg-bn-context span{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}

html .vxg-mini-context:focus-visible,
html .vxg-context-return:focus-visible,
html .vxg-bn-context:focus-visible{
  outline:2px solid var(--primary-glow)!important;
  outline-offset:2px;
}

/* ===== Accueil — barre de découverte et révélation progressive ===== */
html .vxg-home .vxg-home-chipbar{
  position:sticky;
  top:var(--vxg-header-h,64px);
  z-index:135;
  margin:0 -24px 18px;
  padding:10px 24px;
  overflow:hidden;
  background:linear-gradient(180deg,
    color-mix(in oklab,var(--background) 82%,transparent),
    color-mix(in oklab,var(--surface) 62%,transparent));
  -webkit-backdrop-filter:blur(22px) saturate(180%) contrast(108%);
  backdrop-filter:blur(22px) saturate(180%) contrast(108%);
  border-bottom:1px solid color-mix(in oklab,var(--foreground) 10%,transparent);
  box-shadow:0 14px 34px oklch(0 0 0 / .30),inset 0 1px 0 oklch(1 0 0 / .08);
  isolation:isolate;
}
html .vxg-home .vxg-home-chipbar::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(110deg,
    oklch(1 0 0 / .10),
    transparent 30%,
    transparent 68%,
    color-mix(in oklab,var(--primary) 16%,transparent));
  opacity:.55;
}
html .vxg-home .vxg-home-chipbar::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-18px;
  left:0;
  height:18px;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(180deg,color-mix(in oklab,var(--background) 45%,transparent),transparent);
}
html .vxg-home .vxg-home-chipbar .vxg-chips{
  position:relative;
  top:auto;
  z-index:1;
  margin:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  background:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  border:0;
  box-shadow:none;
  isolation:auto;
}
html .vxg-home .vxg-home-chipbar .vxg-chips::before,
html .vxg-home .vxg-home-chipbar .vxg-chips::after{display:none}
html .vxg-home .vxg-home-chipbar .vxg-chips a[hidden]{display:none!important}

html .vxg-home :is(.vxg-trending-section,.vxg-new-section) .load-more{
  display:flex;
  justify-content:center;
  margin:24px 0 4px;
}
html .vxg-home :is(.vxg-trending-section,.vxg-new-section) .load-more .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 22px;
  border:1px solid color-mix(in oklab,var(--foreground) 12%,transparent);
  border-radius:9999px;
  background:color-mix(in oklab,var(--surface) 62%,transparent);
  color:var(--foreground);
  font-size:13px;
  font-weight:800;
  box-shadow:none;
}
@media (hover:hover) and (pointer:fine){
  html .vxg-home :is(.vxg-trending-section,.vxg-new-section) .load-more .btn:hover{
    border-color:color-mix(in oklab,var(--primary) 50%,transparent);
    background:color-mix(in oklab,var(--surface-elevated) 82%,transparent);
    box-shadow:var(--shadow-glow);
  }
}
@media (max-width:1023px){
  html .vxg-home .vxg-home-chipbar{
    top:0; /* le header mobile est statique et défile — la chipbar se colle au haut de l'écran */
    margin:0 -12px 16px;
    padding:8px 12px;
  }
}

/* ===== INCREMENT AK — pastille de notifications sur l'onglet Menu (bottom-nav) ===== */
@media (max-width:1023px){
  html .vxg-bottomnav [data-vxg="menu"]{position:relative}
  html .vxg-bottomnav [data-vxg="menu"] .vxg-header-notif-count{
    top:4px;
    right:auto;
    left:calc(50% + 6px);
    min-width:16px;
    height:16px;
    padding:0 4px;
    font-size:9px;
    box-shadow:0 0 0 2px rgba(0,0,0,.55);
  }
}

/* Tuiles « Pour toi » (préférences locales) injectées en tête de la grille Découvrir */
html body.nav-open .header-nav .vxg-nav-grid .vxg-pt .nav-link{border-color:color-mix(in oklab,var(--primary) 30%,transparent)!important}
html body.nav-open .header-nav .vxg-pt .count,
html body.vxg-sidebar-open .header-nav .vxg-pt .count{color:var(--primary)!important;font-weight:700!important}

/* ===== INCREMENT AL — paliers (page /avantages · toast upsell · pastille VIP) ===== */
/* Page /avantages */
html .vxg-avantages .vxg-av-lead{max-width:62ch;color:var(--muted-foreground);font-size:15px;margin:0 0 22px}
html .vxg-av-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:860px){html .vxg-av-grid{grid-template-columns:1fr}}
html .vxg-av-card{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
html .vxg-av-card h2{margin:0;font-family:Outfit,Inter,sans-serif;font-size:20px;font-weight:800;letter-spacing:-.01em}
html .vxg-av-card.is-current{border-color:color-mix(in oklab,var(--primary) 45%,transparent)}
html .vxg-av-card.vip{border-color:color-mix(in oklab,var(--primary) 42%,transparent);background:linear-gradient(160deg,color-mix(in oklab,var(--primary) 15%,transparent),color-mix(in oklab,var(--primary) 3%,transparent) 55%),var(--surface)}
html .vxg-av-tag{align-self:flex-start;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:9999px;background:oklch(1 0 0 / 8%);color:var(--muted-foreground)}
html .vxg-av-tag.vip{background:var(--gradient-brand);color:#fff}
html .vxg-av-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:13.5px}
html .vxg-av-card li{position:relative;padding-left:20px}
html .vxg-av-card li.ok::before{content:"✓";position:absolute;left:0;color:var(--primary-glow);font-weight:700}
html .vxg-av-card li.no{color:var(--muted-foreground)}
html .vxg-av-card li.no::before{content:"—";position:absolute;left:0;color:var(--muted-foreground)}
html .vxg-av-how{margin:4px 0 0;font-size:12.5px;color:var(--muted-foreground);line-height:1.45}
html .vxg-av-cta{margin-top:auto;align-self:flex-start;padding:10px 18px;border-radius:9999px;background:var(--gradient-brand);color:#fff;font-size:13.5px;font-weight:700;box-shadow:var(--shadow-glow);cursor:pointer}
html .vxg-av-you{margin-top:auto;align-self:flex-start;padding:8px 14px;border-radius:9999px;background:oklch(1 0 0 / 7%);color:var(--foreground);font-size:12.5px;font-weight:700}
html .vxg-av-honest{max-width:70ch;margin:24px 0 0;font-size:13px;color:var(--muted-foreground);line-height:1.55}
/* Toast d'upsell (anonymes) */
html .vxg-tiers-toast{position:fixed;z-index:210;right:16px;bottom:calc(16px + var(--vxg-mobile-bottomnav-clearance,0px));max-width:360px;padding:14px 44px 14px 16px;border:1px solid color-mix(in oklab,var(--primary) 28%,transparent);border-radius:14px;background:var(--surface-elevated);color:var(--foreground);box-shadow:var(--shadow-elevated);opacity:0;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease}
html .vxg-tiers-toast.is-in{opacity:1;transform:translateY(0)}
@media (max-width:1023px){html .vxg-tiers-toast{left:12px;right:12px;max-width:none}}
@media (prefers-reduced-motion:reduce){html .vxg-tiers-toast{transition:none;transform:none}}
html .vxg-tiers-toast b{display:block;font-family:Outfit,Inter,sans-serif;font-size:15px;font-weight:700;letter-spacing:-.01em;margin:0 0 3px}
html .vxg-tiers-toast p{margin:0;font-size:13px;color:var(--muted-foreground);line-height:1.4}
html .vxg-tiers-toast .vxg-tt-row{display:flex;align-items:center;gap:12px;margin-top:10px}
html .vxg-tiers-toast .vxg-tt-cta{padding:9px 16px;border-radius:9999px;background:var(--gradient-brand);color:#fff;font-size:12.5px;font-weight:700;cursor:pointer;border:0}
html .vxg-tiers-toast .vxg-tt-more{font-size:12px;color:var(--muted-foreground);text-decoration:underline}
html .vxg-tiers-toast .vxg-tt-x{position:absolute;top:2px;right:2px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted-foreground);font-size:15px;cursor:pointer}
html .vxg-tiers-toast .vxg-tt-x:hover{color:var(--foreground)}
/* Pastille VIP (header desktop + drawer mobile) */
html .vxg-tier-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;background:var(--gradient-brand);color:#fff;font-size:9.5px;font-weight:800;letter-spacing:.08em;vertical-align:middle}
html .mebers-switcher .vxg-tier-pill{margin-left:6px}

/* ===== INCREMENT AM — chips home plus visibles (elles orientent la découverte) ===== */
html .vxg-home .vxg-home-chipbar .vxg-chips a{
  min-height:38px;
  padding:0 16px;
  font-size:13px;
  font-weight:700;
  color:var(--foreground);
  background:color-mix(in oklab,var(--surface-elevated) 88%,transparent);
  border:1px solid color-mix(in oklab,var(--foreground) 14%,transparent);
}

/* Badge de niveau à côté du logo (lite/plus — le VIP a sa pastille avatar) */
html .vxg-tier-badge{display:inline-flex;align-items:center;gap:6px;margin-left:10px;padding:4px 10px;border-radius:9999px;border:1px solid var(--border);background:oklch(1 0 0 / .05);color:var(--muted-foreground);font-size:10px;font-weight:800;letter-spacing:.06em;line-height:1;cursor:pointer;flex:0 0 auto}
html .vxg-tier-badge span{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:9999px;border:1px solid currentColor;font-size:9px;font-weight:700}
html .vxg-tier-badge[data-tier="plus"]{border-color:color-mix(in oklab,var(--primary) 45%,transparent);color:var(--primary-glow)}
@media (min-width:1024px){html .vxg-tier-badge:hover{color:var(--foreground);border-color:color-mix(in oklab,var(--foreground) 25%,transparent)}}

/* Overlay « niveaux » (remplace la navigation vers /avantages quand JS présent) */
html .vxg-tiers-ov{position:fixed;inset:0;z-index:400;display:none}
html .vxg-tiers-ov.is-open{display:block}
html .vxg-tiers-ov .vxg-tov-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html .vxg-tiers-ov .vxg-tov-panel{position:relative;max-width:880px;margin:6vh auto 0;max-height:88dvh;overflow-y:auto;padding:26px 24px 28px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-elevated)}
@media (max-width:760px){html .vxg-tiers-ov .vxg-tov-panel{margin:0;position:absolute;left:0;right:0;bottom:0;max-height:92dvh;border-radius:22px 22px 0 0;padding:22px 16px calc(24px + env(safe-area-inset-bottom,0px))}}
html .vxg-tiers-ov .vxg-tov-panel > h2{font-family:Outfit,Inter,sans-serif;font-size:22px;font-weight:800;letter-spacing:-.01em;margin:0 0 6px}
html .vxg-tiers-ov .vxg-tov-lead{margin:0 0 18px;font-size:13.5px;color:var(--muted-foreground);max-width:60ch}
html .vxg-tiers-ov .vxg-tov-x{position:absolute;top:10px;right:10px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:9999px;background:oklch(1 0 0 / .06);color:var(--muted-foreground);font-size:15px;cursor:pointer}
html .vxg-tiers-ov .vxg-tov-x:hover{color:var(--foreground)}
html .vxg-av-card h2 b{color:var(--primary-glow)}

/* ===== Correctifs post-retour Fabien (25/07) ===== */
/* 1. Badge de niveau : à droite du logo sur desktop (le header est réordonné par order:) */
@media (min-width:1024px){
  html .header-holder .header-inner .vxg-tier-badge{order:2;margin-left:-6px;margin-right:12px}
}
/* pages vidéo mobiles : la barre logo est repliée, pas de badge flottant */
@media (max-width:1023px){
  html .wrapper.vxg-video-page .vxg-tier-badge{display:none}
}
/* 2. Cartes vidéo : la grille meta doit battre les display:flex tardifs des increments Q/AC */
html .thumb.vxg-thumb-card .vxg-card-meta{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:10px!important;align-items:start!important}
html .thumb.vxg-thumb-card .vxg-card-meta .vxg-actors{grid-column:1!important;grid-row:1!important}
html .thumb.vxg-thumb-card .vxg-card-meta .vxg-card-text{grid-column:2!important;grid-row:1!important}
html .thumb.vxg-thumb-card .vxg-card-meta .vxg-card-bookmark{grid-column:3!important;grid-row:1!important}
html .thumb.vxg-thumb-card .vxg-card-meta > .thumb-bottom{grid-column:2 / -1!important;grid-row:2!important;margin-top:6px!important;min-width:0!important;flex-wrap:wrap!important}
/* 3. Chips : l'état actif reprend le dégradé (ma règle AM l'écrasait à spécificité égale) */
html .vxg-home .vxg-home-chipbar .vxg-chips a.is-active{background:var(--gradient-brand);border-color:transparent;color:#fff;box-shadow:var(--shadow-glow)}

/* Logo mobile : la barre ne vit plus que sur l'accueil (alignée à gauche) ;
   ailleurs la marque s'ancre en tête du sheet menu. */
html body.nav-open .header-nav .vxg-drawer-brand{display:flex;align-items:center;padding:0 4px 10px}
html body.nav-open .header-nav .vxg-drawer-brand img{height:18px;width:auto;opacity:.92}

/* ===== Correctifs 25/07 (2e passe) ===== */
/* MENU MOBILE : le sheet vit DANS .header (contexte d'empilement z130) — le scrim z330 le couvrait
   depuis la purge d'AE, dont cette règle était le porteur. On remonte le header pendant nav-open. */
@media (max-width:1023px){
  html body.nav-open .wrapper > .header{position:relative!important;z-index:340!important}
}
/* BADGE de niveau : le CSS critique inline pose .logo{order:2} SANS media query — l'ordre doit donc
   être global (mobile compris), et le badge n'existe que là où une barre logo existe. */
html .header-holder .header-inner .vxg-tier-badge{order:2}
@media (min-width:1024px){
  html .header-holder .header-inner .vxg-tier-badge{margin-left:-6px;margin-right:12px}
}
@media (max-width:1023px){
  html .header-holder .header-inner .vxg-tier-badge{margin-left:10px}
  html .wrapper:not(.vxg-index-page) .vxg-tier-badge{display:none!important}
}
/* CARTES : les vieux gap:8px!important (AI) posaient aussi un row-gap => gros trou vertical */
html .thumb.vxg-thumb-card .vxg-card-meta{row-gap:0!important}
html .thumb.vxg-thumb-card .vxg-card-meta > .thumb-bottom{margin-top:4px!important}
/* HEADING listings : collé au header (desktop) / haut d'écran (mobile) — on retire l'espace au-dessus */
html .vxg-listing .main{padding-top:0}
html .vxg-listing .main>.container>.section-row:first-child{margin-top:0}
html .vxg-listing .main>.container>.section-row:first-child>.holder-box:has(>.content-section:first-child){margin-top:0}
html .vxg-listing .main>.container>.section-row:first-child>.holder-box>.content-section:first-child>.section-row:first-child{margin-top:0}
/* Les listings personnalisés injectent parfois un <script> avant leur section :
   :first-child ne peut alors pas matcher. On cible uniquement leur bloc racine,
   sans annuler le rythme des headings secondaires plus bas dans la page. */
html .main>.container>#list_categories_trending_categories.section-row,
html.vxg-pornstars-page .main>.container>#list_models_models_list.section-row,
html.vxg-networks-page .main>.container>#list_content_sources_sponsors_list.section-row,
html.vxg-community-page .main>.container>#list_members_members.section-row{margin-top:0}
html.vxg-pornstars-page #list_models_models_list>.vxg-ps-head,
html.vxg-networks-page #list_content_sources_sponsors_list>.vxg-nw-head,
html.vxg-community-page #list_members_members>.vxg-cm-head{margin-top:0}
/* PREVIEW avatar acteur : hairline neutre + ombre du système, le crimson reste aux actions */
html .thumb.vxg-thumb-card .vxg-avatar-preview{
  border:1px solid color-mix(in oklab,var(--foreground) 16%,transparent)!important;
  border-radius:14px!important;
  background:var(--surface-elevated)!important;
  box-shadow:var(--shadow-elevated)!important;
}

/* ===== INCREMENT AN — Devenir VIP : voies d'accès + réclamation ===== */
html .vxg-av-become{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
html .vxg-av-become h3{margin:0 0 4px;font-family:Outfit,Inter,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.01em}
html .vxg-av-become-lead{margin:0 0 14px;font-size:13px;color:var(--muted-foreground)}
html .vxg-av-ways{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:760px){html .vxg-av-ways{grid-template-columns:1fr}}
html .vxg-av-way{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
html .vxg-av-way-ico{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:color-mix(in oklab,var(--primary) 13%,transparent);font-size:18px}
html .vxg-av-way-txt{min-width:0}
html .vxg-av-way-txt b{display:block;font-size:14px;font-weight:800;letter-spacing:-.01em}
html .vxg-av-way-txt p{margin:3px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted-foreground)}
html .vxg-av-way-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
html .vxg-av-way-actions a,
html .vxg-av-way-actions button{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border:1px solid var(--border);border-radius:9999px;background:oklch(1 0 0 / .05);color:var(--foreground);font-size:12.5px;font-weight:600;cursor:pointer;text-decoration:none}
html .vxg-av-way-actions a:hover,
html .vxg-av-way-actions button:hover{border-color:color-mix(in oklab,var(--primary) 45%,transparent)}
html .vxg-av-claim{margin-top:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
html .vxg-av-claim .vxg-av-cta{margin-top:0;border:0}
html .vxg-av-claim-note{margin:0;font-size:12px;color:var(--muted-foreground);max-width:56ch}

/* Header : espacement homogène Upload / notifications / compte / langue */
html .buttons-col{gap:14px}
html .buttons-col .upload-btn{margin-right:0}
html .vxg-msg-ic{margin-right:0}
html .mebers-block{margin-right:0}
html .mebers-block a{margin-right:0}
html .leng-holder{margin-right:0}

/* Header desktop : chaque commande occupe le même rythme de 40 px.
   Les anciens margins provenaient de black_orange.css et additionnaient des
   espacements irréguliers entre Upload, notifications, compte et langue. */
@media (min-width:1024px){
  html .header-holder .buttons-col{
    display:flex;
    align-items:center;
    gap:12px;
  }
  html .header-holder .buttons-col > *{
    flex:0 0 auto;
    margin-left:0;
    margin-right:0;
  }
  html .header-holder .buttons-col .upload-btn,
  html .header-holder .buttons-col .vxg-msg-ic,
  html .header-holder .buttons-col .mebers-switcher,
  html .header-holder .buttons-col .leng-holder > .lang-item{
    min-height:40px;
  }
  html .header-holder .buttons-col .mebers-switcher{
    padding:2px 4px;
    border-radius:12px;
  }
  html .header-holder .buttons-col .leng-holder > .lang-item{
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 5px;
  }
  html .header-holder .buttons-col .leng-holder > .lang-item i{
    margin-left:0;
  }
  html .header-holder .buttons-col .vxg-header-notif-count{
    top:-3px;
    right:-4px;
  }
  html .vxg-mini-link.vxg-mini-subscriptions > span{
    max-width:64px;
    font-size:9px;
    letter-spacing:-.025em;
  }
}


/* ===== INCREMENT AO — rythme canonique cartes vidéo + chips accueil ===== */
/* Deux lignes de titre au maximum, puis une ligne acteurs et une ligne de stats :
   aucune métadonnée secondaire ne doit agrandir la carte par retour à la ligne. */
html .thumb.vxg-thumb-card .vxg-card-meta{
  column-gap:10px!important;
  row-gap:0!important;
  margin-top:9px!important;
}
html .thumb.vxg-thumb-card .vxg-card-text,
html .thumb.vxg-thumb-card .vxg-card-text-link{min-width:0;overflow:hidden}
/* Sans avatar visible, la grille passe explicitement de 3 à 2 colonnes :
   aucun emplacement ni gap fantôme ne reste à gauche du titre. */
html .thumb.vxg-thumb-card .vxg-card-meta:not(:has(>.vxg-actors:not(:empty))){grid-template-columns:minmax(0,1fr) auto!important}
html .thumb.vxg-thumb-card .vxg-card-meta:not(:has(>.vxg-actors:not(:empty)))>.vxg-card-text{grid-column:1!important}
html .thumb.vxg-thumb-card .vxg-card-meta:not(:has(>.vxg-actors:not(:empty)))>.vxg-card-bookmark{grid-column:2!important}
html .thumb.vxg-thumb-card .vxg-card-meta:not(:has(>.vxg-actors:not(:empty)))>.thumb-bottom{grid-column:1/-1!important}
html .thumb.vxg-thumb-card .title{
  display:-webkit-box;
  height:2.5em!important;
  min-height:2.5em!important;
  max-height:2.5em;
  margin:0!important;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
html .thumb.vxg-thumb-card .vxg-card-models{
  margin-top:3px!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
/* Un avatar acteur visible rend sa ligne de noms redondante ; les noms restent
   le fallback utile lorsque le modèle ne possède aucune photo. */
html .thumb.vxg-thumb-card .vxg-card-meta:has(>.vxg-actors:not(:empty)) .vxg-card-models{display:none}
html .thumb.vxg-thumb-card .vxg-card-meta>.thumb-bottom,
html .thumb.vxg-thumb-card .vxg-card-meta>.thumb-bottom.thumb-bottom-videos{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:6px 8px!important;
  min-width:0!important;
  max-width:100%;
  margin-top:4px!important;
  overflow:hidden!important;
  white-space:nowrap;
}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item{flex:0 0 auto;min-width:0}
html .thumb.vxg-thumb-card .thumb-bottom .thumb-item-date{
  flex:1 1 auto;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:767px){
  html .thumb.vxg-thumb-card .vxg-card-meta{column-gap:8px!important;margin-top:8px!important}
  html .thumb.vxg-thumb-card .vxg-card-meta>.thumb-bottom,
  html .thumb.vxg-thumb-card .vxg-card-meta>.thumb-bottom.thumb-bottom-videos{gap:4px 9px!important}
}

/* Les raccourcis de découverte indiquent clairement leur affordance au survol,
   avec le rouge de marque et une transition discrète. */
html .vxg-home .vxg-home-chipbar .vxg-chips a{
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
  html .vxg-home .vxg-home-chipbar .vxg-chips a:not(.is-active):hover{
    border-color:color-mix(in oklab,var(--primary) 72%,transparent);
    background:color-mix(in oklab,var(--primary) 86%,var(--surface-elevated));
    color:#fff;
    box-shadow:0 0 0 1px color-mix(in oklab,var(--primary) 20%,transparent);
    transform:translateY(-1px);
  }
}
html .vxg-home .vxg-home-chipbar .vxg-chips a:focus-visible{
  border-color:var(--primary);
  background:color-mix(in oklab,var(--primary) 82%,var(--surface-elevated));
  color:#fff;
  outline:2px solid color-mix(in oklab,var(--primary) 66%,transparent);
  outline-offset:2px;
}
@media (prefers-reduced-motion:reduce){
  html .vxg-home .vxg-home-chipbar .vxg-chips a{transition:none}
}
