/* Fabriqué par outils/mode-clair.js : NE PAS MODIFIER À LA MAIN (relancer node outils/mode-clair.js).
   Mode sombre « Darkboard » de mūe club : les finitions de mode-clair-main.css en craie sur ardoise, puis mode-sombre-main.css. */
html:not(.clair), html:not(.clair) body { background: #121412; }
html:not(.clair) body::before { display: none; }
html:not(.clair) .card { background: #121412; border: 1.5px solid #F4F5F1; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html:not(.clair) .wod { background: #121412; border: 1.5px solid #F4F5F1; box-shadow: 4px 4px 0 #F4F5F1; }
html:not(.clair) .wod::before, html:not(.clair) .wod::after { display: none; }
html:not(.clair) .wod-day { color: #F4F5F1; text-shadow: none; }
html:not(.clair) .wod .wod-session { background: color-mix(in srgb, var(--tc) 40%, #121412); color: #F4F5F1; }
html:not(.clair) .wod .wod-session::before { background: var(--tv); box-shadow: none; }
html:not(.clair) .wod-h { background: none; }
html:not(.clair) .wod .wod-part { background: #121412; border: 1px solid rgba(244, 245, 241, .2); }
html:not(.clair) .wod .wod-part.is-scored { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .wod .wod-part::before { box-shadow: none; background: var(--tv); }
html:not(.clair) .wod .wod-part.is-scored::before { background: #F4F5F1; box-shadow: none; }
html:not(.clair) .wod .wod-part.is-scored .part-head, html:not(.clair) .wod .wod-part.is-max .part-head { color: #F4F5F1; }
html:not(.clair) .wod .wod-part .wod-cap { color: #F4F5F1; text-shadow: none; }
html:not(.clair) .cta { border: 1.5px solid #F4F5F1; box-shadow: 3px 3px 0 #F4F5F1; }
html:not(.clair) .cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #F4F5F1; }
html:not(.clair) .cta:disabled { box-shadow: none; }
html:not(.clair) .tabbar { background: #121412; border: 1.5px solid #F4F5F1; box-shadow: 3px 3px 0 #F4F5F1; backdrop-filter: none; -webkit-backdrop-filter: none; }
html:not(.clair) .sheet { border-top: 1.5px solid #F4F5F1; }
html:not(.clair) { --mono: "Azeret Mono", ui-monospace, Menlo, monospace;
  
  --sk-gym: #12A39A; --sk-haltero: #1F4FD8; --sk-force: #3A78F2; --sk-endurance: #FF8A73; --sk-cardio: #F2553D; --sk-intensite: #C21F3A; }
html:not(.clair) [data-sk="gym"] { --skc: var(--sk-gym); }
html:not(.clair) [data-sk="haltero"] { --skc: var(--sk-haltero); }
html:not(.clair) [data-sk="force"] { --skc: var(--sk-force); }
html:not(.clair) [data-sk="endurance"] { --skc: var(--sk-endurance); }
html:not(.clair) [data-sk="cardio"] { --skc: var(--sk-cardio); }
html:not(.clair) [data-sk="intensite"] { --skc: var(--sk-intensite); }
html:not(.clair) .fit { --tier: var(--m-mid, #2A2D2A); border-radius: 16px 16px 4px 4px; border: 1.5px solid #F4F5F1; box-shadow: 4px 4px 0 #F4F5F1;
  background: linear-gradient(rgba(244, 245, 241, .06) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(244, 245, 241, .06) 1px, transparent 1px) 0 0 / 14px 14px, #121412; }
html:not(.clair) .fit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; pointer-events: none;
  background: radial-gradient(circle at 6px 7px, #121412 4px, #F4F5F1 4px, #F4F5F1 5.5px, transparent 5.5px) 0 0 / 12px 7px repeat-x; }
html:not(.clair) .fit-id { border-bottom: 1.5px dashed #F4F5F1; }
html:not(.clair) .fit-name { font-family: var(--mono); font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
html:not(.clair) .fit-box, html:not(.clair) .fit .ac-brand { font-family: var(--mono); font-size: 11px; }
html:not(.clair) .fit-face { background: var(--tier); border: 1.5px solid #F4F5F1; }
html:not(.clair) .fit-label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #F4F5F1; }
html:not(.clair) .fit-arrow { color: #F4F5F1; }
html:not(.clair) .fit-value { font-family: var(--dot); font-weight: 900; font-size: 104px; letter-spacing: .02em; color: #F4F5F1; margin-top: 10px; }
html:not(.clair) .fit-delta, html:not(.clair) .fit-trust, html:not(.clair) #fit-world, html:not(.clair) .fs-goal { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: rgba(244, 245, 241, .7); }
html:not(.clair) .fit .fit-badge, html:not(.clair) .fit[data-tier] .fit-badge { border-radius: 2px; background: var(--tier); color: #F4F5F1; border: 1.5px solid #F4F5F1; box-shadow: none; animation: none;
  font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
html:not(.clair) .fit[data-tier] .fit-badge::before { content: "Palier · "; }
html:not(.clair) .neon-halo, html:not(.clair) .bead-glow { display: none; }
html:not(.clair) .neon-line { stroke: #F4F5F1; stroke-width: 2.5; }
html:not(.clair) .neon-pt { fill: #F4F5F1; }
html:not(.clair) .neon-empty { stroke: rgba(244, 245, 241, .3); }
html:not(.clair) .bead { filter: none; fill: var(--tier, #121412); stroke: #F4F5F1; stroke-width: 2.5; }
html:not(.clair) .neon-tick { fill: rgba(244, 245, 241, .55); font-family: var(--mono); }
html:not(.clair) .fs-seg { border-radius: 0; opacity: .3; box-shadow: inset 0 0 0 1px rgba(244, 245, 241, .45); }
html:not(.clair) .fs-seg.is-on { opacity: 1; box-shadow: inset 0 0 0 1px #F4F5F1; }
html:not(.clair) .fs-seg i { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; color: rgba(244, 245, 241, .55); }
html:not(.clair) .fs-seg.is-on i, html:not(.clair) .fs-goal strong { color: #F4F5F1; }
html:not(.clair) .fs-mark { background: #F4F5F1; box-shadow: none; border-radius: 0; }
html:not(.clair) .trust-dots i { border-radius: 0; background: rgba(244, 245, 241, .15); }
html:not(.clair) .trust-dots i.on { background: #F4F5F1; box-shadow: none; }
html:not(.clair) .fit .outline-btn { border-radius: 4px; border: 1.5px solid #F4F5F1; color: #F4F5F1; background: #121412; font-family: var(--mono); box-shadow: 2px 2px 0 #F4F5F1; }
html:not(.clair) .view[data-view="profile"] .card { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .duo > div { border: 2px solid #F4F5F1; border-radius: 14px; background: #121412; color: #F4F5F1; }
html:not(.clair) .duo .up { background: #121412; border-color: var(--tierc, #F4F5F1); border-width: 2.5px; }
html:not(.clair) .duo .down { background: #121412; border-color: rgba(244, 245, 241, .3); }
html:not(.clair) .duo small, html:not(.clair) .duo strong { font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
html:not(.clair) .duo small, html:not(.clair) .duo p { color: rgba(244, 245, 241, .7); }
html:not(.clair) .duo b { color: #F4F5F1; }
html:not(.clair) .rg-arc { stroke-width: 4; }
html:not(.clair) .rg-track { stroke-width: 4; stroke: rgba(244, 245, 241, .08); stroke-dasharray: none; }
html:not(.clair) .rg-arc[stroke="#FFFFFF"] { stroke: var(--tierc); }
html:not(.clair) .rg-list i[style*="#FFFFFF"] { background: var(--tierc) !important; box-shadow: 0 0 0 1px rgba(244, 245, 241, .5); }
html:not(.clair) .rg-arc[stroke="#CFE4F8"] { stroke: rgba(244, 245, 241, .78); }
html:not(.clair) .rg-list i[style*="#CFE4F8"] { background: rgba(244, 245, 241, .78) !important; }
html:not(.clair) .rg-arc[stroke="#9CC6EE"] { stroke: rgba(244, 245, 241, .6); }
html:not(.clair) .rg-list i[style*="#9CC6EE"] { background: rgba(244, 245, 241, .6) !important; }
html:not(.clair) .rg-arc[stroke="#6AA3DE"] { stroke: rgba(244, 245, 241, .45); }
html:not(.clair) .rg-list i[style*="#6AA3DE"] { background: rgba(244, 245, 241, .45) !important; }
html:not(.clair) .rg-arc[stroke="#3F7EC7"] { stroke: rgba(244, 245, 241, .33); }
html:not(.clair) .rg-list i[style*="#3F7EC7"] { background: rgba(244, 245, 241, .33) !important; }
html:not(.clair) .rg-arc[stroke="#2457A3"] { stroke: rgba(244, 245, 241, .24); }
html:not(.clair) .rg-list i[style*="#2457A3"] { background: rgba(244, 245, 241, .24) !important; }
html:not(.clair) .rg-mid { color: #F4F5F1; }
html:not(.clair) .rg-list span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: rgba(244, 245, 241, .75); }
html:not(.clair) .rg-list .best span { color: #F4F5F1; }
html:not(.clair) .rg-list b, html:not(.clair) .rg-list .best b, html:not(.clair) .skf-top b { color: #F4F5F1; background: none; }
html:not(.clair) .rg-list .best b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
html:not(.clair) .skf-src li.low b { color: #B4500C; }
html:not(.clair) .skf { background: #121412; }
html:not(.clair) .skf-name { font-family: var(--mono); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
html:not(.clair) .skf[data-sk] .skf-name::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 2px; background: var(--skc); }
html:not(.clair) .skf-bar { height: 12px; border-radius: 0; background: repeating-linear-gradient(90deg, rgba(244, 245, 241, .1) 0 4px, transparent 4px 6px); }
html:not(.clair) .skf-bar em { border-radius: 0; background: repeating-linear-gradient(90deg, var(--skc, #F4F5F1) 0 4px, transparent 4px 6px); }
html:not(.clair) .skf-tag.best, html:not(.clair) .skf-tag.low { border-radius: 2px; color: #F4F5F1; font-family: var(--mono); background: color-mix(in srgb, var(--skc, #2A2D2A) 35%, #121412); border: 1px solid #F4F5F1; }
html:not(.clair) .athlete-card[data-tier] .ac-tier, html:not(.clair) .hx-tier { box-shadow: 0 0 0 1.5px #F4F5F1; }
html:not(.clair) .sxb-tier { color: #1A1206; box-shadow: none; border: 1.5px solid #F4F5F1; }
html:not(.clair) .sxb-tier.none { border: 0; color: var(--muted); }
html:not(.clair) .wod #open-entry:not(.is-done), html:not(.clair) .cel-pill, html:not(.clair) .fil-fab { background: #D7F57E; border: 1.5px solid #F4F5F1; box-shadow: 3px 3px 0 #F4F5F1; }
html:not(.clair) #goal-out strong, html:not(.clair) .sxb-big, html:not(.clair) .sxb-big small, html:not(.clair) b.dot, html:not(.clair) .guide-mark, html:not(.clair) .guide-bar i b, html:not(.clair) .chr-run.is-prep, html:not(.clair) .ms-code, html:not(.clair) .mv-n, html:not(.clair) .row:nth-child(1) .rank, html:not(.clair) .cp-kpis b { color: #F4F5F1; text-shadow: none; }
html:not(.clair) .sxb-big { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .sxb, html:not(.clair) .fp-wod, html:not(.clair) .wb-invite, html:not(.clair) .sx-w, html:not(.clair) .cel, html:not(.clair) .guide, html:not(.clair) .pg-ask-hero, html:not(.clair) .tp-card, html:not(.clair) .ms-tile, html:not(.clair) .time input { background-image: none; }
html:not(.clair) .in-tile::before, html:not(.clair) .pg-ask-hero::before, html:not(.clair) .chrono::before { display: none; }
html:not(.clair) .chr-big, html:not(.clair) .cel-hero b, html:not(.clair) .in-title em { text-shadow: none; }
html:not(.clair) .sxb-bar i, html:not(.clair) .lv.plus, html:not(.clair) .club-bar i, html:not(.clair) .box-dot, html:not(.clair) .bell-count, html:not(.clair) .sx-dots i.me, html:not(.clair) .chr-bar i { box-shadow: none; }
html:not(.clair) .ms-curve polyline, html:not(.clair) .sx-ring circle.on, html:not(.clair) .pg-ring circle.on, html:not(.clair) .fit-curve .neon-line { filter: none; }
html:not(.clair) .in-phone, html:not(.clair) .in-studio, html:not(.clair) .in-shot { box-shadow: 4px 4px 0 #F4F5F1; border: 1.5px solid #F4F5F1; }
html:not(.clair) .sx-caps i.now { background: var(--c); box-shadow: inset 0 0 0 1.5px #F4F5F1; }
html:not(.clair) .wb-rows .face.tier { box-shadow: 0 0 0 2px var(--m); }
html:not(.clair) .wb-rows .face.tier.argent { --m: #B8C4D0; }
html:not(.clair) .wb-rows .face.tier.bronze { --m: #E8642A; }
html:not(.clair) .wb-rows .face.tier.or { --m: #FFD000; }
html:not(.clair) .wb-rows .face.tier.elite { --m: #6C4CF5; }
html:not(.clair) .fs-seg { opacity: .6; }
html:not(.clair) .fs-seg.is-on { opacity: 1; }
html:not(.clair) .guide-bar span { box-shadow: inset 0 0 0 1px rgba(244, 245, 241, .18); }
html:not(.clair) .sx-thin em { color: rgba(244, 245, 241, .45); }
html:not(.clair) .club-bar, html:not(.clair) .goal, html:not(.clair) .wb-invite, html:not(.clair) .in-how, html:not(.clair) .comp-found, html:not(.clair) .ms-studio, html:not(.clair) .chr-round { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .outline-btn, html:not(.clair) .outline-btn.max-cta { background: #121412; border: 1.5px solid #F4F5F1; color: #F4F5F1; }
html:not(.clair) .wod-link { background: #121412; border: 1px solid #F4F5F1; color: #F4F5F1; }
html:not(.clair) .in-stats li, html:not(.clair) .in-feats.is-grid li, html:not(.clair) .in-prod, html:not(.clair) .in-flow li, html:not(.clair) .fp, html:not(.clair) .in-tile, html:not(.clair) .tr-tile, html:not(.clair) .ms-plan, html:not(.clair) .ms-kpis > div { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .guide-steps div, html:not(.clair) .guide-more, html:not(.clair) .guide-todo li, html:not(.clair) .guide-cards p, html:not(.clair) .chr-glass, html:not(.clair) .blk { background: #121412; border: 1px solid rgba(244, 245, 241, .22); }
html:not(.clair) .in-title em, html:not(.clair) .in-h2 em, html:not(.clair) .in-final h2 em, html:not(.clair) .guide-hero h2 em, html:not(.clair) .ct-goal strong, html:not(.clair) .wb-sep.plus, html:not(.clair) .cel-hero small { color: #F4F5F1; }
html:not(.clair) .tab.is-on { color: #121412; background: #F4F5F1; }
html:not(.clair) .ctm .pile i.on { background: #F4F5F1; box-shadow: none; }
html:not(.clair) .ctm.now .pile i.on { background: #D7F57E; box-shadow: inset 0 0 0 1px #F4F5F1; }
html:not(.clair) .sx-dots i.me, html:not(.clair) .club-bar i, html:not(.clair) .box-dot, html:not(.clair) .wb-hint i { box-shadow: 0 0 0 1px #F4F5F1; }
html:not(.clair) .cel-fit .sx-scale::after { background: repeating-linear-gradient(90deg, #F4F5F1 0 1px, transparent 1px 6px); }
html:not(.clair) .field input, html:not(.clair) .field textarea, html:not(.clair) .chr-step input, html:not(.clair) .mu-sets input { background: #121412; border: 1px solid rgba(244, 245, 241, .25); }
html:not(.clair) .bell.has-new { border-color: #F4F5F1; }
html:not(.clair) .toast { border: 1.5px solid #F4F5F1; box-shadow: 3px 3px 0 #F4F5F1; }
html:not(.clair) :is(.fit, .athlete-card, .hx-tier)[data-tier="bronze"] { --m-mid: #E8642A; --m-ink: #111111; }
html:not(.clair) :is(.fit, .athlete-card, .hx-tier)[data-tier="argent"] { --m-mid: #B8C4D0; --m-ink: #111111; }
html:not(.clair) :is(.fit, .athlete-card, .hx-tier)[data-tier="or"] { --m-mid: #FFD000; --m-ink: #111111; }
html:not(.clair) :is(.fit, .athlete-card, .hx-tier)[data-tier="elite"] { --m-mid: #6C4CF5; --m-ink: #FAFAFA; }
html:not(.clair) .fit[data-tier] .fit-badge, html:not(.clair) .fit[data-tier] .fit-face { color: var(--m-ink); }
html:not(.clair) .athlete-card[data-tier] .ac-tier, html:not(.clair) .hx-tier[data-tier] { background: var(--m-mid); color: var(--m-ink); animation: none; }
html:not(.clair) .sxb-tier.bronze { --t: #E8642A; }
html:not(.clair) .sxb-tier.argent { --t: #B8C4D0; }
html:not(.clair) .sxb-tier.or { --t: #FFD000; }
html:not(.clair) .sxb-tier.elite { --t: #6C4CF5; color: #FAFAFA; }
html:not(.clair) .wb-train { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .wbt-clock { color: #F4F5F1; text-shadow: none; }
html:not(.clair) .wbt-fmts button { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .wbt-fmts i { box-shadow: 0 0 0 1px #F4F5F1; }
html:not(.clair) .wbt-write { border: 1.5px solid #F4F5F1; box-shadow: 2px 2px 0 #F4F5F1; }
html:not(.clair) .wbt-all { background: #121412; border: 1.5px solid #F4F5F1; }
html:not(.clair) .comp-rank.is-m2 { --m: #DCEAF7; }
html:not(.clair) .comp-rank[class*="is-m"] { box-shadow: 0 0 0 1.5px #F4F5F1; }
html:not(.clair) .comp-rank[class*="is-m"] small { color: rgba(11, 13, 6, .65); }
html:not(.clair) .in-prod.is-soon { border-style: dashed; }
html:not(.clair) .in-prod-go { background: #121412; border: 1.5px solid #F4F5F1; color: #F4F5F1; }

/* ---------- Retouches propres au sombre (mode-sombre-main.css) ---------- */
/* Mode sombre « Darkboard » de l'appli : les retouches propres au sombre (recopiées à la fin de site/sombre.css).
   Ardoise, craie blanche, le lime en aplat (bouton principal, titre du WOD, RX+). */
html:not(.clair), html:not(.clair) body { background: #0D0F0D; }
/* Le titre du WOD : sans surligneur, en craie (retour de Mario, 14/11/2026) */
html:not(.clair) .wod-h { background: none; color: #F4F5F1; padding: 0; }
/* (Point fort / à travailler : contours blancs, fabriqués depuis le clair) */
html:not(.clair) .skf-tag.best, html:not(.clair) .skf-tag.low { color: #0A0A0A; background: color-mix(in srgb, var(--skc, #E6E6E1) 70%, #FFFFFF); }
/* Le bouton principal et les pastilles lime : texte foncé */
html:not(.clair) .wod #open-entry:not(.is-done), html:not(.clair) .cel-pill, html:not(.clair) .fil-fab, html:not(.clair) .cta:not(.is-done) { color: #0D0F0D; }
/* Onglet actif : craie pleine, texte foncé */
html:not(.clair) .tab.is-on { background: #F4F5F1; color: #0D0F0D; }
html:not(.clair) .tab.is-on svg { stroke: #0D0F0D; }
