/* « Mes résultats » : chiffres et série de jours, sur le modèle des jeux de LinkedIn (app.js : carteResultats).
   Affichée sur l'écran Bravo et dans la fenêtre ouverte depuis la pastille du joueur. */
.res{background:#fff;color:#1A1D2E;border-radius:20px;margin:14px 0 16px;overflow:hidden;text-align:center;box-shadow:0 10px 24px rgba(0,0,0,.35)}
.res-chiffres{display:grid;grid-template-columns:repeat(4,1fr);padding:14px 6px 12px;border-bottom:1px solid #E6E9F5}
.res-chiffres b{display:block;white-space:nowrap;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15}
.res-chiffres div{padding:0 4px;min-width:0}
.res-chiffres span{display:block;line-height:1.2;font-size:12.5px;font-weight:600;color:#4A4F6A;margin-top:2px}
.res-serie{padding:14px 16px 16px;text-align:left}
.res-titre{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:800;margin-bottom:12px}
.res-titre img{width:26px;height:26px}
.res-semaine{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);position:relative}
.res-semaine:before{content:"";position:absolute;left:7%;right:7%;top:36px;height:4px;background:#EEF0FA;border-radius:2px}
.res-semaine li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px}
.res-semaine .jl{font-size:13px;font-weight:600;color:#6A7090}
.res-semaine .rd{width:34px;height:34px;border-radius:50%;background:#EEF0FA;display:grid;place-items:center;color:#fff}
.res-semaine .rd{position:relative}
/* le check et le cadeau centrés de façon absolue (en grille, le check partait de 3 px à droite) */
.res-semaine .rd svg,.res-semaine .rd img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.res-semaine .rd svg{width:20px;height:20px}.res-semaine .rd img{width:24px;height:24px}
.res-semaine .dn{font-size:11.5px;font-weight:700;color:#8A90AE;min-height:14px}
.res-semaine .fait .rd{background:#FFC857;color:#fff}
.res-semaine .auj .rd{background:#fff;box-shadow:inset 0 0 0 3px #FFC857}
.res-semaine .rate .rd{background:#E6E9F5}
.res-semaine .hors .rd{background:#fff;box-shadow:inset 0 0 0 2px #EEF0FA}   /* fond blanc : la ligne ne se voit pas dans la pastille (01/12) */
.res-semaine li:last-child .rd:has(img){background:#fff;box-shadow:inset 0 0 0 2px #FFC857}
/* la fenêtre « Mes résultats » */
.jeu.resultats .res{margin-top:16px}
@media(max-width:480px){.res-chiffres{padding-left:2px;padding-right:2px}.res-chiffres b{font-size:20px}.res-chiffres span{font-size:10.5px}.res-titre{font-size:17px}.res-semaine .rd{width:30px;height:30px}.res-semaine:before{top:34px}}

/* ----- le bouton rond du compte et sa carte (app.js : rendMoi) ----- */
.rond-compte{position:fixed;z-index:6;top:58px;right:20px}
.rond-compte .ini{font-size:24px;font-weight:800;line-height:1;text-shadow:0 2px 0 rgba(120,28,0,.35)}
.rond-compte.ouvert{filter:brightness(1.08)}
.compte-carte{position:fixed;z-index:7;top:128px;right:20px;width:270px;background:#fff;color:#1A1D2E;border-radius:20px;padding:16px;
  box-shadow:0 16px 40px rgba(0,0,0,.45);animation:cc-in .16s ease}
.compte-carte[hidden]{display:none}
@keyframes cc-in{from{opacity:0;transform:translateY(-6px)}}
.cc-tete{display:flex;align-items:center;gap:12px}
.cc-av{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:20px;background:radial-gradient(120% 120% at 32% 22%,#FF7A3D 0%,#E73E01 62%,#C83400 100%)}
.cc-id{min-width:0}.cc-id b{display:block;font-size:17px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-id small{display:block;font-size:13px;font-weight:600;color:#5A6190;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-score{margin:14px 0 12px;padding:10px 12px;border-radius:14px;background:#F4F6FF;display:flex;align-items:baseline;gap:4px}
.cc-score b{font-size:24px;font-weight:800;color:#E73E01}.cc-score span{font-size:14px;font-weight:700;color:#4A4F6A}
.cc-res{width:100%;border:0;border-radius:999px;padding:11px 14px;font:inherit;font-weight:800;font-size:15px;color:#1A1D2E;cursor:pointer;
  background:linear-gradient(180deg,#FFD978,#FFC857);box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 3px 0 #A9741A}
.cc-res:active{transform:translateY(2px);box-shadow:0 1px 0 #A9741A}
.cc-sortie{display:block;text-align:center;margin-top:12px;font-size:13.5px;font-weight:700;color:#5A6190;text-decoration:underline;text-underline-offset:3px}
/* grand écran : le compte à rebours dans le coin haut droit de la page, à gauche du bouton du compte */
@media(min-width:1260px){
  body > .rebours{position:absolute;z-index:3;top:60px;right:20px;margin:0}
  body:has(#compteRond) > .rebours{right:96px}
}
/* mobile et tablette : le bouton du compte dans la barre du bas, à droite ; la carte s'ouvre depuis le bas */
@media(max-width:1259px){
  .rond-compte{top:auto;right:18px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:48px;height:48px}
  .rond-compte .ini{font-size:20px}
  .compte-carte{top:auto;right:14px;left:auto;bottom:calc(var(--barre) + 8px);width:min(320px,calc(100vw - 28px))}
}
@media(max-width:560px){ .rond-compte{width:44px;height:44px;bottom:calc(8px + env(safe-area-inset-bottom,0px))} }
/* une fenêtre ouverte (inscription, jeu, résultats) : la page ne défile plus dessous ; sur mobile elle prend tout l'écran
   et les boutons ronds s'effacent (Constantin, 01/12 : « on voit la page scroller derrière le pop-up ») */
html:has(.voile.on),html:has(.voile.on) body{overflow:hidden}
.voile{overscroll-behavior:contain}
@media(max-width:1259px){
  body .voile.on{bottom:0}
  body:has(.voile.on) .ronds,body:has(.voile.on) .rond-compte,body:has(.voile.on) .compte-carte{display:none}
}
.res-aide{margin:12px 0 0;font-size:13px;line-height:1.5;color:#4A4F6A}
