/* FOCΛLE — Battle photo (js/focale-battle.js). Tout est préfixé « fcl-bt- » : aucun risque de collision avec le reste du site. */
.fcl-bt, .fcl-bt-fab, .fcl-bt-fx{
  --blue:#1d7fd6; --blue-soft:#8fb4e8; --cream:#f4f6fa;
  --pad:clamp(12px,3.4vw,28px); --gap:clamp(10px,2.4vw,26px);
  --ease:cubic-bezier(.2,.9,.25,1); --spring:cubic-bezier(.2,1.45,.3,1);
  }
.fcl-bt, .fcl-bt *, .fcl-bt *::before, .fcl-bt *::after, .fcl-bt-fab, .fcl-bt-fab *{ box-sizing:border-box; }
.fcl-bt{ font-family:'Roboto',Arial,sans-serif; -webkit-font-smoothing:antialiased; }
.fcl-bt:focus{ outline:none; }
html.fcl-bt-lock{ overflow:hidden; }
.fcl-bt-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* le lien « Battle » du menu : un petit point bleu qui pulse */
.fcl-nav-links a.fcl-bt-open::before, .fcl-footer a.fcl-bt-open::before{ content:''; display:inline-block; width:6px; height:6px; margin:0 7px 1px 0; border-radius:50%; background:#1d7fd6; vertical-align:middle; animation:fclBtDot 2.4s infinite; }
@keyframes fclBtDot{ 70%{ box-shadow:0 0 0 6px #1d7fd600; } 0%{ box-shadow:0 0 0 0 #1d7fd699; } 100%{ box-shadow:0 0 0 0 #1d7fd600; } }
@media (prefers-reduced-motion:reduce){ .fcl-nav-links a.fcl-bt-open::before, .fcl-footer a.fcl-bt-open::before{ animation:none; } }
/* ================= BOUTON « VS » : discret, toujours disponible ================= */
.fcl-bt-fab{ position:fixed; z-index:45; appearance:none; margin:0; left:max(16px,env(safe-area-inset-left,0px)); bottom:max(16px,env(safe-area-inset-bottom,0px)); height:52px; min-width:52px; padding:0 15px; border-radius:26px; display:inline-flex; align-items:center; gap:0; overflow:hidden;
  color:#fff; background:#0b1422c4; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border:1px solid #ffffff47; cursor:pointer; font:900 13px/1 'Roboto',Arial,sans-serif; letter-spacing:.06em; transition:gap .35s var(--ease), padding .35s var(--ease), background .2s, border-color .2s; }
.fcl-bt-fab::after{ content:''; position:absolute; inset:-1px; border-radius:inherit; border:1px solid var(--blue); opacity:0; animation:ring 3.6s 1.2s infinite var(--ease); pointer-events:none; }
@keyframes ring{ 0%{ opacity:.9; transform:scale(1); } 60%,100%{ opacity:0; transform:scale(1.5,1.9); } }
.fcl-bt-fab .lbl{ max-width:0; opacity:0; white-space:nowrap; font:700 11px 'Roboto',Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:var(--cream); transition:max-width .4s var(--ease), opacity .25s .05s; }
.fcl-bt-fab:hover, .fcl-bt-fab:focus-visible{ gap:10px; background:#0b1422ef; border-color:#fff; }
.fcl-bt-fab:hover .lbl, .fcl-bt-fab:focus-visible .lbl{ max-width:140px; opacity:1; }
.fcl-bt-fab:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }
.fcl-bt-fab.is-hidden{ transform:scale(.6); opacity:0; pointer-events:none; visibility:hidden; transition:transform .3s var(--ease), opacity .25s, visibility 0s .3s; }

/* ================= LE BATTLE ================= */
.fcl-bt{ position:fixed; inset:0; z-index:100; display:none; flex-direction:column; color:var(--cream); overflow:hidden;
  background:radial-gradient(120% 85% at 50% 0%, #16283f 0%, #0b1422 55%, #060a12 100%); opacity:0; transition:opacity .28s ease;
  --reserve:372px; --cw:min(calc((100vw - 2 * var(--pad) - var(--gap)) / 2), calc((100dvh - var(--reserve)) * .75), 400px); }
.fcl-bt.is-open{ display:flex; } .fcl-bt.is-shown{ opacity:1; }
@media (max-width:520px){ .fcl-bt-brand small{ display:none; } .fcl-bt-top{ grid-template-columns:auto 1fr auto; } .fcl-bt-prog{ justify-self:center; } }
@media (max-height:700px){ .fcl-bt{ --reserve:330px; } }
@media (max-height:520px){ .fcl-bt{ --reserve:196px; } }

.fcl-bt-top{ flex:none; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; padding:calc(env(safe-area-inset-top,0px) + 14px) var(--pad) 8px; }
.fcl-bt-brand{ font:700 15px 'Roboto',Arial,sans-serif; letter-spacing:.02em; display:flex; align-items:baseline; gap:10px; white-space:nowrap; }
.fcl-bt-brand small{ font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.2em; color:var(--blue-soft); }
.fcl-bt-prog{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.fcl-bt-prog .fcl-bt-bars{ display:flex; gap:4px; }
.fcl-bt-prog .fcl-bt-bars i{ width:clamp(10px,2.3vw,22px); height:4px; border-radius:2px; background:#ffffff2e; position:relative; overflow:hidden; transition:background .3s; }
.fcl-bt-prog .fcl-bt-bars i.is-now{ background:#ffffff8c; }
.fcl-bt-prog .fcl-bt-bars i.is-done{ background:var(--blue); animation:pop .5s var(--spring); }
@keyframes pop{ 0%{ transform:scaleY(1) scaleX(.6); } 50%{ transform:scaleY(2.4) scaleX(1.1); } 100%{ transform:none; } }
.fcl-bt-prog small{ font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.2em; color:#b3c1d6; }
.fcl-bt-prog small:empty{ display:none; }
.fcl-bt-prog .fcl-bt-serie{ margin-top:-3px; font-size:10px; color:#8fa0b8; }
.fcl-bt-close{ justify-self:end; width:44px; height:44px; border-radius:50%; border:1px solid #ffffff40; background:#ffffff0f; color:#fff; cursor:pointer; display:grid; place-items:center; transition:background .2s, transform .3s var(--ease); }
.fcl-bt-close:hover{ background:#ffffff24; transform:rotate(90deg); }
.fcl-bt-close svg{ width:18px; height:18px; }
:where(.fcl-bt-close,.fcl-bt-card,.fcl-bt-skip,.fcl-bt-btn,.fcl-bt-heart):focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

.fcl-bt-stage{ flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; align-items:center; padding:0 var(--pad) calc(env(safe-area-inset-bottom,0px) + 14px); }
.fcl-bt-ctx{ font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.24em; color:var(--blue-soft); text-transform:uppercase; text-align:center; }
.fcl-bt-title{ margin:clamp(6px,1.2vh,12px) 0 0; text-align:center; font:700 clamp(22px,4.6vw,38px)/1.05 'Roboto',Arial,sans-serif; text-transform:uppercase; letter-spacing:.02em; }
.fcl-bt-sub{ margin:8px 0 0; text-align:center; font-size:13px; color:#c7d3e6; max-width:420px; line-height:1.4; }
.fcl-bt-arena{ position:relative; margin:clamp(12px,2.6vh,26px) 0 0; display:grid; grid-template-columns:repeat(2,var(--cw)); gap:var(--gap); justify-content:center; --tilt:0; }
.fcl-bt-card{ appearance:none; background:none; border:0; padding:0; margin:0; color:inherit; text-align:left; cursor:pointer; position:relative; display:flex; flex-direction:column; align-self:start; width:var(--cw); -webkit-tap-highlight-color:transparent; touch-action:pan-y; user-select:none; -webkit-user-select:none;
  --s:1; --p:0; --tx:0px; --sr:0deg; --rx:0deg; --ry:0deg; --rot:-5deg;
  transform:perspective(900px) translateX(var(--tx)) rotate(var(--sr)) rotateX(var(--rx)) rotateY(var(--ry)) scale(calc(var(--s) + var(--p) * .06));
  filter:brightness(calc(1 + var(--p) * .22)); transition:transform .38s var(--ease), filter .3s, opacity .35s; will-change:transform; }
.fcl-bt-card.is-tracking{ transition:transform .08s linear, filter .2s, opacity .35s; }
.fcl-bt-photo{ display:block; position:relative; width:100%; aspect-ratio:3/4; border-radius:14px; overflow:hidden; background:#121a27; box-shadow:0 18px 44px #0000006e, 0 0 0 1px #ffffff14; transition:box-shadow .35s; }
.fcl-bt-photo img{ display:block; width:100%; height:100%; object-fit:cover; transform:scale(1.02); transition:transform .9s var(--ease); pointer-events:none; -webkit-user-drag:none; }
.fcl-bt-glare{ position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .25s; background:radial-gradient(circle at var(--gx,50%) var(--gy,30%), #ffffff3d, #0000 58%); mix-blend-mode:soft-light; }
.fcl-bt-card .fcl-bt-cap{ display:block; margin-top:11px; }
.fcl-bt-cap em{ display:block; margin-top:2px; font:500 12.5px/1.3 'Roboto',Arial,sans-serif; font-style:normal; font-variant-numeric:tabular-nums; letter-spacing:.03em; color:#e6edf7; }
.fcl-bt-check{ position:absolute; top:10px; right:10px; width:38px; height:38px; border-radius:50%; background:var(--blue); color:#fff; display:grid; place-items:center; transform:scale(0) rotate(-40deg); transition:transform .5s var(--spring); box-shadow:0 6px 18px #1d7fd666; }
.fcl-bt-check svg{ width:20px; height:20px; }
@media (hover:hover) and (pointer:fine){
  .fcl-bt-card:hover{ --s:1.03; } .fcl-bt-card:hover .fcl-bt-photo img{ transform:scale(1.09); } .fcl-bt-card:hover .fcl-bt-glare{ opacity:1; }
  .fcl-bt-arena:not(.is-picked):has(.fcl-bt-card:hover) .fcl-bt-card:not(:hover){ --s:.965; filter:brightness(.7); }
}
.fcl-bt-card:active:not(:disabled){ --s:.985; }
.fcl-bt-card.is-winner{ --s:1.05; z-index:2; }
.fcl-bt-card.is-winner .fcl-bt-photo{ box-shadow:0 0 0 3px var(--blue), 0 0 0 10px #1d7fd630, 0 26px 70px #1d7fd659; }
.fcl-bt-card.is-winner .fcl-bt-check{ transform:scale(1) rotate(0); }
.fcl-bt-card.is-loser{ opacity:0; filter:grayscale(1) brightness(.55); transform:perspective(900px) translateY(52px) rotate(var(--rot)) scale(.86); transition:transform .6s var(--ease), opacity .5s .08s, filter .4s; }
.fcl-bt-card:disabled{ cursor:default; }

.fcl-bt-vs{ position:absolute; left:50%; top:calc(var(--cw) * .6667); z-index:3; width:64px; height:64px; margin:-32px 0 0 -32px; border-radius:50%; background:var(--cream); color:#0b1422; display:grid; place-items:center; pointer-events:none; box-shadow:0 0 0 5px #0b1422, 0 10px 30px #0008; animation:vsIdle 2.6s infinite ease-in-out; transition:background .3s, color .3s; }
.fcl-bt-vs span{ grid-area:1/1; font:900 19px/1 'Roboto',Arial,sans-serif; letter-spacing:.03em; transition:transform .45s var(--spring), opacity .2s; }
.fcl-bt-vs .ok{ opacity:0; transform:scale(0) rotate(-60deg); } .fcl-bt-vs .ok svg{ width:26px; height:26px; display:block; }
.fcl-bt-arena.is-picked .fcl-bt-vs{ background:var(--blue); color:#fff; animation:none; transform:scale(1.12); }
.fcl-bt-arena.is-picked .fcl-bt-vs .txt{ opacity:0; transform:scale(.4); } .fcl-bt-arena.is-picked .fcl-bt-vs .ok{ opacity:1; transform:none; }
@keyframes vsIdle{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
.fcl-bt-arena.is-entering .fcl-bt-vs{ animation:vsIn .7s .25s var(--spring) both, vsIdle 2.6s 1s infinite ease-in-out; }
@keyframes vsIn{ 0%{ transform:scale(0) rotate(-120deg); opacity:0; } 100%{ transform:none; opacity:1; } }
.fcl-bt-arena.is-entering .fcl-bt-card:nth-of-type(1){ animation:inL .65s var(--ease) both; }
.fcl-bt-arena.is-entering .fcl-bt-card:nth-of-type(2){ animation:inR .65s .07s var(--ease) both; }
@keyframes inL{ 0%{ opacity:0; translate:-70px 24px; rotate:-4deg; } 100%{ opacity:1; translate:0 0; rotate:0deg; } }
@keyframes inR{ 0%{ opacity:0; translate:70px 24px; rotate:4deg; } 100%{ opacity:1; translate:0 0; rotate:0deg; } }
.fcl-bt-arena.is-leaving .fcl-bt-card{ transition:transform .32s ease-in, opacity .3s; opacity:0 !important; }
.fcl-bt-arena.is-leaving .fcl-bt-card:nth-of-type(1){ translate:-60px 0; } .fcl-bt-arena.is-leaving .fcl-bt-card:nth-of-type(2){ translate:60px 0; }
.fcl-bt-arena.is-leaving .fcl-bt-vs{ opacity:0; transition:opacity .2s; }
.fcl-bt-title, .fcl-bt-sub{ transition:opacity .3s, transform .3s; }
.fcl-bt-hints{ margin-top:clamp(12px,2vh,20px); display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:center; font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.14em; color:#b3c1d6; text-transform:uppercase; }
.fcl-bt-hints kbd{ display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 5px; margin:0 3px; border:1px solid #ffffff3d; border-radius:5px; font:inherit; color:#e6edf7; }
.fcl-bt-skip{ background:none; border:0; margin:0; padding:10px 12px; min-height:36px; color:#7f91ab; font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; cursor:pointer; transition:color .2s; }
.fcl-bt-skip:hover, .fcl-bt-skip:focus-visible{ color:#f4f6fa; text-decoration:none; }
@media (hover:none){ .fcl-bt-hints .kb{ display:none; } }
@media (max-height:520px){ .fcl-bt-prog .fcl-bt-serie, .fcl-bt-sub, .fcl-bt-ctx, .fcl-bt-hints .kb{ display:none; } .fcl-bt-title{ font-size:20px; } .fcl-bt-cap em{ display:none; } .fcl-bt-arena{ margin-top:8px; } }

/* ----- résultats ----- */
.fcl-bt.is-loading .fcl-bt-arena, .fcl-bt.is-loading .fcl-bt-hints{ visibility:hidden; }
.fcl-bt-results{ display:none; width:min(100%,560px); flex-direction:column; gap:14px; padding-top:6px; margin-block:auto; }
.fcl-bt-duel{ display:flex; flex-direction:column; align-items:center; width:100%; margin-block:auto; }
.fcl-bt.is-results .fcl-bt-duel, .fcl-bt.is-over .fcl-bt-duel{ display:none; } .fcl-bt.is-results .fcl-bt-results{ display:flex; }
.fcl-bt-over{ display:none; width:min(100%,460px); flex-direction:column; align-items:center; gap:14px; margin-block:auto; padding:0 4px; text-align:center; animation:rise .6s var(--ease) both; }
.fcl-bt.is-over .fcl-bt-over{ display:flex; }
.fcl-bt-over-title{ margin:0; font:700 clamp(28px,6vw,44px)/1.05 'Roboto',Arial,sans-serif; text-transform:uppercase; letter-spacing:.02em; }
.fcl-bt-over-text{ margin:0; max-width:400px; font-size:14px; line-height:1.55; color:#c7d3e6; }
.fcl-bt-over .fcl-bt-actions{ margin-top:6px; }
.fcl-bt-results > *{ animation:rise .6s var(--ease) both; } .fcl-bt-results > *:nth-child(2){ animation-delay:.08s; } .fcl-bt-results > *:nth-child(3){ animation-delay:.16s; } .fcl-bt-results > *:nth-child(4){ animation-delay:.24s; } .fcl-bt-results > *:nth-child(5){ animation-delay:.32s; }
@keyframes rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
.fcl-bt-kicker{ text-align:center; font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.24em; color:var(--blue-soft); text-transform:uppercase; }
.fcl-bt-win .ph{ position:relative; aspect-ratio:3/4; border-radius:11px; overflow:hidden; box-shadow:0 0 0 2px var(--blue), 0 18px 40px #1d7fd62e; }
.fcl-bt-win .ph img{ width:100%; height:100%; object-fit:cover; display:block; }
.fcl-bt-win .rank{ position:absolute; left:8px; top:8px; padding:4px 9px; border-radius:6px; background:var(--blue); font:700 12px 'Roboto',Arial,sans-serif; letter-spacing:.06em; }
.fcl-bt-heart{ margin-top:12px; display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 14px 0 11px; border-radius:20px; border:1px solid #ffffff4d; background:#ffffff0f; color:#fff; cursor:pointer; font:700 11px 'Roboto',Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; transition:background .2s, border-color .2s; }
.fcl-bt-heart svg{ width:18px; height:18px; transition:transform .4s var(--spring); } .fcl-bt-heart.is-liked{ background:#ff4d6d26; border-color:#ff4d6d; } .fcl-bt-heart.is-liked svg{ fill:#ff4d6d; stroke:#ff4d6d; transform:scale(1.2); }
.fcl-bt-btn[hidden]{ display:none; }
.fcl-bt-warn{ margin:12px auto 0; max-width:440px; padding:9px 14px; border:1px solid #ff4d6d66; border-radius:8px; background:#ff4d6d14; color:#ffd2da; font:500 12px/1.45 'Roboto',Arial,sans-serif; text-align:center; }
.fcl-bt-warn[hidden]{ display:none; }
.fcl-bt-warn::before{ content:''; display:inline-block; width:15px; height:15px; margin-right:7px; vertical-align:-3px; background:url(/img/emoji/warn.png) center/contain no-repeat; }
.fcl-bt-btn{ appearance:none; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px; border-radius:6px; border:1px solid #fff; background:#fff; color:#0b1422; font:700 12px 'Roboto',Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; text-decoration:none; transition:background .2s, color .2s, transform .2s; }
.fcl-bt-btn:hover{ background:var(--blue); border-color:var(--blue); color:#fff; } .fcl-bt-btn.ghost{ background:none; color:#fff; border-color:#ffffff66; } .fcl-bt-btn.ghost:hover{ background:#ffffff1f; border-color:#fff; }
.fcl-bt-btn svg{ width:16px; height:16px; }
.fcl-bt-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; padding-bottom:8px; }
.fcl-bt-note{ margin:0; text-align:center; font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.1em; color:#a3b3cb; text-transform:uppercase; line-height:1.6; }
.fcl-bt-fx{ position:fixed; inset:0; z-index:130; pointer-events:none; overflow:hidden; }
.fcl-bt-fx i{ position:absolute; left:0; top:0; width:9px; height:14px; border-radius:2px; will-change:transform,opacity; }
.fcl-bt-toast{ position:fixed; z-index:140; left:50%; bottom:calc(env(safe-area-inset-bottom,0px) + 24px); transform:translate(-50%,30px); opacity:0; max-width:calc(100vw - 32px); padding:11px 16px; border-radius:10px; background:#f4f6fa; color:#0b1422; font:500 12.5px/1.4 'Roboto',Arial,sans-serif; box-shadow:0 12px 40px #0006; transition:transform .4s var(--ease), opacity .3s; pointer-events:none; text-align:center; }
.fcl-bt-toast.is-on{ transform:translate(-50%,0); opacity:1; }

/* ----- accessibilité : animations réduites (réglage système, ou case du prototype) ----- */
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } .fcl-bt-photo img{ transform:none !important; } }

/* ----- nouvelle page de fin : slider des gagnantes, XP, badges ----- */
.fcl-bt-win{ position:relative; border-radius:16px; background:#ffffff0d; border:1px solid #ffffff1c; padding:14px 14px 10px; }
.fcl-bt-win .sl{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; border-radius:11px; outline-offset:4px; } .fcl-bt-win .sl::-webkit-scrollbar{ display:none; }
.fcl-bt-win .slide{ flex:0 0 100%; scroll-snap-align:center; display:grid; grid-template-columns:min(48%,240px) 1fr; gap:18px; align-items:center; padding:3px; }
.fcl-bt-win .slide .ph{ box-shadow:0 0 0 2px var(--blue); }
.fcl-bt-win .slide .inf{ display:flex; flex-direction:column; gap:12px; }
.fcl-bt-win .slide .inf .gps{ margin:0; }
.fcl-bt-win .slide .fcl-bt-heart{ margin-top:0; align-self:flex-start; }
.fcl-bt-bar{ display:grid; grid-template-columns:1fr auto; grid-template-areas:'l v' 'b b'; align-items:baseline; gap:5px 8px; font:500 10.5px 'Roboto',Arial,sans-serif; letter-spacing:.08em; color:#b3c1d6; text-transform:uppercase; }
.fcl-bt-bar em{ grid-area:l; font-style:normal; } .fcl-bt-bar b{ grid-area:v; font:700 11px 'Roboto',Arial,sans-serif; color:#fff; letter-spacing:.04em; }
.fcl-bt-bar span{ grid-area:b; display:block; height:6px; border-radius:3px; background:#ffffff1f; overflow:hidden; } .fcl-bt-bar span i{ display:block; height:100%; width:0; border-radius:3px; background:var(--blue-soft); transition:width 1s .4s var(--ease); }
.fcl-bt-bar.empty span{ background:repeating-linear-gradient(90deg,#ffffff1f 0 6px,transparent 6px 10px); }
.fcl-bt-win .nav{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:12px; }
.fcl-bt-win .nav button{ width:34px; height:34px; border-radius:50%; border:1px solid #ffffff4d; background:#ffffff0f; color:#fff; font:700 20px/1 'Roboto',Arial,sans-serif; cursor:pointer; padding:0 0 3px; } .fcl-bt-win .nav button:hover{ background:#ffffff26; }
.fcl-bt-win .dots{ display:flex; gap:6px; } .fcl-bt-win .dots i{ width:7px; height:7px; border-radius:50%; background:#ffffff40; transition:background .25s, transform .25s; } .fcl-bt-win .dots i.on{ background:var(--blue-soft); transform:scale(1.25); }
.fcl-bt-xp{ padding:13px 16px; border-radius:14px; background:#ffffff0d; border:1px solid #ffffff1c; }
.fcl-bt-xp .t{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-size:14px; } .fcl-bt-xp .t b{ font-weight:700; } .fcl-bt-xp .t span{ color:var(--blue-soft); font-weight:700; } .fcl-bt-xp .t em{ font-style:normal; font-weight:500; font-size:11px; color:#b3c1d6; }
.fcl-bt-xp .xbar{ height:8px; border-radius:6px; background:#ffffff1a; margin:10px 0 7px; overflow:hidden; } .fcl-bt-xp .xbar i{ display:block; height:100%; border-radius:6px; background:linear-gradient(90deg,var(--blue),#5aa8f0); transition:width 1.2s var(--ease); }
.fcl-bt-xp p{ margin:0; font-size:12px; color:#b3c1d6; }
.fcl-bt-badges{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.fcl-bt-badges li{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 4px 8px; border-radius:12px; background:#ffffff09; border:1px dashed #ffffff26; text-align:center; }
.fcl-bt-badges .ico{ width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#ffffff14; font-size:18px; color:#fff; filter:grayscale(1); opacity:.6; }
.fcl-bt-badges .ico img{ width:60%; height:60%; display:block; }
.fcl-bt-badges .slot b svg{ width:52%; height:52%; display:block; }
.fcl-bt-badges .slot b svg{ width:11px; height:11px; display:inline-block; vertical-align:-1.5px; }
.fcl-bt-badges b{ font:700 10.5px/1.15 'Roboto',Arial,sans-serif; letter-spacing:.04em; text-transform:uppercase; color:#8ea0ba; } .fcl-bt-badges small{ font:500 10px 'Roboto',Arial,sans-serif; color:#8ea0ba; }
.fcl-bt-badges li.got{ background:linear-gradient(160deg,#1d7fd633,#ffffff0d); border:1px solid #1d7fd6aa; } .fcl-bt-badges li.got .ico{ background:var(--blue); filter:none; opacity:1; } .fcl-bt-badges li.got b{ color:#fff; } .fcl-bt-badges li.got small{ color:var(--blue-soft); }
.fcl-bt-badges li.fresh{ animation:rise .7s var(--spring) .6s both; }
@media (max-width:640px){ .fcl-bt-win .slide{ grid-template-columns:1fr; gap:12px; } .fcl-bt-win .slide .ph{ width:72%; margin-inline:auto; } .fcl-bt-win .slide .inf{ text-align:center; align-items:center; } .fcl-bt-win .slide .fcl-bt-heart{ align-self:center; } .fcl-bt-win .slide .fcl-bt-bar{ width:100%; text-align:left; } .fcl-bt-badges{ gap:5px; } .fcl-bt-badges b{ font-size:9px; } }
.fcl-bt-win .gps{ margin:0; font:500 13px/1.3 'Roboto',Arial,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:.03em; color:#e6edf7; }

/* ----- la page de fin tient dans l'écran (sans barre de défilement) : la photo s'adapte à la hauteur disponible ----- */
.fcl-bt-results{ gap:10px; }
.fcl-bt-win{ padding:10px 12px 8px; }
.fcl-bt-win .slide{ grid-template-columns:auto 1fr; gap:18px; justify-content:center; }
.fcl-bt-win .slide .ph{ height:clamp(150px, calc(100dvh - 450px), 380px); width:auto; max-width:100%; }
.fcl-bt-win .slide .inf{ gap:10px; min-width:0; }
.fcl-bt-win .ph .fcl-bt-heart{ position:absolute; right:8px; top:8px; width:38px; height:38px; padding:0; justify-content:center; margin:0; border-radius:50%; background:#0b1422b8; border-color:#ffffff66; }
.fcl-bt-win .ph .fcl-bt-heart span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.fcl-bt-win .nav{ margin-top:8px; }
.fcl-bt-xp{ padding:10px 14px; } .fcl-bt-xp .xbar{ margin:8px 0 5px; }
.fcl-bt-badges li{ padding:7px 4px 6px; gap:3px; } .fcl-bt-badges .ico{ width:30px; height:30px; font-size:15px; }
.fcl-bt-badges .ico{ margin-bottom:5px; }   /* un peu d'air entre l'icône et le nom du badge */
.fcl-bt-results .fcl-bt-actions{ flex-wrap:nowrap; padding-bottom:0; } .fcl-bt-results .fcl-bt-note{ margin-top:-2px; }
@media (max-width:640px){
  .fcl-bt-win .slide{ grid-template-columns:1fr; gap:8px; justify-items:center; }
  .fcl-bt-win .slide .ph{ height:clamp(130px, calc(100dvh - 560px), 320px); width:auto; margin-inline:auto; }
  .fcl-bt-win .nav button{ display:none; }
  .fcl-bt-results .fcl-bt-btn{ padding:0 12px; font-size:11px; min-height:42px; }
  .fcl-bt-badges small{ display:none; }
}
@media (max-height:600px){ .fcl-bt-badges small, .fcl-bt-results .fcl-bt-note{ display:none; } }
.fcl-bt-win .slide .rank{ top:auto; bottom:8px; left:8px; }
@media (max-width:640px){ .fcl-bt-win .slide .ph{ height:clamp(130px, calc(100dvh - 520px), 320px); } }

/* ----- bouton flottant : deux cartes photo qui s'affrontent ----- */
.fcl-bt-fab{ padding:0 13px; }
.fcl-bt-fab .ico{ position:relative; display:block; width:38px; height:36px; flex:none; }
.fcl-bt-fab .cd{ position:absolute; top:4px; width:21px; height:28px; filter:drop-shadow(0 2px 4px #0008); transform-origin:50% 90%; transition:transform .45s var(--spring); }
.fcl-bt-fab .cd.a{ left:2px; transform:rotate(-14deg); animation:fclBtSwayA 5s 2s infinite ease-in-out; }
.fcl-bt-fab .cd.b{ right:2px; transform:rotate(14deg); z-index:1; animation:fclBtSwayB 5s 2s infinite ease-in-out; }
.fcl-bt-fab .ico b{ position:absolute; z-index:2; left:50%; bottom:-1px; transform:translateX(-50%); min-width:19px; height:15px; padding:0 3px; display:grid; place-items:center; border-radius:8px; background:var(--blue); border:1.5px solid #0b1422; color:#fff; font:900 8.5px/1 'Roboto',Arial,sans-serif; letter-spacing:.04em; }
.fcl-bt-fab:hover .cd.a, .fcl-bt-fab:focus-visible .cd.a{ animation:none; transform:translateX(-4px) rotate(-24deg); }
.fcl-bt-fab:hover .cd.b, .fcl-bt-fab:focus-visible .cd.b{ animation:none; transform:translateX(4px) rotate(24deg); }
@keyframes fclBtSwayA{ 0%,78%,100%{ transform:rotate(-14deg); } 86%{ transform:translateX(-2px) rotate(-22deg); } 93%{ transform:rotate(-10deg); } }
@keyframes fclBtSwayB{ 0%,78%,100%{ transform:rotate(14deg); } 86%{ transform:translateX(2px) rotate(22deg); } 93%{ transform:rotate(10deg); } }
@media (prefers-reduced-motion:reduce){ .fcl-bt-fab .cd{ animation:none !important; } }
/* bouton flottant : rectangle aux coins arrondis, comme les cartes de la page de fin */
.fcl-bt-fab{ border-radius:14px; height:54px; min-width:54px; background:#0b1422d6; border-color:#ffffff3d; }
.fcl-bt-fab::after{ border-radius:14px; }
/* libellé du bouton : plus petit, sur deux lignes, plus discret et plus éloigné des cartes */
.fcl-bt-fab .lbl{ font:600 9.5px/1.35 'Roboto',Arial,sans-serif; letter-spacing:.16em; color:#b3c1d6; text-align:left; }
.fcl-bt-fab:hover, .fcl-bt-fab:focus-visible{ gap:16px; }
.fcl-bt-fab:hover .lbl, .fcl-bt-fab:focus-visible .lbl{ max-width:80px; }
/* alignement : icône centrée verticalement dans le bouton, libellé calé sur le centre visuel des cartes, marges gauche/droite égales */
.fcl-bt-fab{ padding:0 17px; }
.fcl-bt-fab .ico{ margin-top:2px; }
.fcl-bt-fab .lbl{ margin-top:2px; }
.fcl-bt-fab{ padding:0 8px; justify-content:center; }
.fcl-bt-fab:hover, .fcl-bt-fab:focus-visible{ padding:0 17px; }

/* récap XP + badges sur l'écran « À demain » */
.fcl-bt-over .fcl-bt-xp{ width:100%; text-align:left; margin-top:4px; }
.fcl-bt-over .fcl-bt-badges{ width:100%; }
@media (max-height:700px){ .fcl-bt-over .fcl-bt-badges small{ display:none; } .fcl-bt-over{ gap:10px; } }

/* Bouton rond (couleur d'origine) : un vrai cercle au repos, il s'étire en pastille au survol pour montrer « Battle photo » */
.fcl-bt-fab{ height:58px; min-width:58px; padding:0; border-radius:29px; justify-content:center; background:#0b1422d6; border-color:#ffffff3d; }
.fcl-bt-fab::after{ border-radius:29px; }
.fcl-bt-fab:hover, .fcl-bt-fab:focus-visible{ padding:0 20px 0 14px; gap:12px; }
@media (prefers-reduced-motion:reduce){ .fcl-bt-fab.is-hidden{ transition:none; } }

/* Bouton à DROITE de l'écran ; la pastille étendue s'ouvre vers la gauche */
.fcl-bt-fab{ left:auto; right:max(16px,env(safe-area-inset-right,0px)); }
/* version étendue : plus d'air autour des cartes, texte centré verticalement, cartes qui s'écartent moins */
.fcl-bt-fab:hover, .fcl-bt-fab:focus-visible{ padding:0 24px 0 20px; gap:14px; }
.fcl-bt-fab .ico, .fcl-bt-fab .lbl{ margin-top:0; }
.fcl-bt-fab .lbl{ align-self:center; line-height:1.45; padding-top:1px; }
.fcl-bt-fab:hover .lbl, .fcl-bt-fab:focus-visible .lbl{ max-width:90px; }
.fcl-bt-fab:hover .cd.a, .fcl-bt-fab:focus-visible .cd.a{ transform:translateX(-1px) rotate(-18deg); }
.fcl-bt-fab:hover .cd.b, .fcl-bt-fab:focus-visible .cd.b{ transform:translateX(1px) rotate(18deg); }

/* Swipe façon Tinder : la photo vers laquelle on glisse s'illumine, l'autre s'efface */
.fcl-bt-photo::after{ content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow:inset 0 0 0 3px var(--blue), inset 0 0 40px #1d7fd666; opacity:max(0, calc(var(--p) * 1.25)); }
.fcl-bt-card.is-tracking .fcl-bt-check{ transition:transform .12s linear; transform:scale(clamp(0, calc(var(--p) * 1.5 - .2), 1)) rotate(0); }
.fcl-bt-card.is-tracking .fcl-bt-photo{ transition:none; }
.fcl-bt-card.is-tracking{ filter:brightness(calc(1 + var(--p) * .2)) saturate(calc(1 + var(--p) * .25)); }
.fcl-bt-stage{ touch-action:pan-y; }

/* Codes promo gagnés avec les badges */
/* codes promo : une case sous chaque badge (hauteur réservée, la page ne bouge pas quand un code arrive) */
.fcl-bt-badges li{ position:relative; }
.fcl-bt-badges .slot{ margin-top:3px; width:100%; min-height:22px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; padding:3px 2px; border-radius:8px; font:700 10.5px/1.1 'Roboto',Arial,sans-serif; box-sizing:border-box; }
.fcl-bt-badges .slot.off{ border:1px dashed #ffffff26; color:#ffffff59; letter-spacing:.04em; }
.fcl-bt-badges .slot.off.dead{ color:#ffffff40; border-style:solid; text-decoration:line-through; }
.fcl-bt-badges .slot.on{ appearance:none; cursor:pointer; border:1px solid #5eea8d88; background:#5eea8d1f; color:#5eea8d; }
.fcl-bt-badges .slot.on:hover, .fcl-bt-badges .slot.on:focus-visible{ background:#5eea8d38; }
.fcl-bt-badges .slot b{ font:800 11px/1 'Roboto',Arial,sans-serif; color:inherit; letter-spacing:.02em; text-transform:none; }
.fcl-bt-badges .slot .cpl svg{ width:9px; height:9px; display:inline-block; vertical-align:-1px; margin-right:3px; }
.fcl-bt-badges .slot .cpl{ white-space:nowrap;  font:700 8.5px/1.1 'Roboto',Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:#fff; }
.fcl-bt-badges .slot.pop{ animation:fclBtPop .6s var(--spring) both; }
@keyframes fclBtPop{ 0%{ transform:scale(.6); opacity:0; } 60%{ transform:scale(1.12); opacity:1; } 100%{ transform:none; } }
@media (prefers-reduced-motion:reduce){ .fcl-bt-badges .slot.pop{ animation:none; } }
.fcl-bt-codenote{ margin:6px 0 0; width:100%; text-align:center; font:500 10px/1.4 'Roboto',Arial,sans-serif; color:#8ea0ba; }
.fcl-bt-codenote[hidden]{ display:none; } .fcl-bt-codenote > span{ display:block; text-wrap:balance; } .fcl-bt-codenote .nw{ white-space:nowrap; }
@media (max-height:800px){ .fcl-bt-results .fcl-bt-codenote{ display:none; } }   /* écran de résultats serré : les conditions restent sur l'écran « À demain » */
@media (max-height:600px){ .fcl-bt-codenote{ margin-top:4px; font-size:9.5px; } .fcl-bt-badges .slot.on b{ display:none; } }
.fcl-bt-cp:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
