/* Fabriqué par outils/mode-clair.js depuis styles.css : NE PAS MODIFIER À LA MAIN (relancer node outils/mode-clair.js).
   Mode clair « Whiteboard » de mūe club, actif quand <html> a la classe « clair » (réglage Apparence). */
html.clair { --bg: #FFFFFF; --solid: #FFFFFF; --surface: rgba(10, 10, 10, 0.055); --surface-2: rgba(10, 10, 10, 0.09); --line: rgba(10, 10, 10, 0.09); --line-strong: rgba(10, 10, 10, 0.18); --ink: #0A0A0A; --muted: rgba(10, 10, 10, 0.58); --faint: rgba(10, 10, 10, 0.36); --accent: #D7F57E; --accent-soft: rgba(215, 245, 126, 0.13); --mint: #8DE3B9; --pink: #FF4FA3; --warn: #F4C27A; --danger: #FF8C82; --danger-soft: rgba(255, 140, 130, 0.12); --pr: #F4C27A; --blur: blur(22px) saturate(140%); --radius: 30px; --radius-sm: 20px; --font: "Helvetica Neue", Helvetica, Arial, sans-serif; --dot: "Doto", "Helvetica Neue", Helvetica, sans-serif; color-scheme: light; }
html.clair body { background: var(--bg); color: var(--ink); }
html.clair body::before { background: radial-gradient(38vmax 30vmax at 85% 6%, rgba(190, 230, 90, 0.18), transparent 70%),
    radial-gradient(34vmax 30vmax at 6% 70%, rgba(70, 170, 120, 0.14), transparent 70%),
    radial-gradient(30vmax 24vmax at 70% 105%, rgba(255, 79, 163, 0.1), transparent 70%); }
html.clair button, html.clair input, html.clair textarea { color: inherit; }
html.clair button { border: 0; background: none; }
html.clair :focus-visible { outline: 2px solid var(--accent); }
html.clair .date { color: var(--muted); }
html.clair .avatar { background: var(--ink); color: var(--bg); }
html.clair .dpill { border: 1px solid var(--line-strong); }
html.clair .dpill small { color: var(--muted); }
html.clair .card { background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); }
html.clair .muted-sm { color: var(--muted); }
html.clair .explain { color: var(--muted); }
html.clair .wod { background: radial-gradient(70% 60% at 88% 8%, rgba(215, 245, 126, 0.55), rgba(120, 170, 60, 0.16) 45%, transparent 75%),
    radial-gradient(60% 50% at 0% 100%, rgba(141, 227, 185, 0.22), transparent 70%),
    #FFFFFF; }
html.clair .wod-tag { background: var(--accent); color: var(--accent-ink); }
html.clair .wod-session { color: var(--muted); border: 1px solid var(--line-strong); }
html.clair .wod-cap { color: color-mix(in srgb, var(--accent) 52%, #000); border: 1px solid rgba(215, 245, 126, 0.4); }
html.clair .wod-scheme { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .moves li { border-top: 1px solid var(--line); }
html.clair .mv-detail { color: var(--muted); }
html.clair .my-load { color: var(--accent-ink); background: var(--accent); }
html.clair .my-load.is-missing { background: var(--surface-2); color: var(--muted); }
html.clair .wod-note { color: var(--muted); }
html.clair .cta { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) {
  html.clair .cta:hover { box-shadow: 0 0 0 4px var(--accent-soft); }
}
html.clair .cta svg { background: var(--accent-ink); stroke: color-mix(in srgb, var(--accent) 52%, #000); fill: none; }
html.clair .cta.is-done { background: rgba(255, 255, 255, 0.5); color: var(--ink); border: 1px solid var(--line-strong); }
html.clair .cta.is-done svg { background: var(--ink); stroke: var(--bg); }
html.clair .cta.is-busy::after { border: 2px solid currentColor; border-right-color: transparent; }
html.clair .ghost-btn { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
html.clair .link-btn { color: var(--ink); text-decoration-color: var(--faint); }
html.clair .danger { color: color-mix(in srgb, var(--danger) 52%, #000) !important; }
html.clair .ghost-btn.danger { border-color: rgba(255, 140, 130, 0.35); background: var(--danger-soft); }
html.clair .score { background: radial-gradient(60% 90% at 15% 50%, rgba(255, 79, 163, 0.45), rgba(160, 60, 140, 0.14) 50%, transparent 75%),
    #FFFFFF; }
html.clair .ring circle { fill: none; }
html.clair .ring-track { stroke: rgba(10, 10, 10, 0.14); }
html.clair .ring-fill { stroke: var(--ink); }
html.clair .ring-label span { color: var(--muted); }
html.clair .eyebrow { color: var(--muted); }
html.clair .eyebrow::before { background: var(--pink); box-shadow: 0 0 12px var(--pink); }
html.clair .score-link { color: var(--muted); }
html.clair .seg-btn { border: 1px solid var(--line-strong); color: var(--muted); }
html.clair .seg-btn.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
html.clair .row { border-top: 1px solid var(--line); }
html.clair .row:first-child { border-top: 0; }
html.clair .row.is-me { border: 0; background: var(--accent-soft); }
html.clair .rank { color: var(--muted); }
html.clair .row:nth-child(1) .rank { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .face { background: var(--surface-2); border: 1px solid var(--line); }
html.clair .who small { color: var(--muted); }
html.clair .who small.rx-plus { color: color-mix(in srgb, var(--accent, #85AE09) 52%, #000); }
html.clair .bump { color: var(--muted); border: 1px solid var(--line); }
html.clair .bump.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .board-foot { color: var(--muted); }
html.clair .empty { color: var(--muted); }
html.clair .fit { background: radial-gradient(70% 55% at 0% 95%, var(--fit-bg, rgba(40, 150, 105, 0.55)), transparent 70%),
    radial-gradient(60% 45% at 100% 100%, rgba(85, 75, 80, 0.32), transparent 70%),
    #FFFFFF; border: 1px solid var(--line); }
html.clair .fit-label { color: rgba(10, 10, 10, 0.85); }
html.clair .fit-arrow { color: color-mix(in srgb, var(--fit-c, var(--mint)) 52%, #000); }
html.clair .fit-arrow.is-down { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .fit-delta { color: var(--muted); }
html.clair .neon-halo { fill: none; }
html.clair .neon-line { fill: none; }
html.clair .neon-pt { fill: rgba(9, 175, 98, 0.7); }
html.clair .neon-empty { fill: none; stroke: rgba(33, 150, 93, 0.25); }
html.clair .bead { filter: drop-shadow(0 0 8px var(--bead, #C9FBE4)); }
html.clair .neon-tick { fill: var(--faint); }
html.clair .fit-foot { color: var(--muted); }
html.clair .outline-btn { border: 1px solid var(--fit-c, var(--mint)); color: color-mix(in srgb, var(--fit-c, var(--mint)) 52%, #000); background: var(--fit-soft, rgba(141, 227, 185, 0.06)); }
html.clair .fs-seg { background: var(--c); }
html.clair .fs-seg.is-on { box-shadow: 0 0 12px var(--c); }
html.clair .fs-seg i { color: var(--muted); }
html.clair .fs-seg.is-on i { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .fs-mark { background: #0A0A0A; box-shadow: 0 0 10px #FFFFFF; }
html.clair .fs-goal { color: var(--muted); }
html.clair .fs-goal strong { color: color-mix(in srgb, var(--fit-c, var(--ink)) 52%, #000); }
html.clair .story-img { background: var(--surface); border: 1px solid var(--line); }
html.clair .athlete-card { background: radial-gradient(80% 55% at 85% 0%, var(--m-halo, rgba(215, 245, 126, .35)), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(141, 227, 185, .14), transparent 70%),
    #121412; border: 1px solid var(--m-edge, var(--line-strong)); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 50px var(--m-glow, transparent); }
html.clair .athlete-card::after { background: linear-gradient(115deg, transparent 30%, rgba(10, 10, 10, 0.07) 45%, transparent 60%); }
html.clair .ac-tier { background: var(--ink); color: var(--bg); }
html.clair .ac-world span { color: var(--muted); }
html.clair .ac-brand { color: var(--muted); }
html.clair .ac-face { background: radial-gradient(circle at 35% 30%, rgba(10, 10, 10, 0.22), rgba(10, 10, 10, 0.04) 70%); border: 1px solid var(--line-strong); }
html.clair .ac-box { color: var(--muted); }
html.clair .athlete-card[data-tier] .ac-tier { background: linear-gradient(110deg, var(--m-dark) 0%, var(--m-mid) 30%, var(--m-light) 45%, #fff 50%, var(--m-light) 55%, var(--m-mid) 70%, var(--m-dark) 100%); color: var(--m-ink); box-shadow: 0 0 0 1px var(--m-edge), 0 4px 14px var(--m-glow); }
html.clair .athlete-card[data-tier="bronze"] { --m-dark: #7A4A26; --m-mid: #B87A45; --m-light: #E6B07A; --m-ink: #2A1608; --m-edge: rgba(214, 150, 95, .55); --m-glow: rgba(205, 127, 50, .25); --m-halo: rgba(214, 150, 95, .35); }
html.clair .athlete-card[data-tier="argent"] { --m-dark: #7D8894; --m-mid: #B9C3CE; --m-light: #E8EDF2; --m-ink: #17202B; --m-edge: rgba(214, 224, 235, .5); --m-glow: rgba(200, 214, 228, .18); --m-halo: rgba(214, 224, 235, .32); }
html.clair .athlete-card[data-tier="or"] { --m-dark: #9A6B12; --m-mid: #D9A52E; --m-light: #FFE08A; --m-ink: #2B1C02; --m-edge: rgba(255, 210, 110, .6); --m-glow: rgba(240, 180, 50, .3); --m-halo: rgba(255, 200, 90, .42); }
html.clair .athlete-card[data-tier="elite"] { --m-dark: #5B6CC9; --m-mid: #9C8CF0; --m-light: #D8F3FF; --m-ink: #120E2E; --m-edge: rgba(190, 200, 255, .6); --m-glow: rgba(150, 140, 255, .3); --m-halo: rgba(170, 220, 255, .4); }
html.clair .fold-ico { border: 1px solid var(--line-strong); color: var(--muted); }
html.clair details.fold-mini { border-top: 1px solid var(--line); }
html.clair details.fold-mini > summary { color: var(--muted); }
html.clair details.fold-mini > summary::before { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair details.fold-mini p { color: var(--muted); }
html.clair details.fold-mini b { color: var(--ink); }
html.clair .sk-bar { background: var(--surface-2); }
html.clair .sk-bar i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
html.clair .sk-meta { color: var(--muted); }
html.clair .sk-prov { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .open-row { border-top: 1px solid var(--line); }
html.clair .open-row:first-child { border-top: 0; }
html.clair .open-id { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .open-desc { color: var(--muted); }
html.clair .open-ref { color: var(--faint); }
html.clair .open-pct span { color: var(--muted); }
html.clair .confirm { color: var(--muted); }
html.clair .tabbar { background: rgba(255, 255, 255, 0.74); border: 1px solid var(--line); }
html.clair .tab { color: var(--faint); }
html.clair .tab svg { fill: none; stroke: currentColor; }
html.clair .tab.is-on { color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); }
html.clair .sheet-bg { background: rgba(10, 10, 10, 0.12); }
html.clair .sheet { background: #FFFFFF; border: 1px solid var(--line); border-bottom: 0; }
html.clair .grip { background: var(--line-strong); }
html.clair .time b { color: var(--muted); }
html.clair .time input { border: 1px solid var(--line); background: radial-gradient(80% 80% at 50% 30%, rgba(215, 245, 126, 0.12), transparent 70%), var(--surface); color: var(--ink); outline: none; }
html.clair .time input::placeholder { color: rgba(10, 10, 10, 0.2); }
html.clair .time input:focus { border-color: var(--accent); }
html.clair .time span { color: var(--muted); }
html.clair .sheet-hint { color: var(--muted); }
html.clair .bench-group { color: var(--muted); }
html.clair .bench-item { border-top: 1px solid var(--line); }
html.clair .bench-item small { color: var(--muted); }
html.clair .bench-item em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .bench-desc { color: var(--muted); }
html.clair .in-brand .brand-mark { --d: 34px; }
html.clair .in-login { border: 1px solid var(--line-strong); background: var(--surface); }
html.clair .in-eyebrow { color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
html.clair .in-eyebrow::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
html.clair .in-title em { color: color-mix(in srgb, var(--accent) 52%, #000); text-shadow: 0 0 38px rgba(215, 245, 126, 0.35); }
html.clair .in-lead { color: var(--muted); }
html.clair .in-ghost { border: 1px solid var(--line-strong); background: var(--surface); }
html.clair .in-proof { color: var(--muted); }
html.clair .in-proof li::before { background: var(--accent); }
html.clair .in-phones::before { background: radial-gradient(closest-side, rgba(215, 245, 126, 0.28), transparent); filter: blur(30px); }
html.clair .in-phone { background: #FFFFFF; border: 1px solid rgba(10, 10, 10, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.27); }
html.clair .in-phone img { background: var(--solid); }
html.clair .in-phone.is-left, html.clair .in-phone.is-right { filter: brightness(.82); }
html.clair .in-phone.is-left { --r: -7deg; }
html.clair .in-phone.is-right { --r: 7deg; }
html.clair .in-tile { --halo: rgba(215, 245, 126, 0.22); --val: var(--ink); background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); }
html.clair .in-tile::before { background: radial-gradient(closest-side, var(--halo), transparent); }
html.clair .in-tile.is-gold { --halo: rgba(244, 194, 122, 0.3); --val: var(--pr); }
html.clair .in-tile.is-pink { --halo: rgba(255, 79, 163, 0.22); }
html.clair .in-tile.is-mint { --halo: rgba(141, 227, 185, 0.24); --val: var(--mint); }
html.clair .in-tile b { color: color-mix(in srgb, var(--val) 52%, #000); }
html.clair .in-tile p { color: var(--muted); }
html.clair .in-final h2 em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .in-steps li { border: 1px solid var(--line); background: var(--surface); }
html.clair .in-steps li::before { background: var(--accent); color: var(--accent-ink); }
html.clair .in-foot { color: var(--faint); }
html.clair .sx-w { --c: #0A0A0A; --g: rgba(10, 10, 10, 0.12); background: radial-gradient(110% 80% at 15% 115%, var(--g), transparent 62%), rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); color: var(--ink); }
html.clair .sx-lbl span { color: rgba(10, 10, 10, 0.42); }
html.clair .sx-thin em { color: rgba(10, 10, 10, 0.3); }
html.clair .sx-tag { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .sx-foot { color: var(--muted); }
html.clair .sx-curve { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .sx-dots i { background: rgba(10, 10, 10, 0.14); }
html.clair .sx-dots i.up { background: color-mix(in srgb, var(--c) 55%, transparent); }
html.clair .sx-dots i.me { background: var(--accent); box-shadow: 0 0 10px rgba(215, 245, 126, 0.7); }
html.clair .sx-caps i { background: rgba(10, 10, 10, 0.07); }
html.clair .sx-caps i.on { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 60%, transparent), color-mix(in srgb, var(--c) 18%, transparent)); }
html.clair .sx-caps i.now { background: linear-gradient(180deg, #0A0A0A, var(--c)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 70%, transparent); }
html.clair .sx-caps i.now.off { background: rgba(10, 10, 10, 0.1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
html.clair .sx-bars i { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 75%, transparent), color-mix(in srgb, var(--c) 15%, transparent)); }
html.clair .sx-ring circle { fill: none; stroke: rgba(10, 10, 10, 0.08); }
html.clair .sx-ring circle.on { stroke: color-mix(in srgb, var(--c) 52%, #000); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 60%, transparent)); }
html.clair .sx-w.off { background: transparent; border: 1px dashed rgba(10, 10, 10, 0.1); box-shadow: none; }
html.clair .sx-w.off .sx-lbl, html.clair .sx-w.off .sx-thin { color: rgba(10, 10, 10, 0.3); }
html.clair .sx-w.off .sx-lbl span, html.clair .sx-w.off .sx-foot { color: rgba(10, 10, 10, 0.2); }
html.clair .sx-med { background: radial-gradient(120% 120% at 0% 100%, var(--g), transparent 70%), rgba(10, 10, 10, 0.05); border: 1px solid rgba(10, 10, 10, 0.09); }
html.clair .sx-med i { color: #0B0D06; background: var(--c); }
html.clair .cel { background: radial-gradient(60% 30% at 50% 16%, rgba(215, 245, 126, 0.08), transparent 70%), #FFFFFF; }
html.clair .cel-top span { color: var(--muted); border: 1px solid rgba(10, 10, 10, 0.1); }
html.clair .cel-top button { border: 1px solid rgba(10, 10, 10, 0.1); color: var(--muted); }
html.clair .cel-hero p { color: var(--muted); }
html.clair .cel-hero b { text-shadow: 0 0 40px rgba(255, 255, 255, 0.14); }
html.clair .cel-hero small { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .cel-hero small em { color: var(--muted); }
html.clair .cel-fit .sx-scale { background: repeating-linear-gradient(90deg, rgba(10, 10, 10, 0.2) 0 1px, transparent 1px 6px); }
html.clair .cel-fit .sx-scale::after { background: repeating-linear-gradient(90deg, rgba(215, 245, 126, 0.9) 0 1px, transparent 1px 6px); }
html.clair .cel-fit small { color: var(--muted); }
html.clair .cel-round { background: rgba(10, 10, 10, 0.05); color: var(--muted); }
html.clair .cel-round svg { fill: none; stroke: currentColor; }
html.clair .cel-round.is-ghost { background: none; }
html.clair .cel-pill { color: #0B0D06; background: var(--accent); box-shadow: 0 0 34px rgba(215, 245, 126, 0.28); }
html.clair .fit-face.no-photo::after { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45); }
html.clair .crop { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 6px rgba(215, 245, 126, 0.12), 0 20px 50px rgba(0, 0, 0, 0.225); }
html.clair .crop-zoom { color: var(--muted); }
html.clair .crop-zoom input { accent-color: var(--accent); }
html.clair .team-pick { background: var(--surface); border: 1px solid var(--line); }
html.clair .team-chip { background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.3); }
html.clair .team-chip i, html.clair .team-list i { background: var(--ink); color: var(--bg); }
html.clair .team-chip button { color: var(--muted); }
html.clair .team-empty { color: var(--muted); }
html.clair .team-search { border: 1px solid var(--line); background: rgba(10, 10, 10, 0.05); outline: none; }
html.clair .team-search:focus { border-color: var(--accent); }
html.clair .team-list small { color: var(--muted); }
html.clair .team-list b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .team-hint { color: var(--muted); }
html.clair .face.team { background: none; border: 0; }
html.clair .face.team i { background: #FFFFFF; color: var(--ink); border: 2px solid #FFFFFF; }
html.clair .face.team i:nth-child(2) { background: #CBC7CB; }
html.clair .face.team i:nth-child(3) { background: #C1BCC1; }
html.clair .row.is-me .face.team i { border-color: #FFFFFF; }
html.clair .in-install { color: var(--ink); text-decoration-color: var(--faint); }
html.clair .in-install svg, html.clair .ib-ico svg { fill: none; stroke: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .install-bar { border: 1px solid rgba(215, 245, 126, 0.28); background: radial-gradient(120% 140% at 0% 0%, rgba(215, 245, 126, 0.12), transparent 60%), rgba(255, 255, 255, 0.92); }
html.clair .ib-ico { background: var(--accent-soft); }
html.clair .ib-main small { color: var(--muted); }
html.clair .ib-close { color: var(--muted); }
html.clair .ins-app { color: var(--muted); }
html.clair .ins-app img { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.225), 0 0 0 1px var(--line); }
html.clair .ins-steps li { background: var(--surface); border: 1px solid var(--line); }
html.clair .ins-ico { background: var(--accent-soft); }
html.clair .ins-ico::after { background: var(--accent); color: var(--accent-ink); }
html.clair .ins-ico svg { fill: none; stroke: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ins-ico svg circle { fill: color-mix(in srgb, var(--accent) 52%, #000); stroke: none; }
html.clair .ins-steps small { color: var(--muted); }
html.clair .ins-bar { background: #FFFFFF; border: 1px solid var(--line); color: var(--muted); }
html.clair .ins-bar .ib-url { background: rgba(10, 10, 10, 0.07); color: var(--ink); }
html.clair .ib-hl { color: color-mix(in srgb, var(--accent) 52%, #000); box-shadow: 0 0 0 2px var(--accent); }
html.clair .ib-hl svg { fill: none; stroke: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ins-note { color: var(--muted); }
html.clair .brand-mark { --d: 64px; background: url("logo-sigle.png") center / contain no-repeat; }
html.clair .welcome-brand .brand-mark { --d: 96px; filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35)); }
html.clair .welcome-tag span { color: var(--muted); }
html.clair .welcome-sub { color: var(--muted); }
html.clair .top-sigle { --d: 30px; }
html.clair .field > span { color: var(--muted); }
html.clair .field input, html.clair .field textarea { border: 1px solid var(--line); background: var(--surface); outline: none; }
html.clair .field input::placeholder, html.clair .field textarea::placeholder { color: var(--faint); }
html.clair .field input:focus, html.clair .field textarea:focus { border-color: var(--accent); }
html.clair .form-error { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .toast { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
html.clair .pill-add { background: var(--accent); color: var(--accent-ink); }
html.clair .weight-line { color: var(--muted); }
html.clair .weight-line b { color: var(--ink); }
html.clair .rec-list > li + li { border-top: 1px solid var(--line); }
html.clair .rec-name small { color: var(--muted); }
html.clair .rec-note i { color: var(--muted); }
html.clair .date-field input { color-scheme: light; }
html.clair .hist-row { border-top: 1px solid var(--line); }
html.clair .hist-row span { color: var(--muted); }
html.clair .hist-row small { color: var(--muted); }
html.clair .hist-del { border: 1px solid var(--line); color: var(--muted); }
html.clair .box-name { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
html.clair .box-dot { background: var(--club, var(--accent)); box-shadow: 0 0 10px var(--club, var(--accent)); }
html.clair .moves li.rest { border-top: 0; }
html.clair .moves li.rest .mv-name { color: var(--muted); }
html.clair .counter { background: radial-gradient(70% 70% at 100% 0%, rgba(215, 245, 126, 0.16), transparent 70%), var(--surface); }
html.clair .ct-side { color: var(--muted); }
html.clair .ct-side b { color: var(--ink); }
html.clair .ctm .pile i { background: rgba(10, 10, 10, 0.08); }
html.clair .ctm .pile i.on { background: var(--accent); box-shadow: 0 0 6px rgba(215, 245, 126, 0.55); }
html.clair .ctm span { color: var(--faint); }
html.clair .ctm.now span { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ct-goal { color: var(--muted); }
html.clair .ct-goal strong { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .duo > div { border: 1px solid var(--line); }
html.clair .duo .up { background: radial-gradient(90% 90% at 80% 10%, rgba(215, 245, 126, 0.32), transparent 70%), #FFFFFF; }
html.clair .duo .down { background: radial-gradient(90% 90% at 80% 10%, rgba(244, 194, 122, 0.26), transparent 70%), #FFFFFF; }
html.clair .duo small { color: var(--muted); }
html.clair .duo p { color: var(--muted); }
html.clair .rg-track { fill: none; stroke: rgba(10, 10, 10, 0.1); }
html.clair .rg-arc { fill: none; }
html.clair .rg-list span { color: var(--muted); }
html.clair .rg-list .best span { color: var(--ink); }
html.clair .rg-list .best b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .week-nav span { color: var(--muted); }
html.clair .wk-arrow { border: 1px solid var(--line-strong); color: var(--ink); }
html.clair button.dpill { color: var(--ink); }
html.clair .dpill.is-today { border-color: var(--accent); }
html.clair .dpill.is-today small { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .dpill.is-sel { background: var(--ink); border-color: var(--ink); color: var(--bg); }
html.clair .dpill.is-sel small { color: rgba(255, 255, 255, 0.6); }
html.clair .select { border: 1px solid var(--line); background: var(--surface); color: var(--ink); color-scheme: light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23F4F5F1' stroke-opacity='.6' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
html.clair .select option { background: var(--solid); }
html.clair .ptr { background: #FFFFFF; border: 1px solid var(--line); color: var(--muted); }
html.clair .ptr.is-ready, html.clair .ptr.is-loading { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: var(--accent); }
html.clair .share-score { border-color: rgba(215, 245, 126, 0.5); color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); }
html.clair .wod-part + .wod-part { border-top: 1px solid var(--line-strong); }
html.clair .part-head { color: var(--muted); }
html.clair .part-head b { border: 1px solid var(--line-strong); color: var(--ink); }
html.clair .wod-part.is-scored .part-head { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wod-part.is-scored .part-head b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html.clair .story-img.is-sticker { background: repeating-conic-gradient(#FFFFFF 0 25%, #FFFFFF 0 50%) 0 0 / 22px 22px; }
html.clair .talk { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
html.clair .talk.is-on { background: var(--accent-soft); border-color: rgba(215, 245, 126, 0.5); }
html.clair .talk-line { color: var(--muted); }
html.clair .talk-line b { color: var(--ink); }
html.clair .talk-more { color: var(--muted); }
html.clair .comment-del { color: var(--faint, var(--muted)); }
html.clair .quick-btn { background: var(--surface-2); border: 1px solid var(--line); }
html.clair .comment-form input { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.55); color: var(--ink); }
html.clair .comment-send { background: var(--accent); color: var(--accent-ink); }
html.clair .follow-btn { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
html.clair .follow-btn.is-on { background: transparent; color: var(--ink); border-color: var(--line-strong); }
html.clair .friend-chip { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
html.clair .person { border-top: 1px solid var(--line); }
html.clair .person-who { color: var(--ink); }
html.clair .person-who small { color: var(--muted); }
html.clair .bell { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.4); color: var(--ink); }
html.clair .bell svg { fill: none; stroke: currentColor; }
html.clair .bell.has-new { border-color: rgba(215, 245, 126, 0.6); }
html.clair .bell-count { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 3px var(--bg), 0 0 14px rgba(215, 245, 126, 0.6); }
html.clair .notif + .notif { border-top: 1px solid var(--line); }
html.clair .notif.is-new { background: var(--accent-soft); }
html.clair .notif-main { color: var(--ink); }
html.clair .notif-text q { color: var(--ink); }
html.clair .notif-text small { color: var(--muted); }
html.clair .rg-need { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .nudge { background: radial-gradient(80% 90% at 100% 0%, rgba(215, 245, 126, 0.22), transparent 70%), #FFFFFF; border: 1px solid rgba(215, 245, 126, 0.35); }
html.clair .nudge-title b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .nudge-text { color: var(--muted); }
html.clair .nudge-step { border-top: 1px solid var(--line); color: var(--ink); }
html.clair .nudge-step small { color: var(--muted); }
html.clair .nudge-step i { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .fit-trust { color: var(--muted); }
html.clair .fit-trust b { color: var(--ink); }
html.clair .trust-dots i { background: var(--line-strong); }
html.clair .trust-dots i.on { background: var(--accent); box-shadow: 0 0 8px rgba(215, 245, 126, 0.6); }
html.clair .fit-trust .fit-new { color: var(--faint); }
html.clair .wod-link { color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.35); }
html.clair .boot { background: var(--bg); }
html.clair .boot .brand-mark { --d: 110px; filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4)); }
html.clair .boot-msg { color: var(--muted); }
html.clair body::after { background: linear-gradient(var(--bg) 70%, transparent); }
html.clair .time-res .eq { color: var(--muted); }
html.clair .score-equiv { color: var(--muted); }
html.clair .score-equiv b { color: var(--ink); }
html.clair .time-res small { color: var(--muted); }
html.clair .mw-count { color: var(--muted); }
html.clair .mw-row { border-top: 1px solid var(--line); color: var(--ink); }
html.clair .mw-list li:first-child .mw-row { border-top: 0; }
html.clair .mw-date small { color: var(--muted); }
html.clair .mw-what small { color: var(--muted); }
html.clair .mw-score small { color: var(--muted); }
html.clair .mw-score small.rx-plus { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wod-tag { background: none; color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .more-btn { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
html.clair .box-consent { color: var(--muted); }
html.clair .newbox { background: var(--surface); border: 1px solid var(--line); }
html.clair .newbox-pick { color: var(--ink); background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.3); }
html.clair .newbox-hint { color: var(--muted); }
html.clair .wod-by { color: var(--muted); }
html.clair .invite-btn { color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.4); }
html.clair .invite-btn svg { fill: none; stroke: currentColor; }
html.clair .s-note-sm { color: var(--muted); }
html.clair .hx-race { background: radial-gradient(70% 60% at 100% 0%, rgba(169, 155, 255, 0.2), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(255, 143, 177, 0.12), transparent 70%), rgba(255, 255, 255, 0.92); }
html.clair .hx-kicker { color: var(--muted); }
html.clair .hx-meta { color: var(--muted); }
html.clair .hx-ranks div { background: var(--surface); border: 1px solid var(--line); }
html.clair .hx-ranks small { color: var(--muted); }
html.clair .hx-split .run, html.clair .hx-split-legend .run { --hc: #FF8FB1; }
html.clair .hx-split .work, html.clair .hx-split-legend .work { --hc: #A99BFF; }
html.clair .hx-split .rox, html.clair .hx-split-legend .rox { --hc: #7FE0EA; }
html.clair .hx-split i { background: var(--hc); box-shadow: 0 0 12px color-mix(in srgb, var(--hc) 50%, transparent); }
html.clair .hx-split-legend { color: var(--muted); }
html.clair .hx-split-legend span::before { background: var(--hc); }
html.clair .hx-split-legend b { color: var(--ink); }
html.clair .hx-tier { background: linear-gradient(110deg, var(--m-dark) 0%, var(--m-mid) 30%, var(--m-light) 45%, #fff 50%, var(--m-light) 55%, var(--m-mid) 70%, var(--m-dark) 100%); color: var(--m-ink); box-shadow: 0 0 0 1px var(--m-edge), 0 4px 14px var(--m-glow); }
html.clair .hx-tier[data-tier="bronze"] { --m-dark: #7A4A26; --m-mid: #B87A45; --m-light: #E6B07A; --m-ink: #2A1608; --m-edge: rgba(214, 150, 95, .55); --m-glow: rgba(205, 127, 50, .25); }
html.clair .hx-tier[data-tier="argent"] { --m-dark: #7D8894; --m-mid: #B9C3CE; --m-light: #E8EDF2; --m-ink: #17202B; --m-edge: rgba(214, 224, 235, .5); --m-glow: rgba(200, 214, 228, .18); }
html.clair .hx-tier[data-tier="or"] { --m-dark: #9A6B12; --m-mid: #D9A52E; --m-light: #FFE08A; --m-ink: #2B1C02; --m-edge: rgba(255, 210, 110, .6); --m-glow: rgba(240, 180, 50, .3); }
html.clair .hx-tier[data-tier="elite"] { --m-dark: #5B6CC9; --m-mid: #9C8CF0; --m-light: #D8F3FF; --m-ink: #120E2E; --m-edge: rgba(190, 200, 255, .6); --m-glow: rgba(150, 140, 255, .3); }
html.clair .hx-tile { border: 1px solid var(--line); background: radial-gradient(90% 90% at 85% 0%, var(--soft), transparent 70%), #FFFFFF; }
html.clair .hx-tile.is-best { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
html.clair .hx-tile.is-weak { border-color: rgba(244, 194, 122, 0.45); }
html.clair .hx-tile-name small { color: var(--muted); }
html.clair .hx-tile b { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .hx-tile-time { color: var(--muted); }
html.clair .hx-tile-bar { background: var(--surface-2); }
html.clair .hx-tile-bar em { background: var(--c); box-shadow: 0 0 8px var(--c); }
html.clair .hx-gain-head { color: var(--muted); }
html.clair .hx-gain-head b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .hx-gain-list li { border-top: 1px solid var(--line); }
html.clair .hx-gain-list small { color: var(--muted); }
html.clair .hx-gain-list i { background: var(--surface-2); }
html.clair .hx-gain-list .slow em { background: var(--danger); }
html.clair .hx-gain-list .slow b { color: color-mix(in srgb, var(--danger) 52%, #000); }
html.clair .hx-gain-list .fast em { background: var(--accent); }
html.clair .hx-gain-list .fast b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .hx-bar i { background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 25%, transparent)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 35%, transparent); }
html.clair .hx-bar small { color: var(--muted); }
html.clair .hx-run-stats div { background: var(--surface); border: 1px solid var(--line); }
html.clair .hx-run-stats small { color: var(--muted); }
html.clair .hx-session { border: 1px solid var(--line); background: radial-gradient(80% 90% at 100% 0%, rgba(215, 245, 126, 0.1), transparent 70%), var(--surface); }
html.clair .hx-session-head span { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .hx-session li { color: rgba(10, 10, 10, 0.82); }
html.clair .hx-session li::before { background: var(--accent); }
html.clair .hx-pick.is-on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
html.clair .hx-cat.is-ref { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .hx-gain-head .hx-plain { color: var(--ink); }
html.clair .hx-gain-head .hx-worse { color: color-mix(in srgb, var(--danger) 52%, #000); }
html.clair .hx-mif-row { background: radial-gradient(90% 120% at 100% 50%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
html.clair .hx-mif-row.is-me { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
html.clair .hx-mif-rank { color: var(--muted); }
html.clair .hx-mif-who small { color: var(--muted); }
html.clair .hx-mif-lvl { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .hx-mif-more { color: var(--muted); }
html.clair .goal { background: rgba(215, 245, 126, 0.07); border: 1px solid rgba(215, 245, 126, 0.28); }
html.clair .goal input[type="range"] { accent-color: var(--accent); }
html.clair .goal-out strong { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .goal-tier { color: var(--muted); }
html.clair .goal-eq { color: var(--muted); }
html.clair .goal-note { color: var(--muted); }
html.clair .fit-private { color: var(--muted); }
html.clair .switch-row { border-top: 1px solid var(--line); }
html.clair .switch-row small { color: var(--muted); }
html.clair .theme-row { border-top: 1px solid var(--line); }
html.clair .theme-row small { color: var(--muted); }
html.clair .switch-row input { accent-color: var(--accent); }
html.clair .imb { border-bottom: 1px solid var(--line); }
html.clair .imb:last-child { border-bottom: 0; }
html.clair .imb-head em { color: #B86E00; }
html.clair .imb.major .imb-head em { color: #B81600; }
html.clair .imb-bars > div { color: var(--muted); }
html.clair .imb-bars i { background: var(--surface-2); }
html.clair .imb-bars em { background: linear-gradient(90deg, #5FD3A0, var(--accent)); }
html.clair .imb-bars .weak em { background: linear-gradient(90deg, #E8955A, #FFC266); }
html.clair .imb-bars b { color: var(--ink); }
html.clair .imb-tip { color: var(--muted); }
html.clair .imb-ok { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .imb-ok small { color: var(--muted); }
html.clair .mc { background: var(--surface); border: 1px solid var(--line); }
html.clair .mc span { color: var(--muted); }
html.clair .mc small { color: var(--muted); }
html.clair .mc.is-best { border-color: rgba(215, 245, 126, 0.45); background: rgba(215, 245, 126, 0.07); }
html.clair .mc.is-best b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .mc-sum { color: var(--muted); }
html.clair .skf { background: var(--surface); border: 1px solid var(--line); }
html.clair .skf[open] { border-color: var(--line-strong); }
html.clair .skf-tag.best { background: rgba(215, 245, 126, 0.16); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .skf-tag.low { background: rgba(255, 194, 102, 0.14); color: #B86E00; }
html.clair .skf-bar { background: var(--surface-2); }
html.clair .skf-bar em { background: linear-gradient(90deg, #5FD3A0, var(--accent)); }
html.clair .skf .fold-ico { color: var(--muted); }
html.clair .skf-body h5 { color: var(--muted); }
html.clair .skf-hint { color: var(--muted); }
html.clair .skf-hint em { color: #B86E00; }
html.clair .skf-empty { color: var(--muted); }
html.clair .skf-src li span em { color: #B86E00; }
html.clair .skf-src li i { background: var(--surface-2); }
html.clair .skf-src li i em { background: rgba(10, 10, 10, 0.45); }
html.clair .skf-src li.low b { color: #B86E00; }
html.clair .skc { background: rgba(10, 10, 10, 0.03); border: 1px solid var(--line); }
html.clair .skc.minor { border-color: rgba(255, 194, 102, 0.25); }
html.clair .skc.major { border-color: rgba(215, 245, 126, 0.35); background: rgba(215, 245, 126, 0.05); }
html.clair .skc-tip { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .skc.ok { color: var(--muted); }
html.clair .skc.ok b { color: var(--ink); }
html.clair .skf-tests li { background: rgba(215, 245, 126, 0.06); border: 1px solid rgba(215, 245, 126, 0.22); }
html.clair .skf-tests li small { color: var(--muted); }
html.clair .skf-tests li span { color: var(--muted); }
html.clair .skf-tests li span b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .skf-note { color: var(--muted); }
html.clair .skf .fold-ico { border: 0; }
html.clair .fs-seg.is-tier i { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .skf-top { color: var(--ink); }
html.clair .skf-top b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .skf-src li small { color: var(--muted); }
html.clair .fit-id { border-bottom: 1px solid var(--line); }
html.clair .fit-face { background: radial-gradient(circle at 35% 30%, rgba(10, 10, 10, 0.22), rgba(10, 10, 10, 0.04) 70%); border: 1px solid var(--m-edge, var(--line-strong)); }
html.clair .fit-box { color: var(--muted); }
html.clair .fit-badge { background: var(--ink); color: var(--bg); }
html.clair .fit[data-tier] .fit-badge { background: linear-gradient(110deg, var(--m-dark) 0%, var(--m-mid) 30%, var(--m-light) 45%, #fff 50%, var(--m-light) 55%, var(--m-mid) 70%, var(--m-dark) 100%); color: var(--m-ink); box-shadow: 0 0 0 1px var(--m-edge), 0 4px 14px var(--m-glow); }
html.clair .fit[data-tier="bronze"] { --m-dark: #7A4A26; --m-mid: #B87A45; --m-light: #E6B07A; --m-ink: #2A1608; --m-edge: rgba(214, 150, 95, .55); --m-glow: rgba(205, 127, 50, .25); }
html.clair .fit[data-tier="argent"] { --m-dark: #7D8894; --m-mid: #B9C3CE; --m-light: #E8EDF2; --m-ink: #17202B; --m-edge: rgba(214, 224, 235, .5); --m-glow: rgba(200, 214, 228, .18); }
html.clair .fit[data-tier="or"] { --m-dark: #9A6B12; --m-mid: #D9A52E; --m-light: #FFE08A; --m-ink: #2B1C02; --m-edge: rgba(255, 210, 110, .6); --m-glow: rgba(240, 180, 50, .3); }
html.clair .fit[data-tier="elite"] { --m-dark: #5B6CC9; --m-mid: #9C8CF0; --m-light: #D8F3FF; --m-ink: #120E2E; --m-edge: rgba(190, 200, 255, .6); --m-glow: rgba(150, 140, 255, .3); }
html.clair .row.is-team .tm[data-user] { text-decoration-color: var(--faint); }
html.clair .fs-seg i { color: rgba(10, 10, 10, 0.62); }
html.clair .cel-hero b small { color: var(--muted); }
html.clair .pgt { color: var(--ink); }
html.clair .pgt-txt small { color: rgba(10, 10, 10, 0.5); }
html.clair .pgt-txt em { color: var(--muted); }
html.clair .pgt > i { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-ring circle { fill: none; stroke: rgba(10, 10, 10, 0.09); }
html.clair .pg-ring circle.on { stroke: color-mix(in srgb, var(--c) 52%, #000); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 60%, transparent)); }
html.clair .pg-list > button { color: var(--ink); }
html.clair .pg-line { color: var(--muted); }
html.clair .pg-bar { background: rgba(10, 10, 10, 0.08); }
html.clair .pg-bar i { background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 55%, transparent); }
html.clair .pg-bar-mark u { background: rgba(10, 10, 10, 0.55); }
html.clair .pg-tag { color: #0B0D06; background: var(--c); }
html.clair .pg-coach { color: rgba(10, 10, 10, 0.72); }
html.clair .pg-coach i { background: var(--ink); color: var(--bg); }
html.clair .pg-chips span { background: rgba(10, 10, 10, 0.05); border: 1px solid rgba(10, 10, 10, 0.09); color: rgba(10, 10, 10, 0.82); }
html.clair .pg-see { border: 1px solid rgba(10, 10, 10, 0.12); background: rgba(10, 10, 10, 0.04); }
html.clair .pg-sec { color: var(--muted); }
html.clair .pg-mini { color: var(--ink); }
html.clair .pg-cat { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-draft-chip { border: 1px dashed rgba(10, 10, 10, 0.3); color: var(--muted); }
html.clair .skf-prog { color: var(--ink); background: radial-gradient(110% 90% at 10% 120%, color-mix(in srgb, var(--c) 22%, transparent), transparent 65%), rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.08); }
html.clair .skf-prog span { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .skf-prog small { color: var(--muted); }
html.clair .skf-prog i { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-hero { background: radial-gradient(90% 80% at 20% 100%, color-mix(in srgb, var(--c) 42%, transparent), transparent 65%), radial-gradient(70% 70% at 90% 10%, var(--g), transparent 70%), rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.08); }
html.clair .pg-stats small { color: var(--muted); }
html.clair .pg-sum { color: rgba(10, 10, 10, 0.78); }
html.clair .pg-muted { color: var(--muted); }
html.clair .pg-draft { color: var(--muted); border: 1px dashed rgba(10, 10, 10, 0.18); }
html.clair .pg-prog small { color: var(--muted); }
html.clair .pg-wk { background: rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.06); }
html.clair .pg-wk summary b { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-wk summary small { color: var(--muted); }
html.clair .pg-wk summary em { color: var(--muted); }
html.clair .pg-wk[open] summary { border-bottom: 1px solid rgba(10, 10, 10, 0.05); }
html.clair .pg-ses { color: var(--ink); }
html.clair .pg-ses + .pg-ses { border-top: 1px solid rgba(10, 10, 10, 0.04); }
html.clair .pg-ses i { border: 1px solid rgba(10, 10, 10, 0.2); color: var(--muted); }
html.clair .pg-ses.done i { background: var(--c); color: #0B0D06; border: 0; }
html.clair .pg-ses small { color: var(--muted); }
html.clair .pg-ses em { color: var(--muted); }
html.clair .pg-tip { color: rgba(10, 10, 10, 0.75); }
html.clair .pg-foot { background: linear-gradient(transparent, #FFFFFF 38%); }
html.clair .pgx-head i { border: 1px solid rgba(10, 10, 10, 0.2); color: var(--muted); }
html.clair .pgx.done .pgx-head i { background: var(--c); color: #04201C; border: 0; }
html.clair .pgx-head small { color: var(--muted); }
html.clair .pgx-note { color: rgba(10, 10, 10, 0.62); }
html.clair .pgx-vid { background: rgba(10, 10, 10, 0.07); color: var(--ink); }
html.clair .pgx-set { background: rgba(10, 10, 10, 0.05); border: 1px solid rgba(10, 10, 10, 0.08); color: var(--muted); }
html.clair .pgx-set.ok { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pgx-test { color: var(--muted); }
html.clair .pgx-test input { background: rgba(10, 10, 10, 0.06); border: 1px solid rgba(10, 10, 10, 0.14); color: var(--ink); }
html.clair .pgx-test em { color: var(--muted); }
html.clair .pg-finish { background: rgba(10, 10, 10, 0.04); border: 1px solid rgba(10, 10, 10, 0.08); }
html.clair .pg-done-note { color: var(--muted); }
html.clair .pg-rest { background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(157, 235, 221, 0.35); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.27); }
html.clair .pg-rest span { color: var(--muted); }
html.clair .pg-rest b { color: #1C9C85; }
html.clair .pg-rest button { background: #0A0A0A; color: #FFFFFF; }
html.clair .pg-donut circle { fill: none; }
html.clair .pg-mrow div span { color: var(--muted); }
html.clair .pg-mrow div b em { color: rgba(10, 10, 10, 0.35); }
html.clair .pg-meal { color: var(--ink); background: rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.06); }
html.clair .pg-meal small { color: var(--muted); }
html.clair .pg-meal .ck { border: 1px solid rgba(10, 10, 10, 0.2); }
html.clair .pg-meal.on .ck { background: #FFC489; color: #2B1600; border: 0; }
html.clair .pg-meal em { color: var(--muted); }
html.clair .sx-jal i { color: rgba(10, 10, 10, 0.35); border: 1px solid rgba(10, 10, 10, 0.12); }
html.clair .sx-jal i.on { color: #04201C; background: var(--c); border-color: transparent; box-shadow: 0 0 10px color-mix(in srgb, var(--c) 50%, transparent); }
html.clair .wod-box { color: var(--muted); }
html.clair .rec-gain { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .rec-hint { color: var(--muted); }
html.clair .pg-ask { color: var(--ink); background: rgba(10, 10, 10, 0.06); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
html.clair .pg-ask.is-sent { color: color-mix(in srgb, var(--c) 52%, #000); background: transparent; }
html.clair .ms-wait { color: var(--muted); }
html.clair .ms-wod.is-empty { color: var(--muted); }
html.clair .ms-kpis > div { background: rgba(10, 10, 10, 0.04); border: 1px solid var(--line); }
html.clair .ms-kpis b i { color: var(--muted); }
html.clair .ms-kpis small { color: var(--muted); }
html.clair .ms-sub { color: var(--muted); }
html.clair .ms-lead { border-bottom: 1px solid var(--line); }
html.clair .ms-lead b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-lead em { color: var(--muted); }
html.clair .ms-lead-h span { color: var(--muted); }
html.clair .ms-badge { background: var(--accent); color: var(--accent-ink); }
html.clair .ms-req { border-bottom: 1px solid var(--line); }
html.clair .ms-req span { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-req small { color: var(--muted); }
html.clair .ms-req p { color: rgba(10, 10, 10, 0.78); }
html.clair .ms-note { color: var(--muted); }
html.clair .ms-bars i { background: linear-gradient(#D7F57E, rgba(215, 245, 126, 0.25)); }
html.clair .ms-bars small { color: var(--muted); }
html.clair .ms-list li { border-bottom: 1px solid var(--line); }
html.clair .ms-list li:last-child { border-bottom: 0; }
html.clair .ms-list button { color: var(--ink); }
html.clair .ms-list small, html.clair .ms-list span { color: var(--muted); }
html.clair .ms-list span b { color: var(--ink); }
html.clair .ms-foot { color: var(--muted); }
html.clair .ms-foot a { color: var(--ink); }
html.clair .pg-ask-hero { background: radial-gradient(85% 60% at 105% -5%, rgba(168, 140, 255, 0.38), transparent 62%), radial-gradient(70% 55% at -5% 105%, rgba(215, 245, 126, 0.15), transparent 65%), rgba(10, 10, 10, 0.03); border: 1px solid rgba(10, 10, 10, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.158); }
html.clair .pg-ask-hero::before { background: radial-gradient(circle, rgba(203, 187, 255, 0.45), transparent 70%); filter: blur(10px); }
html.clair .pg-ask-kicker { color: color-mix(in srgb, var(--accent) 52%, #000); background: rgba(215, 245, 126, 0.1); border: 1px solid rgba(215, 245, 126, 0.25); }
html.clair .pg-ask-kicker::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
html.clair .pg-ask-lead { color: rgba(10, 10, 10, 0.7); }
html.clair .pg-ask-team { color: rgba(10, 10, 10, 0.62); }
html.clair .pg-ask-faces i { background: var(--ink); color: var(--bg); border: 2px solid #FFFFFF; }
html.clair .pg-ask-tile { color: var(--ink); background: rgba(255, 255, 255, 0.45); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
html.clair .pg-ask-tile.training { --c: #A9C1FF; }
html.clair .pg-ask-tile.nutrition { --c: #FFC489; }
html.clair .pg-ask-ico { background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 18%, transparent); }
html.clair .pg-ask-ico svg { fill: none; stroke: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-ask-txt small { color: var(--muted); }
html.clair .pg-ask-tile > i { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .pg-ask-tile.is-sent { background: transparent; }
html.clair .pg-ask-tile.is-sent .pg-ask-txt small { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .ms-axis { color: var(--muted); }
html.clair .ms-curve polyline { fill: none; stroke: color-mix(in srgb, var(--accent) 52%, #000); filter: drop-shadow(0 0 6px rgba(215, 245, 126, 0.5)); }
html.clair .ms-bname { color: var(--ink); }
html.clair .ms-bname small { color: var(--muted); }
html.clair .ms-bbar { background: rgba(10, 10, 10, 0.08); }
html.clair .ms-bbar em { background: var(--accent); }
html.clair .ms-warn { color: #B86E00; }
html.clair .terms-row { color: var(--muted); }
html.clair .terms-row input { accent-color: var(--accent); }
html.clair .terms-row a, html.clair .in-foot a { color: var(--ink); text-decoration-color: var(--faint); }
html.clair a.ib-main { color: inherit; }
html.clair .ms-fb { border-top: 1px solid var(--line); }
html.clair .ms-fb:first-of-type { border-top: 0; }
html.clair .ms-fb-head small { color: var(--muted); }
html.clair .ms-fb-kind { background: var(--surface-2); color: var(--muted); }
html.clair .ms-fb-kind.is-bug { background: var(--danger-soft); color: color-mix(in srgb, var(--danger) 52%, #000); }
html.clair .ms-fb-kind.is-idea { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-fb .ms-fb-ctx { color: var(--faint); }
html.clair body.cel-open::after { background: linear-gradient(#FFFFFF 70%, transparent); }
html.clair .guide { background: radial-gradient(80% 34% at 50% 6%, rgba(215, 245, 126, 0.13), transparent 70%),
    radial-gradient(60% 30% at 90% 58%, rgba(185, 162, 255, 0.08), transparent 70%), #FFFFFF; }
html.clair .guide-top span { color: var(--muted); border: 1px solid var(--line); }
html.clair .guide-top button { border: 1px solid var(--line); color: var(--muted); }
html.clair .guide-mark { color: color-mix(in srgb, var(--accent) 52%, #000); text-shadow: 0 0 60px rgba(215, 245, 126, 0.45); }
html.clair .guide-hero h2 em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .guide-hero p { color: var(--muted); }
html.clair .guide-block h3 em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .guide-lead { color: var(--muted); }
html.clair .guide-steps div { background: var(--surface); border: 1px solid var(--line); }
html.clair .guide-steps b { color: var(--ink); }
html.clair .guide-steps small { color: var(--muted); }
html.clair .guide-bar span { background: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent); }
html.clair .guide-bar i { background: #FFD36B; border: 3px solid #FFFFFF; box-shadow: 0 0 0 2px #FFD36B, 0 0 24px rgba(255, 211, 107, 0.7); }
html.clair .guide-bar i b { color: #B88100; }
html.clair .guide-ticks span { color: var(--muted); }
html.clair .guide-ticks small { color: var(--faint); }
html.clair .guide-chips span { background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.28); color: var(--ink); }
html.clair .guide-chips.is-soon span { background: var(--surface); border-color: var(--line); color: var(--muted); }
html.clair .guide-todo li { background: var(--surface); border: 1px solid var(--line); }
html.clair .guide-todo li::before { color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 22px rgba(215, 245, 126, 0.35); }
html.clair .guide-todo small { color: var(--muted); }
html.clair .guide-cards p { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
html.clair .guide-cards b { color: var(--ink); }
html.clair .guide-foot { color: var(--faint); }
html.clair .guide-pill { background: rgba(10, 10, 10, 0.06); border: 1px solid rgba(10, 10, 10, 0.14); color: var(--ink); }
html.clair .guide-new { color: #170E2F; background: linear-gradient(135deg, #D6C9FF, #9E86FF); box-shadow: 0 0 14px rgba(185, 162, 255, 0.45); }
html.clair .guide-pill b { color: var(--muted); }
html.clair .install-pill .guide-new { color: var(--accent-ink); background: linear-gradient(135deg, #EAFBB8, var(--accent)); box-shadow: 0 0 14px rgba(215, 245, 126, 0.4); }
html.clair .in-how { border: 1px solid rgba(215, 245, 126, 0.35); background: var(--accent-soft); }
html.clair .in-how b { background: var(--accent); color: var(--accent-ink); }
html.clair .in-how small { color: var(--muted); }
html.clair .guide-more { background: var(--surface); border: 1px solid var(--line); }
html.clair .guide-more summary::after { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .guide-more[open] { border-color: rgba(215, 245, 126, 0.25); }
html.clair .guide-more > div { color: var(--muted); }
html.clair .guide-more b { color: var(--ink); }
html.clair .comp-list > li + li { border-top: 1px solid var(--line); }
html.clair .comp-rank { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
html.clair .comp-rank small { color: var(--muted); }
html.clair .comp-rank.is-m1 { --m: #FFD36B; }
html.clair .comp-rank.is-m2 { --m: #0A0A0A; }
html.clair .comp-rank.is-m3 { --m: #FF9A5A; }
html.clair .comp-rank[class*="is-m"] { color: #0B0D06; background: var(--m); border-color: transparent; box-shadow: 0 0 18px color-mix(in srgb, var(--m) 45%, transparent); }
html.clair .comp-rank[class*="is-m"] small { color: rgba(255, 255, 255, 0.65); }
html.clair .comp-main small { color: var(--muted); }
html.clair .comp-main em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .comp-of { color: var(--faint); }
html.clair .comp-found { background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.3); }
html.clair .comp-found-t { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .comp-found-row + .comp-found-row { border-top: 1px solid rgba(215, 245, 126, 0.15); }
html.clair .comp-found-row small { color: var(--muted); }
html.clair .comp-no { color: var(--muted); border: 1px solid var(--line); }
html.clair .comp-empty { color: var(--muted); }
html.clair .comp-empty b { color: var(--ink); }
html.clair .comp-back { color: var(--muted); }
html.clair .comp-stats > div { background: var(--surface); border: 1px solid var(--line); }
html.clair .comp-stats b { color: var(--ink); }
html.clair .comp-stats small { color: var(--muted); }
html.clair .comp-dots .m1 { background: #FFD36B; box-shadow: 0 0 8px rgba(255, 211, 107, 0.7); }
html.clair .comp-dots .m2 { background: #0A0A0A; }
html.clair .comp-dots .m3 { background: #FF9A5A; }
html.clair .comp-badge { color: var(--faint); border: 1px dashed var(--line-strong); }
html.clair .comp-badge i { background: var(--surface-2); color: var(--faint); }
html.clair .comp-badge.is-on { color: var(--ink); border: 1px solid rgba(215, 245, 126, 0.35); background: var(--accent-soft); }
html.clair .comp-badge.is-on i { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 12px rgba(215, 245, 126, 0.45); }
html.clair .comp-all { border: 1px solid rgba(215, 245, 126, 0.35); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .perf-jump { background: rgba(10, 10, 10, 0.06); border: 1px solid rgba(10, 10, 10, 0.14); color: var(--ink); }
html.clair .perf-jump i { background: radial-gradient(circle at 35% 30%, #FFE7A3, #FFD36B 55%, #C99A2E); box-shadow: 0 0 14px rgba(255, 211, 107, 0.45); }
html.clair .perf-jump b { color: var(--muted); }
html.clair .field > span small { color: var(--faint); }
html.clair .code-row input { border: 1px solid var(--line); background: var(--surface); outline: none; }
html.clair .code-row input:focus { border-color: var(--accent); }
html.clair .box-pending { color: var(--muted); }
html.clair .ms-code { color: color-mix(in srgb, var(--accent) 52%, #000); text-shadow: 0 0 22px rgba(215, 245, 126, 0.3); }
html.clair .ms-req .ghost-btn.is-yes { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html.clair .ms-roster .ms-out { color: color-mix(in srgb, var(--danger) 52%, #000); }
html.clair .tab.has-dot::after { background: var(--accent); box-shadow: 0 0 8px rgba(215, 245, 126, 0.7); }
html.clair .club-pill { color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
html.clair .club-pill i, html.clair .my-club i { background: var(--c); box-shadow: 0 0 8px var(--c); }
html.clair .club-pill.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .my-clubs-h { color: var(--muted); }
html.clair .my-club { border-bottom: 1px solid var(--line); }
html.clair .my-club small { color: var(--muted); }
html.clair .paste-box { background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.25); }
html.clair .paste-box textarea { border: 1px solid var(--line); background: rgba(10, 10, 10, 0.05); outline: none; color: var(--ink); }
html.clair .paste-box textarea:focus { border-color: var(--accent); }
html.clair .paste-hint { color: var(--muted); }
html.clair .paste-read { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .chip-btn { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
html.clair .chip-btn:active { background: var(--accent-soft); }
html.clair .test-box summary small { color: var(--muted); }
html.clair .test-list .bench-item em { border: 1px solid var(--line); color: var(--muted); }
html.clair .test-list .bench-item em.is-fit { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.35); background: var(--accent-soft); }
html.clair .c-alert { background: rgba(244, 194, 122, 0.09); border: 1px solid rgba(244, 194, 122, 0.28); }
html.clair .c-alert b { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .tp-day { border: 1px solid var(--line); color: var(--muted); }
html.clair .tp-day b { color: var(--ink); }
html.clair .tp-day.is-on { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, 0.6); }
html.clair .tp-day.is-on b { color: var(--bg); }
html.clair .tp-G { background: #A9C1FF; }
html.clair .tp-H { background: #FFC489; }
html.clair .tp-M { background: #9DEBDD; }
html.clair .tp-gauge { background: var(--surface); border: 1px solid var(--line); }
html.clair .tp-ok { color: color-mix(in srgb, var(--mint) 52%, #000); }
html.clair .tp-ko { color: color-mix(in srgb, var(--warn) 52%, #000); }
html.clair .tp-leg { color: var(--muted); }
html.clair .tp-bars i { background: rgba(10, 10, 10, 0.14); }
html.clair .tp-bars i.is-hi { background: linear-gradient(180deg, var(--warn), rgba(244, 194, 122, 0.25)); }
html.clair .tp-bars small { color: var(--muted); }
html.clair .tp-mus div { background: rgba(10, 10, 10, 0.07); }
html.clair .tp-mus div i { background: #CBBBFF; }
html.clair .tp-pp { color: var(--muted); }
html.clair .tp-pp b { color: var(--ink); }
html.clair .ms-sport .chip-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .club-find { color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.25); }
html.clair .feed-open { background: radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--c, #D7F57E) 18%, transparent), transparent 65%), var(--surface); border: 1px solid var(--line); color: var(--ink); }
html.clair .feed-open i { background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); }
html.clair .feed-open small { color: var(--muted); }
html.clair .feed-open em { color: var(--muted); }
html.clair .dc-club { color: var(--ink); background: radial-gradient(80% 140% at 0% 100%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), var(--surface); border: 1px solid var(--line); }
html.clair .dc-av { color: #0B0D06; background: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent); }
html.clair .dc-txt small { color: var(--muted); }
html.clair .dc-lock { color: var(--muted); }
html.clair .cp-cover { background: radial-gradient(90% 90% at 10% 100%, color-mix(in srgb, var(--c, #D7F57E) 50%, transparent), transparent 65%), radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--c, #D7F57E) 22%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
html.clair .cp-cover small { color: rgba(10, 10, 10, 0.75); }
html.clair .cp-desc { color: var(--muted); }
html.clair .cp-compose { background: var(--surface); border: 1px solid var(--line); }
html.clair .cp-compose textarea { border: 0; background: none; outline: none; color: var(--ink); }
html.clair .ghost-btn.is-yes { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html.clair .fp { background: rgba(10, 10, 10, 0.035); border: 1px solid var(--line); }
html.clair .fp-who small, html.clair .fp-done small { color: var(--muted); }
html.clair .fp-more { color: var(--muted); }
html.clair .fp-react button { color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
html.clair .fp-react button.is-on { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.4); background: var(--accent-soft); }
html.clair .fp-del { color: var(--muted); }
html.clair .fp-say input { border: 1px solid var(--line); background: var(--surface); outline: none; color: var(--ink); }
html.clair .fp-say button { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .fp-done { background: none; }
html.clair .ms-desc { border: 1px solid var(--line); background: var(--surface); outline: none; color: var(--ink); }
html.clair .mu-ring { --p: 0; background: radial-gradient(closest-side, #FFFFFF 78%, transparent 80%), conic-gradient(#CBBBFF calc(var(--p) * 360deg), rgba(10, 10, 10, 0.08) 0); }
html.clair .mu-ex { background: var(--surface); border: 1px solid var(--line); }
html.clair .mu-ex.is-done { border-color: rgba(203, 187, 255, 0.35); }
html.clair .mu-name small { color: var(--muted); }
html.clair .mu-h { color: var(--faint); }
html.clair .mu-sets b { color: var(--muted); }
html.clair .mu-sets input { border: 1px solid var(--line); background: rgba(10, 10, 10, 0.04); color: var(--ink); outline: none; }
html.clair .mu-sets input:focus { border-color: #CBBBFF; }
html.clair .mu-ok { border: 1px solid var(--line); color: var(--muted); }
html.clair .mu-ok.is-on { background: #CBBBFF; color: #1A0F37; border-color: #CBBBFF; }
html.clair .mu-best { border-top: 1px solid var(--line); color: var(--muted); }
html.clair .mu-best b { color: #2B00B8; }
html.clair .mu-best em { color: #0B0D06; background: var(--pr); }
html.clair .mu-rest { background: #FFFFFF; border: 1px solid var(--line-strong); }
html.clair .mu-rest span { color: var(--muted); }
html.clair .ck-row { color: var(--muted); }
html.clair .wod-part.is-max .part-head { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wod-part.is-max .part-head b { border-color: var(--accent); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .max-cta { border-color: rgba(215, 245, 126, 0.5); color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); }
html.clair .max-cta.is-done { color: var(--ink); border-color: var(--line-strong); background: transparent; }
html.clair .max-board { border-top: 1px solid var(--line); }
html.clair .max-board h4 { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .mx-bump { background: none; border: 0; }
html.clair .blk-ico { color: var(--ink); }
html.clair .blk { background: var(--surface); border: 1px solid var(--line); }
html.clair .blk.is-scored { border-color: rgba(215, 245, 126, 0.45); }
html.clair .blk.is-max { border-color: rgba(215, 245, 126, 0.3); }
html.clair .blk.is-drag { border-color: var(--accent); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.203); }
html.clair .blk-grip { color: var(--muted); background: rgba(10, 10, 10, 0.04); border: 1px solid var(--line); }
html.clair .blk.is-drag .blk-grip { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: var(--accent); }
html.clair .blk-n { border: 1px solid var(--line-strong); }
html.clair .blk.is-scored .blk-n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html.clair .blk.is-max .blk-n { border-color: var(--accent); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .field .blk-name { border: 0; background: transparent; }
html.clair .field .blk-name:focus { background: rgba(10, 10, 10, 0.05); }
html.clair .blk-btns button { color: var(--muted); border: 1px solid var(--line); }
html.clair .blk-tag { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .field .blk-text { background: rgba(10, 10, 10, 0.04); }
html.clair .st { color: var(--muted); }
html.clair .st i { background: conic-gradient(var(--accent), #9DEBDD, #CBBBFF, var(--accent)); }
html.clair .st i b { color: var(--bg); background: var(--ink); border: 2.5px solid var(--bg); }
html.clair .st.me i { background: var(--line-strong); }
html.clair .st.me i b { background: var(--solid); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .fil-empty { border: 1px dashed var(--line-strong); color: var(--muted); }
html.clair .fil-empty b { color: var(--ink); }
html.clair .fil-fab { color: var(--accent-ink); background: var(--accent); box-shadow: 0 10px 34px rgba(215, 245, 126, 0.35); }
html.clair .fp-wod { background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 60%), rgba(10, 10, 10, 0.035); }
html.clair .fp-wod-top small { color: var(--muted); }
html.clair .fp-wod-row { color: var(--ink); }
html.clair .fp-wod-row small { color: var(--muted); }
html.clair .fp-name { color: var(--ink); }
html.clair .clubtag { color: color-mix(in srgb, var(--c) 52%, #000); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
html.clair .fp-stats div { background: var(--surface); }
html.clair .fp-stats small { color: var(--muted); }
html.clair .fp-pr { background: rgba(244, 194, 122, 0.1); border: 1px solid rgba(244, 194, 122, 0.3); }
html.clair .fp-pr b { color: color-mix(in srgb, var(--pr) 52%, #000); }
html.clair .fp-see { color: var(--muted); }
html.clair .fp-last { color: rgba(10, 10, 10, 0.8); }
html.clair .fp-sets { background: rgba(10, 10, 10, 0.04); }
html.clair .fp-sets span { background: rgba(203, 187, 255, 0.14); color: #2B00B8; }
html.clair .fp-sets span.is-pr { background: rgba(244, 194, 122, 0.2); color: color-mix(in srgb, var(--pr) 52%, #000); }
html.clair .ps-cnt small { color: var(--muted); }
html.clair .ps-tile { color: rgba(10, 10, 10, 0.85); }
html.clair .ps-tile b { color: var(--ink); }
html.clair .ps-tile.g0 { background: radial-gradient(80% 80% at 30% 30%, rgba(203, 187, 255, 0.4), transparent), #FFFFFF; }
html.clair .ps-tile.g1 { background: radial-gradient(80% 80% at 70% 30%, rgba(215, 245, 126, 0.3), transparent), #FFFFFF; }
html.clair .ps-tile.g2 { background: radial-gradient(80% 80% at 40% 70%, rgba(255, 196, 137, 0.4), transparent), #FFFFFF; }
html.clair .ps-tile.g3 { background: radial-gradient(80% 80% at 60% 60%, rgba(157, 235, 221, 0.3), transparent), #FFFFFF; }
html.clair .ps-lock { border: 1px dashed var(--line-strong); color: var(--muted); }
html.clair .sc-ex { background: var(--surface); border: 1px solid var(--line); }
html.clair .sc-set { background: rgba(203, 187, 255, 0.16); color: #2B00B8; }
html.clair .sc-add input { border: 1px solid var(--line); background: rgba(10, 10, 10, 0.05); color: var(--ink); outline: none; }
html.clair .sc-add input:focus { border-color: #CBBBFF; }
html.clair .sc-add button { background: #CBBBFF; color: #1A0F37; }
html.clair .club-bar { color: var(--ink); background: color-mix(in srgb, var(--c, #D7F57E) 9%, rgba(10, 10, 10, 0.03)); border: 1px solid color-mix(in srgb, var(--c, #D7F57E) 30%, transparent); }
html.clair .club-bar i { background: var(--c); box-shadow: 0 0 10px var(--c); }
html.clair .club-bar small { color: var(--muted); }
html.clair .club-bar em { color: var(--muted); }
html.clair .clubs-list .club-pill { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
html.clair .clubs-list .club-pill.is-on { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); color: var(--ink); }
html.clair .cl-txt small { color: var(--muted); }
html.clair .clubs-list em, html.clair .club-find em { color: var(--muted); }
html.clair #sheet-clubs .club-find { color: var(--ink); }
html.clair #sheet-clubs .club-find i { background: var(--accent); }
html.clair #sheet-clubs .club-find small { color: var(--muted); }
html.clair .cp-logo { color: #0B0D06; background: var(--c, var(--accent)); box-shadow: 0 0 22px color-mix(in srgb, var(--c, #D7F57E) 45%, transparent); }
html.clair .cp-faces .face { border: 2px solid #FFFFFF; }
html.clair .cp-kpis div { background: var(--surface); }
html.clair .cp-kpis b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .cp-kpis small { color: var(--muted); }
html.clair .my-sess-row { border-bottom: 1px solid var(--line); }
html.clair .my-sess-row:last-child { border-bottom: 0; }
html.clair .my-sess-row small { color: var(--muted); }
html.clair .my-sess-row em { color: var(--muted); }
html.clair .ms-fmt { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-parts { color: rgba(10, 10, 10, 0.78); }
html.clair .ms-parts b { color: var(--muted); }
html.clair .ms-next { border-bottom: 1px solid var(--line); }
html.clair .ms-next:last-child { border-bottom: 0; }
html.clair .ms-next-d small { color: var(--muted); }
html.clair .ms-next-t small { color: var(--muted); }
html.clair .ms-next.is-empty .ms-next-t { color: var(--faint); }
html.clair .ms-next-b button { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-next-b button[data-ms-note] { color: var(--muted); }
html.clair .nt-chips .chip-btn.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .wod { --tc: #A8EBCB; --tv: #3FD9A6; }
html.clair .wod.th-long { --tc: #9DEBDD; --tv: #3FE0C5; }
html.clair .wod.th-lourd { --tc: #FFC489; --tv: #FF9440; }
html.clair .wod.th-skill { --tc: #CBBBFF; --tv: #8F6BFF; }
html.clair .wod.th-test { --tc: #FFB3D9; --tv: #FF4FA3; }
html.clair .wod { border-color: color-mix(in srgb, var(--tv) 26%, rgba(10, 10, 10, 0.1)); background: radial-gradient(90% 300px at 100% 0%, color-mix(in srgb, var(--tv) 70%, #0A0A0A 8%), color-mix(in srgb, var(--tv) 22%, transparent) 42%, transparent 72%),
    linear-gradient(180deg, #FFFFFF, #FFFFFF 360px); box-shadow: 0 20px 60px color-mix(in srgb, var(--tv) 10%, transparent); }
html.clair .wod::before { background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.75) 50%, transparent); }
html.clair .wod::after { background: linear-gradient(115deg, transparent 30%, rgba(10, 10, 10, 0.05) 45%, transparent 60%); }
html.clair .wod-day { color: #0A0A0A; text-shadow: 0 0 18px color-mix(in srgb, var(--tv) 70%, transparent); }
html.clair .wod-day small { color: var(--muted); }
html.clair .wod .wod-session { color: var(--ink); background: rgba(10, 10, 10, 0.1); }
html.clair .wod .wod-session::before { background: var(--tc); box-shadow: 0 0 12px var(--tv); }
html.clair .wod .wod-part { border: 1px solid rgba(10, 10, 10, 0.07); background: rgba(10, 10, 10, 0.08); }
html.clair .wod .wod-part + .wod-part { border-top: 1px solid rgba(10, 10, 10, 0.07); }
html.clair .wod .wod-part::before { background: var(--tv); box-shadow: 0 0 14px var(--tv); }
html.clair .wod .wod-part.is-scored { border-color: rgba(215, 245, 126, 0.32); background: radial-gradient(90% 80% at 0% 50%, rgba(215, 245, 126, 0.11), transparent 70%), rgba(10, 10, 10, 0.08); }
html.clair .wod .wod-part.is-scored::before { background: var(--accent); box-shadow: 0 0 16px var(--accent), 0 0 4px var(--accent); }
html.clair .wod .part-head { color: color-mix(in srgb, var(--tc) 52%, #000); }
html.clair .wod .wod-part.is-scored .part-head, html.clair .wod .wod-part.is-max .part-head { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wod .part-head em.is-max { color: color-mix(in srgb, var(--pr) 52%, #000); }
html.clair .wod .wod-part .wod-cap { color: color-mix(in srgb, var(--accent) 52%, #000); border: 0; text-shadow: 0 0 12px rgba(215, 245, 126, 0.45); }
html.clair .wod .wod-part .wod-scheme { color: var(--muted); }
html.clair .wod .wod-part .moves li, html.clair .wod .wod-part:not(.is-scored) .moves li { border-top: 1px solid rgba(10, 10, 10, 0.07); }
html.clair .wod .wod-part .moves li:first-child { border-top: 0; }
html.clair .mv-n { color: color-mix(in srgb, var(--tc) 52%, #000); }
html.clair .wod .wod-part.is-scored .mv-n { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .mv-g { color: color-mix(in srgb, var(--tc) 52%, #000); background: color-mix(in srgb, var(--tc) 14%, transparent); }
html.clair .wod-mods .mod.G { background: rgba(169, 193, 255, 0.16); color: #0033B8; }
html.clair .wod-mods .mod.H { background: rgba(255, 196, 137, 0.16); color: #B85C00; }
html.clair .wod-mods .mod.M { background: rgba(215, 245, 126, 0.14); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wod #open-entry:not(.is-done) { background: linear-gradient(180deg, #E6FF8F, #C8EA62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 26px rgba(215, 245, 126, 0.25); }
html.clair .wb-invite { border: 1px solid rgba(215, 245, 126, 0.3); background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--c, #D7F57E) 16%, transparent), transparent 62%), var(--surface); }
html.clair .wbi-row { color: var(--ink); }
html.clair .wbi-ico { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wbi-ico svg { fill: none; stroke: currentColor; }
html.clair .wbi-row small { color: var(--muted); }
html.clair .wbi-code { color: color-mix(in srgb, var(--accent) 52%, #000); text-shadow: 0 0 18px rgba(215, 245, 126, 0.3); }
html.clair .wbi-row em, html.clair .wbi-go { color: var(--accent-ink); background: var(--accent); }
html.clair .wbi-copy { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
html.clair .wbi-note { color: var(--muted); }
html.clair .wb-train { border: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, rgba(111, 195, 255, 0.14), transparent 62%), var(--surface); }
html.clair .wbt-head { color: var(--ink); }
html.clair .wbt-head small { color: var(--muted); }
html.clair .wbt-clock { color: color-mix(in srgb, var(--accent) 52%, #000); text-shadow: 0 0 18px rgba(215, 245, 126, 0.3); }
html.clair .wbt-fmts button { color: var(--ink); background: rgba(10, 10, 10, 0.045); border: 1px solid var(--line); }
html.clair .wbt-fmts i { background: var(--c); box-shadow: 0 0 8px var(--c); }
html.clair .wbt-write { color: var(--accent-ink); background: var(--accent); }
html.clair .wbt-all { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); }
html.clair .perf-menu { background: linear-gradient(var(--bg) 76%, rgba(255, 255, 255, 0)); }
html.clair .pm-pill { color: var(--ink); background: rgba(10, 10, 10, 0.055); border: 1px solid var(--line); }
html.clair .pm-pill.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .dc-av.has-logo, html.clair .cp-logo.has-logo, html.clair .tp-logo.has-logo, html.clair .cb-logo.has-logo { background: #FFFFFF center / 84% no-repeat; border: 1px solid var(--line-strong); box-shadow: 0 0 18px color-mix(in srgb, var(--c, #D7F57E) 22%, transparent); color: transparent; }
html.clair .tp-card { border: 1px solid var(--line); background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%), linear-gradient(160deg, rgba(10, 10, 10, 0.06), rgba(10, 10, 10, 0.015) 45%, rgba(10, 10, 10, 0.04)); color: var(--ink); }
html.clair .tp-card.is-member { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
html.clair .tp-logo { color: #0B0D06; background: var(--c); }
html.clair .tp-txt small { color: var(--muted); }
html.clair .tp-badge { background: rgba(10, 10, 10, 0.08); color: var(--ink); }
html.clair .tp-badge.cf::before { background: var(--ink); }
html.clair .tp-badge.hx { background: rgba(255, 214, 0, 0.13); color: #B89200; }
html.clair .tp-badge.hx::before { background: #FFE066; }
html.clair .tp-badge.online { background: rgba(141, 227, 185, 0.12); color: #21965D; }
html.clair .tp-badge.city { background: rgba(10, 10, 10, 0.05); color: var(--muted); }
html.clair .tp-facts > span { background: rgba(10, 10, 10, 0.05); border: 1px solid var(--line); }
html.clair .tp-facts small { color: var(--muted); }
html.clair .tp-empty { border: 1px dashed var(--line-strong); }
html.clair .cp-box { background: var(--surface); border: 1px solid var(--line); }
html.clair .cp-box q { color: var(--ink); }
html.clair .cp-coach i { background: rgba(10, 10, 10, 0.1); }
html.clair .cp-coach small { color: var(--muted); }
html.clair .cp-plan > span:nth-child(odd) { color: var(--muted); }
html.clair .cp-plan em { background: rgba(10, 10, 10, 0.07); }
html.clair .cp-equip span { background: rgba(10, 10, 10, 0.07); }
html.clair .cp-life small { color: var(--muted); }
html.clair .ms-studio { background: rgba(215, 245, 126, 0.07); border: 1px solid rgba(215, 245, 126, 0.18); color: var(--muted); }
html.clair .ms-studio b { color: var(--ink); }
html.clair .ms-draft { color: #B86E00 !important; }
html.clair .in-switch { border: 1px solid var(--line-strong); background: var(--surface); }
html.clair .in-switch button { color: var(--muted); }
html.clair .in-switch button.is-on { background: var(--ink); color: var(--bg); }
html.clair .in-h2 em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .in-final .link-btn { color: var(--muted); }
html.clair .in-note { color: var(--faint); }
html.clair .in-studio { border: 1px solid var(--line-strong); background: #FFFFFF; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.27), 0 0 80px rgba(215, 245, 126, 0.08); }
html.clair .isd-bar { background: #FFFFFF; border-bottom: 1px solid var(--line); }
html.clair .isd-bar i { background: rgba(10, 10, 10, 0.18); }
html.clair .isd-bar span { color: var(--faint); }
html.clair .in-stats li { border: 1px solid var(--line); background: var(--surface); }
html.clair .in-stats span { color: var(--muted); }
html.clair .in-kicker { color: var(--muted); }
html.clair .in-chap-lead { color: var(--muted); }
html.clair .in-shot { background: #FFFFFF; border: 1px solid rgba(10, 10, 10, 0.14); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.248); }
html.clair .in-feats li { border-top: 1px solid var(--line); }
html.clair .in-feats li:last-child { border-bottom: 1px solid var(--line); }
html.clair .in-feats span { color: var(--muted); }
html.clair .in-feats.is-grid li, html.clair .in-feats.is-grid li:last-child { border: 1px solid var(--line); background: var(--surface); }
html.clair .in-small { color: var(--muted); }
html.clair .in-prod { border: 1px solid var(--line-strong); background: var(--surface); }
html.clair .in-status { border: 1px solid var(--line-strong); color: var(--muted); }
html.clair .in-status.is-live { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html.clair .in-prod-for { color: var(--muted); }
html.clair .in-prod li { color: var(--muted); }
html.clair .in-prod li::before { background: var(--ink); }
html.clair .in-prod-note { color: var(--faint); }
html.clair .in-prod-go { border: 1px solid var(--line-strong); color: var(--ink); }
html.clair .in-flow li { border: 1px solid var(--line); background: var(--surface); }
html.clair .in-flow li::before { background: var(--accent); color: var(--accent-ink); }
html.clair .in-flow span { color: var(--muted); }
html.clair .in-flow em { color: var(--ink); }
html.clair .wb-levels { background: var(--surface); border: 1px solid var(--line); }
html.clair .wb-levels .seg-btn { border: 0; }
html.clair .wb-filters .seg-btn.is-on { background: rgba(215, 245, 126, 0.08); color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.5); }
html.clair .wb-rows .row:nth-child(1) .rank { color: var(--muted); }
html.clair .wb-rows .face.tier { --m: #0A0A0A; border: 0; box-shadow: 0 0 0 2px var(--m), 0 0 10px color-mix(in srgb, var(--m) 35%, transparent); }
html.clair .wb-rows .face.tier.bronze { --m: #E6B07A; }
html.clair .wb-rows .face.tier.or { --m: #FFE08A; }
html.clair .wb-rows .face.tier.elite { --m: #D8F3FF; }
html.clair .wb-name { color: inherit; }
html.clair .wb-rows .lv.plus { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 12px rgba(215, 245, 126, 0.55); }
html.clair .wb-rows .lv.rx { background: rgba(10, 10, 10, 0.12); color: var(--ink); border: 1px solid rgba(10, 10, 10, 0.35); }
html.clair .wb-rows .lv.sc { background: rgba(169, 193, 255, 0.14); color: #0033B8; }
html.clair .wb-last { color: var(--faint); }
html.clair .wb-last i { color: var(--muted); }
html.clair .wb-count { color: var(--faint); }
html.clair .wb-count.is-on { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wb-rows .row.is-open .rank, html.clair .wb-rows .row.is-open .wb-name { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .wb-sep { --k: var(--ink); color: color-mix(in srgb, var(--k) 52%, #000); }
html.clair .wb-sep::after { background: linear-gradient(90deg, var(--k), transparent); }
html.clair .wb-sep em { color: var(--faint); }
html.clair .wb-sep.plus { --k: var(--accent); }
html.clair .wb-sep.sc { --k: #A9C1FF; }
html.clair .wb-sep + .row { border-top: 0; }
html.clair .wb-bump { border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); }
html.clair .wb-bump.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html.clair .wb-hint { color: var(--faint); }
html.clair .wb-hint i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
html.clair .sxb { --c: #FFC489; background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 62%), linear-gradient(180deg, #FFFFFF, #FFFFFF); border: 1px solid color-mix(in srgb, var(--c) 24%, rgba(10, 10, 10, 0.08)); }
html.clair .sxb::before { background: var(--c); box-shadow: 0 0 14px var(--c); }
html.clair .sxb-big { color: color-mix(in srgb, var(--c) 52%, #000); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%), rgba(10, 10, 10, 0.06); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); text-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
html.clair .sxb-ttl span { color: var(--muted); }
html.clair .sxb-tier { --t: #0A0A0A; color: #1A1206; background: linear-gradient(135deg, color-mix(in srgb, var(--t) 70%, #0A0A0A), var(--t) 55%, color-mix(in srgb, var(--t) 60%, #FFFFFF)); box-shadow: 0 0 16px color-mix(in srgb, var(--t) 45%, transparent); }
html.clair .sxb-tier.bronze { --t: #C8874A; }
html.clair .sxb-tier.argent { --t: #463D33; }
html.clair .sxb-tier.or { --t: #F2D27A; }
html.clair .sxb-tier.elite { --t: #CDEBFF; }
html.clair .sxb-tier.none { background: rgba(10, 10, 10, 0.08); color: var(--muted); box-shadow: none; }
html.clair .sxb-bar { background: rgba(10, 10, 10, 0.08); }
html.clair .sxb-bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, transparent), var(--c)); box-shadow: 0 0 10px var(--c); }
html.clair .sxb-lab { color: var(--muted); }
html.clair .sxb-lab b { color: var(--ink); }
html.clair .sxb-det { border-top: 1px solid var(--line); }
html.clair .sxb-l > span:last-child { color: var(--muted); }
html.clair .sxb-l em { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .sxb-sub { color: var(--faint); }
html.clair .sxb-redo .sxb-l em { color: var(--muted); }
html.clair .sxb-how { color: var(--faint); }
html.clair .sxb-how b { color: var(--muted); }
html.clair .sxb-weeks i { background: rgba(10, 10, 10, 0.07); color: var(--faint); }
html.clair .sxb-weeks i.on { background: color-mix(in srgb, var(--c) 70%, transparent); color: #1A0A12; }
html.clair .sxb-weeks i.now { outline: 2px solid var(--c); }
html.clair .sxb-lvls span { background: rgba(10, 10, 10, 0.05); border: 1px solid var(--line); color: var(--muted); }
html.clair .sxb-lvls b { color: var(--ink); }
html.clair .sxb-race div { color: var(--muted); }
html.clair .sxb-race i { background: rgba(10, 10, 10, 0.08); }
html.clair .sxb-race i::after { background: var(--c); }
html.clair .sxb-race div.me { color: var(--ink); }
html.clair .sxb-race b { color: var(--ink); }
html.clair .sxb.off { --c: rgba(10, 10, 10, 0.45); }
html.clair .sxb.off .sxb-big { color: var(--faint); text-shadow: none; }
html.clair .ms-seance { --lourd: #FFC489; --skill: #CBBBFF; --long: #9DEBDD; --test: #FFB0D2; }
html.clair .ms-days button { --c: var(--accent); color: var(--ink); background: rgba(10, 10, 10, 0.04); border: 1px solid transparent; }
html.clair .ms-days button small { color: var(--muted); }
html.clair .ms-days button i { background: var(--c); }
html.clair .ms-days button i.is-draft { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
html.clair .ms-days button.is-empty b { color: var(--faint); }
html.clair .ms-days button.is-on { background: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
html.clair .ms-days button.is-on small { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .ms-seance .th-lourd { --c: var(--lourd); --g: rgba(255, 168, 92, 0.26); }
html.clair .ms-seance .th-skill { --c: var(--skill); --g: rgba(168, 140, 255, 0.28); }
html.clair .ms-seance .th-long { --c: var(--long); --g: rgba(96, 214, 198, 0.24); }
html.clair .ms-seance .th-test { --c: var(--test); --g: rgba(255, 140, 190, 0.24); }
html.clair .ms-seance .th-none { --c: var(--accent); --g: rgba(215, 245, 126, 0.12); }
html.clair .ms-tile { border: 1px solid var(--line); background: radial-gradient(120% 60% at 0% 110%, var(--g), transparent 62%), rgba(10, 10, 10, 0.03); }
html.clair .ms-sh-d small { color: var(--muted); }
html.clair .ms-tag { color: color-mix(in srgb, var(--c) 52%, #000); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
html.clair .ms-tag::before { background: var(--c); }
html.clair .ms-st.is-empty { color: var(--muted); }
html.clair .ms-draft-l { color: #B86E00; }
html.clair .ms-sec { border-top: 1px solid var(--line); }
html.clair .ms-sec-h b { color: color-mix(in srgb, var(--c) 52%, #000); }
html.clair .ms-sec-h span { color: var(--ink); }
html.clair .ms-sec-h em { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-ln { color: rgba(10, 10, 10, 0.88); }
html.clair .ms-tip { color: var(--ink); background: color-mix(in srgb, var(--c) 8%, transparent); border-left: 2px solid var(--c); }
html.clair .ms-tip b { color: var(--muted); }
html.clair .ms-lv { border-top: 1px dashed var(--line); color: var(--muted); }
html.clair .ms-lv b { color: var(--ink); }
html.clair .ms-chips .mod { background: rgba(10, 10, 10, 0.06); color: var(--muted); }
html.clair .ms-chips .mod.G { background: rgba(169, 193, 255, 0.16); color: #0033B8; }
html.clair .ms-chips .mod.H { background: rgba(255, 196, 137, 0.16); color: #B85C00; }
html.clair .ms-chips .mod.M { background: rgba(215, 245, 126, 0.14); color: #85AE09; }
html.clair .ms-chips .mod.pvc { border: 1px solid var(--line-strong); }
html.clair .ms-plan { border: 1px solid var(--line); background: rgba(10, 10, 10, 0.025); }
html.clair .ms-plan-h { color: var(--ink); }
html.clair .ms-plan-h span { color: var(--faint); }
html.clair .ms-tlbar i, html.clair .ms-tl li::before { background: var(--k); }
html.clair .ms-tl li { color: var(--muted); }
html.clair .ms-tl li span { color: var(--faint); }
html.clair .ms-tl li.k-wod, html.clair .ms-tl li.k-a, html.clair .ms-tl li.k-renfo, html.clair .ms-tl li.k-pvc { color: var(--ink); }
html.clair .ms-tl li.k-wod { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .ms-plan .k-wod { --k: #D7F57E; }
html.clair .ms-plan .k-a { --k: #A9C1FF; }
html.clair .ms-plan .k-renfo { --k: #9DEBDD; }
html.clair .ms-plan .k-pvc { --k: #CBBBFF; }
html.clair .ms-plan .k-ex { --k: rgba(10, 10, 10, 0.28); }
html.clair .ms-pb { border-top: 1px solid var(--line); }
html.clair .ms-pb > b { color: var(--muted); }
html.clair .ms-pvc li span { color: var(--muted); }
html.clair .ms-noplan { color: var(--faint); }
html.clair .ms-studio a { color: var(--ink); }
html.clair .ms-list .ms-act, html.clair .ms-act { color: var(--accent-ink); background: var(--accent); }
html.clair .ms-list .ms-act.is-done, html.clair .ms-act.is-done { color: var(--muted); background: rgba(10, 10, 10, 0.07); }
html.clair .ms-more { border-top: 1px solid var(--line); }
html.clair .ms-more summary { color: var(--muted); }
html.clair .ms-src { color: var(--muted); }
html.clair .chrono { --h: var(--accent); background: #FFFFFF; }
html.clair .chrono::before { filter: blur(12px); background: radial-gradient(45% 30% at 88% 4%, color-mix(in srgb, var(--h) 30%, transparent), transparent 72%), radial-gradient(50% 32% at 0% 96%, color-mix(in srgb, var(--h) 15%, transparent), transparent 72%); }
html.clair .chr-ttl span { color: var(--faint); }
html.clair .chr-ic { border: 1px solid var(--line-strong); color: var(--muted); background: rgba(10, 10, 10, 0.04); }
html.clair .chr-ic.on { border-color: rgba(215, 245, 126, 0.45); }
html.clair .chr-fmts button { --c: var(--accent); border: 1px solid var(--line-strong); color: var(--muted); }
html.clair .chr-fmts button.on { color: var(--accent-ink); background: var(--c); border-color: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); }
html.clair .chr-from { color: var(--faint); }
html.clair .chr-glass { background: rgba(10, 10, 10, 0.05); border: 1px solid var(--line); }
html.clair .chr-glass > .chr-row + .chr-row { border-top: 1px solid var(--line); }
html.clair .chr-step button { border: 1px solid var(--line-strong); color: var(--muted); }
html.clair .chr-step input { border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.06); color: var(--ink); }
html.clair .chr-sw { background: rgba(10, 10, 10, 0.14); }
html.clair .chr-sw::after { background: #0A0A0A; }
html.clair .chr-sw.on { background: var(--accent); }
html.clair .chr-sw.on::after { background: var(--accent-ink); }
html.clair .chr-big { text-shadow: 0 0 30px color-mix(in srgb, var(--h) 40%, transparent); }
html.clair .chr-sum { color: var(--faint); }
html.clair .chr-pill { color: color-mix(in srgb, var(--h) 52%, #000); background: color-mix(in srgb, var(--h) 13%, transparent); border: 1px solid color-mix(in srgb, var(--h) 35%, transparent); }
html.clair .chr-pill::before { background: var(--h); box-shadow: 0 0 8px var(--h); }
html.clair .chr-tot { color: var(--faint); }
html.clair .chr-lab { color: color-mix(in srgb, var(--h) 52%, #000); }
html.clair .chr-run.is-prep { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .chr-bar { background: rgba(10, 10, 10, 0.08); }
html.clair .chr-bar i { background: var(--h); box-shadow: 0 0 12px var(--h); }
html.clair .chr-round { color: var(--ink); background: color-mix(in srgb, var(--h) 16%, rgba(10, 10, 10, 0.04)); border: 1px solid color-mix(in srgb, var(--h) 50%, transparent); }
html.clair .chr-round small { color: var(--muted); }
html.clair .chr-splits span { background: rgba(10, 10, 10, 0.06); color: var(--muted); }
html.clair .chr-splits span b { color: var(--ink); }
html.clair .chr-ctrl button { border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.05); color: var(--ink); }
html.clair .chr-ctrl button.on { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.5); }
html.clair .chr-k { color: color-mix(in srgb, var(--h) 52%, #000); }
html.clair .chr-facts div { background: rgba(10, 10, 10, 0.045); border: 1px solid var(--line); }
html.clair .chr-facts small { color: var(--faint); }
html.clair .chr-again { border-color: var(--line-strong); color: var(--ink); background: rgba(10, 10, 10, 0.04); }
html.clair .tr-h { color: var(--faint); }
html.clair .tr-resume { background: var(--accent-soft); border: 1px solid rgba(215, 245, 126, 0.35); }
html.clair .tr-resume small { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .tr-x { color: var(--muted); }
html.clair .outline-btn.tr-sm { border-color: var(--line-strong); color: var(--ink); background: rgba(10, 10, 10, 0.04); }
html.clair .tr-fmts button { --c: var(--accent); background: rgba(10, 10, 10, 0.045); border: 1px solid var(--line); color: var(--ink); }
html.clair .tr-fmts button::after { background: var(--c); filter: blur(16px); }
html.clair .tr-fmts i { background: var(--c); box-shadow: 0 0 10px var(--c); }
html.clair .tr-fmts small { color: var(--faint); }
html.clair .tr-tile p { color: var(--muted); }
html.clair .tr-redo { color: var(--faint); }
html.clair .tr-chip { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(10, 10, 10, 0.04); }
html.clair .tr-chip.on { border-color: rgba(215, 245, 126, 0.55); color: color-mix(in srgb, var(--accent) 52%, #000); background: var(--accent-soft); }
html.clair .tr-write textarea { background: transparent; border: 0; outline: 0; color: var(--ink); }
html.clair .tr-hint { color: var(--faint); }
html.clair .tr-part { --k: var(--accent); background: rgba(10, 10, 10, 0.045); border: 1px solid var(--line); }
html.clair .tr-part::before { background: var(--k); box-shadow: 0 0 10px var(--k); }
html.clair .tr-lt { background: rgba(10, 10, 10, 0.07); }
html.clair .tr-part em { color: color-mix(in srgb, var(--k) 52%, #000); }
html.clair .tr-part p { color: var(--muted); }
html.clair .tr-name { color: var(--faint); }
html.clair .tr-name input { background: transparent; border: 0; outline: 0; color: var(--ink); }
html.clair .tr-dots button { background: rgba(10, 10, 10, 0.06); color: var(--faint); border: 1px solid var(--line); }
html.clair .tr-dots button.done { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.35); }
html.clair .tr-dots button.cur { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 16px rgba(215, 245, 126, 0.45); }
html.clair .tr-do { --k: var(--accent); border-left: 3px solid var(--k); }
html.clair .tr-kick { color: color-mix(in srgb, var(--k) 52%, #000); }
html.clair .tr-chk { color: var(--ink); }
html.clair .tr-chk i { border: 1.5px solid var(--line-strong); }
html.clair .tr-chk.on i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html.clair .tr-chk.on span { color: var(--faint); }
html.clair .tr-goal { background: rgba(215, 245, 126, 0.07); border: 1px solid rgba(215, 245, 126, 0.2); color: var(--muted); }
html.clair .tr-goal b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .tr-set { border-top: 1px solid var(--line); color: var(--faint); }
html.clair .tr-set input { border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.06); color: var(--ink); }
html.clair .tr-ok { border: 1.5px solid var(--line-strong); color: var(--faint); }
html.clair .tr-set.on .tr-ok { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html.clair .tr-set.on input { color: color-mix(in srgb, var(--accent) 52%, #000); border-color: rgba(215, 245, 126, 0.3); }
html.clair .tr-rest { background: rgba(169, 193, 255, 0.1); border: 1px solid rgba(169, 193, 255, 0.3); color: #0033B8; }
html.clair .tr-rest button { color: var(--muted); }
html.clair .tr-score { color: var(--muted); }
html.clair .tr-score input { border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.06); color: var(--ink); }
html.clair .tr-okline { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .outline-btn.tr-back { border-color: var(--line-strong); color: var(--ink); background: rgba(10, 10, 10, 0.04); }
html.clair .tr-sum div + div { border-top: 1px solid var(--line); }
html.clair .tr-sum span { color: var(--muted); }
html.clair .tr-range input { accent-color: #D7F57E; }
html.clair .tr-kg { color: color-mix(in srgb, var(--accent) 52%, #000); --h: #D7F57E; }
html.clair .tr-kg small { color: var(--muted); }
html.clair .tr-tab button { background: rgba(10, 10, 10, 0.04); border: 1px solid var(--line); color: var(--ink); }
html.clair .tr-tab small { color: var(--faint); }
html.clair .tr-tab button.on { border-color: rgba(215, 245, 126, 0.5); background: var(--accent-soft); }
html.clair .tr-tab button.on span { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .tr-lb label { color: var(--faint); }
html.clair .tr-lb input { background: transparent; border: 0; outline: 0; color: var(--ink); }
html.clair .tr-lb > b { color: var(--muted); }
html.clair .tr-restpick { color: var(--faint); }
html.clair .tr-restpick button { border: 1px solid var(--line-strong); color: var(--muted); }
html.clair .tr-restpick button.on { color: #0033B8; border-color: rgba(169, 193, 255, 0.5); background: rgba(169, 193, 255, 0.1); }
html.clair .ms-role { color: var(--muted); }
html.clair .hx-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
html.clair .hx-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
html.clair .hx-axis { color: var(--muted); }
html.clair .hx-km polyline { fill: none; }
html.clair .hx-km polyline.mine { stroke: var(--ink); }
html.clair .hx-km polyline.other { stroke: var(--muted); }
html.clair .hx-km circle.mine { fill: color-mix(in srgb, var(--accent) 52%, #000); stroke: var(--ink); }
html.clair .hx-km text { fill: var(--muted); }
html.clair .hx-km-legend { color: var(--muted); }
html.clair .hx-km-legend span::before { border-top: 2.5px solid var(--ink); }
html.clair .hx-km-legend .other::before { border-top: 2.5px dashed var(--muted); }
html.clair .hx-box-row { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
html.clair .hx-box-row.is-me { border-color: var(--ink); }
html.clair .hx-perf-delta { color: var(--muted); }
html.clair .hx-perf-delta b { color: color-mix(in srgb, var(--accent) 52%, #000); }
html.clair .hx-perf-delta b.hx-worse { color: color-mix(in srgb, var(--danger) 52%, #000); }
html.clair .hx-how { color: var(--muted); }
html.clair .set-k { color: var(--muted); }
html.clair .set-chip { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
html.clair .settings.set-links .link-btn { color: var(--muted); text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
html.clair .settings.set-links .link-btn.danger { color: #8D382B; }
html.clair .set-view .theme-row { border-top: 0; }

/* ---------- Finitions à la main (mode-clair-main.css) ---------- */
/* Mode clair « Whiteboard » de l'appli : la touche faite à la main (recopiée à la fin de site/clair.css par
   outils/mode-clair.js). Comme le tableau de la box : blanc pur, traits noirs nets, le lime en aplat et en surligneur. */

/* Un vrai tableau blanc : pas de halos */
html.clair, html.clair body { background: #FFFFFF; }
html.clair body::before { display: none; }
/* Haut de l'écran : pas de bande noire (retour de Mario, 14/11/2026). En clair, index.html demande à l'iPhone une barre
   d'état « default » (heure en noir sur blanc) ; le haut reste blanc comme le reste de la page */
html.clair body::after { background: linear-gradient(#FFFFFF 70%, transparent); }

/* Cartes : blanches, trait noir net, pas de flou */
html.clair .card { background: #FFFFFF; border: 1.5px solid #0A0A0A; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Carte du WOD : blanche, trait noir et ombre franche ; la couleur du jour reste en pastille et en trait */
html.clair .wod { background: #FFFFFF; border: 1.5px solid #0A0A0A; box-shadow: 4px 4px 0 #0A0A0A; }
html.clair .wod::before, html.clair .wod::after { display: none; }
html.clair .wod-day { color: #0A0A0A; text-shadow: none; }
html.clair .wod .wod-session { background: color-mix(in srgb, var(--tc) 40%, #FFFFFF); color: #0A0A0A; }
html.clair .wod .wod-session::before { background: var(--tv); box-shadow: none; }
/* Titre du WOD : sans surligneur (retour de Mario, 14/11/2026 : « pourquoi tu surlignes tout le temps en vert ») */
html.clair .wod-h { background: none; }
html.clair .wod .wod-part { background: #FFFFFF; border: 1px solid rgba(10, 10, 10, .2); }
html.clair .wod .wod-part.is-scored { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
html.clair .wod .wod-part::before { box-shadow: none; background: var(--tv); }
html.clair .wod .wod-part.is-scored::before { background: #0A0A0A; box-shadow: none; }
html.clair .wod .wod-part.is-scored .part-head, html.clair .wod .wod-part.is-max .part-head { color: #0A0A0A; }
html.clair .wod .wod-part .wod-cap { color: #0A0A0A; text-shadow: none; }

/* Boutons principaux : le lime en aplat, trait et ombre noirs */
html.clair .cta { border: 1.5px solid #0A0A0A; box-shadow: 3px 3px 0 #0A0A0A; }
html.clair .cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #0A0A0A; }
html.clair .cta:disabled { box-shadow: none; }

/* Barre d'onglets : blanche, trait et ombre noirs */
html.clair .tabbar { background: #FFFFFF; border: 1.5px solid #0A0A0A; box-shadow: 3px 3px 0 #0A0A0A; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Fonds assombris derrière une feuille : restent sombres */
html.clair .sheet-bg { background: rgba(10, 10, 10, .38); }
/* Feuilles du bas : trait noir en haut */
html.clair .sheet { border-top: 1.5px solid #0A0A0A; }

/* ---------- Profil en clair : le mix « papier quadrillé + ticket de la box + blocs de couleur » (choix de Mario, 14/11/2026,
   maquette docs/maquettes/profil-clair.html, piste 6). Pas de lime ni de dégradé : la carte prend la couleur du palier
   (--m-mid, bronze / argent / or / élite), « Ton profil » et « Tes compétences » la couleur de chaque compétence (data-sk). */
html.clair { --mono: "Azeret Mono", ui-monospace, Menlo, monospace;
  /* Couleurs des compétences « Deux familles » (choix de Mario, 14/11/2026, docs/maquettes/competences-couleurs.html) :
     les charges en bleus (Haltéro, Force), la Gym en turquoise, le moteur en rouges (Endurance, Cardio, Intensité) */
  --sk-gym: #12A39A; --sk-haltero: #1F4FD8; --sk-force: #3A78F2; --sk-endurance: #FF8A73; --sk-cardio: #F2553D; --sk-intensite: #C21F3A; }
html.clair [data-sk="gym"] { --skc: var(--sk-gym); } html.clair [data-sk="haltero"] { --skc: var(--sk-haltero); }
html.clair [data-sk="force"] { --skc: var(--sk-force); } html.clair [data-sk="endurance"] { --skc: var(--sk-endurance); }
html.clair [data-sk="cardio"] { --skc: var(--sk-cardio); } html.clair [data-sk="intensite"] { --skc: var(--sk-intensite); }

/* La carte : papier quadrillé, trait noir, ombre franche, bord perforé comme un ticket */
html.clair .fit { --tier: var(--m-mid, #E6E6E1); border-radius: 16px 16px 4px 4px; border: 1.5px solid #0A0A0A; box-shadow: 4px 4px 0 #0A0A0A;
  background: linear-gradient(rgba(10, 10, 10, .06) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(10, 10, 10, .06) 1px, transparent 1px) 0 0 / 14px 14px, #FFFFFF; }
html.clair .fit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; pointer-events: none;
  background: radial-gradient(circle at 6px 7px, #FFFFFF 4px, #0A0A0A 4px, #0A0A0A 5.5px, transparent 5.5px) 0 0 / 12px 7px repeat-x; }
/* Écritures « ticket » : police machine à écrire */
html.clair .fit-id { border-bottom: 1.5px dashed #0A0A0A; }
html.clair .fit-name { font-family: var(--mono); font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
html.clair .fit-box, html.clair .fit .ac-brand { font-family: var(--mono); font-size: 11px; }
html.clair .fit-face { background: var(--tier); border: 1.5px solid #0A0A0A; }
html.clair .fit-label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #0A0A0A; }
html.clair .fit-arrow { color: #0A0A0A; }
html.clair .fit-value { font-family: var(--dot); font-weight: 900; font-size: 104px; letter-spacing: .02em; color: #0A0A0A; margin-top: 10px; }
html.clair .fit-delta, html.clair .fit-trust, html.clair #fit-world, html.clair .fs-goal { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: rgba(10, 10, 10, .7); }
/* Le palier : un bloc plein de sa couleur, trait noir, « PALIER · OR II » */
html.clair .fit .fit-badge, html.clair .fit[data-tier] .fit-badge { border-radius: 2px; background: var(--tier); color: #0A0A0A; border: 1.5px solid #0A0A0A; box-shadow: none; animation: none;
  font-family: var(--mono); font-weight: 500; letter-spacing: .1em; }
html.clair .fit[data-tier] .fit-badge::before { content: "Palier · "; }
/* La courbe : trait noir, points noirs, aujourd'hui dans la couleur du palier */
html.clair .neon-halo, html.clair .bead-glow { display: none; }
html.clair .neon-line { stroke: #0A0A0A; stroke-width: 2.5; }
html.clair .neon-pt { fill: #0A0A0A; }
html.clair .neon-empty { stroke: rgba(10, 10, 10, .3); }
html.clair .bead { filter: none; fill: var(--tier, #FFFFFF); stroke: #0A0A0A; stroke-width: 2.5; }
html.clair .neon-tick { fill: rgba(10, 10, 10, .55); font-family: var(--mono); }
/* L'échelle des niveaux : des cases nettes */
html.clair .fs-seg { border-radius: 0; opacity: .3; box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .45); }
html.clair .fs-seg.is-on { opacity: 1; box-shadow: inset 0 0 0 1px #0A0A0A; }
html.clair .fs-seg i { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; color: rgba(10, 10, 10, .55); }
html.clair .fs-seg.is-on i, html.clair .fs-goal strong { color: #0A0A0A; }
html.clair .fs-mark { background: #0A0A0A; box-shadow: none; border-radius: 0; }
html.clair .trust-dots i { border-radius: 0; background: rgba(10, 10, 10, .15); }
html.clair .trust-dots i.on { background: #0A0A0A; box-shadow: none; }
html.clair .fit .outline-btn { border-radius: 4px; border: 1.5px solid #0A0A0A; color: #0A0A0A; background: #FFFFFF; font-family: var(--mono); box-shadow: 2px 2px 0 #0A0A0A; }

/* « Ton profil » et « Tes compétences » : des blocs gris doux, sans trait, et la couleur de chaque compétence */
/* Panneaux du profil : blancs au trait noir, comme les autres cartes (Mario : « trop de fond crème ») */
html.clair .view[data-view="profile"] .card { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
/* Point fort / à travailler : un simple contour (choix de Mario, 14/11/2026), franc pour le point fort, pâle pour l'autre */
html.clair .duo > div { border: 2px solid #0A0A0A; border-radius: 14px; background: #FFFFFF; color: #0A0A0A; }
html.clair .duo .up { background: #FFFFFF; border-color: var(--tierc, #0A0A0A); border-width: 2.5px; }
html.clair .duo .down { background: #FFFFFF; border-color: rgba(10, 10, 10, .3); }
html.clair .duo small, html.clair .duo strong { font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
html.clair .duo small, html.clair .duo p { color: rgba(10, 10, 10, .7); }
html.clair .duo b { color: #0A0A0A; }
/* Les anneaux et leur légende : une couleur par compétence */
/* Anneaux fins « encre » (choix de Mario, 14/11/2026, docs/maquettes/ton-profil-3.html) : du plus franc (la meilleure
   compétence) au plus pâle ; app.js donne le rang par la couleur écrite dans le SVG (RING_SHADES) */
html.clair .rg-arc { stroke-width: 4; } html.clair .rg-track { stroke-width: 4; stroke: rgba(10, 10, 10, .08); stroke-dasharray: none; }
html.clair .rg-arc[stroke="#FFFFFF"] { stroke: var(--tierc); } html.clair .rg-list i[style*="#FFFFFF"] { background: var(--tierc) !important; box-shadow: 0 0 0 1px rgba(10, 10, 10, .5); }
html.clair .rg-arc[stroke="#CFE4F8"] { stroke: rgba(10, 10, 10, .78); } html.clair .rg-list i[style*="#CFE4F8"] { background: rgba(10, 10, 10, .78) !important; }
html.clair .rg-arc[stroke="#9CC6EE"] { stroke: rgba(10, 10, 10, .6); } html.clair .rg-list i[style*="#9CC6EE"] { background: rgba(10, 10, 10, .6) !important; }
html.clair .rg-arc[stroke="#6AA3DE"] { stroke: rgba(10, 10, 10, .45); } html.clair .rg-list i[style*="#6AA3DE"] { background: rgba(10, 10, 10, .45) !important; }
html.clair .rg-arc[stroke="#3F7EC7"] { stroke: rgba(10, 10, 10, .33); } html.clair .rg-list i[style*="#3F7EC7"] { background: rgba(10, 10, 10, .33) !important; }
html.clair .rg-arc[stroke="#2457A3"] { stroke: rgba(10, 10, 10, .24); } html.clair .rg-list i[style*="#2457A3"] { background: rgba(10, 10, 10, .24) !important; }
html.clair .rg-mid { color: #0A0A0A; }
html.clair .rg-list span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: rgba(10, 10, 10, .75); }
html.clair .rg-list .best span { color: #0A0A0A; }
html.clair .rg-list b, html.clair .rg-list .best b, html.clair .skf-top b { color: #0A0A0A; background: none; }
html.clair .rg-list .best b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
html.clair .skf-src li.low b { color: #B4500C; }
/* Les jauges des compétences : des barres en tirets, de la couleur de la compétence */
html.clair .skf { background: #FFFFFF; }
html.clair .skf-name { font-family: var(--mono); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
html.clair .skf[data-sk] .skf-name::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 2px; background: var(--skc); }
html.clair .skf-bar { height: 12px; border-radius: 0; background: repeating-linear-gradient(90deg, rgba(10, 10, 10, .1) 0 4px, transparent 4px 6px); }
html.clair .skf-bar em { border-radius: 0; background: repeating-linear-gradient(90deg, var(--skc, #0A0A0A) 0 4px, transparent 4px 6px); }
/* « Point fort » / « À travailler » dans la liste : la couleur de la compétence, pas de lime */
html.clair .skf-tag.best, html.clair .skf-tag.low { border-radius: 2px; color: #0A0A0A; font-family: var(--mono); background: color-mix(in srgb, var(--skc, #E6E6E1) 35%, #FFFFFF); border: 1px solid #0A0A0A; }

/* ---------- Relecture de l'appli en clair (14/11/2026) ---------- */
/* Le logo (images blanches) : en noir */
/* (!important : des règles plus précises leur remettent une lueur blanche, ex. le démarrage) */
html.clair .brand-mark, html.clair .top-sigle, html.clair .in-word, html.clair .welcome-word, html.clair img[src*="logo-"] { filter: brightness(0) !important; }
/* Textes secondaires un peu plus foncés (contraste) */
html.clair { --faint: rgba(10, 10, 10, .5); --muted: rgba(10, 10, 10, .62); }
/* Badges de palier hors profil (carte d'athlète, HYROX) : le métal d'origine, sans lueur, trait noir */
html.clair .athlete-card[data-tier] .ac-tier, html.clair .hx-tier { box-shadow: 0 0 0 1.5px #0A0A0A; }
/* Pastilles de palier des succès */
html.clair .sxb-tier { color: #1A1206; box-shadow: none; border: 1.5px solid #0A0A0A; }
html.clair .sxb-tier.none { border: 0; color: var(--muted); }
/* Tous les boutons principaux pareils : lime, trait et ombre noirs */
html.clair .wod #open-entry:not(.is-done), html.clair .cel-pill, html.clair .fil-fab { background: #D7F57E; border: 1.5px solid #0A0A0A; box-shadow: 3px 3px 0 #0A0A0A; }
html.clair .cta svg { stroke: #D7F57E; }
/* Chiffres en points : noirs */
html.clair #goal-out strong, html.clair .sxb-big, html.clair .sxb-big small, html.clair b.dot, html.clair .guide-mark, html.clair .guide-bar i b,
html.clair .chr-run.is-prep, html.clair .ms-code, html.clair .mv-n, html.clair .row:nth-child(1) .rank, html.clair .cp-kpis b { color: #0A0A0A; text-shadow: none; }
html.clair .sxb-big { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
/* Plus de halos ni de lueurs sur le blanc */
html.clair .sxb, html.clair .fp-wod, html.clair .wb-invite, html.clair .sx-w, html.clair .cel, html.clair .guide, html.clair .pg-ask-hero, html.clair .tp-card, html.clair .ms-tile, html.clair .time input { background-image: none; }
html.clair .in-tile::before, html.clair .pg-ask-hero::before, html.clair .chrono::before { display: none; }
html.clair .chr-big, html.clair .cel-hero b, html.clair .in-title em { text-shadow: none; }
html.clair .sxb-bar i, html.clair .lv.plus, html.clair .club-bar i, html.clair .box-dot, html.clair .bell-count, html.clair .sx-dots i.me, html.clair .chr-bar i { box-shadow: none; }
html.clair .ms-curve polyline, html.clair .sx-ring circle.on, html.clair .pg-ring circle.on, html.clair .fit-curve .neon-line { filter: none; }
html.clair .in-phone, html.clair .in-studio, html.clair .in-shot { box-shadow: 4px 4px 0 #0A0A0A; border: 1.5px solid #0A0A0A; }
/* Courbe « Historique » de Bien joué (couleurs écrites dans le SVG) */
html.clair .sx-curve text { fill: rgba(10, 10, 10, .5); }
html.clair .sx-curve path[stroke^="rgba(255"] { stroke: rgba(10, 10, 10, .1); }
html.clair .sx-curve circle[fill="#fff"] { fill: #0A0A0A; }
html.clair .sx-caps i.now { background: var(--c); box-shadow: inset 0 0 0 1.5px #0A0A0A; }
/* Ronds de palier autour des visages du whiteboard */
html.clair .wb-rows .face.tier { box-shadow: 0 0 0 2px var(--m); }
html.clair .wb-rows .face.tier.argent { --m: #B8C4D0; } html.clair .wb-rows .face.tier.bronze { --m: #E8642A; }
html.clair .wb-rows .face.tier.or { --m: #FFD000; } html.clair .wb-rows .face.tier.elite { --m: #6C4CF5; }
/* Échelle des paliers : lisible */
html.clair .fs-seg { opacity: .6; } html.clair .fs-seg.is-on { opacity: 1; }
html.clair .guide-bar span { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .18); }
html.clair .sx-thin em { color: rgba(10, 10, 10, .45); }
/* Fonds teintés de lime → blanc au trait noir (le lime reste pour les boutons) */
html.clair .club-bar, html.clair .goal, html.clair .wb-invite, html.clair .in-how, html.clair .comp-found, html.clair .ms-studio, html.clair .chr-round { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
html.clair .outline-btn, html.clair .outline-btn.max-cta { background: #FFFFFF; border: 1.5px solid #0A0A0A; color: #0A0A0A; }
html.clair .wod-link { background: #FFFFFF; border: 1px solid #0A0A0A; color: #0A0A0A; }
/* Cartes : toutes blanches */
html.clair .in-stats li, html.clair .in-feats.is-grid li, html.clair .in-prod, html.clair .in-flow li, html.clair .fp, html.clair .in-tile, html.clair .tr-tile, html.clair .ms-plan, html.clair .ms-kpis > div { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
html.clair .guide-steps div, html.clair .guide-more, html.clair .guide-todo li, html.clair .guide-cards p, html.clair .chr-glass, html.clair .blk { background: #FFFFFF; border: 1px solid rgba(10, 10, 10, .22); }
/* Jamais de lime écrit en texte */
html.clair .in-title em, html.clair .in-h2 em, html.clair .in-final h2 em, html.clair .guide-hero h2 em, html.clair .ct-goal strong, html.clair .wb-sep.plus, html.clair .cel-hero small { color: #0A0A0A; }
html.clair .tab.is-on { color: #FFFFFF; background: #0A0A0A; }
/* Petites marques lime : cernées de noir pour se voir */
html.clair .ctm .pile i.on { background: #0A0A0A; box-shadow: none; }
html.clair .ctm.now .pile i.on { background: #D7F57E; box-shadow: inset 0 0 0 1px #0A0A0A; }
html.clair .sx-dots i.me, html.clair .club-bar i, html.clair .box-dot, html.clair .wb-hint i { box-shadow: 0 0 0 1px #0A0A0A; }
html.clair .cel-fit .sx-scale::after { background: repeating-linear-gradient(90deg, #0A0A0A 0 1px, transparent 1px 6px); }
/* Cases à remplir : blanches, bien visibles */
html.clair .field input, html.clair .field textarea, html.clair .chr-step input, html.clair .mu-sets input { background: #FFFFFF; border: 1px solid rgba(10, 10, 10, .25); }
html.clair .bell.has-new { border-color: #0A0A0A; }
html.clair .toast { border: 1.5px solid #0A0A0A; box-shadow: 3px 3px 0 #0A0A0A; }

/* ---------- Couleurs des paliers : « Médailles vives », l'Élite en violet (choix de Mario, 14/11/2026, maquette
   docs/maquettes/paliers.html). En aplat partout (carte Fit Level, carte d'athlète, HYROX, succès), texte foncé, blanc sur le
   violet. (#111111 et #FAFAFA : écrits ainsi pour que le Darkboard ne les retourne pas.) ---------- */
html.clair :is(.fit, .athlete-card, .hx-tier)[data-tier="bronze"] { --m-mid: #E8642A; --m-ink: #111111; }
html.clair :is(.fit, .athlete-card, .hx-tier)[data-tier="argent"] { --m-mid: #B8C4D0; --m-ink: #111111; }
html.clair :is(.fit, .athlete-card, .hx-tier)[data-tier="or"] { --m-mid: #FFD000; --m-ink: #111111; }
html.clair :is(.fit, .athlete-card, .hx-tier)[data-tier="elite"] { --m-mid: #6C4CF5; --m-ink: #FAFAFA; }
html.clair .fit[data-tier] .fit-badge, html.clair .fit[data-tier] .fit-face { color: var(--m-ink); }
html.clair .athlete-card[data-tier] .ac-tier, html.clair .hx-tier[data-tier] { background: var(--m-mid); color: var(--m-ink); animation: none; }
html.clair .sxb-tier.bronze { --t: #E8642A; } html.clair .sxb-tier.argent { --t: #B8C4D0; } html.clair .sxb-tier.or { --t: #FFD000; }
html.clair .sxb-tier.elite { --t: #6C4CF5; color: #FAFAFA; }

/* Chrono & ma séance (bas du whiteboard) : carte au trait noir, pastilles au trait, chiffre en encre */
html.clair .wb-train { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
html.clair .wbt-clock { color: #0A0A0A; text-shadow: none; }
html.clair .wbt-fmts button { background: #FFFFFF; border: 1.5px solid #0A0A0A; }
html.clair .wbt-fmts i { box-shadow: 0 0 0 1px #0A0A0A; }
html.clair .wbt-write { border: 1.5px solid #0A0A0A; box-shadow: 2px 2px 0 #0A0A0A; }
html.clair .wbt-all { background: #FFFFFF; border: 1.5px solid #0A0A0A; }

/* Rangs des compètes (Perfs → Mes compètes) : la 2e place était noire sur noir en clair (sa couleur d'argent, presque
   grise, était retournée en noir par l'outil) ; les médailles gardent leur couleur, sans lueur, au trait net */
html.clair .comp-rank.is-m2 { --m: #DCEAF7; }
html.clair .comp-rank[class*="is-m"] { box-shadow: 0 0 0 1.5px #0A0A0A; }
html.clair .comp-rank[class*="is-m"] small { color: rgba(11, 13, 6, .65); }
/* Présentation détaillée (17/11/2026) : le dashed de « bientôt », le nom des produits en encre */
html.clair .in-prod.is-soon { border-style: dashed; }
html.clair .in-prod-go { background: #FFFFFF; border: 1.5px solid #0A0A0A; color: #0A0A0A; }
