.bcs-challenge{--bcs-ink:#171717;--bcs-muted:#5e636a;--bcs-border:#e5e7eb;--bcs-bg:#f7f8fa;max-width:1200px;margin:1.5rem auto;color:var(--bcs-ink);font-family:inherit;font-size:16px}
.bcs-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px;flex-wrap:wrap}
.bcs-eyebrow{font-size:12px!important;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#b4232c;margin:0 0 7px!important}
.bcs-heading h2{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:750;line-height:1.17;margin:0 0 9px}
.bcs-heading p:not(.bcs-eyebrow){max-width:700px;color:var(--bcs-muted);margin:0;line-height:1.5}
.bcs-play{display:inline-block;background:#202020;color:white!important;padding:11px 16px;text-decoration:none!important;border-radius:6px;font-size:14px;font-weight:700;white-space:nowrap}
.bcs-play:hover,.bcs-play:focus{background:#aa2831;color:white!important}
.bcs-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 20px;padding:13px 16px;border:1px solid var(--bcs-border);background:var(--bcs-bg);border-radius:7px;color:var(--bcs-muted);font-size:14px}
.bcs-meta strong{color:var(--bcs-ink)}
.bcs-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.bcs-board{border:1px solid var(--bcs-border);border-radius:8px;overflow:hidden;background:white;box-shadow:0 2px 9px rgba(0,0,0,.025)}
.bcs-board h3{font-size:18px!important;font-weight:700;margin:0!important;padding:17px 18px;background:var(--bcs-bg);border-bottom:1px solid var(--bcs-border)}
.bcs-scroll{overflow-x:auto}
.bcs-board table{border-collapse:collapse!important;width:100%!important;margin:0!important;font-size:14px!important;border:0!important}
.bcs-board thead th{font-size:12px!important;color:var(--bcs-muted);text-transform:uppercase;letter-spacing:.04em;background:white!important;font-weight:650}
.bcs-board th,.bcs-board td{padding:11px 13px!important;border:0!important;border-bottom:1px solid var(--bcs-border)!important;text-align:left!important;vertical-align:middle}
.bcs-board tr:last-child td{border-bottom:0!important}
.bcs-board tbody tr:nth-child(even){background:#fafafa}
.bcs-number{width:52px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--bcs-muted)}
.bcs-score{width:80px;font-weight:750;font-size:16px;font-variant-numeric:tabular-nums;text-align:right!important}
.bcs-board thead th:last-child{text-align:right!important}
.bcs-board a{color:#a12831!important;text-decoration:none!important;overflow-wrap:anywhere}
.bcs-board a:hover,.bcs-board a:focus{text-decoration:underline!important}
.bcs-empty{text-align:center!important;color:var(--bcs-muted)!important}
.bcs-footnote,.bcs-status{color:var(--bcs-muted);font-size:12px!important;line-height:1.5;margin:12px 0 0!important}
@media(max-width:720px){.bcs-boards{grid-template-columns:1fr}.bcs-heading{align-items:flex-start}.bcs-board th,.bcs-board td{padding:10px!important}}
/* V1.1 — consignes et demandes d'inscription, sans toucher aux tableaux V1.0 */
.bcs-onboard{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px;margin:0 0 22px}
.bcs-instructions,.bcs-signup{border:1px solid var(--bcs-border);background:#fff;border-radius:8px;padding:18px;min-width:0}
.bcs-instructions h3,.bcs-signup h3{font-size:17px!important;margin:0 0 12px!important;line-height:1.3;font-weight:700}
.bcs-instructions p,.bcs-signup p{font-size:14px;line-height:1.55;margin:0 0 12px}
.bcs-instructions .bcs-frequency{border-top:1px solid var(--bcs-border);padding-top:12px;margin-bottom:0;color:var(--bcs-muted)}
.bcs-signup label{display:block;font-size:13px;font-weight:650;margin-bottom:6px}
.bcs-signup-input input{display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #afb5bd;border-radius:5px;min-height:43px;padding:8px 10px;background:white;color:var(--bcs-ink);font:inherit;font-size:14px}
.bcs-signup .bcs-consent{display:flex;align-items:flex-start;gap:8px;margin:13px 0 12px;font-weight:400;line-height:1.5;font-size:12px}
.bcs-signup .bcs-consent input{flex:none;margin:3px 0 0;accent-color:#a12831}
.bcs-signup .bcs-submit{background:#a12831;color:white;border:0;border-radius:5px;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer}
.bcs-signup .bcs-submit:hover,.bcs-signup .bcs-submit:focus{background:#802028;color:white}
.bcs-signup .bcs-form-note{color:var(--bcs-muted);font-size:12px;margin:10px 0 0}
.bcs-signup .bcs-feedback{background:#f4f5f7;border-left:3px solid #535b62;padding:9px 12px;margin:0 0 14px}
.bcs-signup .bcs-feedback-error{border-left-color:#a12831}
.bcs-signup .bcs-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:720px){.bcs-onboard{grid-template-columns:1fr;gap:12px}.bcs-instructions,.bcs-signup{padding:15px}}

/* V1.2 — weekly records matrix */
.bcs-history .bcs-sort-note,.bcs-history-legend{padding:12px 16px;margin:0;font-size:13px;line-height:1.5;color:#5e636a}
.bcs-history .bcs-scroll{max-width:100%;isolation:isolate}
.bcs-history table{width:max-content!important;min-width:100%;table-layout:auto}
.bcs-history th,.bcs-history td{white-space:nowrap;font-variant-numeric:tabular-nums}
.bcs-history .bcs-rank-fixed{position:sticky;left:0;min-width:48px;width:48px;box-sizing:border-box;z-index:2;background:#fff}
.bcs-history .bcs-name-fixed{position:sticky;left:48px;min-width:150px;max-width:210px;white-space:normal;z-index:2;background:#fff;box-shadow:3px 0 5px #0000000a}
.bcs-history tbody tr:nth-child(even) .bcs-rank-fixed,.bcs-history tbody tr:nth-child(even) .bcs-name-fixed{background:#fafafa}
.bcs-history .bcs-week-score{text-align:center!important;min-width:155px;font-weight:650}
.bcs-history .bcs-record{font-weight:800;font-size:17px;min-width:90px}
.bcs-history .bcs-selected{background:#fff3e5!important}
.bcs-history .bcs-up{color:#13763b}
.bcs-history .bcs-down{color:#ba2632}
.bcs-history .bcs-equal{color:#64686e}
.bcs-history small{display:block;margin-top:5px;font-weight:400;letter-spacing:0;text-transform:none}
.bcs-history thead th{text-align:center!important}
.bcs-history thead a{display:inline-block;padding:5px 0;text-decoration:underline!important}
.bcs-history .bcs-scroll:focus-visible{outline:2px solid #a12831;outline-offset:-2px}
@media(max-width:480px){.bcs-history .bcs-name-fixed{min-width:115px;max-width:130px;font-size:12px}.bcs-history .bcs-week-score{min-width:145px}}
