/* TOPOSTATS — design v1.5 de l'appli. Lot 1 (v1.4zf) : structure commune. Lot 2 (v1.5a) : Accueil, Matchs, écran d'entrée.
   Lot 3 (v1.5b) : Club et Réglages (parties 14 à 18).
   Surcouche chargée après les autres feuilles. Elle ne touche jamais l'écran de match (body.notmatch absent).
   1. Polices de la charte  2. Contrastes  3. En-tête sur une ligne (téléphone)
   4. Barre du bas à 5 onglets (téléphone)  5. Sous-onglets  6. Tablette  7. Appli installée  8. Fiche joueuse
   9. Bandeaux (démo, installation)  10. Accueil  11. Matchs  12. Écran d'entrée */

/* 1. Polices : Barlow (texte), Barlow Condensed (titres), comme le site */
body.notmatch{
  --f-body:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-display:"Barlow Condensed","Arial Narrow",system-ui,sans-serif;
  --v15-orb:#C8470C;            /* orange des boutons à texte blanc : contraste 4,7:1 */
  font-family:var(--f-body);
}
body.notmatch #main h2{font-size:21px;letter-spacing:.01em;line-height:1.15}
body.notmatch #main h3{letter-spacing:.01em}

/* 2. Contrastes : texte blanc sur orange (3,0:1) remplacé par un orange plus soutenu */
body.notmatch .btn.accent,
body.notmatch #v01-sub button.on,
body.notmatch #v01-sub0 button.on{background:var(--v15-orb);border-color:var(--v15-orb);color:#fff}
body.notmatch .btn.accent{box-shadow:0 4px 12px rgba(200,71,12,.22)}

/* 5. Sous-onglets : pastilles plus compactes, bords estompés quand la barre dépasse */
body.notmatch #v01-sub,body.notmatch #v01-sub0{gap:5px;scroll-padding:0 24px;padding-left:8px;padding-right:8px}
body.notmatch #v01-sub button,body.notmatch #v01-sub0 button{min-height:38px;padding:0 10px;font-size:13px;font-weight:600;white-space:nowrap;flex:0 0 auto}
body.notmatch #v01-sub.v15-ovf{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%)}
body.notmatch #v01-sub.v15-ovf.v15-deb{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent 100%)}
body.notmatch #v01-sub.v15-ovf.v15-fin{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px);mask-image:linear-gradient(90deg,transparent 0,#000 22px)}
body.notmatch #v01-sub:not(.v15-ovf){justify-content:center}

@media (max-width:767px){
  /* 3. En-tête : une seule ligne. Logo du club, nom et équipe, puis « + », offre, réglages. */
  body.notmatch #board.compact{padding:8px 12px 8px;border-radius:0 0 16px 16px}
  body.notmatch #brandHead{display:grid;grid-template-columns:40px minmax(0,1fr) 32px;gap:8px;align-items:center;padding:0 84px 0 0;min-height:44px}
  body.notmatch #brandHead .bhlogo{order:1;width:40px;height:40px;border-radius:10px!important;padding:2px}
  body.notmatch #brandHead .bhlogo .phl{font-size:7.5px;line-height:1.05}
  body.notmatch #brandHead .bhinfo{order:2;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;align-items:center;text-align:left;gap:0 6px}
  body.notmatch #brandHead .bhinfo>b{grid-column:1/-1;font-size:17.5px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}
  body.notmatch #brandHead .bhinfo>span{grid-column:1;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#C9D2E3;opacity:1}
  body.notmatch #brandHead .bhinfo>.bhlive{grid-column:1/-1;justify-self:start}
  body.notmatch #brandHead .bhswitch{grid-column:2;grid-row:2;margin:0;flex-wrap:nowrap;align-items:center}
  body.notmatch #brandHead .bhsel{max-width:92px}
  body.notmatch #brandHead .bhplus{position:relative;width:22px;height:20px;justify-content:center}
  body.notmatch #brandHead .bhplus svg{width:20px;height:20px}
  body.notmatch #brandHead .bhplus::after{content:"";position:absolute;inset:-10px -9px}   /* zone de toucher de 40 px */
  body.notmatch #brandHead .bhkraken{order:3;width:32px;height:40px;display:flex;align-items:center}
  body.notmatch #brandHead .bhkraken img{width:32px;height:32px;border-radius:9px}
  body.notmatch #brandHead .bhkraken .bhw{display:none}
  body.notmatch #brandHead .bhkraken .bhi{display:block}
  /* La langue reste dans Réglages > Appli & aide : pas de doublon dans l'en-tête du téléphone */
  body.notmatch #brandHead .v14lang{display:none}

  /* 4. Barre du bas : 5 onglets. « Mon offre » et « Réglages » montent dans l'en-tête, en icônes. */
  body.notmatch .bnav{padding:4px 6px 4px;gap:0}
  body.notmatch .bnav button[data-tab]{flex:1 1 0;min-width:0;padding:2px 0}
  body.notmatch .bnav button[data-tab] span{font-size:12px;font-weight:600}
  body.notmatch .bnav button[data-tab] svg{width:22px;height:22px;padding:3px 16px}
  body.notmatch .bnav #planBtn,body.notmatch .bnav #setBtn{
    position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);z-index:21;width:40px;height:40px;min-width:0;flex:none;margin:0;padding:0;
    display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.22)}
  body.notmatch .bnav #setBtn{right:12px}
  body.notmatch .bnav #planBtn{right:56px;color:#FFB81C}
  body.notmatch .bnav #planBtn.free{color:#C9D2E3}
  body.notmatch .bnav #planBtn span,body.notmatch .bnav #setBtn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.notmatch .bnav #planBtn svg,body.notmatch .bnav #setBtn svg{width:22px;height:22px;padding:0;background:none!important;color:inherit}
  body.notmatch .bnav #setBtn[aria-pressed="true"]{background:#fff;color:#0F192E;border-color:#fff}
}

/* 6. Tablette (768 à 1100 px) : la barre d'onglets ne déborde plus, la langue ne passe plus sur le logo */
@media (min-width:768px) and (max-width:1100px){
  body.notmatch .bnav{padding:6px 10px;gap:2px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  body.notmatch .bnav button{padding:4px 10px 4px 4px;font-size:13px;gap:5px;flex:0 0 auto}
  body.notmatch .bnav button svg{padding:5px 7px}
  body.notmatch .brandhead{grid-template-columns:150px minmax(0,1fr) 150px!important}
  body.notmatch .brandhead .v14lang{left:auto;right:204px;top:50%;bottom:auto;transform:translateY(-50%)}
  body.notmatch .brandhead .v14lang .n{display:none}
}

/* 7. Appli installée sur l'écran d'accueil et zones de l'iPhone (encoche en haut, barre en bas).
   Avant : la page s'arrêtait sous la barre d'état et au-dessus de la barre du bas, d'où une bande claire en haut
   et un vide en bas. Maintenant l'en-tête monte jusqu'en haut de l'écran et la barre d'onglets descend jusqu'en bas. */
@supports selector(html:has(body)){
  html:has(body.notmatch){padding-top:0;padding-bottom:0;background:#0F192E;height:100dvh}
  html:has(body.notmatch) #board.compact{padding-top:calc(8px + env(safe-area-inset-top,0px))}
  html:has(body.notmatch) .bnav{padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}
}
@supports not selector(html:has(body)){
  body.notmatch .bnav{padding-bottom:4px}
}
/* Fenêtres (offres, analyse du match, club…) : elles restent sous la barre d'état, le haut est toujours atteignable */
body.notmatch .shotov{top:0;bottom:auto;height:100dvh;box-sizing:border-box;padding-top:calc(12px + env(safe-area-inset-top,0px))}
body.notmatch #v01-som{padding-top:env(safe-area-inset-top,0px)}

/* 8. Fiche joueuse : les distinctions prennent toute la largeur, sur deux colonnes, texte sur deux lignes au besoin */
.pp.ppc .ppaw{grid-column:1/-1;display:grid;gap:10px;padding:2px 12px 12px}
.pp.ppc .ppaw .awps{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:6px}
.pp.ppc .ppaw .awps span{white-space:normal;line-height:1.15;border-radius:14px;padding:3px 10px 3px 3px;font-size:12.5px;min-height:36px}
.pp.ppc .ppaw .awps .awi.sm{width:30px;height:30px;flex:0 0 auto}
.pp.ppc .ppaw .btn{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.3)}
.pp.ppc .ppaw .row{margin:0}
/* Une fenêtre ne dépasse jamais la zone visible : son contenu défile à l'intérieur */
body.notmatch #shotOv:not(.pbxside)>.shotbox{max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

/* ===== Lot 2 (v1.5a) ===== */
@media (max-width:767px){
  /* 9. Bandeaux : démo et « Installe TOPOSTATS », moins hauts */
  body.notmatch #main>section.demobar{flex-wrap:wrap;gap:6px 8px;padding:8px 10px;font-size:12.5px;line-height:1.25;margin-bottom:10px}
  body.notmatch #main>section.demobar>span{flex:1 1 100%}
  body.notmatch #main>section.demobar>.btn{flex:1 1 0;min-height:40px;padding:0 8px;font-size:13.5px;white-space:nowrap}
  body.notmatch #main>.v14-inst{padding:8px 8px 8px 10px;gap:8px;font-size:12.5px;line-height:1.3;margin:0 0 10px}
  body.notmatch #main>.v14-inst b{display:block;font-size:13.5px}
  body.notmatch #main>.v14-inst button{height:40px;min-width:40px}

  /* 10. Accueil : le prochain match et le bilan d'abord, l'effectif et l'offre en deux tuiles */
  body.notmatch[data-pg="home"] #main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-content:start}
  body.notmatch[data-pg="home"] #main>*{grid-column:1/-1;margin:0!important;min-width:0}
  body.notmatch[data-pg="home"] #main>section.homecard{padding:14px}
  body.notmatch[data-pg="home"] #main>section.v15h-eff,
  body.notmatch[data-pg="home"] #main>section.v15h-offre{grid-column:auto;display:flex;flex-direction:column;gap:6px}
  body.notmatch #main .homecard h2{font-size:18px;margin:0 0 8px}
  /* Prochain match ou match en cours : la carte forte de l'écran */
  body.notmatch[data-pg="home"] #main>section.v15h-next{background:linear-gradient(135deg,#0F192E 0%,#22325A 100%);color:#fff;border-color:transparent}
  body.notmatch[data-pg="home"] #main>section.v15h-next.live{border:2px solid #F26B1F}
  body.notmatch #main .v15h-next h2{font-family:var(--f-body);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#FFB81C;margin:0 0 6px}
  body.notmatch #main .v15h-next p{margin:0;color:#fff}
  body.notmatch #main .v15h-next p b{font-family:var(--f-display);font-weight:700;font-size:24px;line-height:1.1;letter-spacing:.01em}
  body.notmatch #main .v15h-next p.note{color:#C9D2E3;font-size:13px;margin-top:3px;opacity:1}
  body.notmatch #main .v15h-next .row{margin:10px 0 0}
  body.notmatch #main .v15h-next .btn{width:100%;min-height:46px;justify-content:center;font-size:15.5px}
  /* Bilan : 4 chiffres sur une ligne, 5 derniers résultats serrés */
  body.notmatch #main .v15h-bilan h2{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
  body.notmatch #main .v15h-bilan .kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  body.notmatch #main .v15h-bilan .kpi{padding:8px 4px 7px;text-align:center;border-radius:12px}
  body.notmatch #main .v15h-bilan .kpi b{font-size:21px}
  body.notmatch #main .v15h-bilan .kpi span{display:block;font-size:10.5px;line-height:1.15;margin-top:2px}
  body.notmatch #main .v15h-bilan p.note{margin:8px 0 0!important;font-size:12.5px}
  body.notmatch #main .v15h-bilan .homeres{gap:3px;margin-top:6px}
  body.notmatch #main .v15h-bilan .homeres .hr{grid-template-columns:22px 42px 1fr auto;font-size:13.5px;min-height:25px}
  body.notmatch #main .v15h-bilan .homeres .hb{width:22px;height:22px;border-radius:7px;font-size:12px}
  body.notmatch #main .v15h-bilan .row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px!important}
  body.notmatch #main .v15h-bilan .row .btn{min-height:42px;justify-content:center}
  /* Tuiles Effectif et Mon offre */
  body.notmatch #main .v15h-eff h2,body.notmatch #main .v15h-offre h2{font-size:16px;margin:0}
  body.notmatch #main .v15h-eff p,body.notmatch #main .v15h-offre p{font-size:12.5px;line-height:1.3;margin:0}
  body.notmatch #main .v15h-eff .row,body.notmatch #main .v15h-offre .row{margin:auto 0 0;padding-top:4px}
  body.notmatch #main .v15h-eff .btn,body.notmatch #main .v15h-offre .btn{width:100%;min-height:42px;padding:0 6px;font-size:13.5px;justify-content:center}

  /* 11. Matchs : cartes plus serrées, boutons de 40 px au moins */
  body.notmatch[data-pg="matchs"] #main>section:not(.stabsec):not(.demobar){padding:14px;margin-bottom:10px}
  body.notmatch[data-pg="matchs"] #main>section>h2{font-size:18px;margin:0 0 8px}
  body.notmatch[data-pg="matchs"] #main .btn.sm{min-height:40px}
  /* Même écart entre les cartes que sur l'Accueil */
  body.notmatch[data-pg="matchs"] #main{gap:10px}
  body.notmatch[data-pg="matchs"] #main>section.demobar{margin-bottom:6px}
  body.notmatch[data-pg="matchs"] #main>section:not(.stabsec):not(.demobar){margin-bottom:0}
  /* Onglet Match */
  body.notmatch[data-pg="matchs"] #main .nextm{padding:10px 12px}
  body.notmatch[data-pg="matchs"] #main .nextm b{font-size:16px;line-height:1.2}
  body.notmatch[data-pg="matchs"] #main .sheetbtn{padding:10px 12px;border-radius:14px}
  body.notmatch[data-pg="matchs"] #main .sheetbtn small{font-size:12px;line-height:1.3}
  @supports selector(section:has(>button)){
    /* Les deux saisies côte à côte, chacune avec son explication dessous */
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM):has(>#startDiff){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM):has(>#startDiff)>*{grid-column:1/-1}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startDiff)>#startM{grid-area:2/1}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startDiff)>#startM+p{grid-area:3/1}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM)>#startDiff{grid-area:2/2}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM)>#startDiff+p{grid-area:3/2}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM):has(>#startDiff)>h2{margin-bottom:2px}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM):has(>#startDiff)>.btn{min-height:48px;padding:0 6px;font-size:14.5px;justify-content:center}
    body.notmatch[data-pg="matchs"] #main>section:has(>#startM):has(>#startDiff)>p.note{margin:0!important;font-size:12px;line-height:1.3}
  }
  /* Onglet Calendrier */
  body.notmatch[data-pg="matchs"] #main .calrow{padding:6px 2px 6px 12px;min-height:52px}
  body.notmatch[data-pg="matchs"] #main .calrow .x{width:40px;height:40px;flex:0 0 40px}
  body.notmatch[data-pg="matchs"] #main section:has(>.callist)>.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:8px!important}
  body.notmatch[data-pg="matchs"] #main section:has(>.callist)>.row>.btn{min-height:42px;padding:4px 8px;font-size:13px;line-height:1.15;white-space:normal;justify-content:center}
  body.notmatch[data-pg="matchs"] #main section:has(>.callist)>.row>#calAdd,
  body.notmatch[data-pg="matchs"] #main section:has(>.callist)>.row>#planAdd{grid-column:1/-1}
  /* « Prochain » posé sur le bord de la ligne : le nom de l'adversaire garde toute la largeur */
  body.notmatch[data-pg="matchs"] #main .callist{padding-top:8px}
  body.notmatch[data-pg="matchs"] #main .calrow.next{position:relative}
  body.notmatch[data-pg="matchs"] #main .calrow.next .calnx{position:absolute;top:-9px;right:12px;background:#C8470C;color:#fff;font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
  /* Onglet Matchs joués */
  body.notmatch[data-pg="matchs"] #main .seg.sm button{min-height:40px;font-size:13px}
  body.notmatch[data-pg="matchs"] #main .hist{gap:6px}
  body.notmatch[data-pg="matchs"] #main .hitem{padding:8px 12px;margin-bottom:0;min-height:52px;gap:10px;border-radius:12px}
  body.notmatch[data-pg="matchs"] #main .hitem>span:first-child{flex:1;min-width:0}
  body.notmatch[data-pg="matchs"] #main .hitem b{font-size:15px;line-height:1.2}
  body.notmatch[data-pg="matchs"] #main .hitem small{display:block;line-height:1.3}
  body.notmatch[data-pg="matchs"] #main .hitem .hs{font-size:19px;flex:0 0 auto}
}

/* 12. Écran d'entrée */
#welcome .wbtns button.main{background:#C8470C;border-color:#C8470C;color:#fff}   /* blanc sur orange : 4,7:1 au lieu de 3,0:1 */
#welcome .wbtns button.main small{opacity:.92}
#welcome .wbtns button:not(.main){border:1px solid var(--line);background:var(--surface)}
#welcome .wcard>.wtheme{order:5;opacity:.8}
#welcome .wcard>small{order:6}
#welcome .wtheme button{font-size:12.5px;padding:4px 9px}
#welcome .wtheme button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--surface)}
/* Rien n'est coupé en haut quand l'écran d'entrée dépasse la hauteur du téléphone (mascotte entière) */
@media (max-width:767px){
  #welcome{justify-content:flex-start}
  #welcome .wtheme button{min-height:40px;padding:4px 11px}
  #welcome .wplans{min-height:40px}
  #welcome>.wcard{margin-top:auto}
  #welcome>.whero{margin-bottom:auto}
}

/* 13. Étiquette d'équipe (v1.5a01) : matchs joués toutes équipes confondues, prochain match */
.v15tag{display:inline-block;max-width:10em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:2px;margin-right:7px;padding:3px 7px;border-radius:999px;font-family:var(--f-body);font-size:11px;line-height:1;font-weight:700;letter-spacing:.04em;color:#fff;background:#22325A;border:1px solid rgba(255,255,255,.28)}
.v15tag.t1{background:#C8470C}.v15tag.t2{background:#1E7A46}.v15tag.t3{background:#5B3DC4}
.hitem b .v15tag{vertical-align:middle;position:relative;top:-1px}
.v15h-next .v15tag{background:#FFB81C;color:#0F192E;border-color:transparent;vertical-align:1px}
@media (max-width:767px){
  body.notmatch[data-pg="home"] #main>section.v15h-next{position:relative}
  body.notmatch #main .v15h-next .v15tag{position:absolute;top:13px;right:14px;margin:0}
}

/* ===== Lot 3 (v1.5b) : Club et Réglages ===== */
/* 14. Blocs repliables (palettes de maillots, bornes des radars, repères de lecture) : toutes tailles d'écran */
.v15d{border:1px solid var(--line);border-radius:14px;background:var(--surface);margin-top:12px;min-width:0}
.grid2>.v15d{margin-top:0}
.v15d>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px;cursor:pointer;list-style:none;font-weight:600;font-size:14px;line-height:1.25;color:var(--ink)}
.v15d>summary::-webkit-details-marker{display:none}
.v15d>summary>span{flex:1;min-width:0}
.v15d>summary small{display:block;font-weight:500;font-size:12px;margin:1px 0 0}
.v15d>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:-5px 5px 0 2px;flex:0 0 auto}
.v15d[open]>summary::after{transform:rotate(-135deg);margin-top:5px}
.v15d>:not(summary){margin-left:12px;margin-right:12px}
.v15d>:last-child:not(summary){margin-bottom:12px}
.v15d .v15chip{width:30px;height:30px;border-radius:9px;border:2px solid rgba(0,0,0,.18);flex:0 0 auto}
:root[data-theme="dark"] .v15d .v15chip{border-color:rgba(255,255,255,.35)}
.v15d.v15sw .swatches{margin-top:2px}
.v15set>h2+.field,.v15set>h2+.v15d{margin-top:0!important}
/* Club › Logos : un seul titre « Logos » */
body.notmatch[data-pg="roster"] #main>section:has(#fAvatar)>h2{display:none}

@media (max-width:767px){
  /* 15. Club et Réglages : cartes serrées, boutons et champs de 40 px au moins */
  body.notmatch[data-pg="roster"] #main>section:not(.stabsec):not(.demobar),
  body.notmatch[data-pg="settings"] #main>section:not(.stabsec):not(.demobar),
  body.notmatch[data-pg="settings"] #main .sgcol>section{padding:14px;margin-bottom:10px}
  body.notmatch[data-pg="roster"] #main>section>h2,
  body.notmatch[data-pg="settings"] #main section>h2{font-size:18px;margin:0 0 8px}
  body.notmatch[data-pg="roster"] #main .btn.sm,body.notmatch[data-pg="settings"] #main .btn.sm{min-height:40px}
  body.notmatch[data-pg="roster"] #main .seg button,body.notmatch[data-pg="settings"] #main .seg button{min-height:40px}
  body.notmatch[data-pg="roster"] #main .inp,body.notmatch[data-pg="settings"] #main .inp{min-height:44px;padding-top:8px;padding-bottom:8px}
  body.notmatch[data-pg="roster"] #main button.x{width:40px;height:40px;flex:0 0 40px}
  body.notmatch[data-pg="roster"] #main .field>label,body.notmatch[data-pg="settings"] #main .field>label{margin-bottom:4px}
  body.notmatch[data-pg="roster"] #main p.note,body.notmatch[data-pg="settings"] #main p.note{font-size:12.5px;line-height:1.35}

  /* 16. Club › Effectifs : les joueuses d'abord, une ligne par joueuse, l'encadrement ensuite */
  body.notmatch[data-pg="roster"] #main:has(>section.efflist){display:flex;flex-direction:column}
  body.notmatch[data-pg="roster"] #main:has(>section.efflist)>section.staffsec{order:9}
  body.notmatch[data-pg="roster"] #main .effstick{margin-top:0}
  body.notmatch[data-pg="roster"] #main .effstick h2{display:flex;justify-content:space-between;align-items:baseline;font-size:18px;margin:0 0 6px}
  body.notmatch[data-pg="roster"] #main .effstick .seg.sm{margin:0 0 8px!important}
  body.notmatch[data-pg="roster"] #main .effstick .seg.sm button{font-size:13px;padding:0 2px}
  body.notmatch[data-pg="roster"] #main .effstick .addcard{padding:5px 12px;min-height:48px;gap:10px}
  body.notmatch[data-pg="roster"] #main .effstick .addcard small{display:none}
  body.notmatch[data-pg="roster"] #main .effstick .addcard .plus{width:32px;height:32px;flex-basis:32px}
  body.notmatch[data-pg="roster"] #main .effstick .sortseg{margin:8px 0 0!important}
  body.notmatch[data-pg="roster"] #main>section.efflist>p.note{margin:0 0 8px!important}
  body.notmatch[data-pg="roster"] #main .efflist .plist{grid-template-columns:minmax(0,1fr)!important;gap:6px}
  body.notmatch[data-pg="roster"] #main .pitem{padding:6px 4px 6px 10px;gap:8px;border-radius:12px;min-height:56px}
  body.notmatch[data-pg="roster"] #main .pitem>.pav{width:40px;height:40px;font-size:18px}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>b{flex:1 1 100%;font-size:15.5px;line-height:1.2}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>span{flex:0 1 auto;min-width:0;font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>span:empty{display:none}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>.stbtn{flex:0 0 auto;position:relative;margin-top:0!important;padding:2px 8px!important;font-size:11.5px!important;line-height:1.3;white-space:nowrap}
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>.stbtn::after{content:"";position:absolute;inset:-11px -6px}   /* zone de toucher de 40 px */
  body.notmatch[data-pg="roster"] #main .pitem .pinfo>div{flex:1 1 100%}
  body.notmatch[data-pg="roster"] #main .pitem>.btn[data-pedit]{width:40px;height:40px;min-height:40px;padding:0;flex:0 0 40px;justify-content:center}
  body.notmatch[data-pg="roster"] #main .pitem>.btn[data-prof]{width:34px;height:40px;min-height:40px;padding:0;flex:0 0 34px;justify-content:center;font-size:0;border-color:transparent;background:none;box-shadow:none}
  body.notmatch[data-pg="roster"] #main .pitem>.btn[data-prof]::after{content:"\203A";font-size:26px;line-height:1;color:var(--muted);font-family:var(--f-body)}
  body.notmatch[data-pg="roster"] #main .pitem>.grip{padding:9px 4px}
  /* Encadrement : photo plus petite, genre et photo sur la même ligne quand la place le permet */
  body.notmatch[data-pg="roster"] #main .staffg{grid-template-columns:minmax(0,1fr);gap:12px}
  body.notmatch[data-pg="roster"] #main .staffrow{grid-template-columns:48px minmax(0,1fr);gap:10px}
  body.notmatch[data-pg="roster"] #main .staffrow .pav{width:48px;height:48px}
  body.notmatch[data-pg="roster"] #main .staffrow>div:not(.pav){display:flex!important;flex-wrap:wrap;gap:6px 8px!important;align-items:center}
  body.notmatch[data-pg="roster"] #main .staffrow>div>label,body.notmatch[data-pg="roster"] #main .staffrow>div>input{flex:1 1 100%}
  body.notmatch[data-pg="roster"] #main .staffrow>div>.seg{flex:1 1 104px}
  body.notmatch[data-pg="roster"] #main .staffrow>div>.seg button{padding:0 4px}
  body.notmatch[data-pg="roster"] #main .staffrow>div>.row .btn{padding:0 10px}
  body.notmatch[data-pg="roster"] #main .staffrow>div>.row{flex:0 0 auto;margin:0}

  /* 17. Club › Équipe, Gymnase, Infos club */
  body.notmatch[data-pg="roster"] #main .grid2{gap:10px}
  body.notmatch[data-pg="roster"] #main .swatches{gap:6px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
  body.notmatch[data-pg="roster"] #main .swatches .swatch{width:auto;height:40px;border-radius:10px}
  body.notmatch[data-pg="roster"] #main .gymrow{grid-template-columns:minmax(0,1fr)!important}
  body.notmatch[data-pg="roster"] #main .gymrow>*{grid-column:1!important;min-width:0}
  body.notmatch[data-pg="roster"] #main .gymrow>.inp{width:100%}
  body.notmatch[data-pg="roster"] #main .boardrow .inp{padding-left:10px;padding-right:10px;font-size:15px;min-width:0}
  body.notmatch[data-pg="roster"] #main .trrow .inp{min-width:0}
  body.notmatch[data-pg="roster"] #main #clubNew{display:inline-block;padding:10px 0}
  body.notmatch[data-pg="roster"] #main details.more>summary{min-height:40px;display:flex;align-items:center}
  body.notmatch[data-pg="roster"] #main .gymrow+.gymrow{border-top:1px solid var(--line);padding-top:12px}

  /* En-tête avec un match en cours : la pastille « Match en cours » prend la place de la ligne d'équipe,
     l'en-tête reste sur une ligne et les icônes restent alignées (repris du lot 2) */
  body.notmatch #brandHead .bhinfo:has(>.bhlive)>span{display:none}
  body.notmatch #brandHead .bhinfo>.bhlive{grid-column:1;grid-row:2;justify-self:start;margin-top:2px;position:relative;min-width:0;max-width:100%;font-size:11.5px;padding:3px 9px}
  body.notmatch #brandHead .bhinfo>.bhlive::after{content:"";position:absolute;inset:-9px -4px}

  @media (max-width:340px){body.notmatch #brandHead .bhinfo>.bhlive{font-size:10.5px;padding:3px 7px}}

  /* 18. Réglages */
  body.notmatch[data-pg="settings"] #main .consent{padding:10px;min-height:44px;align-items:center;line-height:1.3}
  body.notmatch[data-pg="settings"] #main .v15bk .row,
  body.notmatch[data-pg="settings"] #main .v15aide .row,
  body.notmatch[data-pg="settings"] #main section:has(#snapList)>.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:0!important}
  body.notmatch[data-pg="settings"] #main .v15bk .row>.btn,
  body.notmatch[data-pg="settings"] #main .v15aide .row>.btn,
  body.notmatch[data-pg="settings"] #main section:has(#snapList)>.row>.btn{min-height:44px;padding:4px 8px;font-size:13.5px;line-height:1.15;white-space:normal;justify-content:center;text-align:center}
  body.notmatch[data-pg="settings"] #main .v15bk .row>.btn:only-child{grid-column:1/-1}
  body.notmatch[data-pg="settings"] #main .radb .inp,body.notmatch[data-pg="settings"] #main .goalg .inp{min-height:40px}
  body.notmatch[data-pg="settings"] #main .goalg{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  body.notmatch[data-pg="settings"] #main .goalg label{align-content:space-between}
  body.notmatch[data-pg="settings"] #main .goalg small{display:block}
  body.notmatch[data-pg="settings"] #main .goalg .inp{max-width:none;min-width:0}
  body.notmatch[data-pg="settings"] #main .appver{margin:4px 0 0}
}

/* ===== Lot 4a (v1.5d) : Stats › Équipe en vues à onglets nommés ===== */
/* 19. Téléphone : le contenu remonte. Le choix du match, la période et le contenu se suivent sans vide ;
   « Corriger le match » reste sur Résumé et sur Partager. */
@media (max-width:767px){
  body.notmatch #main>section.stabsec.hubhead{padding-top:6px;padding-bottom:6px}
  body.notmatch #main>section.stabsec.hubhead>.hubsel{margin-top:0}
  body.notmatch #main>section.db-top[data-th]{margin-bottom:0}
  body.notmatch #main>section.db-top[data-th]:not([data-th="res"]):not([data-th="part"]){display:none}
  body.notmatch #main>section.db-top[data-th]:not(:has(>.btn)){display:none}
  body.notmatch #main>section.db-top[data-th]>.btn{min-height:40px}
  body.notmatch #main>section.db-pf{margin:-4px 0 -2px}
  body.notmatch #main>section.db-pf .db-per button{min-height:40px;min-width:44px}
}
/* Tablette : les pastilles de période gardent 40 px de haut au doigt */
@media (min-width:768px) and (max-width:1100px){
  body.notmatch #main>section.db-pf .db-per button{min-height:40px;min-width:44px}
}

/* 20. Stats : le choix du haut en trois blocs séparés (Équipes, Individuel, Période), mots entiers.
   Téléphone : une seule barre d'onglets en bas ; Équipes et Individuel sur une ligne, Période et choix du match sur la suivante. */
body.notmatch #main .hubhead .hubtop.v15hub{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end;margin-bottom:8px}
body.notmatch #main .hubhead .v15blk{display:flex;flex-direction:column;gap:4px;min-width:0}
body.notmatch #main .hubhead .v15cap{font:600 10.5px/1 var(--f-body,inherit);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);padding-left:8px}
body.notmatch #main .hubhead .v15blk .hubside,body.notmatch #main .hubhead .v15blk .hubscope{display:flex;gap:2px;padding:3px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px rgba(15,25,46,.06);width:auto;flex:0 0 auto}
body.notmatch #main .hubhead .v15hub button{flex:1 1 auto;min-width:0;min-height:38px;padding:0 16px;border:0;border-radius:11px;background:transparent;box-shadow:none;color:var(--ink);font-size:14.5px;font-weight:600;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}
body.notmatch #main .hubhead .v15hub button[aria-pressed="true"]{background:var(--v15-orb);color:#fff}
body.notmatch #main .hubhead .v15hub button:disabled{opacity:.38}
@media (hover:hover){body.notmatch #main .hubhead .v15hub button:not([aria-pressed="true"]):not(:disabled):hover{background:var(--court-soft)}}
@media (max-width:767px){
  body.notmatch #main>section.stabsec.hubhead{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;top:-67px} /* en défilant, seule la ligne Période + choix du match reste en haut */
  body.notmatch #main>section.stabsec.hubhead>*{flex:1 1 100%;min-width:0;margin-top:0;margin-bottom:0}
  body.notmatch #main .hubhead .hubtop.v15hub{display:contents}
  body.notmatch #main .hubhead .v15blk{flex:0 0 auto}
  body.notmatch #main .hubhead .v15blk:first-child{flex:1 1 auto}
  body.notmatch #main .hubhead .v15hub button{padding:0 10px;font-size:13.5px;min-height:36px}
  body.notmatch #main .hubhead .v15hub .hico{display:none}
  body.notmatch #main>section.stabsec.hubhead>.hubsel{flex:1 1 190px;min-height:44px;padding-top:0;padding-bottom:0}
}
@media (max-width:359px){
  body.notmatch #main .hubhead .v15hub button{padding:0 7px;font-size:12.5px}
}
/* 21. Glissement au doigt entre onglets : le contenu arrive du côté où l'on va */
@keyframes v15swl{from{opacity:.25;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes v15swr{from{opacity:.25;transform:translateX(-28px)}to{opacity:1;transform:none}}
html[data-v15sw="l"] body.notmatch #main>section:not(.stabsec):not(.demobar){animation:v15swl .2s ease-out}
html[data-v15sw="r"] body.notmatch #main>section:not(.stabsec):not(.demobar){animation:v15swr .2s ease-out}
@media (prefers-reduced-motion:reduce){html[data-v15sw] body.notmatch #main>section{animation:none!important}}
/* Le glissement de côté ne doit pas déclencher le « retour » du navigateur (Chrome, Android) */
html:has(body.notmatch),body.notmatch,body.notmatch #scroller{overscroll-behavior-x:none}
body.notmatch #main:has(.db-tabs){touch-action:pan-y pinch-zoom}

/* ===== Lot 4b (v1.5e) : Stats › Individuel en vues à onglets nommés ===== */
/* 22. Téléphone : l'en-tête d'une fiche (match ou saison) tient en haut de l'écran : petite photo, nom sur une ligne,
   les cinq chiffres tout de suite, les distinctions ensuite sur deux colonnes. */
@media (max-width:767px){
  body.notmatch[data-pg="stats"] #main>section.pp{display:grid;grid-template-columns:84px minmax(0,1fr);min-height:0;column-gap:12px;row-gap:5px;padding:12px!important;align-items:start}
  body.notmatch[data-pg="stats"] #main>section.pp>.pppic{grid-column:1;grid-row:1/span 4;min-height:0;height:104px;border-radius:12px;align-self:start}
  body.notmatch[data-pg="stats"] #main>section.pp .ppimg{-webkit-mask-image:none;mask-image:none}
  body.notmatch[data-pg="stats"] #main>section.pp .ppnum{display:none}
  body.notmatch[data-pg="stats"] #main>section.pp>.ppwho{display:contents}
  body.notmatch[data-pg="stats"] #main>section.pp>.ppwho>*{position:relative;grid-column:2;min-width:0;margin:0}
  body.notmatch[data-pg="stats"] #main>section.pp .ppnm{font-size:28px;line-height:1}
  body.notmatch[data-pg="stats"] #main>section.pp .ppnm span{display:inline;margin-left:.22em}
  body.notmatch[data-pg="stats"] #main>section.pp .ppmeta{gap:4px}
  body.notmatch[data-pg="stats"] #main>section.pp .ppmeta span{font-size:11.5px;padding:3px 8px}
  body.notmatch[data-pg="stats"] #main>section.pp .ppvs{font-size:12.5px}
  body.notmatch[data-pg="stats"] #main>section.pp>.ppbig{grid-column:1/-1;order:2;margin-top:8px;padding:10px 0 2px;background:none;border-top:1px solid rgba(255,255,255,.14)}
  body.notmatch[data-pg="stats"] #main>section.pp>.ppwho>.awd{grid-column:1/-1;order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;margin-top:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.14)}
  body.notmatch[data-pg="stats"] #main>section.pp .aw{width:auto;grid-template-columns:32px minmax(0,1fr);justify-items:start;align-items:center;text-align:left;gap:8px}
  body.notmatch[data-pg="stats"] #main>section.pp .aw svg,body.notmatch[data-pg="stats"] #main>section.pp .aw img,body.notmatch[data-pg="stats"] #main>section.pp .aw .awi{width:32px!important;height:32px!important;margin:0}
  body.notmatch[data-pg="stats"] #main>section.pp .aw b{font-size:10.5px;letter-spacing:.04em}
  /* Distinctions du match ou de la saison : trois par ligne */
  body.notmatch[data-pg="stats"] #main>section.awb{padding:0 12px 14px!important}
  body.notmatch[data-pg="stats"] #main>section.awb .dwg{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 6px;margin-top:12px}
  body.notmatch[data-pg="stats"] #main>section.awb .dwc .awi{width:56px;height:56px;margin-bottom:2px}
  body.notmatch[data-pg="stats"] #main>section.awb .dwc>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
  body.notmatch[data-pg="stats"] #main>section.awb .dwc{min-width:0}
  body.notmatch[data-pg="stats"] #main>section.awb .dwl{font-size:10.5px;letter-spacing:.03em}
  body.notmatch[data-pg="stats"] #main>section.awb .dwn{font-size:14px}
  body.notmatch[data-pg="stats"] #main>section.awb .dwv{font-size:11.5px}
}
@media (max-width:359px){
  body.notmatch[data-pg="stats"] #main>section.awb .dwl{font-size:9.5px;letter-spacing:0}
  body.notmatch[data-pg="stats"] #main>section.awb .dwn{font-size:13px}
}
/* Trophées d'une joueuse : liens et boutons au doigt (téléphone et tablette) */
@media (max-width:1100px){
  body.notmatch[data-pg="stats"] #main>section.indtro .mlist .lnk{min-height:40px;display:inline-flex;align-items:center}
  body.notmatch[data-pg="stats"] #main>section.indtro .btn{min-height:40px}
}
/* Événements enregistrés : sur les petits téléphones (320 px), une carte ne dépasse plus de l'écran */
@media (max-width:767px){
  body.notmatch[data-pg="stats"] #main .ctbg{grid-template-columns:minmax(0,1fr)}
}

/* ===== Lot PC, livraison 1 (v1.5l) : ordinateur, 1101 px et plus =====
   Structure commune (colonne de gauche), Accueil, Matchs. Tout est sous body.notmatch :
   l'écran de match, le téléphone et la tablette (jusqu'à 1100 px) ne sont pas touchés. */
@media (min-width:1101px){
  /* 23. Structure : colonne de gauche fixe (logo, club et équipe, rubriques, offre, réglages, langue) ;
     à droite, les sous-onglets sur une ligne puis le contenu, limité à 1320 px et centré */
  body.notmatch{display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  body.notmatch #board.compact{grid-column:1;grid-row:1;z-index:21;background:#0F192E;border-radius:0;box-shadow:none;padding:22px 14px 14px!important;min-width:0}
  body.notmatch .bnav{grid-column:1;grid-row:2;z-index:20;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;background:#0F192E;border:0;box-shadow:none;padding:4px 10px 66px!important;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;min-height:0;min-width:0}
  body.notmatch #scroller{grid-column:2;grid-row:1/3;min-height:0;min-width:0}
  body.notmatch.v01-subbottom #scroller{margin-top:56px}
  body.notmatch #v01-sub{grid-column:2;grid-row:1;align-self:start;z-index:5;height:56px;box-sizing:border-box;align-items:center;gap:6px;border-top:0;border-bottom:1px solid var(--line);
    padding:0 24px 0 max(24px,calc((100% - 1320px)/2 + 24px));justify-content:flex-start!important}
  body.notmatch #v01-sub>:first-child,body.notmatch #v01-sub>:last-child{margin-left:0;margin-right:0}
  body.notmatch #v01-sub0{display:none}
  body.notmatch #main{width:100%;max-width:1320px;margin:0 auto;box-sizing:border-box;padding-top:20px}

  /* Haut de la colonne : logo TOPOSTATS, puis logo du club, nom, équipe, choix du club et de l'équipe */
  body.notmatch #brandHead{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:2px 10px;align-items:center;justify-items:start;min-height:0;padding:0;text-align:left}
  body.notmatch #brandHead .bhkraken{grid-column:1/-1;grid-row:1;justify-self:start;margin:0 0 20px 2px;padding:0;width:auto;height:auto}
  body.notmatch #brandHead .bhkraken .bhw{display:block;width:158px;height:auto}
  body.notmatch #brandHead .bhkraken .bhi{display:none}
  body.notmatch #brandHead .bhlogo{grid-column:1;grid-row:2/4;width:44px;height:44px;border-radius:12px;margin:0;align-self:center}
  body.notmatch #brandHead .bhlogo .phl{font-size:8px;line-height:1.1}
  body.notmatch #brandHead .bhinfo{display:contents}
  body.notmatch #brandHead .bhinfo>b{grid-column:2;grid-row:2;align-self:end;max-width:100%;font:700 16px/1.15 "Barlow Condensed",Barlow,sans-serif;letter-spacing:.01em;color:#fff;text-align:left;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  body.notmatch #brandHead .bhinfo>span{grid-column:2/-1;grid-row:3;align-self:start;max-width:100%;font:500 12px/1.25 Barlow,sans-serif;color:#AEB9CF;text-align:left;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  body.notmatch #brandHead .bhswitch{grid-column:3;grid-row:2;align-self:end;display:flex;flex-wrap:wrap;gap:6px;margin:0;justify-content:flex-end;width:auto}
  body.notmatch #brandHead .bhswitch:has(select){grid-column:1/-1;grid-row:4;width:100%;margin-top:10px;align-items:center}
  body.notmatch #brandHead .bhswitch .bhsel{flex:1 1 100%;width:100%;max-width:none;min-height:36px;font-size:13px}
  body.notmatch #brandHead .bhswitch .bhplus{flex:0 0 auto;width:28px;height:28px;padding:0}
  body.notmatch #brandHead .bhswitch .bhplus svg{width:26px;height:26px}
  body.notmatch #brandHead .bhlive{grid-column:1/-1;grid-row:5;justify-self:stretch;margin:12px 0 0;max-width:100%;white-space:normal;text-align:left;line-height:1.25;padding:8px 10px;border-radius:12px;font-size:13px}
  /* Langue : en bas de la colonne */
  body.notmatch #brandHead .v14lang{position:fixed;left:14px;bottom:14px;right:auto;top:auto;transform:none;width:196px;height:38px;box-sizing:border-box;justify-content:flex-start;gap:8px;padding:0 12px;font-size:13.5px}
  body.notmatch #brandHead .v14lang .n{display:inline}
  body.notmatch #brandHead .v14lang .l{display:none}

  /* Rubriques : une ligne par rubrique, icône puis nom ; offre et réglages en bas */
  body.notmatch .bnav::-webkit-scrollbar{display:none}
  body.notmatch .bnav button{flex:0 0 auto;width:100%;min-height:44px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:4px 10px 4px 5px;border-radius:12px;background:transparent;color:#C3CCDD;font:600 15px/1.2 Barlow,sans-serif;text-align:left;box-sizing:border-box}
  body.notmatch .bnav button span{font:inherit;color:inherit}
  body.notmatch .bnav button svg{flex:0 0 auto}
  body.notmatch .bnav button[aria-selected="true"],body.notmatch .bnav button[aria-pressed="true"]{background:rgba(255,255,255,.09);color:#fff}
  body.notmatch .bnav #planBtn{margin-top:auto;color:#FF9A5C}
  body.notmatch .bnav #setBtn{margin-left:0}
  body.notmatch .bnav button:focus-visible,body.notmatch #brandHead button:focus-visible{outline:2px solid #FFB81C;outline-offset:2px}
}
@media (min-width:1101px){
  /* 24. Accueil : tableau de bord sur deux colonnes (prochain match, effectif et offre à gauche ; bilan à droite) */
  body.notmatch[data-pg="home"] #main{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row dense;align-items:stretch}
  body.notmatch[data-pg="home"] #main>*{grid-column:1/-1}
  body.notmatch[data-pg="home"] #main>.v15h-next{grid-column:1/3;display:flex;flex-direction:column;justify-content:center;background:#0F192E;border-color:#0F192E;color:#fff;padding:26px 28px;min-height:232px}
  body.notmatch[data-pg="home"] #main>.v15h-next h2{color:#FFB81C;font-size:15px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px}
  body.notmatch[data-pg="home"] #main>.v15h-next p{margin:0 0 6px}
  body.notmatch[data-pg="home"] #main>.v15h-next p b{font:700 34px/1.08 "Barlow Condensed",Barlow,sans-serif;color:#fff}
  body.notmatch[data-pg="home"] #main>.v15h-next .note{color:#C3CCDD;font-size:15px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
  body.notmatch[data-pg="home"] #main>.v15h-next .row{margin-top:16px}
  body.notmatch[data-pg="home"] #main>.v15h-next .btn{min-height:46px;padding:0 22px;font-size:16px}
  body.notmatch[data-pg="home"] #main>.v15h-bilan{grid-column:3/5;grid-row:span 2}
  body.notmatch[data-pg="home"] #main>.v15h-bilan .kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  body.notmatch[data-pg="home"] #main>.v15h-bilan .kpi{padding:10px 12px;min-width:0}
  body.notmatch[data-pg="home"] #main>.v15h-bilan .kpi span{font-size:11.5px;line-height:1.2}
  body.notmatch[data-pg="home"] #main>.v15h-eff{grid-column:1/2}
  body.notmatch[data-pg="home"] #main>.v15h-offre{grid-column:2/3}
  body.notmatch[data-pg="home"] #main>.v15h-eff,body.notmatch[data-pg="home"] #main>.v15h-offre{display:flex;flex-direction:column}
  body.notmatch[data-pg="home"] #main>.v15h-eff .row,body.notmatch[data-pg="home"] #main>.v15h-offre .row{margin-top:auto;padding-top:10px}

  /* 25. Matchs. Calendrier et Matchs joués : toute la largeur, liste sur deux colonnes, filtres sur une ligne.
     Match : prochain match et préparation à gauche, saisie à droite */
  body.notmatch[data-pg="matchs"] #main{grid-auto-flow:row dense;align-items:start}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="cal"],body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"],
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="fin"],body.notmatch[data-pg="matchs"] #main>section[data-v15m="wipe"]{grid-column:1/-1}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="next"],body.notmatch[data-pg="matchs"] #main>section[data-v15m="prep"]{grid-column:1}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="saisie"]{grid-column:2;grid-row:span 2;align-self:stretch}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="saisie"] .btn{min-height:52px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="cal"] .callist:has(.calrow:nth-child(4)){display:block;columns:2;column-gap:20px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="cal"] .callist:has(.calrow:nth-child(4)) .calrow{break-inside:avoid;margin-bottom:8px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="cal"] .callist:not(:has(.calrow:nth-child(4))){max-width:720px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px 16px;align-items:center}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>*{grid-column:1/-1;margin:0!important}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>h2{grid-column:1;display:flex;align-items:baseline;justify-content:flex-start;gap:10px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>h2 small{float:none;margin:0}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>.field{grid-column:2;grid-row:1;display:flex;align-items:center;gap:8px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>.field label{margin:0;white-space:nowrap}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>.field .inp{width:240px;min-height:40px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>.seg{grid-column:3;grid-row:1;width:auto}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"]>.seg button{flex:0 0 auto;padding:0 16px;min-height:40px}
  body.notmatch[data-pg="matchs"] #main>section[data-v15m="joues"] .hist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}
}
@media (min-width:1101px){
  /* Thème sombre : la colonne et la carte du prochain match se détachent du fond */
  html[data-theme="dark"] body.notmatch #board.compact,html[data-theme="dark"] body.notmatch .bnav{box-shadow:1px 0 0 rgba(255,255,255,.08)}
  html[data-theme="dark"] body.notmatch[data-pg="home"] #main>.v15h-next{background:#16233F;border-color:#22325A}
  /* Pastille « Match en cours » de la colonne : texte blanc sur rouge foncé */
  body.notmatch #brandHead .bhlive{background:#C22B32;color:#fff;font-weight:600;text-wrap:balance}
  body.notmatch .bnav #planBtn span,body.notmatch .bnav #setBtn span{font-size:15px;letter-spacing:inherit;font-weight:600}
}
@media (min-width:1101px){
  /* Bilan : les quatre chiffres sur deux lignes de deux (libellés entiers) */
  body.notmatch[data-pg="home"] #main>.v15h-bilan .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* ===== Lot PC, livraison 2 (v1.5m) : Club et Réglages sur ordinateur ===== */
@media (min-width:1101px){
  /* 26. Club › Effectifs : titre, filtres, tri et ajout sur une ligne ; liste en tableau à gauche, encadrement à droite */
  body.notmatch[data-pg="roster"] #main:has(>.efflist){grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);grid-auto-flow:row dense;align-items:start}
  body.notmatch[data-pg="roster"] #main:has(>.efflist)>*{grid-column:1/-1}
  body.notmatch[data-pg="roster"] #main>.efflist{grid-column:1}
  body.notmatch[data-pg="roster"] #main:has(>.efflist)>.staffsec{grid-column:2}
  body.notmatch[data-pg="roster"] #main .effstick{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
  body.notmatch[data-pg="roster"] #main .effstick>h2{order:1;margin:0 6px 0 0;display:flex;align-items:baseline;gap:10px}
  body.notmatch[data-pg="roster"] #main .effstick>h2 small{float:none;margin:0}
  body.notmatch[data-pg="roster"] #main .effstick>.seg{order:2;width:auto;flex:0 0 auto;margin:0!important;display:inline-flex}
  body.notmatch[data-pg="roster"] #main .effstick>.seg.sortseg{order:3}
  body.notmatch[data-pg="roster"] #main .effstick>.seg button{flex:0 0 auto;min-height:40px;padding:0 15px}
  body.notmatch[data-pg="roster"] #main .effstick>.addcard{order:4;width:auto;flex:0 0 auto;margin:0 0 0 auto;min-height:44px;padding:4px 16px 4px 8px;gap:10px}
  body.notmatch[data-pg="roster"] #main .effstick>.addcard small{display:none}
  body.notmatch[data-pg="roster"] #main .effstick>.addcard .plus{width:30px;height:30px;font-size:18px}
  body.notmatch[data-pg="roster"] #main>.efflist .plist{display:block!important;columns:auto!important}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem{display:flex;align-items:center;gap:12px;margin:0;padding:4px 6px;min-height:56px;box-sizing:border-box;background:transparent;border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line)}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem:last-child{border-bottom:0}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem>.btn,body.notmatch[data-pg="roster"] #main>.efflist .pitem>.grip{flex:0 0 auto;white-space:nowrap}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem .pinfo{flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem .pinfo>b,body.notmatch[data-pg="roster"] #main>.efflist .pitem .pinfo>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.notmatch[data-pg="roster"] #main>.efflist .pitem .pinfo>.stbtn{margin:0!important;align-self:center!important;justify-self:end;min-height:32px;white-space:nowrap}
  body.notmatch[data-pg="roster"] #main:has(>.efflist)>.staffsec .staffg{grid-template-columns:minmax(0,1fr);gap:18px}

  /* 27. Club › Gymnase : toute la largeur, nom, adresse et usage sur une ligne (champs entiers) */
  body.notmatch[data-pg="roster"] #main>section:has(.gymrow){grid-column:1/-1}
  body.notmatch[data-pg="roster"] #main .gymrow{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(250px,.8fr);align-items:center;gap:10px!important;border-top:0!important;padding-top:0!important}

  /* 28. Réglages › Saisie et Stats : le bloc prend la largeur et se lit sur deux colonnes, un réglage n'est jamais coupé */
  body.notmatch #main>section.v15set:not(.v15bk):not(.v15aide){grid-column:1/-1;columns:2;column-gap:44px}
  body.notmatch #main>section.v15set:not(.v15bk):not(.v15aide)>h2{column-span:all}
  body.notmatch #main>section.v15set:not(.v15bk):not(.v15aide)>*{break-inside:avoid}
  body.notmatch #main>section.v15set:not(.v15bk):not(.v15aide)>.field:first-of-type{margin-top:0!important}
}
@media (min-width:1101px) and (max-width:1279px){
  /* Club › Infos sous 1280 px : une seule colonne à largeur limitée, pour que les champs (mails, réseaux) restent entiers */
  body.notmatch[data-pg="roster"] #main:has(#clubNew){grid-template-columns:minmax(0,880px)}
}
@media (min-width:1101px) and (hover:hover){
  body.notmatch .bnav button:not([aria-selected="true"]):not([aria-pressed="true"]):hover{background:rgba(255,255,255,.05);color:#fff}
}

/* ===== Lot PC, livraison 3 (v1.5n) : Stats sur ordinateur (Notre équipe, Individuel) =====
   Toujours sous body.notmatch et à partir de 1101 px : téléphone, tablette et écran de match ne sont pas touchés. */
@media (min-width:1101px){
  /* 29. Stats, structure : les choix (Équipes, Individuel, Période) et le choix du match sur une seule ligne, les onglets dessous ;
     la page est une grille de 12 colonnes, un bloc prend toute la largeur sauf indication */
  body.notmatch[data-pg="stats"] #main{grid-template-columns:repeat(12,minmax(0,1fr))}
  body.notmatch[data-pg="stats"] #main>*{grid-column:1/-1;min-width:0}
  body.notmatch[data-pg="stats"] #main>section.stabsec.hubhead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;align-items:end}
  body.notmatch[data-pg="stats"] #main>section.stabsec.hubhead>*{grid-column:1/-1;min-width:0;margin-top:0;margin-bottom:0}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubtop.v15hub{grid-column:1;flex-wrap:nowrap}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubtop.v15hub+.hubsel{grid-column:2;width:100%;max-width:520px;min-height:46px;box-sizing:border-box}
}
@media (min-width:1280px){
  /* 30. Notre équipe. Résumé : le bandeau de score, resserré, à gauche ; la période et l'analyse à droite ; indicateurs et chiffres côte à côte.
     De 1101 à 1279 px, les blocs restent l'un sous l'autre (pas assez de largeur pour deux colonnes lisibles) */
  body.notmatch[data-pg="stats"] #main>section.tvb{grid-column:1/6;margin-top:30px!important;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
  body.notmatch[data-pg="stats"] #main>section.tvb:has(+.db-pf){grid-row:span 2}
  body.notmatch[data-pg="stats"] #main>section.tvb+.db-pf,
  body.notmatch[data-pg="stats"] #main>section.tvb+.db-pf+section,
  body.notmatch[data-pg="stats"] #main>section.tvb+section.ev4{grid-column:6/-1}
  body.notmatch[data-pg="stats"] #main>section.tvb+.db-pf{margin:0;align-self:start}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvbadge{width:72px;top:-28px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvbadge.l{left:-10px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvbadge.r{right:-10px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvt{padding-top:14px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvm{gap:12px;padding:14px 16px 8px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvteam{gap:8px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvteam .lgd{width:64px;height:64px;font-size:24px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvn{font-size:17px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvsc{gap:8px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvsc b{font-size:62px;padding:4px 10px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvsc .vs{font-size:18px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvtags{gap:6px;padding:4px 12px 12px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvtag{padding:5px 11px;font-size:12.5px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvtag.res{font-size:13.5px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvl{font-size:16px;margin-bottom:12px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvl th,body.notmatch[data-pg="stats"] #main>section.tvb .tvl td{padding:5px 6px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvl td.tot{font-size:18px}
  body.notmatch[data-pg="stats"] #main>section.tvb .tvhint{margin:-4px 14px 12px}
  /* Blocs rangés par deux (repère data-v15s posé par v15Sec dans app.js) : seulement quand les deux se suivent */
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a5"]:has(+section[data-v15s^="b"]){grid-column:1/6}
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a5"]+section[data-v15s^="b"]{grid-column:6/-1}
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a6"]:has(+section[data-v15s^="b"]){grid-column:1/7}
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a6"]+section[data-v15s^="b"]{grid-column:7/-1}
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a7"]:has(+section[data-v15s^="b"]){grid-column:1/8}
  body.notmatch[data-pg="stats"] #main>section[data-v15s="a7"]+section[data-v15s^="b"]{grid-column:8/-1}
  /* Indicateurs clés sur trois ou quatre colonnes ; à côté, les chiffres du match en petits anneaux sur une ligne */
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]:has(+section[data-v15s^="b"]) .kch{grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]:has(+section[data-v15s^="b"]) .kch li{padding:8px 10px}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dsc{gap:10px 4px;grid-template-columns:repeat(auto-fit,minmax(70px,1fr))}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dc{gap:4px}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dc .gz,
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dc .gz .db-ring{width:52px;height:52px}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dc .gz b{font-size:19px}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dl{font-size:12px;line-height:1.2}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .dl small{font-size:10.5px}
  body.notmatch[data-pg="stats"] #main>section.kic[data-v15s]+section[data-v15s^="b"] .do{font-size:11px;gap:4px}
  /* Analyse : les deux évaluations dans une colonne étroite, le texte prend le reste */
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4{grid-template-columns:minmax(0,236px) minmax(0,1fr);gap:20px}
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .evc{gap:10px;padding-right:16px}
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.lg,body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.lg .db-ring{width:108px;height:108px}
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.lg b{font-size:38px}
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.md,body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.md .db-ring{width:78px;height:78px}
  body.notmatch[data-pg="stats"] #main>section.tvb~section.ev4 .gz.md b{font-size:24px}
}
@media (min-width:1101px){
  /* Stats avancées : les cinq chiffres sur une ligne */
  body.notmatch[data-pg="stats"] #main>section[data-v15s="s5"] .ats{grid-template-columns:repeat(5,minmax(0,1fr))}
  /* Matchs de la saison : la liste sur deux colonnes */
  body.notmatch[data-pg="stats"] #main>section[data-v15s="m2"] .hist{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1280px){
  /* 31. Individuel : la liste des joueuses en colonne à gauche, toujours visible ; le contenu à droite.
     De 1101 à 1279 px, la liste reste en ligne sous les choix (les tableaux ont besoin de la largeur) */
  body.notmatch[data-pg="stats"] #main:has(>.hubhead>.hubpl){padding-left:230px}
  body.notmatch[data-pg="stats"] #main:has(>.hubhead>.hubpl)>section.demobar{margin-left:-206px}
  body.notmatch[data-pg="stats"] #main:has(>.hubhead>.hubpl)>section.stabsec.hubhead{margin-left:-222px}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubpl{position:absolute;left:0;top:calc(100% + 16px);width:190px;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:3px;
    margin:0;padding:6px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px rgba(15,25,46,.06);max-height:calc(100vh - 100% - 40px);overflow-x:hidden;overflow-y:auto}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubpl button{flex:0 0 auto;width:100%;min-height:36px;margin:0;padding:0 10px;border:0;border-radius:10px;background:transparent;box-shadow:none;text-align:left;justify-content:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubpl button b{display:inline-block;min-width:22px}
  /* À côté de la liste, le contenu est moins large : trophées et records sur trois colonnes */
  body.notmatch[data-pg="stats"] #main:has(>.hubhead>.hubpl)>section .awl,
  body.notmatch[data-pg="stats"] #main:has(>.hubhead>.hubpl)>section .reclist{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.notmatch[data-pg="stats"] #main .hubhead>.hubpl button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
  @media (hover:hover){body.notmatch[data-pg="stats"] #main .hubhead>.hubpl button:not([aria-pressed="true"]):hover{background:var(--court-soft)}}
}
@media (min-width:1101px) and (max-width:1279px){
  /* Individuel, de 1101 à 1279 px : les joueuses passent à la ligne au lieu de glisser de côté */
  body.notmatch[data-pg="stats"] #main .hubhead>.hubpl{flex-wrap:wrap;overflow:visible}
}
@media (min-width:1101px) and (max-width:1599px){
  /* Tableaux larges (feuille de stats, classement, match par match) : colonnes resserrées et titres sur deux lignes au besoin,
     pour tenir dans la largeur sans glisser de côté ni sortir de l'écran */
  body.notmatch[data-pg="stats"] #main>section:not(.tvb) th,body.notmatch[data-pg="stats"] #main>section:not(.tvb) td{padding-left:3px;padding-right:3px}
  body.notmatch[data-pg="stats"] #main>section:not(.tvb) th:first-child,body.notmatch[data-pg="stats"] #main>section:not(.tvb) td:first-child{padding-left:8px}
  body.notmatch[data-pg="stats"] #main>section:not(.tvb) th:last-child,body.notmatch[data-pg="stats"] #main>section:not(.tvb) td:last-child{padding-right:8px}
  body.notmatch[data-pg="stats"] #main>section:not(.tvb) thead th{white-space:normal}
}
/* Fenêtre des offres ouverte depuis les Stats (1000 px et plus) : les titres du comparatif ne descendent plus sur le tableau.
   La hauteur des choix des Stats (--stabh) ne vaut pas dans une fenêtre : en défilant, les titres se collent au bord haut de la fenêtre */
#shotOv{--stabh:-14px}
/* ===== Partie 32 (v1.5f, lot 4c) : comparateur, boutons et choix à 40 px au moins (toutes tailles) ===== */
body.notmatch .cmphub .cmpmodes button,body.notmatch .cmphub .cmpsel .inp{min-height:40px}
@media (max-width:359px){
  /* petit téléphone : un mode trop long passe seul sur sa ligne au lieu de couper son texte sur deux lignes */
  body.notmatch .cmphub .cmpmodes button{flex:1 1 auto;white-space:nowrap}
}
/* ===== Partie 33 (v1.5o, lot 4c) : graphiques (toutes tailles) ===== */
/* Anneau sans donnée : pointillé et « – » (avant : vide, comme un zéro) */
.db-ring.na .trk{stroke-dasharray:5 5;stroke-width:3!important}
.db-ring.na text{font:700 24px "Barlow Condensed",var(--f-display);fill:var(--muted)}
.gz .db-ring.na text{display:none}
/* Radar de production : chiffres des cercles (part du bord) et valeur / bord au bout de chaque branche */
.radar.rfx .rgt,.radar.rfx.sm .rgt{font:500 10px var(--f-body)!important;fill:var(--muted)}
.radar.rfx .rvl{font-weight:600}
.radar.rfx .rvn{fill:var(--c-us);font-weight:700}
.radar.rfx .rvb{fill:var(--muted);font-weight:500}
.radar.rfx.sm .rgt{display:none}
.prc .radar.rfx.sm{max-width:100%}
.radar.rfx{height:auto}
/* Courbe Progression : « moy. » dans la marge de droite */
.chart .avgl{fill:var(--ink);font-weight:600}
/* Réglages › Stats › Bornes des radars : un libellé sur deux lignes ne décale plus son champ */
.radb label{grid-template-rows:1fr auto;align-items:end}
/* v1.5o01 : onglet Efficacité en cinq blocs (Tirs, Passes, Balles perdues, Rebonds, Défense) */
.eff5{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;align-items:start}
.efh{display:flex;align-items:baseline;gap:10px;padding:6px 0 2px}
.efh b{font:700 40px/1 "Barlow Condensed",var(--f-display);color:var(--c-us)}
.efh span{font-size:13.5px;color:var(--muted)}
.efc.efl{text-align:left;margin:0 0 4px}
.efbar{display:flex;gap:2px;height:8px;border-radius:4px;overflow:hidden;margin:6px 0 6px}
.efbar i,.efd{background:#B8C0CC}
.efbar i.c1,.efd.c1{background:var(--c-us)}
.efbar i.c2,.efd.c2{background:#5D6E99}
.efbar i.c3,.efd.c3{background:#E0A21A}
.efd{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:1px}
@media (min-width:768px){.eff5{display:block;columns:3 270px;column-gap:14px}.eff5>.efb{break-inside:avoid;margin-bottom:14px}}
/* v1.5o01 (reprise) : anneaux découpés par type, légende à côté (modèle appli NBA) */
.efdn{display:grid;grid-template-columns:118px 1fr;gap:14px;align-items:center;padding:6px 0 10px}
.dnut{width:118px;height:118px;display:block}
.dnut .dtrk{fill:none;stroke:var(--line);stroke-width:13}
.dnut .dseg{fill:none;stroke-width:13;stroke:#B8C0CC}
.dnut .dseg.c1{stroke:var(--c-us)}.dnut .dseg.c2{stroke:#5D6E99}.dnut .dseg.c3{stroke:#E0A21A}.dnut .dseg.c5{stroke:#8E6BBF}.dnut .dseg.c6{stroke:#B03A2E}
.dnut.na .dtrk{stroke-dasharray:5 5;stroke-width:3}
.dnut .dval{font:700 30px "Barlow Condensed",var(--f-display);fill:var(--ink)}
.dnut .dcap{font:500 9.5px var(--f-body);fill:var(--muted)}
.efleg{display:grid;gap:8px;min-width:0}
.eflr{display:grid;grid-template-columns:12px 1fr auto;align-items:baseline;column-gap:6px}
.eflr span{font-size:13.5px;line-height:1.25}
.eflr span small{display:block;font-size:11.5px;color:var(--muted)}
.eflr b{font:700 20px "Barlow Condensed",var(--f-display)}
.efd.c5{background:#8E6BBF}.efd.c6{background:#B03A2E}
.efd{margin-right:0}
.efb .efc.efl{font-size:12px;line-height:1.35}

/* 34. v1.5p (lot 4c, livraison 3) — Unslop : un seul orange plein par écran, deux styles de sélection.
   A = navigation (barre du bas, sous-onglets, onglets des Stats) : texte orange + trait orange.
   B = choix dans la page (équipes, période, quart, interrupteurs) : case nuit (encre), texte du fond.
   Seul « Créer mon compte » (démo) ou l'action principale d'un écran garde l'orange plein. Plus de lueur. */
body.notmatch{--v15-navt:#FF8A4C;--v15-bar:#F26B1F}
:root[data-theme="light"] body.notmatch{--v15-navt:#B8480C;--v15-bar:#C8470C}
body.notmatch .btn.accent{box-shadow:none}
/* A. Barre du bas (téléphone, tablette) */
body.notmatch .bnav button{position:relative}
body.notmatch .bnav button[aria-selected="true"]{color:var(--v15-navt)}
body.notmatch .bnav button[aria-selected="true"] svg{background:transparent;color:var(--v15-navt)}
body.notmatch .bnav button[aria-selected="true"]::before{content:"";position:absolute;left:50%;top:-6px;width:44px;margin-left:-22px;height:3px;border-radius:0 0 3px 3px;background:var(--v15-bar)}
/* A. Sous-onglets (copies en bas sur téléphone) : du texte, plus de pastilles */
body.notmatch #v01-sub button,body.notmatch #v01-sub0 button{background:transparent;border-color:transparent;border-radius:8px;color:var(--ink);position:relative}
body.notmatch #v01-sub button.on,body.notmatch #v01-sub0 button.on{background:transparent;border-color:transparent;color:var(--v15-navt)}
body.notmatch #v01-sub button.on::before,body.notmatch #v01-sub0 button.on::before{content:"";position:absolute;left:8px;right:8px;top:0;height:3px;border-radius:0 0 3px 3px;background:var(--v15-bar)}
/* A. Onglets des Stats dans la page (tablette) */
body.notmatch .db-tabs button{border-radius:8px}
body.notmatch .db-tabs button[aria-selected="true"]{background:transparent;color:var(--v15-navt);box-shadow:inset 0 -3px 0 var(--v15-bar);border-radius:8px 8px 0 0}
/* B. Choix dans la page : case nuit */
body.notmatch #main .hubhead .v15hub button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
body.notmatch #main .hubhead .v15blk .hubside,body.notmatch #main .hubhead .v15blk .hubscope{box-shadow:none}
body.notmatch .seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg);box-shadow:none}
/* Petits titres des Stats : plus de majuscules espacées */
body.notmatch #main .hubhead .v15cap{font-size:12px;letter-spacing:0;text-transform:none}
/* Chiffres alignés dans les Stats */
body.notmatch[data-pg="stats"] #main{font-variant-numeric:tabular-nums}
/* Ordinateur (1101 px et plus) : colonne de gauche = navigation, trait orange à gauche ; sous-onglets en haut, trait dessous */
@media (min-width:1101px){
  body.notmatch .bnav button[aria-selected="true"]{color:#fff}
  body.notmatch .bnav button[aria-selected="true"] svg{color:#FF8A4C}
  body.notmatch .bnav button[aria-selected="true"]::before{left:-8px;top:8px;bottom:8px;width:3px;height:auto;margin:0;border-radius:0 3px 3px 0;background:#F26B1F}
  body.notmatch #v01-sub button.on::before{top:auto;bottom:-9px;border-radius:3px 3px 0 0}
}

/* Quarts (v1.5p) : feuille repliée, Q1 à Q4 et Match sans glisser de côté ; tirs réunis avec un choix de période */
body.notmatch #main .v15qf{margin-top:8px}
body.notmatch #main .v15qf .tblwrap{max-height:none;overflow-x:auto;border:0;border-radius:0;background:transparent}
body.notmatch #main table.v15qs{width:100%;min-width:0;table-layout:auto}
body.notmatch #main table.v15qs th,body.notmatch #main table.v15qs td{padding:6px 3px;font-size:13px;line-height:1.2;white-space:nowrap}
body.notmatch #main table.v15qs td:first-child{white-space:normal;min-width:84px;color:var(--ink);opacity:.85}
body.notmatch #main table.v15qs td small{display:block;font-size:11.5px;color:var(--muted);font-weight:500}
body.notmatch #main table.v15qs tr.v15qg th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:12px 3px 4px;background:transparent;border:0;position:static}
body.notmatch #main .qtab .trd.v15tr{display:flex;font-size:12px;gap:4px;margin:2px 0 0;white-space:nowrap}
body.notmatch #main .v15qp{margin-top:6px}
body.notmatch #main .v15qp button{min-height:40px;min-width:44px}
body.notmatch #main .v15qk{margin:10px 0 6px;font-weight:600;font-size:14px}
body.notmatch #main .v15qv{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:640px}
body.notmatch #main .v15qv>svg{width:100%;height:auto;display:block}
body.notmatch #main table.v15qz{width:100%;min-width:0}
body.notmatch #main section:has(.v15qz) .tblwrap{max-height:none}
@media (max-width:379px){
  body.notmatch #main .qtab:not(.v15qs) th,body.notmatch #main .qtab:not(.v15qs) td{padding-left:4px;padding-right:4px;font-size:13px}
  body.notmatch #main table.v15qs th,body.notmatch #main table.v15qs td{padding:5px 1px;font-size:12px}
  body.notmatch #main table.v15qs td:first-child{min-width:58px;font-size:12px}
  body.notmatch #main .v15qf>:not(summary){margin-left:6px;margin-right:6px}
  body.notmatch #main table.v15qz th,body.notmatch #main table.v15qz td{padding-left:2px;padding-right:2px;font-size:12px}
  body.notmatch #main table.v15qz .heat{padding-left:5px;padding-right:5px;min-width:0}
}
body.notmatch #main .v15qk small{font-size:14px;font-weight:500;color:var(--muted)}

/* ===== Partie 35 (v1.5q, lot 4c, livraison 4) : Individuel › Trophées (saison, toutes) et Résumé (match, toutes) =====
   Toutes tailles d'écran. Une carte nuit = l'élément principal de la vue ; podiums en tableau ; une ligne repliée par joueuse. */
body.notmatch #main section.v15tri{padding-bottom:10px}
body.notmatch #main section.v15tri h2{margin:0}
/* Carte nuit (grands trophées, distinctions du match) */
body.notmatch #main section.v15gt,body.notmatch #main section.v15aw{background:#0F192E;color:#fff;border-color:#0F192E}
:root[data-theme="dark"] body.notmatch #main section.v15gt,:root[data-theme="dark"] body.notmatch #main section.v15aw{border-color:#26355A}
body.notmatch #main section.v15gt h2,body.notmatch #main section.v15aw h2{color:#fff}
.v15gt .gt{padding:10px 0;border-top:1px solid #22325A}
.v15gt .gtg{margin:2px 0 0;font-size:12px;font-weight:600;color:#B9C3D3}
.v15gt h2 small{color:#B9C3D3}
.v15gt .gtg+.gt{border-top:0;padding-top:4px}
.v15gt .gth{color:#fff}
.v15gt .gth{font-size:12px;font-weight:600;color:#B9C3D3;margin-bottom:4px}
.v15gt .gw,.v15gt .gs{display:flex;align-items:baseline;gap:8px;line-height:1.3}
.v15gt .gw{font-size:16px;font-weight:700}
.v15gt .gs{font-size:13px;color:#B9C3D3;margin-top:4px}
.v15gt .gm{flex:none;width:20px;text-align:center}
.v15gt .gn{flex:1;min-width:0}
.v15gt .gv{flex:none;text-align:right;font-size:13px;font-weight:400;color:#B9C3D3;max-width:48%}
.v15gt .gw .gv{color:#fff;font-weight:600}
.v15gt em,.v15aw em{font-style:normal;font-size:12px;font-weight:400;color:#B9C3D3;white-space:nowrap}
.v15nb{color:var(--muted);font-weight:600;margin-right:4px}
.v15gt .v15nb{color:#B9C3D3}
/* Podiums en tableau : 1re, 2e, 3e sans glisser de côté */
body.notmatch #main table.v15pt{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:14px}
body.notmatch #main table.v15pt col.c0{width:36%}
body.notmatch #main table.v15pt th{position:static;background:transparent;text-align:left;font-size:14px;padding:4px 3px 6px;border-bottom:1px solid var(--line)}
body.notmatch #main table.v15pt td{text-align:left;vertical-align:top;padding:8px 3px;line-height:1.25;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}
body.notmatch #main table.v15pt tbody:last-child tr:last-child td{border-bottom:0}
body.notmatch #main table.v15pt tr.v15tg th{font:700 22px/1.1 "Barlow Condensed",var(--f-display);color:var(--ink);padding:22px 3px 6px;border-bottom:1px solid var(--line)}
body.notmatch #main table.v15pt td:first-child{font-weight:600}
body.notmatch #main table.v15pt td small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:1px}
body.notmatch #main table.v15pt td b{display:block;font-weight:600}
body.notmatch #main table.v15pt td b .v15nb{font-weight:400}
body.notmatch #main table.v15pt td i{display:block;font-style:normal;font-size:13px;color:var(--muted)}
body.notmatch #main table.v15pt td em{display:block;font-style:normal;font-size:12px;color:var(--muted)}
body.notmatch #main table.v15pt td i em{display:inline}
/* Compteurs */
body.notmatch #main table.v15ct{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:14px}
body.notmatch #main table.v15ct th{position:static;background:transparent;font-size:12px;font-weight:600;color:var(--muted);text-align:right;padding:4px 3px 6px;white-space:normal;line-height:1.2;vertical-align:bottom;border-bottom:1px solid var(--line)}
body.notmatch #main table.v15ct td{text-align:right;padding:7px 3px;border-bottom:1px solid var(--line)}
body.notmatch #main table.v15ct th:first-child,body.notmatch #main table.v15ct td:first-child{text-align:left;width:34%}
/* Critères repliés */
body.notmatch #main .v15tk ul{margin:4px 12px 12px;padding:0 0 0 18px;font-size:13px;line-height:1.45;color:var(--muted)}
body.notmatch #main .v15tk ul b{color:var(--ink);font-weight:600}
body.notmatch #main .v15tk .legend{font-size:13px}
/* Distinctions du match : le MVP en tête, les autres en liste */
.v15mvp{display:flex;align-items:center;gap:12px;padding:2px 0 12px;border-bottom:1px solid #22325A}
.v15mvp .awi{width:64px;height:64px;border-radius:12px;box-shadow:none}
.v15mvp .mt{flex:1;min-width:0;display:flex;flex-direction:column}
.v15mvp .ml{font-size:12px;font-weight:600;color:#B9C3D3}
.v15mvp .mn{font:700 28px/1.05 "Barlow Condensed",var(--f-display);color:#fff}
.v15mvp .mv{font-size:13px;color:#B9C3D3}
.v15mvp .me{flex:none;text-align:right;font-size:13px;color:#B9C3D3}
.v15mvp .me b{display:block;font:700 28px/1 "Barlow Condensed",var(--f-display);color:#fff}
.v15dg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.v15dw{display:flex;gap:8px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #22325A;min-width:0}
.v15dw .awi{width:36px;height:36px;border-radius:8px;border-width:1px;box-shadow:none}
.v15dw>div{min-width:0}
.v15dw .dl{display:block;font-size:12px;font-weight:600;color:#B9C3D3;line-height:1.2}
.v15dw .dn{display:block;font-size:14px;font-weight:700;line-height:1.25;margin-top:1px;color:#fff;overflow-wrap:anywhere}
.v15dw .dv{display:block;font-size:12px;color:#B9C3D3}
@media (min-width:768px){.v15dg{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Une ligne repliée par joueuse ; le relevé s'ouvre en touchant la ligne */
.v15pj{border-top:1px solid var(--line)}
.v15pjs h2+.v15pj{border-top:0}
.v15pj>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:4px 0;cursor:pointer;list-style:none}
.v15pj>summary::-webkit-details-marker{display:none}
.v15pj>summary .nb{flex:0 0 32px;width:32px;height:32px;min-width:0;border-radius:50%;background:#0F192E;color:#fff;font:700 14px/1 var(--f-body)}
:root[data-theme="dark"] .v15pj>summary .nb{background:#26355A}
.v15pj>summary .nmx{flex:1;min-width:0;display:flex;flex-direction:column}
.v15pj>summary .nmx b{font-size:16px;line-height:1.2}
.v15pj>summary .nmx small{font-size:13px;font-weight:600;color:var(--v15-navt,#B8480C)}
.v15pj>summary .pjv{flex:none;display:flex;flex-direction:column;align-items:center;min-width:44px}
.v15pj>summary .pjv small{font-size:12px;color:var(--muted);line-height:1}
.v15pj>summary .pjv b{font:700 22px/1 "Barlow Condensed",var(--f-display)}
.v15pj>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:-5px 4px 0 2px;flex:0 0 auto}
.v15pj[open]>summary::after{transform:rotate(-135deg);margin-top:5px}
.v15pj>.ctb{border:0;background:transparent;box-shadow:none;padding:0 0 12px 42px;border-radius:0}
/* Relevé d'une joueuse ouverte : libellé et texte sur la même ligne */
body.notmatch #main .v15pj .ctbl li b{display:inline;text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:var(--ink);margin:0 6px 0 0}
body.notmatch #main .v15pj .ctbl li{font-size:14px;line-height:1.35}

/* ===== Partie 36 (v1.5q) — Unslop 6 : dans les Stats, une échelle de 7 tailles, 3 graisses, 3 couleurs de texte =====
   Tailles : 12 (petit titre, unité, légende) · 13 (texte secondaire, tableau) · 14 (texte courant, choix) · 16 (nom, chiffre fort)
   · 22 (titre de carte, chiffre de bloc) · 28 (gros chiffre) · 40 (score). Graisses : 400, 600, 700.
   Couleurs : encre, gris, orange (texte) ; vert et rouge seulement pour un sens (gagné / perdu, + / −) ; nous / eux gardent leurs couleurs de série.
   Hors échelle : barres de navigation, dessins (SVG), écran de match, rapport PDF. */
body.notmatch[data-pg="stats"]{--v15-pos:#1B7F4B;--v15-neg:#C62828;--v15-dk2:#B9C3D3}
:root[data-theme="dark"] body.notmatch[data-pg="stats"]{--v15-pos:#3BB37A;--v15-neg:#F07070}
/* 12 */
body.notmatch[data-pg="stats"] #main small,body.notmatch[data-pg="stats"] #main th,body.notmatch[data-pg="stats"] #main .bdg5,
body.notmatch[data-pg="stats"] #main .dwl,body.notmatch[data-pg="stats"] #main .dwv,body.notmatch[data-pg="stats"] #main .pm-st>span,
body.notmatch[data-pg="stats"] #main .cbar em,body.notmatch[data-pg="stats"] #main .db-foot,body.notmatch[data-pg="stats"] #main .ffd,
body.notmatch[data-pg="stats"] #main .hs,body.notmatch[data-pg="stats"] #main td.pn .nb,body.notmatch[data-pg="stats"] #main .demobar>span{font-size:12px}
body.notmatch[data-pg="stats"] #main small{font-weight:400}
body.notmatch[data-pg="stats"] #main th{font-weight:600}
/* 13 : sous-titre d'un titre de carte */
body.notmatch[data-pg="stats"] #main h2 small{font-size:13px}
/* 14 : choix et texte courant */
body.notmatch[data-pg="stats"] #main .hubside>button,body.notmatch[data-pg="stats"] #main .seg>button,body.notmatch[data-pg="stats"] #main .db-per>button,
body.notmatch[data-pg="stats"] #main .eln>span,body.notmatch[data-pg="stats"] #main .demobar .btn,body.notmatch[data-pg="stats"] #main .row>.btn,
body.notmatch[data-pg="stats"] #main dl dt,body.notmatch[data-pg="stats"] #main dl dd,body.notmatch[data-pg="stats"] #main ul>li{font-size:14px}
body.notmatch[data-pg="stats"] #main td{font-size:13px}
body.notmatch[data-pg="stats"] #main table.v15qs td,body.notmatch[data-pg="stats"] #main table.v15qs th{font-size:13px}
body.notmatch[data-pg="stats"] #main .btn small{font-size:12px}
/* 16 : noms et chiffres forts en ligne */
body.notmatch[data-pg="stats"] #main li>b,body.notmatch[data-pg="stats"] #main .nmx>b,body.notmatch[data-pg="stats"] #main .pmr .pw,
body.notmatch[data-pg="stats"] #main .sbl3>span,body.notmatch[data-pg="stats"] #main .hc>b,body.notmatch[data-pg="stats"] #main .pm-num{font-size:16px}
body.notmatch[data-pg="stats"] #main .ctbl li>b{font-size:inherit}
/* 22 : titres de carte et chiffres de bloc */
body.notmatch[data-pg="stats"] #main h2,body.notmatch[data-pg="stats"] #main h3.sub3,body.notmatch[data-pg="stats"] #main .efb>h3,
body.notmatch[data-pg="stats"] #main .eln>b,body.notmatch[data-pg="stats"] #main .ffh>b,body.notmatch[data-pg="stats"] #main .ffv>b,
body.notmatch[data-pg="stats"] #main .tsr .tv,body.notmatch[data-pg="stats"] #main i.us>b,body.notmatch[data-pg="stats"] #main i.them>b,
body.notmatch[data-pg="stats"] #main td.tot{font-size:22px}
body.notmatch[data-pg="stats"] #main h3.sub3{font-size:16px}
body.notmatch[data-pg="stats"] #main h2 span{font-size:inherit}
/* 28 : gros chiffres */
body.notmatch[data-pg="stats"] #main .reci>b,body.notmatch[data-pg="stats"] #main .pmr .pv,body.notmatch[data-pg="stats"] #main .gz>b,
body.notmatch[data-pg="stats"] #main .at>b,body.notmatch[data-pg="stats"] #main .ct>b{font-size:28px}
/* 40 : score et chiffre principal d'un bandeau */
body.notmatch[data-pg="stats"] #main .tvsc>b,body.notmatch[data-pg="stats"] #main .pbp>b,body.notmatch[data-pg="stats"] #main .kf .kv{font-size:40px}
/* Graisses : 400, 600, 700 */
body.notmatch[data-pg="stats"] #main b,body.notmatch[data-pg="stats"] #main strong,body.notmatch[data-pg="stats"] #main .cv.win,body.notmatch[data-pg="stats"] #main td.hi,
body.notmatch[data-pg="stats"] #main .ts,body.notmatch[data-pg="stats"] #main .tlper{font-weight:700}
body.notmatch[data-pg="stats"] #main .kf .kl{font-weight:400}
/* Couleurs : sens (gagné / perdu, + / −) en un vert et un rouge ; gris clair unique sur fond nuit */
body.notmatch[data-pg="stats"] #main .cv.win,body.notmatch[data-pg="stats"] #main td.w,body.notmatch[data-pg="stats"] #main .hs.w,body.notmatch[data-pg="stats"] #main li.w>em,
body.notmatch[data-pg="stats"] #main .cpl,body.notmatch[data-pg="stats"] #main td.pmp{color:var(--v15-pos)}
body.notmatch[data-pg="stats"] #main td.ev.neg,body.notmatch[data-pg="stats"] #main td.l,body.notmatch[data-pg="stats"] #main li.l>em,body.notmatch[data-pg="stats"] #main .ffs,
body.notmatch[data-pg="stats"] #main .hs.l,body.notmatch[data-pg="stats"] #main .cmi{color:var(--v15-neg)}
body.notmatch[data-pg="stats"] #main .dwl,body.notmatch[data-pg="stats"] #main .dwv,body.notmatch[data-pg="stats"] #main .tvhint,body.notmatch[data-pg="stats"] #main section.tvb th{color:var(--v15-dk2)}
/* Partie 36, suite : éléments dont la règle d'origine est plus précise */
body.notmatch[data-pg="stats"] #main small,body.notmatch[data-pg="stats"] #main section.awb .dwl,body.notmatch[data-pg="stats"] #main section.awb .dwv,
body.notmatch[data-pg="stats"] #main .dc .do,body.notmatch[data-pg="stats"] #main .ff .ffs,body.notmatch[data-pg="stats"] #main .prh .nb{font-size:12px!important}
body.notmatch[data-pg="stats"] #main small{font-weight:400!important}
body.notmatch[data-pg="stats"] #main h2 small{font-size:13px!important}
body.notmatch[data-pg="stats"] #main .segs>.btn,body.notmatch[data-pg="stats"] #main .tsr .tl,body.notmatch[data-pg="stats"] #main .dc .dl,
body.notmatch[data-pg="stats"] #main .at>span,body.notmatch[data-pg="stats"] #main .ct>span,body.notmatch[data-pg="stats"] #main .ctbw>summary,
body.notmatch[data-pg="stats"] #main .ctbw>p{font-size:13px}
body.notmatch[data-pg="stats"] #main .db-def>summary,body.notmatch[data-pg="stats"] #main .tvtag{font-size:14px}
body.notmatch[data-pg="stats"] #main .tvsc .vs{font-size:16px}
body.notmatch[data-pg="stats"] #main .chip,body.notmatch[data-pg="stats"] #main .tvp,body.notmatch[data-pg="stats"] #main .pm-num,body.notmatch[data-pg="stats"] #main .tvtag{font-weight:700}
body.notmatch[data-pg="stats"] #main .pbp>span{font-weight:400}
body.notmatch[data-pg="stats"] #main .efb>.efc,body.notmatch[data-pg="stats"] #main .pmr .pk,body.notmatch[data-pg="stats"] #main .eva .vdx{font-size:12px}
body.notmatch[data-pg="stats"] #main .btn.sm,body.notmatch[data-pg="stats"] #main .eva .evg{font-size:13px}
body.notmatch[data-pg="stats"] #main td.pmn,body.notmatch[data-pg="stats"] #main .tlper{color:var(--c-us)}
body.notmatch[data-pg="stats"] #main section.tvb td,body.notmatch[data-pg="stats"] #main .w>small,body.notmatch[data-pg="stats"] #main .l>small,body.notmatch[data-pg="stats"] #main .sbl2{color:var(--v15-dk2)}
body.notmatch[data-pg="stats"] #main .g1t,body.notmatch[data-pg="stats"] #main .g2t,body.notmatch[data-pg="stats"] #main .trd.up,body.notmatch[data-pg="stats"] #main .ko .up,body.notmatch[data-pg="stats"] #main section.ofor>h2{color:var(--v15-pos)}
body.notmatch[data-pg="stats"] #main .r1t,body.notmatch[data-pg="stats"] #main .r2t,body.notmatch[data-pg="stats"] #main .trd.dn,body.notmatch[data-pg="stats"] #main .ko .dn,body.notmatch[data-pg="stats"] #main .evs .dn{color:var(--v15-neg)}
/* Feuille par quart-temps (v1.5p) : garde ses tailles serrées sous 380 px, pour ne jamais glisser de côté */
@media (max-width:379px){
  body.notmatch[data-pg="stats"] #main table.v15qs th,body.notmatch[data-pg="stats"] #main table.v15qs td,
  body.notmatch[data-pg="stats"] #main table.v15qs td:first-child,body.notmatch[data-pg="stats"] #main table.v15qs td small{font-size:12px!important}
}

/* 37. v1.5g (lot 5) — Rapports, fenêtre des offres, fiche joueuse. Hors écran de match (body.notmatch). */
/* Rapports de match : une ligne repliée par match ; trois rapports côte à côte quand elle est ouverte */
body.notmatch .v15rpl{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px}
@media (min-width:768px){body.notmatch .v15rpl{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
body.notmatch .v15rp{margin-top:0}
body.notmatch .v15rp>summary{min-height:56px;padding:8px 12px;gap:10px}
body.notmatch .v15rp[open]>summary{background:#0F192E;color:#fff;border-radius:13px 13px 0 0}
body.notmatch .v15rp[open]>summary::after{border-color:#B9C3D3}
body.notmatch .v15rpn{flex:1;min-width:0}
body.notmatch .v15rpn b{display:block;font-size:16px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.notmatch .v15rpn small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:2px}
body.notmatch .v15rp[open] .v15rpn small{color:#B9C3D3}
body.notmatch .v15rpr{font-weight:700}
body.notmatch .v15rpr.w{color:var(--v15-pos,#1B7F4B)}body.notmatch .v15rpr.l{color:var(--v15-neg,#C62828)}
body.notmatch .v15rp[open] .v15rpr.w{color:#3BB37A}body.notmatch .v15rp[open] .v15rpr.l{color:#F07070}
body.notmatch .v15rsc{flex:0 0 auto;font:700 22px/1 "Barlow Condensed",var(--f-display);font-variant-numeric:tabular-nums}
body.notmatch .v15rp[open] .v15rsc{color:#FFB81C}
body.notmatch .v15rph{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background-size:cover;background-position:center}
body.notmatch .v15rp>.rpb{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 0 0;margin:0 10px 10px}
body.notmatch .v15rp>.rpb .btn{min-height:52px;padding:8px;text-align:center;justify-items:center;align-content:center}
body.notmatch .v15rp>.rpb .btn b{font-size:13px;font-weight:700;line-height:1.15}
body.notmatch .v15rp>.rpb .btn small{font-size:12px;line-height:1.15}
/* Bilan de saison : numéros sans orange plein, boutons des fiches à 40 px */
body.notmatch .rpp .btn{min-height:40px}
body.notmatch .rpp .btn b{background:#0F192E;color:#fff}
:root[data-theme="dark"] body.notmatch .rpp .btn b{background:#22325A}
body.notmatch[data-pg="reports"]{--v15-pos:#1B7F4B;--v15-neg:#C62828}
:root[data-theme="dark"] body.notmatch[data-pg="reports"]{--v15-pos:#3BB37A;--v15-neg:#F07070}
body.notmatch .rpc-h .tg{text-transform:none;letter-spacing:0;font-size:12px}
/* Fenêtre des offres (v1.5g) : un seul défilement, en-tête et boutons toujours visibles */
#shotOv .shotbox.v15pl{display:flex!important;flex-direction:column;gap:0;overflow:hidden!important;padding:0}
#shotOv .v15plh{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 12px 8px 16px}
#shotOv .v15plh h3{margin:0;font-size:22px;line-height:1.15}
#shotOv .btn.v15x{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;font-size:24px;line-height:1;display:inline-grid;place-items:center;flex:0 0 auto}
#shotOv .v15plc{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 12px 10px;display:grid;gap:10px;align-content:start}
#shotOv .v15plt{display:grid;font-size:14px;line-height:1.35}
#shotOv .v15plk{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:1fr 1fr;background:var(--bg);border-bottom:1px solid var(--line)}
#shotOv .v15plk span{padding:8px 10px;font-size:13px;font-weight:700;color:var(--muted)}
#shotOv .v15plk span.p{color:var(--v15-navt,#B8480C);background:color-mix(in srgb,var(--accent) 12%,var(--bg));border-radius:8px 8px 0 0}
#shotOv .v15plr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}
#shotOv .v15plr:last-child{border-bottom:0}
#shotOv .v15plr>div{padding:2px 10px 10px;overflow-wrap:anywhere;min-width:0}
#shotOv .v15plr>.v15pll{grid-column:1/-1;padding:10px 0 2px;font-size:12px;font-weight:600;color:var(--muted)}
#shotOv .v15plr>.p{background:color-mix(in srgb,var(--accent) 7%,transparent)}
#shotOv .v15plr>.no{color:var(--muted)}
#shotOv .v15plb{flex:0 0 auto;display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--line);margin:0}
#shotOv .v15plb .btn{min-height:48px;justify-content:center;font-size:16px}
/* Passer en Premium : offre club repliée ; petits boutons à 40 px */
#shotOv .wbuy .v15club{margin-top:12px}
#shotOv .wbuy .v15club .field{margin:10px 0 16px}/* v1.6a : le champ du numéro ne touche plus le 1er bouton */
#shotOv .wbuy .v15club>summary{font-size:16px}
#shotOv .wbuy .btn.sm{min-height:40px}
/* Fiche joueuse (v1.5g) : 5 onglets en un mot ; sur téléphone ils sont dans la barre du bas */
body.notmatch.v01-dtbottom #main>section.v15pft{display:none}
body.notmatch[data-pg="prof"] #main .recap-h{text-transform:none;letter-spacing:0;font-size:14px;font-weight:700}
body.notmatch[data-pg="prof"] #main .ppc .kick{text-transform:none;letter-spacing:0;font-size:13px}
/* Fiche joueuse sur grand écran : l'affiche prend la largeur, les chiffres sur une ligne sous les distinctions */
@media (min-width:901px){
  body.notmatch[data-pg="prof"] #main>section.pp.ppc{grid-template-columns:minmax(220px,28%) minmax(0,1fr);min-height:0}
  body.notmatch[data-pg="prof"] #main>section.pp.ppc>.ppaw,
  body.notmatch[data-pg="prof"] #main>section.pp.ppc>.ppbig{grid-column:1/-1}
  body.notmatch[data-pg="prof"] #main>section.pp.ppc>.ppbig{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 26px 18px;background:none;border-top:1px solid rgba(255,255,255,.14)}
  body.notmatch[data-pg="prof"] #main>section.pp.ppc>.ppbig b{font-size:40px}
}
