/* Nouveau design clair du golfeur : une seule police, un vrai vert, fond blanc cassé, cartes blanches.
   Chargé en dernier : il prend le pas sur les anciens styles vert et or. */
:root{--tb-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",Roboto,system-ui,sans-serif;
  --font:var(--tb-font);--g:var(--tb);--g2:var(--tb);--tb:var(--pal-golf);--tb-d:var(--pal-golf-fonce);--tb-gold:var(--pal-date)}
html:root body,html:root :where(body *):not(svg *){font-family:var(--tb-font)!important}

/* ---------- barre du bas : Accueil · Carte · Messages (au centre) · Compétitions · Avatar ---------- */
html:root .bottombar.is-player{left:0!important;right:0!important;bottom:0!important;height:calc(76px + env(safe-area-inset-bottom,0px))!important;padding:0 6px env(safe-area-inset-bottom,0px)!important;
  border-radius:0!important;background:#fff!important;box-shadow:0 -1px 0 #eceeeb!important;align-items:start!important;padding-top:9px!important}
@media(min-width:561px){html:root .bottombar.is-player{left:50%!important;width:560px!important;margin-left:-280px}}
html:root .bottombar.is-player a{color:#66716b!important;gap:4px!important;justify-content:flex-start!important}
html:root .bottombar.is-player a>span:not(.nav-av){font-size:10.5px!important;font-weight:500!important;letter-spacing:0}
html:root .bottombar.is-player a.on{color:var(--tb)!important}
html:root .bottombar.is-player a.on>span:not(.nav-av){font-weight:700!important}
html:root .bottombar.is-player a.on:not(.fab)::after{display:none!important}
html:root .bottombar.is-player a>svg{width:23px!important;height:23px!important}
html:root .bottombar.is-player a .nav-av{width:26px!important;height:26px!important;box-shadow:none!important;background:var(--tb)}
html:root .bottombar.is-player a.on .nav-av{box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--tb)!important}
html:root .bottombar.is-player .fab{margin-top:-15px!important;gap:5px!important}
html:root .bottombar.is-player .fab>svg{width:54px!important;height:54px!important;padding:15px!important;background:var(--tb)!important;color:#fff!important;
  box-shadow:0 0 0 4px #fff,0 6px 14px rgba(13,107,58,.35)!important}
html:root .bottombar.is-player .fab.on>svg{background:var(--tb-d)!important}
html:root .bottombar.is-player .fab .unread-dot{top:-14px!important;right:calc(50% - 30px)!important;width:13px!important;height:13px!important;background:var(--tb-gold)!important;border:2px solid #fff!important}

/* ---------- accueil ---------- */
:root[data-screen="home"] body,:root[data-screen="home"] .main{background:var(--pal-fond)!important}
.nh{position:relative;max-width:560px;min-height:100vh;margin:0 auto;padding-bottom:110px;background:var(--pal-fond);color:#15201a;letter-spacing:-.012em}
.nh a{color:inherit;text-decoration:none}
.nh img,.nh svg{max-width:none}
.nh-hero{position:relative;height:calc(260px + env(safe-area-inset-top,0px));padding:calc(env(safe-area-inset-top,0px) + 52px) 19px 0;color:#fff;overflow:hidden}
.nh-bg{position:absolute;inset:0}
.nh-bg>*{width:100%!important;height:100%!important;object-fit:cover;display:block}
.nh-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,24,16,.4),rgba(10,24,16,.08) 65%),linear-gradient(180deg,rgba(10,24,16,.25),rgba(10,24,16,0) 35%,rgba(10,24,16,.3))}
.nh-hero>:not(.nh-bg){position:relative}
.nh-top{display:flex;align-items:center;height:43px}
.nh-me{flex:none;width:43px;height:43px;border-radius:50%;overflow:hidden;background:var(--tb);box-shadow:0 0 0 2px #fff;display:grid;place-items:center;font-weight:700;color:#fff}
.nh-me svg{width:100%;height:100%}
.nh-brand{margin-left:13px;font-size:20.5px;font-weight:600;letter-spacing:.02em;color:#fff!important}
.nh-bell{position:relative;margin-left:auto;display:grid;place-items:center;width:36px;height:36px;color:#fff!important}
.nh-bell .notif-dot{position:absolute;top:3px;right:4px;min-width:14px;height:14px;padding:0 3px;border-radius:7px;background:#e5463a;color:#fff;border:0;font:700 9px/14px var(--tb-font);text-align:center}
.nh-hero h1{margin:10px 0 0;font-size:24px;line-height:29px;font-weight:700;color:#fff;letter-spacing:-.012em}
.nh-hero p{margin:3px 0 0;font-size:14px;line-height:18px;color:#fff}
.nh-search{display:flex;align-items:center;gap:10px;height:40px;margin-top:16px;padding-left:14px;border-radius:20px;background:rgba(90,110,100,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);color:#eef2ef!important;font-size:13.5px}
.nh-cog{flex:none;display:grid;place-items:center;width:40px;height:40px;margin-left:4px;color:#fff!important}
.nh-tile{position:relative}
.nh-tiles.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nh-tiles.n3 .nh-tile{height:auto;min-height:78px;padding:10px 6px}
.nh-nb{position:absolute;top:7px;right:9px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#e5463a;color:#fff;font:700 11px/18px var(--tb-font);font-style:normal}
/* s'abonner : petit, au milieu */
.nh-sub{align-self:center;display:inline-flex;align-items:center;gap:7px;min-height:44px;margin-top:14px;padding:0 18px;border-radius:22px;background:#fff;color:#7a5600!important;
  font-size:13.5px;font-weight:700;box-shadow:0 1px 4px rgba(20,40,30,.08),inset 0 0 0 1.5px #ecd7a0}
.nh-sub svg{color:#c9971f}
.nh-km{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:10px;background:#e3efe7;color:var(--tb);font-size:11.5px;font-weight:700;vertical-align:2px}
button.nh-empty{width:100%;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
@media (prefers-reduced-motion:no-preference){.nh-sub:active,.nh-tile:active{transform:scale(.97);transition:transform .15s}}
.nh-sheet{position:relative;margin-top:-22px;padding:9px 19px 0;border-radius:21px 21px 0 0;background:var(--pal-fond);display:flex;flex-direction:column}
.nh-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nh-tile{height:70px;border-radius:12px;background:#fff;box-shadow:0 1px 4px rgba(20,40,30,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--tb)!important;text-align:center}
.nh-tile span{font-size:11.5px;line-height:1.15;color:#15201a}
.nh-h{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px}
.nh-h h2{margin:0;font-size:16px;line-height:20px;font-weight:600;letter-spacing:-.012em}
.nh-h a{display:flex;align-items:center;gap:5px;font-size:12px;color:#5f6b64!important}
.nh-big{position:relative;display:block;height:162px;border-radius:13px;overflow:hidden;background:var(--tb-d);color:#fff!important}
.nh-big-ph{position:absolute;left:0;top:0;width:100%;height:94px}
.nh-big-ph>*{width:100%!important;height:100%!important;object-fit:cover;display:block}
.nh-big-ph::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;background:linear-gradient(180deg,rgba(10,79,43,0),var(--tb-d))}
.nh-tag{position:absolute;left:11px;top:12px;height:20px;padding:0 9px;border-radius:10px;background:var(--tb);font-size:11.5px;line-height:20px;font-weight:600}
.nh-date{position:absolute;right:8px;top:11px;height:27px;padding:0 10px;border-radius:8px;background:rgba(22,32,27,.85);font-size:11.5px;line-height:27px;font-weight:500}
.nh-big b{position:absolute;left:12px;right:90px;top:80px;font-size:16px;line-height:21px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nh-big small{position:absolute;left:12px;top:102px;font-size:12px;color:rgba(255,255,255,.78)}
.nh-meta{position:absolute;left:12px;right:90px;top:130px;display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;overflow:hidden}
.nh-meta span{display:flex;align-items:center;gap:5px}
.nh-meta i{opacity:.5;font-style:normal}
.nh-go{position:absolute;right:12px;top:120px;height:30px;padding:0 14px;border-radius:15px;background:#fff;color:var(--tb);display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}
.nh-row{position:relative;display:flex;align-items:center;gap:11px;min-height:72px;margin-bottom:8px;padding:10px 12px 10px 11px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #e7eae5,0 1px 3px rgba(20,40,30,.04)}
.nh-th{flex:none;width:52px;height:52px;border-radius:8px;overflow:hidden}
.nh-th>*{width:100%!important;height:100%!important;object-fit:cover;display:block}
.nh-rt{flex:1;min-width:0;display:grid;gap:2px}
.nh-rt b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nh-rt small{font-size:12px;color:#5f6b64}
.nh-rt em{display:flex;align-items:center;gap:5px;font-style:normal;font-size:11px;color:#3f4a44;white-space:nowrap;overflow:hidden}
.nh-rt em i{color:#c9cfca;font-style:normal;margin:0 2px}
.nh-pill{flex:none;align-self:flex-start;height:20px;padding:0 10px;border-radius:10px;background:#eceeec;color:#3f4a44;font-size:11px;line-height:20px;font-weight:500}
.nh-pill.on{background:var(--tb);color:#fff}
.nh-row>svg{flex:none;color:#3f4a44}
.nh-club{display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 14px;border-radius:12px;background:var(--tb-d);color:#fff!important}
.nh-club-ic{flex:none;width:44px;height:44px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85);display:grid;place-items:center}
.nh-club>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}
.nh-club b{font-size:14px;font-weight:600}
.nh-club small{font-size:12px;color:rgba(255,255,255,.85)}
.nh-empty{display:grid;gap:4px;padding:18px 16px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #e7eae5}
.nh-empty b{font-size:14px}
.nh-empty span{font-size:12.5px;color:#5f6b64}
@media(min-width:900px){.nh-hero{border-radius:0 0 18px 18px}}
html:root .bottombar.is-player .fab{color:#66716b!important}
html:root .bottombar.is-player .fab.on{color:var(--tb)!important}
html:root .bottombar.is-player .fab .unread-dot{top:0!important;right:calc(50% - 28px)!important}

/* ---------- toutes les autres pages : mêmes couleurs que l'accueil (fond blanc cassé, vrai vert, or en rappel) ---------- */
html:root[data-style]:not([data-theme="dark"]){--bg:#F2F2F2;--card:#fff;--soft:#eef2ee;--fg:#15201a;--muted:#5f6b64;--line:#e7eae5;--mint:#e3efe7;
  --g:var(--tb);--on-g:#fff;--g2:var(--tb);--blue:var(--tb);--ink:var(--tb-d);--glass:rgba(246,247,245,.96);--gold:#c9a227;--flag:#c9a227;
  --goldg:#c9a227;--forest:var(--tb-d);--club-sh:0 1px 4px rgba(20,40,30,.08);--font:var(--tb-font);--display:var(--tb-font);--serif:var(--tb-font)}
@media (prefers-color-scheme:dark){html:root[data-style]:not([data-theme]){--bg:#0d1f18;--card:#16291f;--soft:#1d3328;--fg:#eee9dc;--muted:#a9b3a8;--line:#27402f;--glass:rgba(13,31,24,.96);--g:#2f9e5c;--on-g:#fff}}
html:root[data-style] :is(h1,h2,h3,.h2s,.sec-t,.sh-t,.page-h h1){font-family:var(--tb-font)!important;letter-spacing:-.012em}
html:root[data-style]:not([data-theme="dark"]) .topbar{background:#fff;box-shadow:0 1px 0 #eceeeb;color:var(--fg)}
html:root[data-style]:not([data-theme="dark"]) .topbar .ic-btn{color:var(--tb)}
html:root[data-style] .wordmark{font-family:var(--tb-font)!important;font-weight:700;letter-spacing:.02em;color:var(--tb)}
html:root[data-style] .wordmark svg{filter:none}
html:root[data-style] .btn:not(.soft):not(.ghost){background:var(--tb);color:#fff;box-shadow:none}
html:root[data-style] .seg button.on{background:var(--tb)!important;color:#fff!important;box-shadow:none!important}
html:root[data-style]:not([data-theme="dark"]) :is(.chip.on,.seg button.on,.sp-tabs button.on){background:var(--tb)!important;color:#fff!important;box-shadow:none!important}
/* page Avatar : la barre du haut reste transparente sur la scène, texte et icônes en blanc */
html:root[data-style][data-screen="avatar"] .topbar .wordmark,html:root[data-style][data-screen="avatar"] .topbar .ic-btn{color:#fff}

/* ---------- ouverture : logo seul sur fond blanc, puis fondu vers la connexion ---------- */
.tb-splash{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fff;transition:opacity .35s ease}
.tb-splash b{font:700 26px/1 var(--tb-font);letter-spacing:.08em;color:var(--tb)}
.tb-splash.out{opacity:0;pointer-events:none}

/* ---------- météo prévue le jour de la compétition ---------- */
.nh-wx{position:absolute;left:11px;top:44px;height:24px;padding:0 9px;border-radius:12px;background:rgba(22,32,27,.78);display:flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500}
.nh-wx em{font-style:normal}
.wx-day{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px var(--line,#e7eae5);color:var(--tb)}
.wx-day span{display:grid;gap:2px;color:var(--fg,#15201a)}
.wx-day b{font-size:14px}
.wx-day em{font-style:normal;font-size:13px;color:var(--muted,#5f6b64)}

/* ---------- fondu blanc : fond gris très clair en léger dégradé, sur toutes les pages ---------- */
:root{--tb-fond:linear-gradient(180deg,#F7F7F7 0%,#F4F4F4 50%,#F2F2F2 100%)}
html:root:not([data-theme="dark"]){background:#F2F2F2}
html:root:not([data-theme="dark"]) body{background:transparent!important}
html:root:not([data-theme="dark"]) body::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--tb-fond);pointer-events:none}
html:root:not([data-theme="dark"]) :is(.nh,.mx,.main,.auth-m){background:transparent!important}
html:root:not([data-theme="dark"]) :is(.nh-sheet,.cv){background:var(--tb-fond)!important}
@media (prefers-color-scheme:dark){html:root:not([data-theme]){background:var(--bg)}html:root:not([data-theme]) body::before{display:none}}

/* Rangées qui défilent de côté (onglets, filtres) : tout tient sur la carte, et un fondu à droite signale la suite ailleurs */
.carte-top .chips{gap:6px}
.carte-top .chip{padding:6px 10px}
.tabs-u button{padding:9px 10px}
:is(.tabs-u,.mx-chips,.chips).x-more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent)}
/* paramètres : les distances passent à la ligne au lieu de dépasser de l'écran */
.km-seg{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;width:auto!important;overflow:visible}
.km-seg button{flex:1 0 calc(33.3% - 6px);min-height:44px}
/* abonnés TEEBOX+ : nom de l'appli et nom du joueur en or */
html:root :is(.nh-brand,.wordmark,.av-id h1).gold{background:linear-gradient(100deg,#b8860b 0%,#f6d77a 38%,#d4a52a 62%,#f3d27a 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html:root .nh-brand.gold{background:linear-gradient(100deg,#e9b824,#ffe08a 45%,#d9a521);-webkit-background-clip:text;background-clip:text;font-weight:800;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}
html:root .wordmark.gold svg{-webkit-text-fill-color:initial}
/* ---------- publications : comme un réseau photo ---------- */
:root[data-screen="pub"] .topbar{display:none!important}
:root[data-screen="pub"] .main{padding:0!important;max-width:none!important}
:root[data-screen="pub"] body,:root[data-screen="pub"] .main{background:#fff!important}
.pub{max-width:560px;margin:0 auto;padding-bottom:110px;background:#fff;color:#15201a;letter-spacing:-.01em}
.pub-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;height:calc(58px + env(safe-area-inset-top,0px));
  padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px));background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #eef1ee}
.pub-ic{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;background:none;color:#15201a!important;cursor:pointer}
.pub-ic .notif-dot{position:absolute;top:7px;right:5px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#e5463a;color:#fff;border:2px solid #fff;font:700 9px/11px var(--tb-font);text-align:center}
.pub-feed{display:flex;align-items:center;gap:6px;min-height:44px;border:0;background:none;font:800 21px var(--tb-font);color:#15201a;cursor:pointer}
.pub-stories{display:flex;gap:14px;padding:12px 12px 12px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #eef1ee}
.pub-stories::-webkit-scrollbar{display:none}
.pub-st{flex:none;width:74px;display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;padding:0;color:#3c4a42!important;font:500 12px var(--tb-font);cursor:pointer;text-decoration:none}
.pub-st>span:last-child{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pub-ring{position:relative;display:block;width:72px;height:72px;border-radius:50%;padding:3px;box-sizing:border-box;background:linear-gradient(135deg,var(--tb),#e9b824)}
.pub-ring.seen{background:#d7ddd8}
.pub-ring>span{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden;border:3px solid #fff;box-sizing:border-box;background:#e3efe7}
.pub-ring>span>*{width:100%!important;height:100%!important;display:block}
.pub-ring>span .av{display:grid;place-items:center;font-weight:800}
.pub-ring.me{background:none;padding:0;overflow:visible}
.pub-ring.me>:first-child{width:100%;height:100%;border-radius:50%;overflow:hidden}
.pub-ring.me i{position:absolute;right:-1px;bottom:-1px;width:24px;height:24px;border-radius:50%;background:var(--tb);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px #fff}
.pub-posts{display:flex;flex-direction:column}
.pub .post{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:12px 0 6px!important;max-width:none!important}
.pub .post+.post{border-top:1px solid #eef1ee!important}
.pub .post .post-h{padding:0 12px 10px!important}
.pub .post .media{border-radius:0!important;margin:0!important}
.pub .post .actions,.pub .post .likes,.pub .post .caption,.pub .post .see-cm{padding-left:12px!important;padding-right:12px!important}
.pub .nh-empty{margin:16px 12px}
.pub-defi{margin-left:auto}
.pub-foot{margin:18px 16px 0;font-size:11px;color:#5f6b64;text-align:center}

/* accueil en couleurs : raccourcis teintés + carte vide illustrée */
.nh-tiles.n3 .nh-tile{gap:6px}
.nh-ti{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-style:normal}
.nh-tile.t-vert{background:#e4f3e9;color:var(--tb)!important}
.nh-tile.t-vert .nh-ti{background:var(--tb);color:#fff}
.nh-tile.t-or{background:#fbf0d4;color:#8a6200!important}
.nh-tile.t-or .nh-ti{background:#d9a21c;color:#fff}
.nh-tile.t-ciel{background:#e2eff7;color:#1f5f80!important}
.nh-tile.t-ciel .nh-ti{background:#2e7fa8;color:#fff}
.nh-tile.t-vert span,.nh-tile.t-or span,.nh-tile.t-ciel span{color:inherit;font-weight:600}
.nh-none{position:relative;display:grid;gap:4px;min-height:150px;padding:18px 118px 18px 16px;border-radius:14px;overflow:hidden;color:#fff!important;
  background:linear-gradient(135deg,var(--tb) 0%,var(--tb-d) 100%);box-shadow:0 8px 22px rgba(10,79,43,.22)}
.nh-none-art{position:absolute;right:0;bottom:0;width:132px;height:auto}
.nh-none b{font-size:15.5px;line-height:20px}
.nh-none span{font-size:12.5px;line-height:17px;color:rgba(255,255,255,.82)}
.nh-none em{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:36px;margin-top:8px;padding:0 14px;border-radius:18px;background:#f3c766;color:#3d2a00;font:700 12.5px/1 var(--tb-font);font-style:normal;white-space:nowrap;position:relative;z-index:1}
@media (max-width:360px){.nh-none{padding-right:16px;padding-bottom:110px}}
@media (prefers-reduced-motion:no-preference){.nh-none:active{transform:scale(.98);transition:transform .15s}}
/* Messages devient un onglet normal : pastille rouge avec le nombre, en haut à droite de l'icône */
html:root .bottombar.is-player a.msg-ic{position:relative}
html:root .bottombar.is-player a.msg-ic .unread-dot{top:2px!important;bottom:auto!important;right:calc(50% - 22px)!important;min-width:17px!important;width:auto!important;height:17px!important;padding:0 4px!important;border-radius:9px!important;
  background:#e5463a!important;border:2px solid #fff!important;color:#fff!important;font:700 10px/13px var(--tb-font)!important;font-style:normal!important}
html:root .bottombar.is-player a.msg-ic .unread-dot[hidden]{display:none!important}

/* Mes compétitions : bandeau photo, onglets en pilules, cartes photo + classement */
html:root .page.mc{display:grid;gap:16px}
html:root .mc-hero{position:relative;overflow:hidden;border-radius:24px;padding:26px 22px 24px;color:#fff;min-height:150px;display:grid;align-content:end;gap:4px;
  background:linear-gradient(100deg,rgba(6,58,32,.92) 0%,rgba(6,58,32,.7) 45%,rgba(6,58,32,.05) 100%),url(/accueil-golf2.jpg) 50% 58%/cover;box-shadow:0 14px 34px -18px rgba(6,58,32,.6)}
html:root .mc-hero small{font:700 15px/1.2 var(--tb-font);opacity:.95}
html:root .mc-hero h1{margin:0;color:#fff;font:800 30px/1.1 var(--tb-font);letter-spacing:-.02em}
html:root .mc-hero p{margin:6px 0 0;max-width:30ch;font-size:14px;line-height:1.45;opacity:.95}
html:root .mc-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;border-radius:999px;background:#f1f5f2;margin-bottom:6px}
html:root .mc-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;height:40px;padding:0 4px;border-radius:999px;background:none;color:#3d4a43;font:700 13.5px var(--tb-font);white-space:nowrap;transition:background .2s,color .2s,transform .15s}
html:root .mc-tabs button:active{transform:scale(.97)}
html:root .mc-tabs button i{font-style:normal;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:var(--tb);color:#fff;font-size:11px;display:grid;place-items:center}
html:root .mc-tabs button.on{background:var(--tb);color:#fff;box-shadow:0 4px 12px rgba(13,107,58,.25)}
html:root .mc-tabs button.on i{background:#fff;color:var(--tb)}
html:root .mc-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
html:root .mc-h h2{margin:0;font:800 21px var(--tb-font);position:relative;padding-bottom:8px}
html:root .mc-h h2::after{content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;border-radius:3px;background:var(--tb)}
html:root .mc-h small{color:#66716b;font-size:13.5px}
html:root .mc-l{display:grid;gap:12px}
html:root .mc-card{display:grid;grid-template-columns:104px 1fr auto 18px;gap:14px;align-items:center;padding:10px 12px 10px 10px;border-radius:20px;background:#fff;color:#14201a;
  box-shadow:0 10px 28px -16px rgba(13,60,35,.35),0 1px 0 rgba(13,60,35,.04);animation:mcIn .45s cubic-bezier(.2,.8,.2,1) both;transition:transform .15s}
html:root .mc-card:active{transform:scale(.985)}
html:root .mc-card>svg{color:#66716b}
html:root .mc-ph{width:104px;height:84px;border-radius:14px;overflow:hidden;display:block;background:#e6efe9}
html:root .mc-ph>*{width:100%!important;height:100%!important;object-fit:cover;display:block}
html:root .mc-i{display:grid;gap:5px;min-width:0}
html:root .mc-i b{font:800 15.5px/1.25 var(--tb-font);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html:root .mc-i small{display:flex;align-items:center;gap:7px;color:#66716b;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root .mc-i small svg{flex:none;color:#7c8780}
html:root .mc-i .prt-f{display:flex;align-items:center;gap:4px}
html:root .mc-s{align-self:start;padding-top:4px}
html:root .mc-rk{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 13px;border-radius:999px;background:#eef1ef;color:#55615a;font:800 13.5px var(--tb-font);white-space:nowrap}
html:root .mc-rk sup{font-size:9px;margin-left:1px}
html:root .mc-rk.pod{background:#e3f4e8;color:var(--tb)}
html:root .mc-rk.soon{background:#fff4dc;color:#8a5a00;font-size:12.5px}
html:root .mc-go{height:34px}
html:root .mc-all{justify-self:center;display:inline-flex;gap:10px;padding:0 26px;height:50px;border-radius:999px;margin-top:4px}
@keyframes mcIn{from{opacity:0;transform:translateY(12px)}}
@media(max-width:400px){html:root .mc-card{grid-template-columns:84px 1fr auto;gap:11px}html:root .mc-card>svg{display:none}html:root .mc-ph{width:84px;height:76px}html:root .mc-s{grid-column:3}}
@media(prefers-reduced-motion:reduce){html:root .mc-card{animation:none}}

/* Publication liée à une compétition */
html:root .pu-comp{display:flex;align-items:center;gap:10px;margin:2px 14px 6px;padding:9px 12px;border-radius:14px;background:#eef6f0;color:var(--tb)}
html:root .pu-comp span{display:grid;min-width:0;flex:1}
html:root .pu-comp b{font:800 13.5px var(--tb-font);color:#14201a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root .pu-comp small{font-size:12px;color:#55615a}
html:root .cp-cl{display:grid;gap:6px}
html:root .cp-cl:empty{display:none}
html:root .cp-picks{display:flex;gap:6px;flex-wrap:wrap}
html:root .cp-picks button{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 12px;border-radius:999px;background:#f1f5f2;color:#24332b;font:700 12.5px var(--tb-font)}
html:root .cp-comp{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#eef6f0;color:var(--tb)}
html:root .cp-comp>span{display:grid;flex:1;min-width:0}
html:root .cp-comp b{font:800 13.5px var(--tb-font);color:#14201a}
html:root .cp-comp small{font-size:12px;color:#55615a}
html:root .cp-cx{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#55615a}
html:root .cpub{display:grid;gap:10px;margin-top:6px}
html:root .cpub-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
html:root .cpub-h h3{margin:0;display:flex;align-items:center;gap:8px;font:800 17px var(--tb-font)}
html:root .cpub-e{margin:0;font-size:13.5px}
