/* Casual FC Live */
.cfcm{--g:#17402F;--g2:#21573F;--cr:#F1EEE6;--bg:#F1EEE6;--card:#fff;--ink:#141414;--mute:#5F625C;--line:#dcd7ca;--soft:#E7E3D9;--live:#E8833A;--win:#2f7a4a;font:16px/1.5 "Space Grotesk",system-ui,sans-serif;color:var(--ink);max-width:1240px;margin:24px auto;padding:0 16px}
.cfcm *{box-sizing:border-box;min-width:0}
.cfcm h1,.cfcm h2,.cfcm h3{font-family:"Barlow Condensed",sans-serif;font-weight:700;text-transform:uppercase;line-height:1.05;margin:0;color:inherit}
.cfcm button{font-family:inherit;text-transform:none;letter-spacing:normal;box-shadow:none;line-height:1.2}
.cfcm-load{padding:60px 0;text-align:center;color:var(--mute)}
.cfcm .top{background:var(--g);color:var(--cr);border-radius:16px 16px 0 0;padding:20px 24px;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;justify-content:space-between}
.cfcm .top h1{font-size:32px;color:var(--cr)}
.cfcm .top small{display:block;color:rgba(241,238,230,.8);font-size:14px}
.cfcm .save{font-size:14px;opacity:.85}.cfcm .save.err{color:#ffb4a8;opacity:1}
.cfcm .bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-top:0;padding:12px 16px}
.cfcm select,.cfcm input,.cfcm textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:10px;min-height:44px;padding:6px 10px}
.cfcm select{-webkit-appearance:none;appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317402F' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
.cfcm .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-weight:500;cursor:pointer;text-decoration:none}
.cfcm .btn.pri{background:var(--g);border-color:var(--g);color:var(--cr)}
.cfcm .btn.warn{color:#b3261e}
.cfcm .btn:disabled{opacity:.45;cursor:not-allowed}
.cfcm :focus-visible{outline:3px solid #5fd393;outline-offset:2px}
.cfcm .tabs{display:flex;gap:4px;overflow-x:auto;background:var(--card);border:1px solid var(--line);border-top:0;padding:8px 10px}
.cfcm .tabs button{border:0;background:none;padding:10px 14px;border-radius:999px;cursor:pointer;font-weight:500;white-space:nowrap;color:var(--ink)}
.cfcm .tabs button[aria-selected=true]{background:var(--g);color:var(--cr)}
.cfcm .tabs b{display:inline-block;min-width:20px;height:20px;border-radius:99px;background:var(--soft);color:var(--g);font-size:12px;line-height:20px;text-align:center;margin-left:6px}
.cfcm .view{background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;padding:22px}
.cfcm .view h2{font-size:28px;margin-bottom:6px}
.cfcm .sub{color:var(--mute);font-size:14px;margin:0 0 14px}
.cfcm .row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 12px}
.cfcm label.f{display:block;font-size:14px;color:var(--mute);margin:0 0 12px}
.cfcm label.f input,.cfcm label.f select,.cfcm label.f textarea{display:block;width:100%;margin-top:4px}
.cfcm .grid2{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 14px}
.cfcm .eqs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;margin:10px 0 16px}
.cfcm .eq{display:flex;gap:6px;align-items:center}
.cfcm .eq input{flex:1}
.cfcm .x{border:0;background:none;cursor:pointer;color:var(--mute);font-size:20px;min-width:40px;min-height:40px}
.cfcm .pools{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.cfcm .pool{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--bg)}
.cfcm .pool h3{background:var(--g);color:var(--cr);font-size:20px;padding:10px 14px}
.cfcm .pool ul{list-style:none;margin:0;padding:8px 10px}
.cfcm .pool li{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:4px 0;border-bottom:1px solid var(--line)}
.cfcm .pool li:last-child{border:0}
.cfcm .pool li select{min-height:36px;font-size:14px;padding:2px 30px 2px 8px;max-width:120px}
.cfcm table{width:100%;border-collapse:collapse;font-size:15px;margin:0}
.cfcm th,.cfcm td{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left;background:none}
.cfcm th{font-size:13px;color:var(--mute);font-weight:500}
.cfcm td.n,.cfcm th.n{text-align:center;white-space:nowrap}
.cfcm .slot td{background:var(--soft);font-weight:600;font-size:14px}
.cfcm .ph{color:var(--mute);font-style:italic}
.cfcm .note{background:#fff7f0;border:1px solid #f0c9a8;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-size:15px}
.cfcm .ok{background:#eef7f1;border-color:#b9dcc6}
/* matchs */
.cfcm .ms{display:grid;gap:10px}
.cfcm .m{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:var(--card)}
.cfcm .m .meta{font-size:13px;color:var(--mute);line-height:1.3}
.cfcm .m .meta b{display:block;font-size:20px;color:var(--ink);font-family:"Barlow Condensed";font-weight:700}
.cfcm .m .tm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center}
.cfcm .m .tm span{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfcm .m .tm span.w{color:var(--win);font-weight:700}
.cfcm .m .tm i{font-style:normal;font:700 24px/1 "Barlow Condensed";min-width:28px;text-align:right}
.cfcm .m.live{border-color:var(--live);box-shadow:0 0 0 2px rgba(232,131,58,.25)}
.cfcm .m .lbl{grid-column:1/-1;font-size:12px;color:var(--mute);text-transform:uppercase;letter-spacing:.04em;margin-bottom:-6px}
.cfcm .badge{display:inline-flex;align-items:center;gap:6px;background:var(--live);color:#fff;border-radius:99px;padding:3px 10px;font-size:13px;font-weight:600}
.cfcm .badge:before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;animation:cfcmp 1.4s infinite}
@keyframes cfcmp{50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.cfcm .badge:before{animation:none}}
.cfcm .stp{display:inline-flex;align-items:center;gap:4px}
.cfcm .stp button{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:var(--bg);font-size:22px;cursor:pointer;color:var(--ink)}
.cfcm .stp output{min-width:36px;text-align:center;font:700 28px/1 "Barlow Condensed"}
.cfcm .ed{grid-template-columns:92px minmax(0,1fr)}
.cfcm .ed .tm{grid-template-columns:minmax(0,1fr) auto}
.cfcm .ed .act{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cfcm .tab-in{display:flex;gap:6px;align-items:center;font-size:14px;color:var(--mute)}
.cfcm .tab-in input{width:64px;min-height:40px;text-align:center}
/* tableau final */
.cfcm .br{display:flex;gap:18px;overflow-x:auto;padding-bottom:8px}
.cfcm .col{flex:1 0 220px;display:flex;flex-direction:column;justify-content:space-around;gap:12px}
.cfcm .col h3{font-size:18px;color:var(--g);text-align:center}
.cfcm .bm{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden;font-size:15px}
.cfcm .bm .h{font-size:12px;color:var(--mute);padding:6px 10px;background:var(--soft);display:flex;justify-content:space-between}
.cfcm .bm .t{display:flex;justify-content:space-between;gap:8px;padding:7px 10px;border-top:1px solid var(--line)}
.cfcm .bm .t:first-of-type{border-top:0}
.cfcm .bm .t b{font-family:"Barlow Condensed";font-size:20px}
.cfcm .bm .t.w{background:#eef7f1;font-weight:700}
.cfcm .bm.live{border-color:var(--live)}
/* partage */
.cfcm .share{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.cfcm .card{border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--bg)}
.cfcm .card h3{font-size:22px;margin-bottom:6px}
.cfcm .qr{background:#fff;border-radius:10px;padding:10px;width:180px;margin:10px 0}
.cfcm .qr svg{width:100%;height:auto;display:block}
.cfcm .code{font:700 40px/1 "Barlow Condensed";letter-spacing:.12em;color:var(--g);margin:6px 0}
.cfcm .url{font-size:13px;word-break:break-all;color:var(--mute)}
.cfcm dialog{border:0;border-radius:16px;padding:22px;max-width:460px;width:calc(100% - 32px)}
.cfcm dialog::backdrop{background:rgba(10,20,15,.55)}
.cfcm .toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%) translateY(20px);background:var(--g);color:var(--cr);padding:12px 18px;border-radius:12px;opacity:0;transition:.25s;pointer-events:none;z-index:99999;max-width:calc(100% - 32px)}
.cfcm .toast.on{opacity:1;transform:translateX(-50%)}
.cfcm [hidden]{display:none!important}
/* public */
.cfcm-pub .head{background:var(--g);color:var(--cr);border-radius:16px;padding:22px 24px;display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;margin-bottom:14px}
.cfcm-pub .head h1{font-size:clamp(28px,4vw,44px);color:var(--cr)}
.cfcm-pub .head small{color:rgba(241,238,230,.8)}
.cfcm-pub .ptabs{display:flex;gap:6px;margin:0 0 14px;overflow-x:auto}
.cfcm-pub .ptabs button{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:10px 16px;cursor:pointer;font-weight:500;color:var(--ink);white-space:nowrap}
.cfcm-pub .ptabs button[aria-selected=true]{background:var(--g);color:var(--cr);border-color:var(--g)}
.cfcm-pub section h2{font-size:24px;margin:18px 0 10px}
.cfcm-pub .qual td:first-child{box-shadow:inset 4px 0 0 var(--win)}
.cfcm-pub .lst{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.cfcm-pub .lst a{display:block;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--ink);text-decoration:none}
.cfcm-pub .lst a b{display:block;font:700 22px "Barlow Condensed";text-transform:uppercase}
@media(max-width:600px){.cfcm .m{grid-template-columns:64px minmax(0,1fr)}.cfcm .m .meta b{font-size:17px}.cfcm .view{padding:16px}.cfcm .hide-s{display:none}}
/* ===== Match live ===== */
.cfcm .tabs button[aria-selected=true],.cfcm .subtabs button[aria-selected=true]{background:var(--g);color:var(--cr)}
.cfcm .subtabs{display:flex;gap:6px;margin:6px 0 18px;overflow-x:auto}
.cfcm .subtabs button{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:9px 16px;cursor:pointer;font-weight:500;color:var(--ink);white-space:nowrap}
.cfcm .view>.row select{max-width:320px}
.cfcm h2{font-size:24px;margin:22px 0 8px}
.cfcm h2 small{font-family:"Space Grotesk";font-size:14px;color:var(--mute);text-transform:none}
.cfcm .eqhead{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap;margin:12px 0}
.cfcm .crest{width:110px;height:110px;border-radius:16px;border:2px dashed var(--line);background:var(--bg);cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--mute);font-weight:600;padding:6px}
.cfcm .crest img{max-width:100%;max-height:100%;object-fit:contain}
.cfcm input[type=color]{padding:4px;height:44px}
.cfcm .players{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px;margin:10px 0 18px}
.cfcm .pc{display:flex;gap:10px;border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--bg)}
.cfcm .pc .ph{flex:none;width:76px;height:96px;border-radius:10px;border:0;background:var(--g);color:var(--cr);cursor:pointer;overflow:hidden;padding:0;font:700 30px "Barlow Condensed"}
.cfcm .pc .ph img{width:100%;height:100%;object-fit:cover}
.cfcm .pf{display:grid;gap:6px;flex:1}
.cfcm .pf input,.cfcm .pf select{min-height:38px;font-size:15px;padding:4px 8px;width:100%}
.cfcm .r2{display:flex;gap:6px;align-items:center}
.cfcm .slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 12px}
.cfcm .cm-q{font-weight:600;margin:14px 0 6px}
.cfcm .pls{display:flex;flex-wrap:wrap;gap:6px}
.cfcm .pl{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:8px 12px;cursor:pointer;min-height:44px;color:var(--ink);font-size:15px}
.cfcm .pl b{font:700 20px "Barlow Condensed";color:var(--g);min-width:22px}
.cfcm .pl.on{background:var(--g);color:var(--cr);border-color:var(--g)}.cfcm .pl.on b{color:var(--cr)}
.cfcm .cm-free{min-height:44px}
.cfcm .ck{display:flex;gap:8px;align-items:center;cursor:pointer}
.cfcm .ck input{width:20px;height:20px;min-height:auto}
/* console */
.cfcm .cm-board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px 14px;align-items:center;background:var(--p,#17402F);color:#fff;border-radius:16px;padding:16px 18px}
.cfcm .cm-board .t{font:700 22px/1.1 "Barlow Condensed";text-transform:uppercase}
.cfcm .cm-board .t.r{text-align:right}
.cfcm .cm-board .sc{font:700 48px/1 "Barlow Condensed"}
.cfcm .cm-min{grid-column:1/-1;text-align:center;font-weight:600;opacity:.9}
.cfcm .cm-st{margin:12px 0}
.cfcm .badge.s-avant,.cfcm .badge.s-fin,.cfcm .badge.s-mt{background:var(--mute)}.cfcm .badge.s-avant:before,.cfcm .badge.s-fin:before,.cfcm .badge.s-mt:before{display:none}
.cfcm .cm-acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:12px 0}
.cfcm .act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:84px;border-radius:14px;border:1px solid var(--line);background:var(--card);cursor:pointer;font-weight:600;color:var(--ink);font-size:15px;padding:8px}
.cfcm .act span{font-size:26px}
.cfcm .act.a-but.c-nous{background:var(--g);color:var(--cr);border-color:var(--g)}
.cfcm .act.a-but.c-eux{background:#3a3f3b;color:#fff}
.cfcm .cm-panel{border:2px solid var(--g);border-radius:16px;padding:16px;margin:12px 0;background:var(--card)}
.cfcm .btn.big{min-height:54px;font-size:17px;padding:0 22px}
.cfcm .btn.sm{min-height:34px;padding:0 10px;font-size:13px}
.cfcm .cm-cv{width:100%;max-width:460px;height:auto;display:block;margin:12px auto;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.cfcm .cm-h{font-size:20px;margin:22px 0 8px}
.cfcm .cm-tl .ev{display:grid;grid-template-columns:54px 30px minmax(0,1fr) auto;gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line)}
.cfcm .cm-tl .ev p{margin:2px 0 0;font-size:14px;color:var(--mute)}
.cfcm .cm-tl .ev small{color:var(--mute)}
.cfcm .cm-tl .eva{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
/* page publique */
.cfcm-pub .mhead{background:var(--p,#17402F);color:#fff;border-radius:18px;padding:22px 20px 18px;margin-bottom:14px;position:relative;overflow:hidden}
.cfcm-pub .mhead:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,rgba(255,255,255,.05) 0 40px,transparent 40px 100px);pointer-events:none}
.cfcm-pub .mhead h1{color:#fff;font-size:34px}
.cfcm-pub .comp{margin:0 0 12px;text-align:center;opacity:.85;font-size:14px;text-transform:uppercase;letter-spacing:.04em;position:relative}
.cfcm-pub .sb{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;position:relative}
.cfcm-pub .sb .tm{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.cfcm-pub .sb .tm img,.cfcm-pub .sb .ini{width:76px;height:76px;object-fit:contain}
.cfcm-pub .sb .ini{border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 28px "Barlow Condensed"}
.cfcm-pub .sb .tm b{font:700 clamp(18px,3vw,28px)/1.05 "Barlow Condensed";text-transform:uppercase}
.cfcm-pub .sb .sc{font:700 clamp(46px,9vw,84px)/1 "Barlow Condensed";text-align:center}
.cfcm-pub .sb .mn{text-align:center;margin-top:6px;font-weight:600}
.cfcm-pub .scorers{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;margin-top:14px;font-size:14px;position:relative;opacity:.95}
.cfcm-pub .scorers>div:first-child{text-align:right}
/* frise façon histoire de club */
.cfcm .frise{position:relative;padding:10px 0 20px}
.cfcm .frise:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:4px;margin-left:-2px;background:linear-gradient(var(--g),var(--soft));border-radius:4px}
.cfcm .fi{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;margin:14px 0}
.cfcm .fi .dot{grid-column:2;grid-row:1;justify-self:center;width:56px;height:56px;border-radius:50%;background:var(--card);border:4px solid var(--c,var(--g));display:flex;align-items:center;justify-content:center;z-index:1;font-size:15px}
.cfcm .fi .dot b{font:700 18px "Barlow Condensed"}
.cfcm .fi .card{grid-row:1;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;position:relative;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.cfcm .fi.l .card{grid-column:1;border-right:6px solid var(--c);margin-right:10px}
.cfcm .fi.r .card,.cfcm .fi.n .card{grid-column:3;border-left:6px solid var(--c);margin-left:10px}
.cfcm .fi .h{display:flex;gap:8px;align-items:center}
.cfcm .fi .h strong{font:700 20px/1.1 "Barlow Condensed";text-transform:uppercase}
.cfcm .fi .card p{margin:6px 0 0;font-size:15px}
.cfcm .fi.goal .card{background:var(--c);color:var(--c2);border-color:var(--c)}
.cfcm .fi.goal .card p,.cfcm .fi.goal .pcard small{color:inherit;opacity:.9}
.cfcm .fi.goal .dot{background:var(--c);color:var(--c2)}
.cfcm .fi.goal .h strong{font-size:26px}
.cfcm .pcard{display:flex;gap:10px;align-items:center;margin-top:10px;background:rgba(0,0,0,.04);border-radius:10px;padding:6px}
.cfcm .fi.goal .pcard{background:rgba(0,0,0,.15)}
.cfcm .pcard .ph{width:52px;height:62px;border-radius:8px;overflow:hidden;flex:none}
.cfcm .pcard .ph img{width:100%;height:100%;object-fit:cover}
.cfcm .pcard .ph i{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font:700 24px "Barlow Condensed";font-style:normal}
.cfcm .pcard b{display:block}.cfcm .pcard small{color:var(--mute)}
.cfcm .sw{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 8px;align-items:center}
.cfcm .sw .in{color:#2FB36A;font-weight:700}.cfcm .sw .out{color:#E03131;font-weight:700}
.cfcm .fi.c{grid-template-columns:1fr;justify-items:center;text-align:center}
.cfcm .fi.c .dot{grid-column:1;grid-row:auto}
.cfcm .fi.c .dot.big{width:64px;height:64px;font-size:24px;border-color:var(--g);background:var(--g);color:var(--cr)}
.cfcm .fi.c .cardc{background:var(--soft);border-radius:999px;padding:8px 18px;margin-top:8px;z-index:1}
.cfcm .fi.c .cardc p{margin:2px 0 0;font-size:14px}
.cfcm .fi.c .scl{font:700 26px "Barlow Condensed"}
@media(max-width:700px){
 .cfcm .frise:before{left:28px}
 .cfcm .fi{grid-template-columns:56px minmax(0,1fr)}
 .cfcm .fi .dot{grid-column:1;width:48px;height:48px}
 .cfcm .fi.l .card,.cfcm .fi.r .card,.cfcm .fi.n .card{grid-column:2;margin:0 0 0 8px;border-right:1px solid var(--line);border-left:6px solid var(--c)}
 .cfcm .fi.goal .card{border-color:var(--c)}
 .cfcm .fi.c{grid-template-columns:56px minmax(0,1fr);justify-items:start;text-align:left}
 .cfcm .fi.c .dot.big{grid-column:1;width:52px;height:52px}
 .cfcm .fi.c .cardc{grid-column:2;margin:0 0 0 8px;border-radius:14px}
 .cfcm .cm-tl .ev{grid-template-columns:44px 26px minmax(0,1fr)}.cfcm .cm-tl .eva{grid-column:1/-1}
}
/* compos */
.cfcm .cgrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}
@media(max-width:800px){.cfcm .cgrid{grid-template-columns:minmax(0,1fr)}}
.cfcm .ct{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}
.cfcm .ct .sys{font:600 14px "Space Grotesk",sans-serif;letter-spacing:.06em;background:var(--g,#17402F);color:#F1EEE6;border-radius:20px;padding:3px 10px}
.cfcm .ct3{font:700 26px "Barlow Condensed",sans-serif;text-transform:uppercase;margin:22px 0 10px}
.cfcm .pitch{position:relative;width:100%;box-sizing:border-box;border-radius:18px;overflow:hidden;background:repeating-linear-gradient(180deg,#2E7D46 0 10%,#29723F 10% 20%);box-shadow:0 10px 30px rgba(23,64,47,.18);aspect-ratio:68/60;min-height:440px}
.cfcm .pitch .lignes{position:absolute;inset:0;width:100%;height:100%}
.cfcm .prows{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-evenly;padding:4% 2% 3%}
.cfcm .prow{display:flex;justify-content:space-evenly}
.cfcm .pp{display:flex;flex-direction:column;align-items:center;gap:4px;width:92px;text-align:center}
.cfcm .pp>b{background:rgba(10,30,20,.78);color:#fff;font:600 12px "Space Grotesk",sans-serif;line-height:1.2;padding:3px 8px;border-radius:20px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.cfcm .mai{position:relative;display:block;width:54px;height:52px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
.cfcm .mai svg{width:100%;height:100%;display:block}
.cfcm .mai>b{position:absolute;left:0;right:0;top:16px;text-align:center;font:800 22px "Barlow Condensed",sans-serif;line-height:1}
.cfcm .mai em{position:absolute;right:-4px;top:-2px;width:18px;height:18px;border-radius:50%;background:#F1EEE6;color:#17402F;border:2px solid #17402F;font:800 11px/14px "Space Grotesk",sans-serif;font-style:normal;text-align:center}
.cfcm .mai.ph{width:52px;height:52px}
.cfcm .mai.ph img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:3px solid #fff}
.cfcm .mai.ph>b{top:auto;bottom:-6px;left:auto;right:-6px;width:22px;height:22px;border-radius:50%;font-size:14px;line-height:22px;border:2px solid #fff}
@media(max-width:560px){.cfcm .pitch{aspect-ratio:auto;min-height:0;height:430px}.cfcm .pp{width:auto;flex:1 1 0;min-width:0;padding:0 2px}.cfcm .minfos{padding:4px 14px 10px}.cfcm .minfos dl>div{grid-template-columns:24px 84px minmax(0,1fr)}.cfcm .mai{width:42px;height:40px}.cfcm .mai>b{top:12px;font-size:17px}.cfcm .pp>b{font-size:11px;padding:2px 6px}}
.cfcm .banc{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.cfcm .banc li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px}
.cfcm .banc .num{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 18px "Barlow Condensed",sans-serif}
.cfcm .banc b{display:block;font-weight:600;font-size:15px;line-height:1.2}
.cfcm .banc small{display:block;color:var(--mute,#5f625c);font-size:12px}
.cfcm .minfos{background:#fff;border:1px solid var(--line);border-radius:18px;padding:6px 20px 12px}
.cfcm .minfos .ct3{margin:14px 0 6px}
.cfcm .minfos dl{margin:0}
.cfcm .minfos dl>div{display:grid;grid-template-columns:28px 110px minmax(0,1fr);align-items:center;gap:6px;padding:11px 0;border-top:1px solid var(--line)}
.cfcm .minfos dl>div:first-child{border-top:0}
.cfcm .minfos svg{width:20px;height:20px;fill:none;stroke:var(--g,#17402F);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cfcm .minfos dt{font:600 11px "Space Grotesk",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--mute,#5f625c)}
.cfcm .minfos dd{margin:0;font-weight:500}
.cfcm .bl{list-style:none;padding:0;margin:6px 0 14px}
.cfcm .bl li{padding:6px 0;border-bottom:1px solid var(--line)}
.cfcm .bl li b{display:inline-block;min-width:28px;font-family:"Barlow Condensed";font-size:18px;color:var(--g)}
.cfcm-pub .lst{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.cfcm-pub .lst a{display:block;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--ink);text-decoration:none}
.cfcm-pub .lst a b{display:block;font:700 22px "Barlow Condensed";text-transform:uppercase}
/* images réseaux : réglages équipe */
.cfcm .vis{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--bg);margin-bottom:10px}
.cfcm .vis .cm-cv{max-width:100%;margin:0}
.cfcm .crest.wide{width:190px;height:110px}.cfcm .crest.wide img{width:100%;height:100%;object-fit:cover}
.cfcm .cm-mods{margin-top:8px}
@media(max-width:800px){.cfcm .vis{grid-template-columns:minmax(0,1fr)}}
.cfcm-pub .mhead .infos{position:relative;text-align:center;margin:14px 0 0;font-size:15px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 10px}
.cfcm-pub .mhead .infos span{opacity:.5}
/* écran TV du club */
body.cfcm-tv-body #masthead,body.cfcm-tv-body .site-header,body.cfcm-tv-body #colophon,body.cfcm-tv-body .site-footer,body.cfcm-tv-body #wpadminbar,body.cfcm-tv-body header,body.cfcm-tv-body footer{display:none!important}
body.cfcm-tv-body{background:#0d1f17!important;margin-top:0!important;overflow:hidden}
html:has(body.cfcm-tv-body){margin-top:0!important}
.cfcm-tv{position:fixed!important;inset:0;z-index:9999;overflow:hidden;max-width:none!important;margin:0!important;padding:1.6vw 2vw!important;background:#0d1f17;color:#F1EEE6;--card:#16302a;--line:#2a4a3e;--ink:#F1EEE6;--mute:#a9c1b5;--soft:#1f3b31;--bg:#0d1f17;font-size:clamp(16px,1.3vw,28px);box-sizing:border-box}
.cfcm-tv .mhead{padding:1.4vw 2vw;margin-bottom:1.4vw}
.cfcm-tv .mhead .comp{font-size:clamp(14px,1.1vw,24px)}
.cfcm-tv .sb .tm img,.cfcm-tv .sb .ini{width:7vw;height:7vw;font-size:2.6vw}
.cfcm-tv .sb .tm b{font-size:clamp(24px,2.6vw,60px)}
.cfcm-tv .sb .sc{font-size:clamp(60px,7.5vw,170px)}
.cfcm-tv .sb .mn{font-size:clamp(16px,1.4vw,30px)}
.cfcm-tv .scorers{font-size:clamp(14px,1.15vw,26px)}
.cfcm-tv .mhead .infos{font-size:clamp(16px,1.3vw,28px)}
.cfcm-tv .tvg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2vw;align-items:start}
.cfcm-tv h2{font-size:clamp(20px,1.8vw,40px);margin:0 0 .8vw;color:#9fe9bf}
.cfcm-tv .tvev{display:grid;grid-template-columns:4.5vw 3vw minmax(0,1fr);gap:.8vw;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:.8vw 1.1vw;margin-bottom:.6vw}
.cfcm-tv .tvev b{font:700 clamp(22px,2vw,46px) "Barlow Condensed"}
.cfcm-tv .tvev span{font-size:clamp(20px,1.7vw,38px)}
.cfcm-tv .tvev strong{display:block;font:700 clamp(20px,1.7vw,38px)/1.1 "Barlow Condensed";text-transform:uppercase}
.cfcm-tv .tvev small{color:var(--mute);font-size:clamp(14px,1.05vw,24px)}
.cfcm-tv .tvev.goal{background:#245c42;border-color:#2f7a57}
.cfcm-tv .tvwrap{display:flex;flex-direction:column;height:100%}
.cfcm-tv .tvg{flex:1;min-height:0}
.cfcm-tv .tvl{min-height:0;max-height:100%;overflow:hidden}
.cfcm-tv .tvr{height:100%;display:flex;flex-direction:column;gap:1vw;min-height:0}
.cfcm-tv .tvcv{display:block;flex:1 1 0;min-height:0;width:auto;max-width:40vw;aspect-ratio:1;align-self:flex-start;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.cfcm-tv .tvqr{display:flex;align-items:center;gap:1vw}
.cfcm-tv .tvqr p{margin:0;color:var(--mute);font-size:clamp(14px,1vw,22px)}.cfcm-tv .tvqr b{display:block;color:#fff;font:700 clamp(18px,1.5vw,34px) "Barlow Condensed";text-transform:uppercase}
.cfcm-tv .qrbox{flex:none;background:#fff;border-radius:12px;padding:.4vw;width:6.5vw;min-width:80px;text-align:center;color:#17402F;font-size:12px;font-weight:600}
.cfcm-tv .qrbox svg{width:100%;height:auto;display:block}
.cfcm-tv .fs{position:fixed;right:1vw;top:1vw;opacity:.35;z-index:2}
.cfcm-tv .tvsplash{position:fixed;inset:0;background:rgba(5,15,10,.92);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .6s;z-index:99}
.cfcm-tv .tvsplash.on{opacity:1;pointer-events:auto}
.cfcm-tv .tvsplash canvas{height:92vh;width:auto;border-radius:18px;transform:scale(.8);transition:transform .7s cubic-bezier(.2,1.4,.4,1)}
.cfcm-tv .tvsplash.on canvas{transform:scale(1)}
.cfcm .vis-g{border-left:4px solid var(--g);padding:4px 0 4px 14px;margin:12px 0}
.cfcm .pc .pf .btn.sm{justify-self:start}
.cfcm-pub .mhead.stade:before{display:none}
.cfcm .comps{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px;margin:8px 0 10px}
.cfcm .pc .ph.badge-c{background:var(--card);border:2px dashed var(--line);color:var(--mute);font:600 13px "Space Grotesk"}
.cfcm .pc .ph.badge-c img{object-fit:contain;padding:6px}
/* liste des matchs : direct, à venir, résultats */
.cfcm-pub .mfil{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 10px}.cfcm-pub .mfil select{max-width:320px}
.cfcm-pub .msec{font-size:26px;margin:26px 0 10px}.cfcm-pub .msec small{font-family:"Space Grotesk";font-size:14px;color:var(--mute);text-transform:none;font-weight:500}
.cfcm-pub .mmois{font:600 13px "Space Grotesk";text-transform:uppercase;letter-spacing:.12em;color:var(--mute);margin:18px 0 8px}
.cfcm-pub .mlist{display:grid;gap:8px}
.cfcm-pub .mrow{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr) auto minmax(0,1fr);gap:10px 14px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 16px;color:var(--ink);text-decoration:none;transition:transform .15s}
.cfcm-pub .mrow:hover{transform:translateY(-2px);border-color:var(--g)}
.cfcm-pub .mrow.live{border:2px solid var(--g)}
.cfcm-pub .mrow .mt{font-size:13px;font-weight:600;text-transform:capitalize}.cfcm-pub .mrow .mt small{display:block;color:var(--mute);font-weight:400;text-transform:none;margin-top:2px}
.cfcm-pub .mrow .tA,.cfcm-pub .mrow .tB{display:flex;align-items:center;gap:10px;font:700 19px/1.1 "Barlow Condensed";text-transform:uppercase;min-width:0}
.cfcm-pub .mrow .tA{justify-content:flex-end;text-align:right}
.cfcm-pub .mrow img,.cfcm-pub .mrow i{width:34px;height:34px;flex:none;object-fit:contain;border-radius:50%}
.cfcm-pub .mrow i{display:flex;align-items:center;justify-content:center;color:#fff;font:700 13px "Barlow Condensed";font-style:normal}
.cfcm-pub .mrow .sc,.cfcm-pub .mrow .vs{font:700 28px "Barlow Condensed";background:var(--g);color:var(--cr);border-radius:10px;padding:2px 12px;white-space:nowrap}
.cfcm-pub .mrow .vs{font-size:20px;background:var(--soft);color:var(--ink)}
@media(max-width:700px){.cfcm-pub .mrow{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.cfcm-pub .mrow .mt{grid-column:1/-1}.cfcm-pub .mrow .tA,.cfcm-pub .mrow .tB{font-size:16px}}
.cfcm-pub .note.demo{background:#f3eedf;border:1px dashed #b9a86b;color:#6b5d2e;border-radius:12px;padding:10px 14px;margin:0 0 12px;font-weight:500}
/* match arrêté / reporté */
.cfcm .badge.s-arrete{background:#b3261e}.cfcm .badge.s-reporte{background:#6b5d2e}
.cfcm .badge.s-arrete:before,.cfcm .badge.s-reporte:before{display:none}
.cfcm .btn.warn{border-color:#b3261e;color:#b3261e}
.cfcm .badge.s-amical{background:#e9e4d6;color:#6b5d2e}.cfcm .badge.s-amical:before{display:none}
.cfcm .badge.s-forfait{background:#b3261e}.cfcm .badge.s-forfait:before{display:none}

/* compos : terrain entier, deux équipes (1.4.4) */
.cfcm .ptetes{display:flex;justify-content:space-between;gap:12px;margin:0 0 10px;flex-wrap:wrap}
.cfcm .pt{display:flex;align-items:center;gap:8px}
.cfcm .pt i{width:18px;height:18px;border-radius:50%;border:3px solid;flex:none}
.cfcm .pt b{font:700 24px "Barlow Condensed",sans-serif;text-transform:uppercase;line-height:1}
.cfcm .pt .sys{font:600 13px "Space Grotesk",sans-serif;background:var(--g);color:#F1EEE6;border-radius:20px;padding:2px 9px}
.cfcm .pitch.full{aspect-ratio:105/68;min-height:0;height:auto;max-height:720px;background:repeating-linear-gradient(90deg,#2E7D46 0 5%,#29723F 5% 10%);display:flex}
.cfcm .pitch.full .lignes.v{display:none}
.cfcm .pitch.full .moitie{position:relative;flex:1;display:flex;justify-content:space-evenly;padding:1.5% 1%}
.cfcm .pitch.full .moitie.nous{order:0;flex-direction:row}
.cfcm .pitch.full .moitie.eux{order:1;flex-direction:row-reverse}
.cfcm .pitch.full .prow{flex-direction:column;justify-content:space-evenly}
.cfcm .pitch.full .pp{width:auto;min-width:0}
.cfcm .pvide{margin:auto;display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff;text-align:center;opacity:.9}
.cfcm .pvide img{width:70px;height:70px;object-fit:contain;background:#fff;border-radius:50%;padding:6px}
.cfcm .pvide span{font:700 26px "Barlow Condensed",sans-serif;text-transform:uppercase}
.cfcm .pvide small{font-size:13px;opacity:.8}
.cfcm .cbas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:8px;align-items:start}
.cfcm .cbas .banc{grid-template-columns:minmax(0,1fr)}
.cfcm .cbas .minfos{margin-top:22px}
@media(max-width:760px){
 .cfcm .pitch.full{aspect-ratio:auto;max-height:none;height:auto;padding:10px 0;background:repeating-linear-gradient(180deg,#2E7D46 0 5%,#29723F 5% 10%);flex-direction:column}
 .cfcm .pitch.full .lignes.v{display:block}.cfcm .pitch.full .lignes.h{display:none}
 .cfcm .pitch.full .moitie{padding:6px 2px;gap:10px}
 .cfcm .pitch.full .moitie.eux{padding-bottom:22px}.cfcm .pitch.full .moitie.nous{padding-top:22px}
 .cfcm .pitch.full .mai{width:38px;height:36px}.cfcm .pitch.full .mai>b{top:10px;font-size:16px}.cfcm .pitch.full .pp>b{font-size:10px;padding:2px 5px}
 .cfcm .pitch.full .moitie.eux{order:0;flex-direction:column}
 .cfcm .pitch.full .moitie.nous{order:1;flex-direction:column-reverse}
 .cfcm .pitch.full .prow{flex-direction:row}
 .cfcm .pitch.full .pp{flex:1 1 0}
 .cfcm .cbas{grid-template-columns:minmax(0,1fr)}
 .cfcm .ptetes .pt.e{order:-1}
}
@media(max-width:560px){.cfcm .pitch.full{height:auto}}
.cfcm .cbas .banc{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.cfcm .minfos-b{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 22px;margin:0 0 20px}
.cfcm .minfos-b dl{margin:0;display:flex;flex-wrap:wrap;gap:12px 34px}
.cfcm .minfos-b dl>div{display:flex;align-items:center;gap:10px}
.cfcm .minfos-b svg{width:22px;height:22px;fill:none;stroke:var(--g);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cfcm .minfos-b dt{font:600 10px "Space Grotesk",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--mute)}
.cfcm .minfos-b dd{margin:0;font-weight:600;line-height:1.25}
.cfcm .minfos-b.avecphoto{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:center;padding:12px 22px 12px 12px}
.cfcm .mib-photo{margin:0;position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/10}
.cfcm .mib-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cfcm .mib-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 8px;background:linear-gradient(transparent,rgba(10,30,20,.85));color:#F1EEE6;font:700 18px "Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.02em}
.cfcm .minfos-b.avecphoto dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px 24px}
@media(max-width:700px){.cfcm .minfos-b.avecphoto{grid-template-columns:minmax(0,1fr);padding:12px}}
@media(max-width:560px){.cfcm .minfos-b dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}}
.cfcm .coach{display:flex;align-items:center;gap:12px;margin-top:10px;background:var(--g);color:#F1EEE6;border-radius:12px;padding:10px 14px;border-left:6px solid var(--cc)}
.cfcm .coach svg{width:26px;height:26px;fill:none;stroke:#F1EEE6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cfcm .coach small{display:block;font:600 10px "Space Grotesk",sans-serif;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.cfcm .coach b{font-weight:600;font-size:15px}
