@font-face{font-family:Outfit;src:url(/fonts/outfit.woff2) format('woff2');font-weight:300 800;font-display:swap}
:root{--y:#FBB904;--y2:#FFCB3A;--pink:#FF2E93;--pink2:#E0177A;--violet:#6A1FB5;--ink:#1D1B26;--mut:#8A8794;--bg:#F3F3F6;--card:#fff;--line:#E8E7EE;--green:#58C322;--red:#E5202E;--tabh:64px;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Outfit,ui-rounded,system-ui,sans-serif;font-size:16px;-webkit-text-size-adjust:100%;overscroll-behavior-y:none}
body{min-height:100dvh;-webkit-user-select:none;user-select:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
input,textarea,select{font:inherit;color:inherit;-webkit-user-select:text;user-select:text}
[x-cloak]{display:none!important}
.wrap{max-width:560px;margin:0 auto;min-height:100dvh;padding-bottom:calc(var(--tabh) + var(--sab) + 28px)}
.wrap.notab{padding-bottom:calc(var(--sab) + 24px)}
/* entête */
.top{background:var(--y);color:#fff;padding:calc(var(--sat) + 14px) 18px 18px;border-radius:0 0 26px 26px;position:relative}
.top.flat{border-radius:0}
.top h1{margin:0;font-size:26px;font-weight:700;letter-spacing:-.2px}
.toprow{display:flex;align-items:center;gap:10px;min-height:40px}
.toprow .sp{flex:1}
.back{width:40px;height:40px;margin-left:-10px;display:grid;place-items:center}
.back svg{width:22px;height:22px}
.pill{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#B47F00;border-radius:999px;padding:6px 12px 6px 8px;font-weight:800;font-size:15px;box-shadow:0 3px 0 rgba(0,0,0,.14),0 8px 18px rgba(0,0,0,.12)}
.coin{display:inline-block;vertical-align:-.15em;width:20px;height:20px;background:url(/img/credits/coin-i.webp) center/contain no-repeat;flex:none}
.bell{position:relative;width:40px;height:40px;display:grid;place-items:center}
.bell svg{width:24px;height:24px}
.dot{position:absolute;top:6px;right:6px;min-width:16px;height:16px;border-radius:8px;background:var(--pink);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;padding:0 4px}
/* avatar fantôme */
.ava{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;box-shadow:0 0 0 3px #fff}
.ava svg{width:60%;height:60%}
.ava.sm{width:38px;height:38px;box-shadow:none}
/* sections */
.sec{padding:18px 18px 0}
.sec h2{margin:0 0 12px;font-size:20px;font-weight:700}
.card{background:var(--card);border-radius:20px;box-shadow:0 1px 0 rgba(20,10,40,.04),0 8px 24px -14px rgba(20,10,40,.18)}
.mut{color:var(--mut)}
.small{font-size:13px}
/* bannières */
.banners{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:16px 18px 4px;scrollbar-width:none}
.banners::-webkit-scrollbar{display:none}
.banner{flex:0 0 100%;scroll-snap-align:center;border-radius:22px;min-height:170px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;background-size:cover;background-position:center}
.banner .who{position:absolute;top:16px;left:16px;display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px}
.banner b{font-size:25px;line-height:1.05;font-weight:700;max-width:70%}
.banner span.tag{align-self:flex-start;margin-top:10px;background:#fff;color:var(--ink);font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;padding:5px 10px;border-radius:4px;transform:rotate(-3deg)}
/* catégories */
.cat{display:block;border-radius:24px;padding:20px;color:#fff;margin-bottom:14px;position:relative;overflow:hidden;min-height:150px}
.cat .big{font-size:27px;font-weight:700;line-height:1.05}
.cat .emo{position:absolute;right:14px;top:10px;font-size:64px;line-height:1;filter:drop-shadow(0 6px 10px rgba(0,0,0,.18))}
.cat .line{opacity:.92;margin-top:4px}
.cat .cta{display:inline-block;margin-top:14px;background:rgba(255,255,255,.26);padding:8px 14px;border-radius:999px;font-weight:700;font-size:13px;letter-spacing:.4px;text-transform:uppercase}
.cat .cd{position:absolute;right:16px;bottom:18px;text-align:right;font-size:12px;opacity:.95}
.cat .cd b{display:block;font-size:20px;font-variant-numeric:tabular-nums}
/* boules */
.balls{display:flex;gap:10px;flex-wrap:wrap}
.ball{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:19px;background:#fff;color:#B47F00;flex:none}
.ball.lucky{box-shadow:inset 0 0 0 3px var(--violet);color:var(--violet);background:#fff}
.ball.hit{background:var(--green);color:#fff;box-shadow:none}
.ball.miss{background:var(--red);color:#fff;box-shadow:none}
.ball.ghost{background:var(--y2);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.ball.lucky.ghost{background:rgba(255,255,255,.35);box-shadow:none;border:2.5px dashed var(--violet);cursor:pointer}
.ball.sm{width:34px;height:34px;font-size:14px}
.ball.y{background:var(--y);color:#fff}
.balls.onwhite .ball:not(.lucky):not(.hit):not(.miss){background:var(--y);color:#fff}
/* relief façon Tildee : rebord plein plus foncé + halo doux de la même teinte */
.balls{padding-bottom:4px}
.ball{box-shadow:0 4px 0 #E6DCC6,0 10px 20px rgba(120,80,0,.18)}
.ball.lucky{box-shadow:inset 0 0 0 3px var(--violet),0 4px 0 #D9CBEA,0 10px 20px rgba(106,31,181,.2)}
.ball.hit{box-shadow:0 4px 0 #3F9614,0 10px 20px rgba(88,195,34,.35)}
.ball.miss{box-shadow:0 4px 0 #A8121D,0 10px 20px rgba(229,32,46,.3)}
.ball.y,.balls.onwhite .ball:not(.lucky):not(.hit):not(.miss){box-shadow:0 4px 0 #C98E00,0 10px 20px rgba(251,185,4,.4)}
.ball.y,.ball.hit,.ball.miss,.balls.onwhite .ball:not(.lucky):not(.hit):not(.miss){text-shadow:0 2px 0 rgba(0,0,0,.18)}
.ball.sm{box-shadow:0 3px 0 #E6DCC6,0 7px 14px rgba(120,80,0,.16)}
.ball.sm.lucky{box-shadow:inset 0 0 0 2.5px var(--violet),0 3px 0 #D9CBEA,0 7px 14px rgba(106,31,181,.18)}
.ball.sm.hit{box-shadow:0 3px 0 #3F9614,0 7px 14px rgba(88,195,34,.3)}
.ball.sm.miss{box-shadow:0 3px 0 #A8121D,0 7px 14px rgba(229,32,46,.28)}
.ball.sm.y,.balls.onwhite .ball.sm:not(.lucky):not(.hit):not(.miss){box-shadow:0 3px 0 #C98E00,0 7px 14px rgba(251,185,4,.4)}
.ball.ghost,.ball.sm.ghost{box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.ball.lucky.ghost,.ball.sm.lucky.ghost{box-shadow:none}
/* liste de cadeaux : vignette arrondie, nom, prix, bouton */
.gift{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;margin-bottom:12px}
.gift .pic{width:84px;height:84px;border-radius:18px;flex:none;overflow:hidden;display:grid;place-items:center;font-size:46px;background:#F4F3F8;background:color-mix(in srgb,var(--cc,var(--y)) 14%,#fff);box-shadow:inset 0 0 0 1px rgba(20,10,40,.05)}
.gift .pic img{width:100%;height:100%;object-fit:cover;display:block}
.gift .pic img[src$=".svg"]{object-fit:contain;padding:8px}
.gift .info{flex:1;min-width:0}
.gift .info small{display:block;color:var(--mut);font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}
.gift .info b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:17px;font-weight:700;line-height:1.2;margin-top:1px}
.gift .info .c{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-weight:700;color:#B47F00;font-size:15px}
.gift .info .c .coin{width:18px;height:18px}
.gift .go{flex:none;background:var(--cc,var(--y));color:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;box-shadow:0 3px 0 rgba(0,0,0,.08)}
.gift.off{opacity:.5;pointer-events:none}
/* grille */
.grid{display:grid;grid-template-columns:repeat(7,1fr);gap:11px 7px;padding:12px 16px 8px}
.num{aspect-ratio:1;border-radius:50%;background:#E3E2E8;color:#fff;font-weight:700;font-size:16px;display:grid;place-items:center;transition:transform .12s}
.num{background:linear-gradient(#E9E8EE,#D9D8E0);box-shadow:0 4px 0 #C6C4D0,0 10px 20px rgba(29,27,38,.12);text-shadow:0 1px 1px rgba(0,0,0,.12)}
.num.on{background:linear-gradient(var(--y2),var(--y));transform:scale(1.08);box-shadow:0 4px 0 #C98E00,0 12px 24px rgba(251,185,4,.45);text-shadow:0 2px 0 rgba(0,0,0,.18)}
.grid.lucky{grid-template-columns:repeat(5,1fr);gap:9px 16px;padding:12px 44px 4px}
.grid.lucky .num{font-size:16px;background:#fff;color:var(--violet);text-shadow:none;box-shadow:inset 0 0 0 2px #D9CBEA,0 3px 0 #E6DDF1,0 7px 10px -5px rgba(106,31,181,.3)}
.grid.lucky .num.on{background:linear-gradient(#8A3FD6,var(--violet));color:#fff;box-shadow:0 4px 0 #4C1388,0 12px 24px rgba(106,31,181,.4)}
.lbl{padding:16px 18px 0;font-weight:700;color:var(--mut);font-size:15px}
.lbl.step{display:flex;align-items:center;gap:8px;transition:color .2s}
.lbl.step .stepn{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:#E3E2E8;color:#fff;flex:none}
.lbl.step .cnt{margin-left:auto;font-size:13px}
.lbl.step.act{color:var(--ink)}
.lbl.step.act .stepn{background:var(--y)}
.lbl.step.lucky.act{color:var(--violet)}
.lbl.step.lucky.act .stepn{background:var(--violet);animation:kdoPulse 1.2s ease-in-out infinite}
.lbl.step.done .stepn{background:var(--green)}
.lbl.step.done{color:var(--ink)}
.lbl.step.lucky.done{color:var(--violet)}
.grid.lucky.act .num:not(.on){box-shadow:inset 0 0 0 2px var(--violet),0 3px 0 #E6DDF1,0 7px 10px -5px rgba(106,31,181,.3)}
@keyframes kdoPulse{0%,100%{box-shadow:0 0 0 0 rgba(106,31,181,.45)}50%{box-shadow:0 0 0 7px rgba(106,31,181,0)}}
.tray{position:sticky;bottom:0;background:var(--y);border-radius:22px 22px 0 0;padding:14px 18px calc(var(--sab) + 12px);margin-top:12px;color:#fff;z-index:5}
/* écran de grille : fond blanc jusqu'en bas, le bandeau jaune colle au bord de l'écran */
.playpage{min-height:100dvh;display:flex;flex-direction:column;background:#fff}
.wrap.notab:has(.playpage){padding-bottom:0;background:#fff}
body:has(.playpage){background:#fff}
.playpage .btn{margin-top:12px}
.tray .row{display:flex;align-items:center;gap:10px}
.tray .tools{margin-left:auto;display:flex;gap:6px}
.tray .tools button{width:40px;height:40px;display:grid;place-items:center}
.tray .tools svg{width:22px;height:22px}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:300px;min-height:62px;padding:0 26px;border-radius:999px;background:#fff;color:#8A6200;font-weight:800;font-size:19px;margin:14px auto 0;box-shadow:0 5px 0 rgba(0,0,0,.14),0 14px 26px rgba(0,0,0,.2);transition:transform .08s,box-shadow .08s}
.btn:active{transform:translateY(4px);box-shadow:0 1px 0 rgba(0,0,0,.14),0 5px 10px rgba(0,0,0,.16)}
.btn:disabled{opacity:.55}
.btn.pink{background:var(--pink);color:#fff}
.btn.y{background:var(--y);color:#fff}
.btn.line{background:transparent;box-shadow:inset 0 0 0 2px var(--line);color:var(--ink)}
.btn.ghost{background:rgba(255,255,255,.25);color:#fff;box-shadow:none}
/* bonne chance */
.full{min-height:100dvh;background:var(--y);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(var(--sat) + 30px) 26px calc(var(--sab) + 30px);position:relative;overflow:hidden}
.full h1{font-size:40px;margin:0 0 22px;font-weight:700}
.full .balls{justify-content:center}
.full .ball{width:60px;height:60px;font-size:24px}
.lotto{position:absolute;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#1D1B26;box-shadow:inset -14px -18px 30px rgba(0,0,0,.28),0 20px 30px -10px rgba(0,0,0,.3)}
.lotto i{font-style:normal;background:#fff;border-radius:50%;width:56%;height:56%;display:grid;place-items:center}
/* mes tirages */
.drw{padding:16px;margin-bottom:14px;position:relative}
.drw.win{box-shadow:0 0 0 3px var(--green),0 12px 30px -14px rgba(40,120,0,.5)}
.drw .flag{position:absolute;top:-1px;left:-1px;background:var(--green);color:#fff;font-weight:700;font-size:13px;padding:5px 16px;border-radius:20px 0 14px 0}
.drw.win{padding-top:38px}
.drw .hd{display:flex;gap:12px;align-items:flex-start}
.drw .hd .t{flex:1;min-width:0}
.drw .hd b{display:block;font-size:19px;font-weight:600}
.drw .thumb{width:54px;height:54px;border-radius:50%;background:#F1F0F5;display:grid;place-items:center;font-size:30px;flex:none;overflow:hidden}
.drw .thumb img{width:100%;height:100%;object-fit:cover}
.chip{display:inline-block;background:#ECEBF1;color:#6B6878;border-radius:6px;padding:5px 10px;font-size:13px;margin:10px 0 2px;font-variant-numeric:tabular-nums}
.chip.g{background:#E7F7DC;color:#2F7D08}
.links{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px}
.lnk{color:#1E63D6;font-weight:500}
.lnk::after{content:" ›"}
/* gagnants */
.day{padding:16px;margin-bottom:14px}
.day h3{margin:0 0 12px;font-size:17px;font-weight:700}
.wrow{display:flex;align-items:center;gap:12px;padding:8px 0}
.wrow .t{flex:1;min-width:0}
.wrow .t b{display:block;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tagg{background:#ECEBF1;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:600;max-width:40%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* boutique */
.pack{display:flex;align-items:center;gap:14px;padding:16px;margin-bottom:12px;position:relative;width:100%;text-align:left}
.pack .stack{font-size:34px;width:56px;text-align:center}
.pack .t{flex:1}
.pack .t b{display:block;font-size:22px;font-weight:700}
.pack .t b .coin{width:22px;height:22px;margin-left:2px}
.pack .price{background:var(--pink);color:#fff;border-radius:999px;padding:10px 16px;font-weight:700;min-width:84px;text-align:center}
.pack .bdg{position:absolute;top:-9px;left:16px;background:var(--violet);color:#fff;font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;padding:3px 9px;border-radius:999px}
/* formulaires / listes */
.field{display:block;margin-bottom:12px}
.field span{display:block;font-size:13px;color:var(--mut);margin:0 0 5px 4px}
.field input,.field textarea,.field select{width:100%;border:0;background:#fff;border-radius:14px;padding:14px;box-shadow:inset 0 0 0 1.5px var(--line);outline:0}
.field input:focus,.field textarea:focus{box-shadow:inset 0 0 0 2px var(--y)}
.rows{overflow:hidden}
.rowi{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--line);width:100%;text-align:left}
.rowi:last-child{border-bottom:0}
.rowi .sp{flex:1}
.rowi.danger{color:var(--red)}
.chev{color:#C4C2CE}
.sw{width:50px;height:30px;border-radius:15px;background:#D9D8E0;position:relative;transition:background .15s;flex:none}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.sw.on{background:var(--green)}
.sw.on::after{transform:translateX(20px)}
.colors{display:flex;gap:10px}
.colors label{width:34px;height:34px;border-radius:50%;display:block}
.colors input{display:none}
.colors input:checked+label{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--ink)}
.flash{margin:14px 18px 0;background:#E7F7DC;color:#2F7D08;padding:12px 14px;border-radius:14px;font-weight:500}
.err{color:var(--red);font-size:13px;margin:4px}
.empty{text-align:center;padding:50px 30px;color:var(--mut)}
.empty .e{font-size:60px;margin-bottom:10px}
/* barre d'onglets */
.tabs{position:fixed;left:0;right:0;bottom:0;background:#fff;height:calc(var(--tabh) + var(--sab));padding-bottom:var(--sab);display:flex;justify-content:center;box-shadow:0 -1px 0 var(--line);z-index:20}
.tabs .in{display:flex;width:100%;max-width:560px}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;color:#B5B3BF;font-weight:500}
.tab svg{width:25px;height:25px}
.tab.on{color:var(--y)}
.tab.mid{flex:0 0 76px}
.tab.mid i{font-style:normal;width:58px;height:58px;border-radius:50%;background:var(--pink);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;margin-top:-26px;box-shadow:0 0 0 5px #fff,0 8px 16px -6px rgba(255,46,147,.7)}
/* toast */
.toast{position:fixed;left:50%;top:calc(var(--sat) + 14px);transform:translate(-50%,calc(-100% - var(--sat) - 30px));opacity:0;pointer-events:none;background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:600;z-index:50;transition:transform .25s,opacity .25s;max-width:88%;text-align:center}
.toast.show{transform:translate(-50%,0);opacity:1}
.legal{padding:18px;line-height:1.55}
.legal h2{font-size:18px;margin:22px 0 6px}
.legal p,.legal li{color:#4A4856}
.full>*{position:relative;z-index:1}
.full>.lotto{position:absolute;z-index:0}
/* missions (crédits gratuits) */
.missions{padding:4px 14px;text-align:left;color:var(--ink)}
.mis{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.mis:last-child{border-bottom:0}
.mis .ic{width:42px;height:42px;border-radius:14px;background:#FFF4D6;display:grid;place-items:center;font-size:22px;flex:none}
.mis .t{flex:1;min-width:0}
.mis .t b{display:block;font-size:15px;font-weight:700;line-height:1.2}
.mis .t .small{display:block;margin-top:2px;color:var(--mut)}
.mis .rw{color:#B47F00;font-weight:700}
.mis .bar{display:block;height:5px;border-radius:3px;background:var(--line);margin-top:6px;overflow:hidden}
.mis .bar i{display:block;height:100%;background:var(--y);border-radius:3px;transition:width .3s}
.mis .go{flex:none;background:var(--pink);color:#fff;border-radius:999px;padding:9px 14px;font-weight:700;font-size:13px}
.mis .go:disabled{opacity:.55}
.mis .tick{flex:none;width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800}
.mis.ok .ic{background:#E7F7DC}
.mis .ic img{width:32px;height:32px;display:block}
.mis.ok .bar i{background:var(--green)}
/* écran d'accueil (premier lancement) */
.onb{position:fixed;inset:0;display:flex;flex-direction:column;color:#fff;background:var(--ink)}
.onb .skip{position:absolute;top:calc(var(--sat) + 12px);right:14px;z-index:3;color:#fff;font-weight:600;font-size:15px;padding:8px 12px;background:rgba(255,255,255,.2);border-radius:999px}
.onb .slides{flex:1;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.onb .slides::-webkit-scrollbar{display:none}
.onb .slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;overflow-y:auto;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:calc(var(--sat) + 60px) 24px 150px}
.onb .hero{font-size:84px;line-height:1;margin-bottom:18px;filter:drop-shadow(0 10px 16px rgba(0,0,0,.2))}
.onb h1{margin:0 0 10px;font-size:30px;font-weight:800;letter-spacing:-.4px;line-height:1.1}
.onb p{margin:0 auto 18px;max-width:360px;font-size:16px;line-height:1.45;opacity:.95}
.onb .missions{max-width:420px;width:100%;margin:0 auto}
.onb .foot{position:absolute;left:0;right:0;bottom:0;padding:0 24px calc(var(--sab) + 18px);z-index:3}
.onb .foot .btn{max-width:420px;margin:12px auto 0;color:var(--ink)}
.onb .slide .btn.ghost{max-width:420px;margin:6px auto 0}
.dots{display:flex;justify-content:center;gap:7px}
.dots i{width:8px;height:8px;border-radius:4px;background:rgba(255,255,255,.45);transition:width .2s,background .2s}
.dots i.on{width:24px;background:#fff}
/* feuilles qui montent du bas (notifications, bonus du jour, grilles d'un tirage) */
.sheet{position:fixed;inset:0;z-index:60;background:rgba(20,10,40,.5);display:flex;align-items:flex-end;justify-content:center}
.sheet-in{width:100%;max-width:560px;max-height:88dvh;overflow-y:auto;background:#fff;color:var(--ink);border-radius:28px 28px 0 0;padding:26px 24px calc(var(--sab) + 18px);text-align:center;animation:sheetUp .28s cubic-bezier(.2,.9,.3,1.1)}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
.sheet .bellbig{width:84px;height:84px;margin:-62px auto 12px;border-radius:50%;background:var(--y);display:grid;place-items:center;font-size:44px;box-shadow:0 0 0 6px #fff,0 12px 24px -8px rgba(251,185,4,.7)}
.sheet h2{margin:0 0 6px;font-size:24px;font-weight:800}
.sheet p{margin:0 0 12px}
.sheet .why{list-style:none;margin:0 auto 6px;padding:0;max-width:320px;text-align:left}
.sheet .why li{display:flex;align-items:center;gap:12px;padding:8px 0;font-weight:600}
.sheet .why span{width:36px;height:36px;border-radius:12px;background:#FFF4D6;display:grid;place-items:center;font-size:19px;flex:none}
.sheet .later{display:block;margin:12px auto 0;padding:8px 16px;color:var(--mut);font-weight:600}
.sheet .btn.line{color:var(--ink)}
.sheet .grab{display:block;width:44px;height:5px;border-radius:3px;background:var(--line);margin:-12px auto 14px}
.sheet .amount{display:inline-flex;align-items:center;gap:8px;font-size:34px;font-weight:800;color:#B47F00;margin:2px 0 14px}
.sheet .amount .coin{width:30px;height:30px}
.streak{background:#FFF8E6;border-radius:18px;padding:14px;margin:0 auto 6px;max-width:380px}
.streak .row{display:flex;justify-content:space-between;align-items:center;font-size:15px;margin-bottom:10px}
.streak .rw{color:#B47F00;font-weight:800}
.days{display:flex;gap:5px;margin-top:6px}
.days i{flex:1;height:6px;border-radius:3px;background:var(--line)}
.days i.on{background:var(--y)}
.days.big{gap:8px;margin:0 0 8px}
.days.big i{height:38px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-weight:800;color:#B5B3BF;background:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.days.big i.on{background:var(--y);color:#fff;box-shadow:none}
.days.big i{height:44px;font-size:17px;color:#A9A6B4;background:linear-gradient(#fff,#F7F6FA);box-shadow:inset 0 0 0 1.5px var(--line),0 3px 0 #E2E0EA,0 8px 14px -6px rgba(29,27,38,.25)}
.days.big i.on{background:linear-gradient(#6FD635,var(--green));color:#fff;box-shadow:0 3px 0 #3F9614,0 8px 14px -6px rgba(63,150,20,.6);text-shadow:0 1px 1px rgba(0,0,0,.2)}
.days.big i.today{background:linear-gradient(#FF5AAA,var(--pink));color:#fff;box-shadow:0 3px 0 var(--pink2),0 8px 16px -6px rgba(255,46,147,.7);text-shadow:0 1px 1px rgba(0,0,0,.2);animation:dayPop .5s ease}
@keyframes dayPop{0%{transform:scale(.6)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
/* feuille crédits du jour : tas de pièces qui dépasse du haut */
.sheet-in.dsheet{position:relative;overflow:visible;padding-top:70px}
.dsheet .heap{position:absolute;left:50%;top:-92px;width:min(320px,80%);transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 10px 18px rgba(180,127,0,.35))}
.dsheet .btn .coin{width:22px;height:22px;margin-left:4px}
.dsheet .streak .rw .coin,.dailyc .go .coin{width:16px;height:16px}
/* carte du bonus du jour (accueil) */
.dailyc{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;text-align:left}
.dailyc .ic{width:52px;height:52px;border-radius:16px;background:#FFF4D6;display:grid;place-items:center;flex:none}
.dailyc .ic img{width:40px;height:40px}
.dailyc .t{flex:1;min-width:0}
.dailyc .t b{display:block;font-size:16px}
.dailyc .go{flex:none;background:var(--pink);color:#fff;border-radius:999px;padding:9px 14px;font-weight:700;font-size:14px}
.dailyc .tick{flex:none;width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800}
/* mes tirages */
.drw .hd .thumb{order:-1}
.drw .mine{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}
.st{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 12px;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}
.st.wait{background:#FFF4D6;color:#8A6200}
.st.ok{background:#E7F7DC;color:#2F7D08}
.st.lost{background:#ECEBF1;color:#6B6878}
.st .coin{width:16px;height:16px}
.links .lnk{font:inherit;font-weight:500}
.grids .res{display:flex;flex-direction:column;align-items:center;gap:8px;background:#F6F5FA;border-radius:16px;padding:12px;margin:8px 0 12px}
.grids .res .cd{font-size:22px;font-variant-numeric:tabular-nums}
.grids .list{text-align:left}
.grids .gl{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px;border-bottom:1px solid var(--line)}
.grids .gl:last-child{border-bottom:0}
.okc{color:#2F7D08;font-weight:700}
/* bonne chance */
.glcard{position:relative;z-index:2;width:100%;max-width:340px;background:#fff;color:var(--ink);border-radius:24px;padding:16px;margin:0 0 18px;text-align:left;box-shadow:0 18px 40px -16px rgba(0,0,0,.35)}
.glcard .balls{justify-content:center;margin:10px 0 12px}
.glcard .ball{width:48px;height:48px;font-size:20px}
.glcard>.small{text-align:center}
.glrow{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.glrow .thumb{width:44px;height:44px;border-radius:12px;background:#F4F3F8;display:grid;place-items:center;font-size:24px;overflow:hidden;flex:none}
.glrow .thumb img{width:100%;height:100%;object-fit:cover}
.glrow .thumb img[src$=".svg"]{object-fit:contain;padding:4px}
.glrow .t{flex:1}
.glrow .t b{display:block;font-size:17px}
.glrow .t .small{display:block}
.cdrow{justify-content:space-between}
.cdpill{background:#FFF4D6;color:#8A6200;border-radius:999px;padding:7px 12px;font-weight:700;font-variant-numeric:tabular-nums}
/* boutique : visuels des packs */
.pack .stack img{width:52px;height:52px;display:block;margin:0 auto}
.drw .thumb img[src$=".svg"]{object-fit:contain;padding:6px}
/* effet « appuyé » sur tout ce qui se touche (le bouton principal .btn a son propre enfoncement) */
.card,.cat,.gift,.pill,.go,.tab,.rowi,.pack,.back,.bell,.num,.banner,.lnk,.skip,.later,.dailyc{transition:transform .1s ease,filter .1s ease,background .1s}
a.card:active,.cat:active,.gift:active,.pack:active,.banner:active,button.card:active{transform:scale(.97);filter:brightness(.96)}
.pill:active,.go:active,.back:active,.bell:active,.skip:active,.later:active,.lnk:active{transform:scale(.92);filter:brightness(.94)}
.tab:active{transform:scale(.9)}
.rowi:active{background:#F6F5FA}
.num:active{transform:scale(.88)}
.num.on:active{transform:scale(.98)}
.btn:disabled:active{transform:none;filter:none}
/* Visuels détourés (WebP transparent) : affichés en entier, pas recadrés */
.pic img[src$=".webp"]{object-fit:contain;padding:6px}
.thumb img[src$=".webp"]{object-fit:contain;padding:4px}

/* tirage en direct (plein écran) */
.live{position:fixed;inset:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:calc(var(--sat) + 20px) 22px calc(var(--sab) + 24px);color:#fff;text-align:center;background:radial-gradient(circle at 50% 30%,#8A3FD6,#3B0C78 75%);opacity:0;transition:opacity .35s;overflow:hidden}
.live.on{opacity:1}
.live.win{background:radial-gradient(circle at 50% 30%,#FFCB3A,#E08A00 80%)}
.live-h{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:15px;letter-spacing:.4px;text-transform:uppercase;background:rgba(255,255,255,.16);padding:7px 14px;border-radius:999px}
.live-h .rec{width:10px;height:10px;border-radius:50%;background:#FF3B3B;box-shadow:0 0 0 0 rgba(255,59,59,.7);animation:recP 1.2s infinite}
@keyframes recP{70%{box-shadow:0 0 0 9px rgba(255,59,59,0)}100%{box-shadow:0 0 0 0 rgba(255,59,59,0)}}
.drum{position:relative;width:min(240px,62vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.35),rgba(255,255,255,.06) 55%,rgba(255,255,255,.14));box-shadow:inset 0 0 0 4px rgba(255,255,255,.35),inset 0 -18px 40px rgba(0,0,0,.25),0 18px 40px rgba(0,0,0,.3)}
.drum .glass{position:absolute;left:18%;top:10%;width:30%;height:16%;border-radius:50%;background:rgba(255,255,255,.4);filter:blur(2px);transform:rotate(-25deg);z-index:2}
.drum i{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:14px;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.25);box-shadow:inset -4px -5px 0 rgba(0,0,0,.15),inset 3px 3px 0 rgba(255,255,255,.35);transition:opacity .3s}
.drum i.out{opacity:0}
.live-sub{font-weight:700;opacity:.9;transition:opacity .3s}
.live-sub.off{opacity:0;height:0;margin:-8px 0}
.live-res{justify-content:center}
.live .live-res .ball{width:54px;height:54px;font-size:22px}
.live .live-res .ball.ghost{background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}
.live .live-res .ball.lucky.ghost{border:2.5px dashed rgba(255,255,255,.6);background:transparent;box-shadow:none}
.live .live-res .ball.lucky:not(.ghost){background:#fff}
.live .ball.match{outline:3px solid var(--green);outline-offset:3px}
.ball.pop{animation:ballPop .55s cubic-bezier(.2,1.6,.4,1)}
@keyframes ballPop{0%{transform:translateY(-60px) scale(.3);opacity:0}100%{transform:none;opacity:1}}
.live-mine{background:#fff;color:var(--ink);border-radius:20px;padding:12px 16px;box-shadow:0 6px 0 rgba(0,0,0,.12),0 16px 30px rgba(0,0,0,.2)}
.live-mine .small{display:block;color:var(--mut);font-weight:700;margin-bottom:8px}
.live-mine .balls{justify-content:center}
.live-msg{display:flex;flex-direction:column;gap:4px;animation:ballPop .5s ease}
.live-msg b{font-size:32px;font-weight:800;text-shadow:0 3px 0 rgba(0,0,0,.18)}
.live-msg span{font-size:17px;font-weight:600;opacity:.95}
.live .btn{max-width:320px;color:var(--ink)}

/* identifiant + date de création d'une grille */
.gmeta{display:block;font-size:12px;font-weight:600;color:var(--mut);margin-bottom:6px;font-variant-numeric:tabular-nums}
.grids .gl .gb{min-width:0}

/* crédits gratuits : une carte par mission, relief façon Tildee */
.sec h2.freeh{margin:26px 0 12px;font-size:26px;font-weight:800}
.missions .mis{background:#fff;border:0;border-radius:22px;padding:14px;margin-bottom:12px;gap:14px;box-shadow:0 4px 0 #E6E4EE,0 10px 22px rgba(29,27,38,.07)}
.missions .mis .ic{width:58px;height:58px;border-radius:18px;background:linear-gradient(#FFF7DE,#FFEDB8);box-shadow:inset 0 -3px 0 rgba(224,138,0,.15)}
.missions .mis .ic img{width:46px;height:46px;object-fit:contain}
.missions .mis.ok .ic{background:linear-gradient(#EFFAE6,#DDF3CC)}
.missions .mis .t b{font-size:16px;font-weight:800}
.mis .meta{display:flex;align-items:center;gap:8px;margin-top:5px}
.mis .rwb{display:inline-flex;align-items:center;gap:4px;background:#FFF4D6;color:#A66F00;font-weight:800;font-size:14px;border-radius:999px;padding:3px 9px 3px 10px}
.mis .rwb .coin{width:16px;height:16px}
.mis .cnt{font-size:13px;font-weight:700;color:var(--mut)}
.mis .stars{color:var(--y);font-size:13px;letter-spacing:1px}
.mis .sub{display:block;margin-top:6px}
.mis .rwt{display:inline-flex;align-items:center;gap:3px;color:#A66F00}
.mis .rwt .coin{width:14px;height:14px}
.missions .mis .bar{height:7px;border-radius:4px;margin-top:9px}
.missions .mis .days{margin-top:9px}
.missions .mis .days i{height:7px}
.missions .mis .days i.on{background:var(--green)}
.missions .mis .go{padding:11px 16px;font-size:14px;font-weight:800;box-shadow:0 4px 0 var(--pink2),0 10px 20px rgba(255,46,147,.3)}
.missions .mis .go:active{transform:translateY(3px);box-shadow:0 1px 0 var(--pink2)}
.mis .done{flex:none;display:inline-flex;align-items:center;gap:4px;background:#E7F7DC;color:#3F9614;font-weight:800;font-size:13px;border-radius:999px;padding:8px 12px}
.mis .done.later{background:#F1F0F5;color:var(--mut)}
.missions{padding:0}
/* « Voir tes grilles » / « Récupérer ton cadeau » : vrais boutons en bas de carte */
.drw .links{gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.drw .lnk{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border-radius:14px;background:#F3EEFB;color:var(--violet);font-weight:800;font-size:15px;box-shadow:0 3px 0 #E2D6F3}
.drw .lnk::before{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z' rx='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z'/%3E%3C/svg%3E") center/contain no-repeat}
.drw .lnk::after{content:"›";font-size:20px;line-height:1;margin-left:auto;opacity:.6}
.drw a.lnk{background:linear-gradient(#FF5AAA,var(--pink));color:#fff;box-shadow:0 4px 0 var(--pink2),0 10px 20px rgba(255,46,147,.3)}
.drw a.lnk::before{-webkit-mask:none;mask:none;background:none;content:"🎁";width:auto;height:auto}
.drw .lnk:active{transform:translateY(2px);box-shadow:0 1px 0 #E2D6F3}

.tagg.cr{display:inline-flex;align-items:center;gap:4px;background:#FFF4D6;color:#A66F00;font-weight:800}
.tagg.cr .coin{width:16px;height:16px}

/* profil */
.top.prof{padding-bottom:26px}
.top.prof .toprow{align-items:center}
.gear{width:42px;height:42px;border-radius:50%;background:#fff;color:#8A6200;display:grid;place-items:center;box-shadow:0 3px 0 rgba(0,0,0,.14),0 8px 18px rgba(0,0,0,.12)}
.gear svg{width:22px;height:22px}
.gear:active{transform:translateY(2px)}
.pid{text-align:center;margin-top:4px}
.pid h1{margin:12px 0 2px;font-size:26px;font-weight:800}
.pid .small{opacity:.92}
.ava.xl{width:96px;height:96px;margin:0 auto;position:relative;box-shadow:0 0 0 5px #fff,0 6px 0 5px rgba(0,0,0,.1),0 16px 30px rgba(0,0,0,.18)}
.ava.xl .edit{position:absolute;right:-4px;bottom:-2px;width:30px;height:30px;border-radius:50%;background:#fff;color:var(--ink);font-style:normal;font-size:15px;display:grid;place-items:center;box-shadow:0 2px 0 rgba(0,0,0,.12)}
.pstats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ps{background:#fff;border-radius:20px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;box-shadow:0 4px 0 #E6E4EE,0 10px 22px rgba(29,27,38,.07)}
.ps img,.ps .e{width:34px;height:34px;object-fit:contain;font-size:26px;line-height:34px;margin-bottom:4px}
.ps b{font-size:24px;font-weight:800;line-height:1.1}
.ps span:last-child{font-size:13px;font-weight:700;color:var(--mut)}
.pempty{display:flex;align-items:center;gap:12px;padding:16px}
.pempty .e{font-size:30px}
.pempty span:nth-child(2){flex:1;font-weight:700}
.pempty .go,.pwin .go{flex:none;background:var(--pink);color:#fff;border-radius:999px;padding:9px 14px;font-weight:800;font-size:14px;box-shadow:0 4px 0 var(--pink2)}
.pwin .thumb{width:46px;height:46px;border-radius:14px;background:#F3F3F6;display:grid;place-items:center;overflow:hidden;flex:none}
.pwin .thumb img{width:100%;height:100%;object-fit:contain}
.pwin .sp b{display:block}
.pwin .tick{width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800;flex:none}
.rowi .ri{width:34px;height:34px;border-radius:11px;background:#F3F3F6;display:grid;place-items:center;font-size:17px;flex:none}
.rowi .sp{flex:1;font-weight:700}
.btn.pink{background:linear-gradient(#FF5AAA,var(--pink));color:#fff;box-shadow:0 5px 0 var(--pink2),0 14px 26px rgba(255,46,147,.3)}

/* mission partage : explication + 3 cases « ami » + gros bouton */
.missions .mis.share{flex-direction:column;align-items:stretch;gap:12px}
.mis.share .shtop{display:flex;align-items:center;gap:14px}
.mis.share .shint{margin:0;font-size:14px;line-height:1.4;color:#55525F;background:#F7F6FB;border-radius:14px;padding:10px 12px}
.mis.share .friends{display:flex;gap:10px}
.mis.share .fr{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px}
.mis.share .fr i{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:17px;color:#B5B3BF;background:#fff;box-shadow:inset 0 0 0 2px var(--line),0 3px 0 #E6E4EE;border:2px dashed transparent}
.mis.share .fr.on i{background:linear-gradient(#6FD635,var(--green));color:#fff;box-shadow:0 3px 0 #3F9614,0 8px 14px -6px rgba(63,150,20,.6);animation:dayPop .45s ease}
.mis.share .fr small{font-size:12px;font-weight:700;color:var(--mut)}
.mis.share .fr.on small{color:#3F9614}
.missions .mis .go.wide{width:100%;padding:13px 16px;font-size:15px;display:flex;align-items:center;justify-content:center;gap:6px}
.mis .go .cntb{opacity:.85;font-weight:700}
.mis .done.wide{justify-content:center;padding:11px 12px;font-size:14px}

/* bannières pleine largeur + points */
.bwrap{position:relative;margin-top:14px}
/* Bannière collée au header : elle glisse dessous (le header arrondi passe par-dessus). */
.top{z-index:2}
.top + .bwrap{margin-top:-26px}
.top + .bwrap .banner{min-height:226px;padding-top:48px}
.bwrap .banners{gap:0;padding:0;overscroll-behavior-x:contain}
.bwrap .banner{border-radius:0;min-height:200px;padding:22px 20px 30px}
.bwrap .banner b{text-shadow:0 2px 10px rgba(0,0,0,.35)}
.bdots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;pointer-events:none}
.bdots i{width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.55);transition:width .25s,background .25s;pointer-events:auto}
.bdots i.on{width:20px;background:#fff}
/* accueil : choix du jeu — illustration qui dépasse de la tuile, halo lumineux, reflet en haut */
.sub-h{font-weight:800;font-size:15px;color:var(--mut);margin:6px 2px 10px;text-transform:uppercase;letter-spacing:.4px}
.igrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:34px 0 22px}
.itile{position:relative;border-radius:24px;padding:62px 8px 14px;color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;isolation:isolate;box-shadow:0 6px 0 var(--sh),0 14px 24px -6px var(--glow);transition:transform .1s,box-shadow .1s}
.itile::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.45),rgba(255,255,255,0) 55%),repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 10px,rgba(255,255,255,0) 10px 20px)}
.itile::after{content:"";position:absolute;left:10px;right:10px;top:6px;height:38%;border-radius:18px 18px 40% 40%;background:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,0));z-index:-1;pointer-events:none}
.itile .ivis{position:absolute;top:-34px;left:50%;width:96px;height:96px;margin-left:-48px;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(0,0,0,.3));transition:transform .2s}
.itile b{font-size:15px;line-height:1.12;font-weight:800;text-shadow:0 2px 0 rgba(0,0,0,.16);min-height:2.24em;display:flex;align-items:center}
.itile .from{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:800;background:#fff;color:var(--fc);border-radius:999px;padding:4px 10px;box-shadow:0 2px 0 rgba(0,0,0,.15)}
.itile .from .coin{width:15px;height:15px}
.it-scratch{background:linear-gradient(160deg,#3FDCC4,#0E9A8F);--sh:#0A6D66;--glow:rgba(14,154,143,.55);--fc:#0B7B72}
.it-wheel{background:linear-gradient(160deg,#FF6FB5,#E0177A);--sh:#A80F5A;--glow:rgba(224,23,122,.5);--fc:#C0126A}
.it-slots{background:linear-gradient(160deg,#9B55EA,#4C1388);--sh:#33095E;--glow:rgba(76,19,136,.5);--fc:#5B1AA0}
.itile:active{transform:translateY(4px);box-shadow:0 2px 0 var(--sh),0 6px 12px -6px var(--glow)}
.itile:active .ivis{transform:scale(1.06) rotate(-3deg)}

/* jeux instantanés */
.ig{display:flex;flex-direction:column;align-items:stretch;gap:14px;text-align:center}
.ig .btn{max-width:none;margin:0}
.ig-play img{width:38px;height:38px;object-fit:contain;margin:-8px 0 -8px -6px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}

/* machine à sous 4 × 3 */
.slot-m{background:linear-gradient(#9B55EA,#4C1388);border-radius:28px;padding:14px 12px 14px;box-shadow:0 6px 0 #33095E,0 16px 30px rgba(76,19,136,.35),inset 0 0 0 3px rgba(255,203,58,.55);position:relative}
.slot-top{display:flex;align-items:center;justify-content:center;gap:8px;color:#FFCB3A;font-weight:900;letter-spacing:3px;font-size:20px;margin:-4px 0 10px;text-shadow:0 2px 0 rgba(0,0,0,.35)}
.slot-top img{width:40px;height:40px;object-fit:contain}
.sgrid-w{position:relative;border-radius:18px;padding:6px;background:linear-gradient(#FFD45A,#E5A100);box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 3px 0 rgba(0,0,0,.25)}
.sgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.scol{display:grid;grid-template-rows:repeat(3,1fr);gap:5px;border-radius:12px;overflow:hidden}
.scell{aspect-ratio:1;background:linear-gradient(#fff,#EFEAF8 50%,#fff);border-radius:12px;display:grid;place-items:center;box-shadow:inset 0 4px 8px rgba(0,0,0,.08),inset 0 -4px 8px rgba(0,0,0,.08);transition:background .25s,box-shadow .25s}
.scell img{width:78%;height:78%;object-fit:contain;animation:reelStop .35s cubic-bezier(.2,1.6,.4,1)}
.scol.spin .scell img{filter:blur(2.5px);animation:reelSpin .075s linear infinite}
@keyframes reelSpin{from{transform:translateY(-22%)}to{transform:translateY(22%)}}
@keyframes reelStop{0%{transform:translateY(-30%)}100%{transform:none}}
.scell.hit{background:radial-gradient(circle,#FFF6C8,#FFD45A);box-shadow:0 0 0 3px #FFCB3A,0 0 16px rgba(255,203,58,.9)}
.scell.hit img{animation:symWin .6s ease infinite alternate}
@keyframes symWin{from{transform:scale(1)}to{transform:scale(1.12)}}
.slines{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);pointer-events:none;overflow:visible}
.slines polyline{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-width:7px;filter:drop-shadow(0 0 3px rgba(0,0,0,.45));stroke-dasharray:1200;stroke-dashoffset:1200;animation:lineDraw .45s ease forwards;opacity:.92}
@keyframes lineDraw{to{stroke-dashoffset:0}}

/* carte à gratter : ticket */
.scr-card{position:relative;background:linear-gradient(160deg,#3FDCC4,#0E9A8F);border-radius:28px;padding:12px 14px 16px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.35);color:#fff}
.scr-head{position:relative;display:flex;align-items:center;gap:10px;text-align:left;margin:0 4px 12px;padding-bottom:12px;border-bottom:2px dashed rgba(255,255,255,.45)}
.scr-wrap{filter:drop-shadow(0 6px 0 #0A6D66) drop-shadow(0 14px 18px rgba(14,143,134,.3))}
.scr-card{--ty:84px;-webkit-mask:radial-gradient(circle 12px at 0 var(--ty),#0000 97%,#000) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% var(--ty),#0000 97%,#000) right/51% 100% no-repeat;mask:radial-gradient(circle 12px at 0 var(--ty),#0000 97%,#000) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% var(--ty),#0000 97%,#000) right/51% 100% no-repeat}
.scr-head img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 4px 5px rgba(0,0,0,.25))}
.scr-head b{display:block;font-size:22px;font-weight:900;letter-spacing:1px;color:#FFE27A;text-shadow:0 2px 0 rgba(0,0,0,.25)}
.scr-head span{font-size:13.5px;font-weight:700;opacity:.95}
.scr-zone{position:relative;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 0 0 4px #FFD45A,0 4px 0 4px #C98E00}
.scr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;background:linear-gradient(135deg,#FFF8E1,#FFFFFF 50%,#F3EEFF)}
.scr-grid span{aspect-ratio:1;display:grid;place-items:center;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 2px #F1ECF8}
.scr-grid img{width:76%;height:76%;object-fit:contain}
.scr-grid span.hit{background:radial-gradient(circle,#FFF6C8,#FFD45A);box-shadow:0 0 0 3px #FFCB3A,0 0 14px rgba(255,203,58,.8);animation:dayPop .5s ease}
.scr-grid span.hit img{animation:symWin .6s ease infinite alternate}
.scr-zone canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;transition:opacity .45s,transform .45s;cursor:grab}
.scr-zone canvas.gone{opacity:0;transform:scale(1.04);pointer-events:none}
.scr-zone .flake{position:absolute;width:7px;height:5px;border-radius:2px;background:linear-gradient(135deg,#F4F4FA,#B9B7C9);pointer-events:none;z-index:3;animation:flake .7s ease-in forwards}
@keyframes flake{to{transform:translate(var(--dx),70px) rotate(var(--r));opacity:0}}
.scr-reveal{margin-top:12px;background:rgba(255,255,255,.22);color:#fff;font-weight:800;padding:8px 18px;border-radius:999px}

/* roue */
.wheel-box{position:relative;width:min(330px,88vw);aspect-ratio:1;margin:18px auto 0;border-radius:50%;box-shadow:0 8px 0 #A87400,0 22px 36px rgba(60,10,110,.35)}
.wheel{width:100%;height:100%;transition:transform 4.2s cubic-bezier(.12,.8,.18,1)}
.wheel-pin{position:absolute;left:50%;top:-24px;width:40px;height:50px;transform:translateX(-50%);z-index:2;filter:drop-shadow(0 4px 3px rgba(0,0,0,.35))}
.wheel-hub{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FFF6D6,#FFCB3A 60%,#C98E00);display:grid;place-items:center;box-shadow:0 0 0 4px #fff,0 4px 0 4px #A87400,0 8px 16px rgba(0,0,0,.3)}
.wheel-hub img{width:36px;height:36px}

.ig-msg{border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:2px;animation:ballPop .45s ease}
.ig-msg b{font-size:20px;font-weight:800}
.ig-msg.bad{background:#F1F0F5;color:var(--ink)}
.stakes{display:flex;align-items:center;justify-content:space-between;gap:10px}
.chips{display:flex;gap:8px}
.stakes .chip{display:inline-flex;align-items:center;gap:4px;margin:0;padding:9px 13px;border-radius:999px;background:#fff;font-size:15px;font-weight:800;color:#A66F00;box-shadow:inset 0 0 0 2px var(--line),0 3px 0 #E6E4EE}
.stakes .chip.on{background:linear-gradient(var(--y2),var(--y));color:#fff;box-shadow:0 3px 0 #C98E00;text-shadow:0 1px 0 rgba(0,0,0,.18)}
.chip .coin{width:16px;height:16px}

/* table des gains : symboles à gauche, crédits gagnés à droite */
.paytable{text-align:left;padding:16px}
.paytable h3{margin:0 0 6px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.paytable h3 .coin{width:14px;height:14px}
.paytable h4{margin:16px 0 8px;font-size:15px}
.paytable .rule{margin:0 0 8px}
.paytable .pt{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.paytable .pt > :first-child{flex:1}
.paytable .syms{display:flex;gap:2px}
.paytable .syms img{width:34px;height:34px;object-fit:contain}
.paytable .pt b{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-width:74px;color:#A66F00;font-size:17px;font-weight:800;flex-wrap:wrap;text-align:right}
.paytable .pt b .coin{width:17px;height:17px}
.paytable .pt b small{flex-basis:100%;text-align:right;font-size:11.5px;color:var(--mut);font-weight:700}
.paytable .pt b.no{color:var(--mut);font-size:14px}
.paytable .pt .mut{font-size:13px;color:var(--mut)}
.paytable .pth{padding:0 0 4px;border:0}
.paytable .pth em{min-width:74px;text-align:right;font-style:normal;font-size:12px;font-weight:700;color:var(--mut)}
.paytable p{margin:10px 0 0}
.lmap{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;--l0:#FFCB3A;--l1:#FF2E93;--l2:#1EC8B0;--l3:#1E88FF;--l4:#FF7A1A}
.lmap > div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:var(--mut)}
.lmap .lg{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;width:100%;max-width:58px;padding:3px;border-radius:7px;background:#F1EEF7}
.lmap u{aspect-ratio:1;border-radius:2px;background:#fff}
.lmap u.on{background:var(--lc)}

/* fenêtre de gain */
.wsheet h2{font-size:30px;color:#2F7A0E}
.wsheet .amount{font-size:44px;margin-bottom:8px}
.wsheet .amount .coin{width:38px;height:38px}
.wdet{display:flex;flex-direction:column;gap:6px;margin:0 auto 6px;max-width:330px}
.wdet > div{display:flex;align-items:center;justify-content:center;gap:8px;background:#FFF8E1;border-radius:14px;padding:6px 12px;font-weight:700;font-size:14px}
.wdet .syms{display:flex}
.wdet .syms img{width:28px;height:28px;object-fit:contain}
.wsheet .btn{margin-top:14px}

/* paramètres : rubriques avec valeur actuelle */
.rowi .sp .rv{display:block;font-size:13px;font-weight:600;color:var(--mut);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rowi .sp{min-width:0}
.hintc{background:#FFF8E6;border-radius:14px;padding:12px 14px;margin:0 0 14px;font-size:14px;line-height:1.4;color:#6B5A2E}
.setf .btn{max-width:none}

/* jeux instantanés : rouleaux qui défilent, icônes de bouton, bouton d'achat du ticket, gain, son */
.scol{position:relative}
.scol.spin .scell{visibility:hidden}
.sstrip{position:absolute;inset:0;overflow:hidden;border-radius:12px}
.sstrip>div{animation:reelRoll var(--rd,.32s) linear infinite}
.sstrip i{display:grid;place-items:center;aspect-ratio:1;margin-bottom:5px;border-radius:12px;background:linear-gradient(#fff,#EFEAF8 50%,#fff);box-shadow:inset 0 4px 8px rgba(0,0,0,.08),inset 0 -4px 8px rgba(0,0,0,.08)}
.sstrip img{width:78%;height:78%;object-fit:contain;filter:blur(1.6px)}
@keyframes reelRoll{from{transform:translateY(-50%)}to{transform:none}}
.gicon{width:26px;height:26px;flex:none;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.scr-buy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;width:auto;max-width:90%;min-height:56px;font-size:18px;white-space:nowrap;z-index:3}
.scr-buy:active{transform:translate(-50%,calc(-50% + 3px))}
/* fenêtre de gain : gros tas de pièces qui déborde au-dessus de la feuille */
.sheet-in.wsheet{padding-top:96px}
.wsheet .heap{position:absolute;left:50%;top:-118px;width:min(420px,100%);max-width:none;transform:translateX(-50%);filter:drop-shadow(0 12px 20px rgba(180,127,0,.4))}
.sndb{position:relative;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.25);display:grid;place-items:center;color:#fff;flex:none}
.sndb svg{width:20px;height:20px}
.sndb.off{opacity:.65}
.sndb.off i{position:absolute;width:26px;height:2.6px;background:#fff;border-radius:2px;transform:rotate(-45deg);box-shadow:0 0 0 1.5px rgba(0,0,0,.15)}

/* roulette européenne */
.it-roulette{background:linear-gradient(160deg,#2FBF6B,#0B7A3E);--sh:#075A2D;--glow:rgba(11,122,62,.5);--fc:#0B7A3E}
.rl-stage{position:relative;margin:4px auto 10px;width:min(330px,88%)}
.rl-wheel{position:relative;aspect-ratio:1;border-radius:50%;box-shadow:0 10px 0 #4A2108,0 22px 40px rgba(60,25,0,.35)}
.rl-wheel svg{position:absolute;inset:0;width:100%;height:100%}
.rl-wheel svg.go{transition:transform 5.4s cubic-bezier(.18,.62,.22,1)}
.rl-orbit{position:absolute;inset:0;pointer-events:none}
.rl-orbit.go{transition:transform 5.4s cubic-bezier(.1,.55,.2,1)}
.rl-ball{position:absolute;left:50%;top:7.2%;width:5.2%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 35% 30%,#fff,#E9E9EF 45%,#9C9CA8);box-shadow:0 2px 3px rgba(0,0,0,.55);transition:top .8s cubic-bezier(.5,0,.6,1.4)}
.rl-ball.in{top:15.4%}
.rl-res{position:absolute;right:-6px;top:-6px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:26px;font-weight:900;border:4px solid #FFD45A;box-shadow:0 4px 0 #C98E00,0 8px 16px rgba(0,0,0,.25);animation:dayPop .4s ease}
.rl-res.red{background:#D21F2B}.rl-res.black{background:#17151C}.rl-res.green{background:#0E9A4A}
.rl-last{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:6px 0 10px}
.rl-last .small{margin-right:4px}
.rl-last i{font-style:normal;min-width:26px;height:26px;padding:0 5px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:13px}
.rl-last i:first-of-type{box-shadow:0 0 0 2px #FFD45A}
.rl-last i.red{background:#D21F2B}.rl-last i.black{background:#17151C}.rl-last i.green{background:#0E9A4A}
.rl-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 10px}
.rl-chips{display:flex;gap:8px}
.rl-chip{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;font-size:15px;position:relative;background:var(--cc);box-shadow:inset 0 0 0 5px var(--cc),inset 0 0 0 9px rgba(255,255,255,.9),0 4px 0 rgba(0,0,0,.25);background-image:repeating-conic-gradient(rgba(255,255,255,.95) 0 14deg,transparent 14deg 45deg);transition:transform .12s}
.rl-chip span{width:30px;height:30px;border-radius:50%;background:var(--cc);display:grid;place-items:center;box-shadow:inset 0 0 0 2px rgba(255,255,255,.6)}
.rl-chip.v10{--cc:#1E88FF}.rl-chip.v50{--cc:#E5202E}.rl-chip.v100{--cc:#17151C}
.rl-chip.on{transform:translateY(-6px) scale(1.08);box-shadow:inset 0 0 0 5px var(--cc),inset 0 0 0 9px rgba(255,255,255,.9),0 10px 0 rgba(0,0,0,.18),0 0 0 3px #FFD45A}
.rl-tools{display:flex;gap:6px}
.rl-tool{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11.5px;font-weight:700;color:var(--mut);padding:4px 6px;border-radius:12px}
.rl-tool svg{width:22px;height:22px;color:var(--ink)}
.rl-tool:disabled{opacity:.35}
.rl-felt{position:relative;background:radial-gradient(circle at 50% 0,#1FA65A,#0B6B36 75%);border-radius:22px;padding:10px;box-shadow:inset 0 0 0 3px #E7B321,inset 0 0 0 5px #0A5A2D,0 6px 0 #064722,0 14px 26px rgba(6,71,34,.35)}
.rl-felt.lock .rl-c{pointer-events:none}
.rl-hint{margin:0 0 8px;text-align:center;color:#E8FFE9;font-weight:700;font-size:14px}
.rl-c{position:relative;display:grid;place-items:center;min-height:40px;border-radius:8px;color:#fff;font-weight:800;font-size:16px;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55);transition:transform .08s}
.rl-c:active{transform:scale(.95)}
.rl-c.z{width:100%;background:#0E9A4A;margin-bottom:6px;min-height:44px}
.rl-c.r{background:#D21F2B}.rl-c.b{background:#17151C}
.rl-c.o{background:rgba(255,255,255,.08);font-size:14px}
.rl-c.rr{background:rgba(210,31,43,.85)}.rl-c.bb{background:rgba(23,21,28,.85)}
.rl-c .dia{display:inline-block;width:10px;height:10px;background:#fff;transform:rotate(45deg);margin-right:6px;border-radius:2px}
.rl-c em{position:absolute;right:-4px;top:-6px;min-width:24px;height:24px;padding:0 4px;border-radius:12px;background:#FFD45A;color:#5A3D00;font-style:normal;font-size:11.5px;font-weight:900;display:grid;place-items:center;box-shadow:0 0 0 2px #fff,0 2px 4px rgba(0,0,0,.35);z-index:2;animation:dayPop .25s ease}
.rl-c.hit{box-shadow:0 0 0 3px #FFD45A,0 0 18px #FFD45A;z-index:1;animation:symWin .6s ease infinite alternate}
.rl-c.won{box-shadow:inset 0 0 0 2px #FFD45A,0 0 12px rgba(255,212,90,.85)}
.rl-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.rl-out{display:grid;gap:5px;margin-top:6px}
.rl-out.three{grid-template-columns:repeat(3,1fr)}
.rl .ig-play{margin-top:16px}
.rl .paytable{margin-top:16px}
.igrid{grid-template-columns:repeat(2,1fr);gap:46px 12px}

.wheel .bulb{fill:#FFF6D6;filter:drop-shadow(0 0 2px #FFF1B0)}
.wheel-box.spin .wheel .bulb.a{animation:bulb .3s steps(1) infinite}
.wheel-box.spin .wheel .bulb.b{animation:bulb .3s steps(1) infinite reverse}
@keyframes bulb{0%{fill:#FFF6D6}50%{fill:#C98E00}}
/* Bouton « Partager » de la mission amis (rebord plein façon Tildee) + feuille de partage de secours (WebView Android). */
.mis.share .shbtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:0 16px;border-radius:18px;background:linear-gradient(#FF4FA6,var(--pink));color:#fff;font-weight:800;font-size:16px;box-shadow:0 4px 0 var(--pink2),0 10px 18px -8px rgba(255,46,147,.65);transition:transform .08s,box-shadow .08s}
.mis.share .shbtn svg{width:20px;height:20px;flex:none}
.mis.share .shbtn .cntb{background:rgba(255,255,255,.25);border-radius:999px;padding:3px 9px;font-size:13px;font-weight:800}
.mis.share .shbtn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--pink2),0 4px 10px -6px rgba(255,46,147,.6)}
.mis.share .shbtn:disabled{opacity:.6}
.shsheet h2{font-size:22px}
.shapps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 16px}
.shapps button{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--ink)}
.shapps i{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;box-shadow:0 4px 0 rgba(0,0,0,.15)}
.shapps svg{width:30px;height:30px}
.shapps button:active i{transform:translateY(2px);box-shadow:0 2px 0 rgba(0,0,0,.15)}
.shlink{width:100%;box-sizing:border-box;border:2px solid var(--line);border-radius:14px;padding:12px;font:inherit;font-size:14px;color:var(--mut);text-align:center;background:#F7F6FB}
/* Bandeau « bonus de bienvenue » des jeux instantanés. */
.boostb{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 14px;border-radius:16px;background:linear-gradient(90deg,#FFF4D6,#FFE7F2);box-shadow:0 3px 0 #F3D9A4;font-size:14px;line-height:1.3;font-size:13.5px}
.boostb b{color:var(--pink2)}
/* Carte à gratter : sélecteur de thème + thèmes Galaxie / Mine de diamants (visuels seulement). */
.scr-themes{display:flex;gap:8px;margin:0 0 12px}
.scr-themes button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 6px;border-radius:14px;background:#fff;color:var(--ink);font-size:12.5px;font-weight:800;box-shadow:0 3px 0 #E2E0EA;transition:transform .08s}
.scr-themes button img{width:26px;height:26px;object-fit:contain}
.scr-themes button.on{background:var(--ink);color:#FFE27A;box-shadow:0 3px 0 #000}
.scr-themes button:disabled{opacity:.5}
.scr-themes button:active{transform:translateY(2px)}
.th-galaxy{filter:drop-shadow(0 6px 0 #1B0B4A) drop-shadow(0 14px 22px rgba(108,52,255,.45))}
.th-galaxy .scr-card{background:radial-gradient(circle at 80% 0%,#FF4FD8 0,transparent 45%),radial-gradient(circle at 0% 100%,#2BD9FF 0,transparent 45%),linear-gradient(160deg,#3B1C9C,#140A3D)}
.th-galaxy .scr-head b{color:#FFE27A;text-shadow:0 0 12px rgba(255,79,216,.9),0 2px 0 rgba(0,0,0,.35)}
.th-galaxy .scr-zone{box-shadow:0 0 0 4px #B98CFF,0 4px 0 4px #5B2BC4,0 0 24px rgba(185,140,255,.7)}
.th-galaxy .scr-grid{background:radial-gradient(circle at 30% 20%,#3A2A8A,#120B33)}
.th-galaxy .scr-grid span{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 2px rgba(185,140,255,.35)}
.th-mine{filter:drop-shadow(0 6px 0 #2A1A0C) drop-shadow(0 14px 22px rgba(60,35,10,.45))}
.th-mine .scr-card{background:radial-gradient(circle at 85% 10%,rgba(90,200,255,.45) 0,transparent 40%),linear-gradient(160deg,#6B4A2E,#2E1E12)}
.th-mine .scr-head b{color:#9FE8FF;text-shadow:0 0 10px rgba(90,200,255,.8),0 2px 0 rgba(0,0,0,.4)}
.th-mine .scr-head{border-bottom-color:rgba(255,226,122,.45)}
.th-mine .scr-zone{box-shadow:0 0 0 4px #E0B450,0 4px 0 4px #8A5A14}
.th-mine .scr-grid{background:linear-gradient(135deg,#4A3524,#2B1D12)}
.th-mine .scr-grid span{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 2px rgba(224,180,80,.35)}
/* Roulette compacte façon casino (owner 27/11) : tapis horizontal, roue 3D affichée seulement pendant le lancer. */
.rl-felt{padding:8px}
.rl-hint{margin:0 0 6px;font-size:13px}
.rl-table{display:grid;grid-template-columns:1.15fr repeat(12,1fr) 1.4fr;grid-template-rows:repeat(3,38px) 30px 30px;gap:3px}
.rl-table .rl-c{min-height:0;border-radius:5px;font-size:12.5px;padding:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.rl-table .rl-c.z{width:auto;margin:0;min-height:0;border-radius:16px 5px 5px 16px;font-size:15px}
.rl-table .rl-c.o{font-size:10.5px;letter-spacing:-.2px}
.rl-table .rl-c.col{font-size:10px}
.rl-table .rl-c .dia{width:11px;height:11px;margin:0}
.rl-table .rl-c.rr .dia{background:#FF5560}.rl-table .rl-c.bb .dia{background:#fff}
.rl-table .rl-c em{min-width:17px;height:17px;padding:0 3px;font-size:9px;right:-4px;top:-6px;border-radius:9px;z-index:2}
.rl-show{position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle at 50% 42%,rgba(18,96,52,.95),rgba(4,22,12,.97) 70%);perspective:1000px}
.rl-show .rl-stage{width:min(400px,94vw);margin:0;transform:rotateX(50deg);transform-style:preserve-3d}
.rl-show .rl-wheel{box-shadow:0 18px 0 #3A1806,0 30px 50px rgba(0,0,0,.6)}
.rl-show .rl-res{position:static;width:84px;height:84px;font-size:36px;opacity:0;transform:scale(.4);transition:opacity .25s,transform .35s cubic-bezier(.2,1.6,.4,1)}
.rl-show .rl-res.on{opacity:1;transform:scale(1)}

/* bonus quotidien en grande carte */
.mis.share.daily .fr.fgift i{font-size:20px;border-color:#FFCB3A;box-shadow:inset 0 0 0 2px #FFE7A0,0 3px 0 #F2D98A;background:#FFF8E1}
.mis.share.daily .fr.fgift small{color:#A66F00;font-weight:800}
.mis.share.daily .fr.on i{font-size:17px}
.mis.share.daily .shbtn .coin{width:22px;height:22px}
.mis.share.daily .friends{gap:6px}

/* boutique : roue de chargement dans le prix pendant l'achat */
.pack .price{display:inline-flex;align-items:center;justify-content:center;min-height:40px}
.pack .price .spin{width:20px;height:20px;border-radius:50%;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;animation:kspin .7s linear infinite}
@keyframes kspin{to{transform:rotate(360deg)}}
.pack:disabled{opacity:1}
.pack:disabled:not(.buying){filter:saturate(.6) opacity(.7)}
.pack.buying{transform:scale(.98);box-shadow:0 0 0 3px var(--pink)}
/* bannières de tirages au même relief que les tuiles de jeux (rebord foncé + halo, rayures, reflet) */
.cat{isolation:isolate;margin-bottom:18px;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 80%,#fff),color-mix(in srgb,var(--c) 85%,#000))!important;box-shadow:0 6px 0 color-mix(in srgb,var(--c) 62%,#000),0 14px 24px -6px color-mix(in srgb,var(--c) 55%,transparent);transition:transform .1s,box-shadow .1s}
.cat::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.35),rgba(255,255,255,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 10px,rgba(255,255,255,0) 10px 20px)}
.cat::after{content:"";position:absolute;left:10px;right:10px;top:6px;height:38%;border-radius:18px 18px 40% 40%;background:linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,0));z-index:-1;pointer-events:none}
.cat .big{text-shadow:0 2px 0 rgba(0,0,0,.16);font-weight:800}
.cat:active{transform:translateY(4px);box-shadow:0 2px 0 color-mix(in srgb,var(--c) 62%,#000),0 6px 12px -6px color-mix(in srgb,var(--c) 55%,transparent)}
/* bandeau unique « Tirages » + feuille de choix du type de tirage */
.cat.drawsb{width:100%;text-align:left;font:inherit;border:0;cursor:pointer}
.drsheet{text-align:left}
.drsheet h2{text-align:center;margin-bottom:16px}
.drow{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:12px;border-radius:20px;color:#fff;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 80%,#fff),color-mix(in srgb,var(--c) 85%,#000));background-color:var(--c);box-shadow:0 5px 0 color-mix(in srgb,var(--c) 62%,#000);transition:transform .1s,box-shadow .1s}
.drow::before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 10px,rgba(255,255,255,0) 10px 20px)}
.drow .emo{font-size:40px;line-height:1;filter:drop-shadow(0 4px 6px rgba(0,0,0,.2))}
.drow .t{flex:1;min-width:0;display:flex;flex-direction:column}
.drow .t b{font-size:18px;font-weight:800;text-shadow:0 2px 0 rgba(0,0,0,.16)}
.drow .t .small{opacity:.92}
.drow .cd{text-align:right;font-size:11px;opacity:.95;white-space:nowrap}
.drow .cd b{display:block;font-size:16px;font-variant-numeric:tabular-nums}
.drow:active{transform:translateY(3px);box-shadow:0 2px 0 color-mix(in srgb,var(--c) 62%,#000)}
/* bandeau du haut : texte remonté et coupé avant l'illustration (moitié droite) */
.bwrap .banner{justify-content:center}
.bwrap .banner b{max-width:52%;font-size:26px;line-height:1.08}
/* bouton musique : la barre « off » ne doit pas compter comme 2e ligne de la grille (icône décentrée) */
.sndb i{position:absolute}
.sndb svg{transform:translateX(-1px)}
/* gains possibles en accordéon */
.paytable .pt-head{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
.paytable .pt-head h3{flex:1;margin:0}
.paytable .chev{width:22px;height:22px;flex:none;color:var(--mut);transition:transform .25s}
.paytable .chev.on{transform:rotate(180deg)}
.paytable .pt-body{margin-top:8px}
/* roue : effet caméra 3D au lancement (bascule + zoom vers le pointeur), retour à plat à l'arrêt */
.wheel-box{transform-origin:50% 12%;transition:transform .7s cubic-bezier(.3,.7,.3,1),box-shadow .7s;z-index:1}
.wheel-box.z1{transform:perspective(900px) rotateX(24deg) scale(1.12);z-index:5}
.wheel-box.z2{transform:perspective(900px) rotateX(32deg) scale(1.38);transition-duration:2s;z-index:5;box-shadow:0 8px 0 #A87400,0 40px 50px rgba(60,10,110,.45)}
.cat.drawsb .lotto{position:absolute;right:8px;top:6px;width:118px;height:118px;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(0,0,0,.25));transition:transform .2s}
.cat.drawsb:active .lotto{transform:scale(1.06) rotate(-4deg)}
.cat.drawsb .cd{bottom:16px}
.cat.drawsb{min-height:178px}
.cat.drawsb .lotto{width:104px;height:104px;right:12px;top:10px}
.wheel-box.z1{transform:perspective(900px) rotateX(20deg) scale(1.06)}
.wheel-box.z2{transform:perspective(900px) rotateX(26deg) scale(1.16)}
/* carte à gratter : reflet holographique (canvas masqué par la couche restante) */
.scr-zone .scr-shine{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;mix-blend-mode:overlay;transition:opacity .45s}
.scr-zone .scr-shine.gone{opacity:0}
/* choix du ticket par glissement : points + indication */
.scr-wrap{touch-action:pan-y;will-change:transform}
.scr-dots{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 2px}
.scr-dots i{width:8px;height:8px;border-radius:99px;background:#D6D3E2;transition:width .25s,background .25s;cursor:pointer}
.scr-dots i.on{width:22px;background:var(--ink)}
.scr-dots span{margin-left:8px;font-size:12px;font-weight:700;color:var(--mut)}
/* roulette : vrai relief 3D (tranche empilée, rebord surélevé, tourelle centrale en étages, ombre de bille) */
.rl-wheel,.rl-rot,.rl-tur,.rl-rim,.rl-edge{transform-style:preserve-3d}
.rl-show .rl-wheel{box-shadow:none;border-radius:50%}
.rl-rot{position:absolute;inset:0}
.rl-rot.go{transition:transform 5.4s cubic-bezier(.18,.62,.22,1)}
.rl-rot > svg{position:absolute;inset:0;width:100%;height:100%;border-radius:50%}
.rl-edge,.rl-rim,.rl-tur{position:absolute;inset:0;pointer-events:none}
.rl-edge i,.rl-rim i{position:absolute;inset:0;border-radius:50%;transform:translateZ(var(--z))}
.rl-edge i{background:radial-gradient(circle closest-side,#5A2A0A 0 94%,#3A1806 100%)}
.rl-edge i:last-child{box-shadow:0 30px 50px rgba(0,0,0,.65),0 0 0 2px #2A1004}
.rl-rim i{background:radial-gradient(circle closest-side,transparent 0 89.5%,#7A3E12 90%,#A9601F 95%,#5A2A0A 99.5%,transparent 100%)}
.rl-rim i:last-child{background:radial-gradient(circle closest-side,transparent 0 89.5%,#FFE9A0 90%,#B9701F 92%,#C98A3D 96%,#7A3E12 99.5%,transparent 100%)}
.rl-tur i{position:absolute;left:50%;top:50%;width:calc(58% * var(--s));aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) translateZ(var(--z));background:radial-gradient(circle at 40% 35%,#D9A05A,#8A4A16 70%,#5E2C0B);box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.rl-tur .rl-spk{position:absolute;inset:0;width:100%;height:100%;transform:translateZ(var(--z));filter:drop-shadow(0 3px 2px rgba(0,0,0,.45))}
.rl-orbit{transform-style:preserve-3d}
.rl-ball{box-shadow:0 3px 4px rgba(0,0,0,.6),inset -2px -2px 4px rgba(0,0,0,.25)}
/* roulette : jetons 1 et 5, jeton posé AU CENTRE de la case (un coin = mise à cheval sur plusieurs numéros), glisser-déposer */
.rl-chip.v1{--cc:#8D93A3}.rl-chip.v5{--cc:#8E2BD9}
.rl-chips{gap:6px}
.rl-chip{touch-action:none}
.rl-table .rl-c em.rl-tok,.rl-c em.rl-tok{left:50%;top:50%;right:auto;transform:translate(-50%,-50%);width:26px;height:26px;min-width:0;padding:0;border-radius:50%;--cc:#1E88FF;background:var(--cc);color:#fff;font-size:9.5px;font-weight:900;box-shadow:inset 0 0 0 2.5px var(--cc),inset 0 0 0 4.5px rgba(255,255,255,.85),0 2px 0 rgba(0,0,0,.35),0 3px 6px rgba(0,0,0,.35);background-image:repeating-conic-gradient(rgba(255,255,255,.9) 0 14deg,transparent 14deg 45deg);animation:tokIn .22s cubic-bezier(.2,1.6,.4,1)}
.rl-c em.rl-tok.v1{--cc:#8D93A3}.rl-c em.rl-tok.v5{--cc:#8E2BD9}.rl-c em.rl-tok.v10{--cc:#1E88FF}.rl-c em.rl-tok.v50{--cc:#E5202E}.rl-c em.rl-tok.v100{--cc:#17151C}
@keyframes tokIn{from{transform:translate(-50%,-50%) scale(.3)}to{transform:translate(-50%,-50%) scale(1)}}
.rl-c.drop{box-shadow:0 0 0 3px #FFD45A,0 0 14px #FFD45A;z-index:2}
.rl-ghost{position:fixed;z-index:200;pointer-events:none;margin:0;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.15);box-shadow:inset 0 0 0 5px var(--cc),inset 0 0 0 9px rgba(255,255,255,.9),0 14px 22px rgba(0,0,0,.4)}

/* roulette en paysage : en portrait, toute la page (entête compris) tourne de 90° ; tapis à gauche, jetons + bouton à droite */
@media (orientation: portrait) {
  html.rl-land,html.rl-land body{height:100%;overflow:hidden}
  html.rl-land .wrap{position:fixed;top:0;left:100vw;width:100dvh;height:100vw;min-height:0;max-width:none;margin:0;transform-origin:0 0;transform:rotate(90deg);overflow-y:auto;overflow-x:hidden;padding:0 var(--sab) 14px var(--sat);-webkit-overflow-scrolling:touch}
  html.rl-land .top{padding-top:10px;padding-bottom:10px;border-radius:0 0 22px 22px}
}
@media (orientation: portrait), (max-height: 520px) {
  html.rl-land .rl{display:grid;grid-template-columns:minmax(0,1fr) 250px;column-gap:16px;align-items:start;max-width:900px;margin:0 auto;padding-top:12px}
  html.rl-land .rl > *{grid-column:1 / -1}
  html.rl-land .rl > .rl-felt{grid-column:1;grid-row:3 / span 3}
  html.rl-land .rl > .rl-bar{grid-column:2;grid-row:3;flex-direction:column;align-items:stretch;margin:0}
  html.rl-land .rl > .ig-play{grid-column:2;grid-row:4;margin-top:10px}
  html.rl-land .rl > a.btn.line{grid-column:2;grid-row:5}
  html.rl-land .rl > .paytable{grid-row:6}
  html.rl-land .rl-chips{flex-wrap:wrap;justify-content:center}
  html.rl-land .rl-tools{justify-content:center}
  html.rl-land .rl-hint{display:none}
}
/* Grille de jeu lisible (owner 27/11) : chiffres foncés sur les boules non choisies, grosses boules pour les petites grilles, rien ne déborde. */
.playpage{overflow-x:hidden}
.grid{min-width:0}
.grid .num{min-width:0;color:#3B3848;text-shadow:0 1px 0 rgba(255,255,255,.7);font-weight:800}
.grid .num.on{color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.18)}
.grid.big{grid-template-columns:repeat(5,1fr);gap:14px 12px;padding:14px 20px 10px}
.grid.big .num{font-size:26px}
.grid.lucky{gap:10px 12px;padding:12px 20px 6px}
.grid.lucky .num{font-size:24px;font-weight:800}
html.rl-land .rl-chip{width:44px;height:44px;font-size:13px}
html.rl-land .rl-chip span{width:26px;height:26px}
html.rl-land .rl-chips{flex-wrap:nowrap}
/* valeur lisible au centre du jeton posé */
.rl-table .rl-c em.rl-tok,.rl-c em.rl-tok{background:radial-gradient(circle,var(--cc) 0 50%,transparent 51%),repeating-conic-gradient(rgba(255,255,255,.9) 0 14deg,var(--cc) 14deg 45deg);text-shadow:0 1px 1px rgba(0,0,0,.4)}
/* Roulette « tapis de casino » (owner 27/11, modèles Roulette Simulator) : tout l'écran est une moquette verte,
   table tracée en lignes blanches, 0 en pointe, derniers numéros en colonne à gauche, jetons en bas, gros SPIN vert à droite. */
html.rl-land{--moq:linear-gradient(transparent,transparent);--rlh:100dvh}
html.rl-land body,html.rl-land .wrap{background:radial-gradient(120% 90% at 50% 35%,#1F9A4A 0%,#15803A 50%,#0E6530 100%);background-color:#15803A;background-attachment:local}
html.rl-land .rl-felt{background:none;box-shadow:none;border-radius:0;padding:0}
html.rl-land .rl-table{gap:0;grid-template-columns:1.3fr repeat(12,1fr) 1.25fr;grid-template-rows:repeat(3,clamp(36px,calc((var(--rlh) - 192px) * .22),70px)) repeat(2,clamp(30px,calc((var(--rlh) - 192px) * .17),54px))}
html.rl-land .rl-table .rl-c{border-radius:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.92);font-size:clamp(14px,calc(var(--rlh) * .045),22px);font-weight:900;text-shadow:0 1px 1px rgba(0,0,0,.35)}
html.rl-land .rl-table .rl-c.r{background:#C9302A}html.rl-land .rl-table .rl-c.b{background:#141A16}
html.rl-land .rl-table .rl-c.o,html.rl-land .rl-table .rl-c.rr,html.rl-land .rl-table .rl-c.bb{background:rgba(0,0,0,.04);font-size:clamp(11px,calc(var(--rlh) * .036),17px);text-transform:uppercase;letter-spacing:.2px}
html.rl-land .rl-table .rl-c.col{font-size:clamp(10px,calc(var(--rlh) * .03),14px)}
html.rl-land .rl-table .rl-c .dia{width:clamp(30px,calc(var(--rlh) * .11),52px);height:clamp(15px,calc(var(--rlh) * .052),24px);transform:none;border-radius:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);filter:drop-shadow(0 0 1px #fff)}
html.rl-land .rl-table .rl-c.rr .dia{background:#E02A2A}html.rl-land .rl-table .rl-c.bb .dia{background:#0E0F10;outline:0}
/* 0 en pointe vers la gauche : fond blanc découpé + intérieur moquette un peu en retrait = liseré blanc qui suit la pointe. */
html.rl-land .rl-table .rl-c.z{border-radius:0;box-shadow:none;background:rgba(255,255,255,.92);clip-path:polygon(38% 0,100% 0,100% 100%,38% 100%,0 50%);font-size:clamp(20px,calc(var(--rlh) * .07),32px);margin-right:-1px}
html.rl-land .rl-table .rl-c.z::before{content:"";position:absolute;inset:1.5px 0 1.5px 2px;clip-path:polygon(38% 0,100% 0,100% 100%,38% 100%,0 50%);background:#168540}
html.rl-land .rl-table .rl-c.z > span{position:relative;padding-left:22%}
html.rl-land .rl-table .rl-c.z.hit,html.rl-land .rl-table .rl-c.z.won{background:#FFD45A}
html.rl-land .rl-table .rl-c.hit{box-shadow:inset 0 0 0 3px #FFD45A,0 0 18px #FFD45A}
html.rl-land .rl-table .rl-c.won{box-shadow:inset 0 0 0 3px #FFD45A,0 0 12px rgba(255,212,90,.85)}
html.rl-land .rl-table .rl-c.drop{box-shadow:inset 0 0 0 3px #FFD45A,0 0 14px #FFD45A}
html.rl-land .rl-table .rl-c em.rl-tok{width:clamp(24px,calc(var(--rlh) * .085),36px);height:clamp(24px,calc(var(--rlh) * .085),36px);font-size:clamp(9px,calc(var(--rlh) * .028),12px)}
html.rl-land .rl-chips .rl-chip{width:42px;height:42px;font-size:12px}
html.rl-land .rl-chips .rl-chip span{width:24px;height:24px}
html.rl-land .rl-tool{color:#fff;background:linear-gradient(#1C6B36,#0F4B24);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 3px 0 #08331A;padding:6px 10px;border-radius:10px;text-transform:uppercase;font-size:10.5px;font-weight:800}
html.rl-land .rl-tool svg{color:#fff;width:18px;height:18px}
html.rl-land .rl .ig-play{background:linear-gradient(#5BE07E,#22A84A);box-shadow:0 5px 0 #127A33,0 12px 22px rgba(0,0,0,.3),inset 0 2px 0 rgba(255,255,255,.35);color:#fff;text-transform:uppercase;font-weight:900;letter-spacing:.3px;border-radius:14px;text-shadow:0 2px 0 rgba(0,0,0,.2)}
html.rl-land .rl .ig-play:disabled{filter:saturate(.6) brightness(.9);opacity:.75}
html.rl-land .ig-msg.bad{background:rgba(0,0,0,.35);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
html.rl-land .rl-last .small{color:#DFF5E4}
@media (orientation: portrait) { html.rl-land{--rlh:100vw} }
@media (orientation: portrait), (max-height: 520px) {
  html.rl-land .wrap{padding-bottom:10px}
  html.rl-land .rl{grid-template-columns:44px minmax(0,1fr) 200px;grid-template-areas:"last felt felt" ". bar play" ". . poor";column-gap:12px;row-gap:10px;max-width:980px;padding-top:12px}
  html.rl-land .rl > .rl-last{grid-area:last;flex-direction:column;flex-wrap:nowrap;align-self:stretch;justify-content:flex-start;gap:3px;margin:0;padding:4px 0;border-radius:6px;background:rgba(0,0,0,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);overflow:hidden;max-height:calc((var(--rlh) - 192px) + 8px)}
  html.rl-land .rl-last .small{display:none}
  html.rl-land .rl-last i{min-width:30px;height:22px;border-radius:4px;font-size:12px;padding:0 3px;flex:none}
  html.rl-land .rl-last i:first-of-type{min-width:36px;height:30px;font-size:16px;box-shadow:0 0 0 2px #fff;margin-bottom:4px}
  html.rl-land .rl > .rl-felt{grid-area:felt}
  html.rl-land .rl > .rl-bar{grid-area:bar;flex-direction:row;align-items:center;gap:14px;margin:0;padding:4px 10px 6px;border-radius:12px;background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
  html.rl-land .rl > .ig-msg{grid-area:felt;align-self:center;justify-self:center;z-index:5;pointer-events:none;padding:10px 22px;text-align:center;background:rgba(8,30,16,.88);box-shadow:0 0 0 2px #FFD45A,0 10px 30px rgba(0,0,0,.5);animation:rlMsg 2.6s ease forwards}
  html.rl-land .rl > .ig-msg b{font-size:15px}html.rl-land .rl > .ig-msg span{font-size:12px}
  html.rl-land .rl > .ig-play{grid-area:play;margin:0;max-width:none;align-self:center;min-height:52px;font-size:17px}
  html.rl-land .rl > a.btn.line{grid-area:poor;margin:0;max-width:none}
  html.rl-land .rl-tools{flex-direction:row;gap:6px}
  html.rl-land .rl-tool{flex-direction:row;gap:6px}
}
html.rl-land .rl-chip.on{transform:translateY(-4px) scale(1.06)}
@keyframes rlMsg{0%{opacity:0;transform:scale(.7)}10%{opacity:1;transform:scale(1)}75%{opacity:1}100%{opacity:0;visibility:hidden}}
html.rl-land .rl > .rl-bar{justify-content:space-between;min-width:0}
@media (max-height: 520px) and (orientation: landscape) { html.rl-land .wrap{max-width:none;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))} }
html.rl-land .rl-last i:nth-of-type(n+8){display:none}
.rl-c em.rl-tok{touch-action:none;cursor:grab}
/* Roulette paysage : tapis + barre centrés verticalement entre l'entête et le bas de l'écran (owner 27/11). */
@media (orientation: portrait), (max-height: 520px) {
  html.rl-land .wrap{display:flex;flex-direction:column}
  html.rl-land .wrap > .rl{margin:auto;width:100%;padding-top:10px;padding-bottom:10px}
}
.rl-c em.rl-tok.mv{opacity:.3}
/* Roulette : mises à cheval / transversale / carré / sixain posées sur les lignes du tapis (zones .rl-hs dans les cases). */
.rl-hs{position:absolute;z-index:3;display:block;border-radius:9px;-webkit-tap-highlight-color:transparent}
.rl-hs.hs-r{right:-8px;top:22%;bottom:22%;width:16px}
.rl-hs.hs-l{left:-8px;top:22%;bottom:22%;width:16px}
.rl-hs.hs-t{top:-8px;left:22%;right:22%;height:16px}
.rl-hs.hs-b{bottom:-8px;left:22%;right:22%;height:16px}
.rl-hs.hs-tr,.rl-hs.hs-br,.rl-hs.hs-tl,.rl-hs.hs-bl{width:22px;height:22px;z-index:4;border-radius:50%}
.rl-hs.hs-tr{top:-11px;right:-11px}.rl-hs.hs-br{bottom:-11px;right:-11px}.rl-hs.hs-tl{top:-11px;left:-11px}.rl-hs.hs-bl{bottom:-11px;left:-11px}
.rl-hs.drop{background:rgba(255,212,90,.6);box-shadow:0 0 10px #FFD45A}
.rl-hs:has(em.rl-tok:not([style*="none"])){z-index:6}
.rl-felt.lock .rl-hs{pointer-events:none}
.rl-hs.won em.rl-tok{box-shadow:inset 0 0 0 2.5px var(--cc),inset 0 0 0 4.5px rgba(255,255,255,.85),0 0 0 3px #FFD45A,0 0 16px #FFD45A}
/* Roulette : jetons du croupier qui viennent s'empiler sur une mise gagnante + message doré. */
.rl-c em.rl-tok.rl-pay{z-index:7;pointer-events:none;transform:translate(calc(-50% + var(--o)),calc(-50% - var(--o)));animation:rlPay .45s cubic-bezier(.2,1.3,.4,1) both}
.rl-c em.rl-tok.rl-pay:not(.top){color:transparent}
.rl-c em.rl-tok.rl-pay.top{min-width:max-content;padding:0 5px;border-radius:99px;box-shadow:inset 0 0 0 2.5px var(--cc),0 0 0 2px #FFD45A,0 0 14px rgba(255,212,90,.9),0 4px 8px rgba(0,0,0,.4)}
@keyframes rlPay{from{opacity:0;transform:translate(calc(-50% + 70px),calc(-50% - 90px)) scale(.5)}to{opacity:1;transform:translate(calc(-50% + var(--o)),calc(-50% - var(--o))) scale(1)}}
.rl-c.lost em.rl-tok:not(.rl-pay),.rl-hs.lost em.rl-tok{opacity:.35;filter:grayscale(.6);transition:opacity .4s,filter .4s}
.rl-c.won:not(.z){animation:rlGlow 1s ease-in-out infinite alternate}
@keyframes rlGlow{from{box-shadow:inset 0 0 0 3px #FFD45A,0 0 6px rgba(255,212,90,.6)}to{box-shadow:inset 0 0 0 3px #FFE88F,0 0 22px #FFD45A}}
html.rl-land .rl > .ig-msg.gold{background:linear-gradient(#FFE27A,#F5B82E);color:#4A2A00;box-shadow:0 0 0 2px #fff,0 0 30px rgba(255,212,90,.8),0 10px 30px rgba(0,0,0,.4)}
/* Roulette : rebonds de la bille dans les cases (décalages aléatoires --j1..--j3 posés par le JS, retour à 0 = case tirée). */
.rl-bj{position:absolute;inset:0;display:block;transform-style:preserve-3d}
.rl-bj.go{animation:rlBj 1.3s cubic-bezier(.3,.6,.4,1) both}
.rl-ball.in.bn{animation:rlBn 1.3s linear both}
@keyframes rlBj{0%{transform:rotate(var(--j1))}30%{transform:rotate(var(--j2))}62%{transform:rotate(var(--j3))}100%{transform:rotate(0)}}
@keyframes rlBn{0%{top:9%}14%{top:15.4%}22%{top:11.5%}32%{top:15.4%}40%{top:12.8%}50%{top:15.4%}57%{top:14%}64%{top:15.4%}100%{top:15.4%}}
/* La bille tourne 11 px au-dessus du cylindre puis descend au niveau des cases (sinon la perspective la montre entre deux cases). */
.rl-orbit .rl-ball{transform:translate(-50%,-50%) translateZ(11px);transition:top .8s cubic-bezier(.5,0,.6,1.4),transform .5s}
.rl-orbit .rl-ball.in{transform:translate(-50%,-50%) translateZ(1.5px)}
.rl-table .rl-c:active{transform:none}
/* roue (retour owner) : cadre fixe sous le disque, tranche 3D dorée claire sans liseré, ombre allégée */
.wheel-box{width:min(372px,92vw);margin:30px auto 18px;box-shadow:0 16px 28px rgba(120,40,160,.2)}
.wheel-box::before{content:"";position:absolute;inset:0;border-radius:50%;transform:translateY(8px);background:linear-gradient(90deg,#D9980A,#F7C33A 50%,#D9980A);z-index:-1}
.wheel-box.z2{box-shadow:0 30px 44px rgba(120,40,160,.25)}
.wheel-rim{position:absolute;inset:0;width:100%;height:100%}
.wheel{position:relative}
.wheel-box.spin .wheel-rim .bulb.a{animation:bulb .3s steps(1) infinite}
.wheel-box.spin .wheel-rim .bulb.b{animation:bulb .3s steps(1) infinite reverse}
.wheel-rim .bulb{fill:#FFF6D6;filter:drop-shadow(0 0 2px #FFF1B0)}
.ig-wheel{min-height:calc(100dvh - 150px);justify-content:space-between}
.ig-wheel .paytable{margin-top:auto}
/* fenêtre de gain : dôme de pièces posé sur le bord de la feuille, arrivée avec rebond */
.sheet-in.wsheet{padding-top:70px}
.wsheet .heap{left:0;right:0;margin:0 auto;top:-104px;width:min(300px,80%);transform:none;filter:drop-shadow(0 8px 12px rgba(180,127,0,.3));animation:heapPop .55s cubic-bezier(.3,1.5,.5,1) both}
@keyframes heapPop{from{transform:translateY(40px) scale(.5);opacity:0}to{transform:none;opacity:1}}
.wheel-box.z1{transform:perspective(900px) rotateX(20deg) scale(1.02)}
.wheel-box.z2{transform:perspective(900px) rotateX(26deg) scale(1.06)}

/* Grattage — carrousel des tickets : les voisins (aperçus figés .scr-peek) suivent le doigt ; .scr-vp coupe à la largeur de l'écran. */
.scr-vp{margin:0 -18px;padding:0 18px;overflow-x:clip}
.scr-car{position:relative;will-change:transform}
.scr-peek{position:absolute;top:0;left:0;width:100%;transform:translateX(calc(var(--p) * (100% + 18px)));pointer-events:none}
.scr-peek .scr-zone{background:#C9C9D6}
.scr-pfoil{position:absolute;inset:0;background-size:100% 100%;z-index:1}
.scr-pfoil::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom right,rgba(255,255,255,.35),rgba(255,255,255,0) 50%,rgba(120,110,160,.18))}
.scr-peek .scr-buy{display:flex;align-items:center;justify-content:center;gap:8px}
/* Pastille « Gratte ici » (2 s). */
.scr-here{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;pointer-events:none;height:44px;line-height:44px;padding:0 22px;border-radius:22px;background:rgba(255,255,255,.85);color:#6A6482;font-size:19px;font-weight:800;white-space:nowrap}
/* Titre du ticket façon rétro : lettres penchées en dégradé « coucher de soleil » + relief en escalier ; data-t = copie du texte pour le dégradé. */
.scr-head b{--rg:linear-gradient(180deg,#FFFBE0 0,#FFE27A 46%,#FF9F1C 54%,#FF4F8B 100%);--rx:#0A5E58;position:relative;width:max-content;max-width:100%;font-size:24px;font-weight:900;letter-spacing:1.5px;line-height:1.1;transform:skewX(-10deg);transform-origin:0 100%;color:var(--rx);text-shadow:1px 1px 0 var(--rx),2px 2px 0 var(--rx),3px 3px 0 var(--rx),4px 4px 0 var(--rx),5px 6px 7px rgba(0,0,0,.35);margin-bottom:3px}
.scr-head b::before{content:attr(data-t);position:absolute;inset:0;background:var(--rg);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;-webkit-text-stroke:.5px rgba(255,255,255,.55)}
.th-galaxy .scr-head b{--rg:linear-gradient(180deg,#FFFFFF 0,#FFC2F2 46%,#FF4FD8 54%,#8A6BFF 100%);--rx:#24095E;text-shadow:1px 1px 0 var(--rx),2px 2px 0 var(--rx),3px 3px 0 var(--rx),4px 4px 0 var(--rx),0 0 14px rgba(255,79,216,.7)}
.th-mine .scr-head b{--rg:linear-gradient(180deg,#F2FDFF 0,#9FE8FF 46%,#FFD45A 54%,#E0861A 100%);--rx:#3A220E;text-shadow:1px 1px 0 var(--rx),2px 2px 0 var(--rx),3px 3px 0 var(--rx),4px 4px 0 var(--rx),5px 6px 7px rgba(0,0,0,.4)}
/* roulette en paysage : numéro tiré à droite de la roue, centré en hauteur (sous la roue il sortait de l'écran) */
html.rl-land .rl-show{flex-direction:row;gap:26px}
html.rl-land .rl-show .rl-stage{width:min(400px,calc(var(--rlh) - 20px))}

/* Grattage : fond guilloché (vagues de traits fins en filigrane, comme les vrais tickets) sous les symboles — owner 27/11.
   SVG générés par /root/oneoff/kdo-ia/guilloche/gen.php ; les cases deviennent transparentes pour laisser voir les traits. */
.scr-grid{background:url(/img/games/guilloche-classic.svg) center/cover,linear-gradient(135deg,#FFF8E1,#FFFFFF 50%,#F3EEFF)}
.scr-grid span{background:rgba(255,255,255,.15)}
.th-galaxy .scr-grid{background:url(/img/games/guilloche-galaxy.svg) center/cover,radial-gradient(circle at 30% 20%,#3A2A8A,#120B33)}
.th-galaxy .scr-grid span{background:rgba(255,255,255,.05)}
.th-mine .scr-grid{background:url(/img/games/guilloche-mine.svg) center/cover,linear-gradient(135deg,#4A3524,#2B1D12)}
.th-mine .scr-grid span{background:rgba(255,255,255,.04)}

/* Grattage : en-tête = logo-image du thème (owner 27/11 : « tout le header doit être une image »), règle en petit dessous. */
.scr-head{display:block;text-align:center;margin:0 4px 12px;padding:2px 0 8px}
.scr-head img{display:block;width:100%;height:78px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.28))}
.scr-head span{display:block;margin-top:2px;font-size:12.5px;font-weight:800;opacity:.95;text-shadow:0 1px 0 rgba(0,0,0,.2)}

/* Fenêtre de gain : visuel proportionné au montant (l0 pile → l3 coffre), posé sur le haut de la feuille. */
.wsheet .heap{top:auto;bottom:calc(100% - 52px)}
.wsheet .heap.l0{width:120px}
.wsheet .heap.l1{width:190px}
.wsheet .heap.l3{width:240px;bottom:calc(100% - 64px)}
/* En-tête machine à sous, même titre en relief que les tickets à gratter. */
.slot-head{color:#fff;margin:-2px 4px 10px;padding:0 0 6px}
.slot-head>div{display:flex;align-items:center;justify-content:center;gap:8px}
.slot-head>div img{width:56px;height:56px}
.slot-head b{font-size:34px;letter-spacing:2px;--rx:#3A0F70}
/* Good luck : icône play devant « Rejouer une grille ». */
.btn.glplay{display:flex;align-items:center;justify-content:center;gap:8px}
.btn.glplay .gicon{width:22px;height:22px;flex:none;color:inherit;filter:none}
/* Roue : tranche dorée claire (plus de bord foncé) + caméra 3D en 3 temps.
   Anti-flou : la roue est dessinée 1,6× plus grande puis réduite (scale .625) au repos ; zoomée, elle se rapproche de
   sa vraie taille au lieu d'agrandir une image (iOS pixellise les calques agrandis pendant l'animation).
   Origine de la transformation sur la pointe du pointeur : il ne bouge pas et ne passe plus sous l'en-tête. */
.wheel-box{--W:min(372px,92vw);width:calc(var(--W) * 1.6);align-self:flex-start;margin:30px 0 calc(18px - var(--W) * .6) 50%;
  transform-style:preserve-3d;transform-origin:50% 0;transform:translateX(-50%) scale(.625);
  transition:transform .8s cubic-bezier(.25,.8,.3,1),box-shadow .8s;box-shadow:0 26px 45px rgba(120,40,160,.2)}
.wheel-box::before{display:none}
.wheel-box .wedge{position:absolute;inset:0;border-radius:50%;transform:translate3d(0,calc(var(--z) * 1.1px),calc(var(--z) * -3px));background:linear-gradient(90deg,#D4940A,#FFD965 50%,#D4940A);pointer-events:none}
.wheel-box .wedge[style="--z:10"]{background:linear-gradient(90deg,#B87C00,#E9B12A 50%,#B87C00)}
.wheel-box .wheel-rim,.wheel-box .wheel,.wheel-box .wheel-hub,.wheel-box .wheel-pin{transform-style:preserve-3d}
.wheel-box .wheel-hub{transform:translateZ(14px)}
.wheel-box .wheel-pin{transform:translateX(-50%) translateZ(20px)}
.wheel-box.z1{transform:translateX(-50%) perspective(1100px) rotateX(26deg) scale(.66)}
.wheel-box.z2{transform:translateX(-50%) perspective(1100px) rotateX(42deg) scale(.74);transition-duration:1.5s}
.wheel-box.z3{transform:translateX(-50%) perspective(1100px) rotateX(54deg) scale(.86);transition-duration:1.5s;z-index:5}
.wheel-box.z2,.wheel-box.z3{box-shadow:0 64px 80px rgba(120,40,160,.3)}
.wheel-box .wheel-pin{top:-38px;width:64px;height:80px}
.wheel-box .wheel-hub{width:102px;height:102px;margin:-51px 0 0 -51px;box-shadow:0 0 0 6px #fff,0 6px 0 6px #A87400,0 13px 26px rgba(0,0,0,.3)}
.wheel-box .wheel-hub img{width:58px;height:58px}
/* Roue : pointeur sorti du calque 3D (Safari iOS le rognait). Pointe fixe = origine de la bascule (haut de la roue). */
.wheel-stage{position:relative;display:flex;flex-direction:column}
.wheel-pin.out{top:6px;width:40px;height:50px;transform:translateX(-50%);z-index:6}
/* viewBox élargi de 3 unités : le contour blanc de la tête (y = -2) était rogné par le haut du SVG. Pointe toujours à 53 px. */
.wheel-pin.out{top:3px;width:46px;height:53px}
/* boutique : prix des packs en bouton 3D (rebord rose foncé + halo, façon Tildee) */
.pack .price{background:linear-gradient(#FF5AAA,var(--pink));box-shadow:0 4px 0 var(--pink2),0 10px 18px -6px rgba(255,46,147,.65);text-shadow:0 1px 1px rgba(0,0,0,.18);margin-bottom:4px}
.pack:active .price{transform:translateY(2px);box-shadow:0 2px 0 var(--pink2),0 6px 12px -6px rgba(255,46,147,.6)}
/* Série 5 jours : pastille du bonus sur la dernière case */
.mis.share.daily .fr.fgift{position:relative}
.mis.share.daily .fr .fbdg{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:2px 6px;border-radius:999px;background:var(--pink);color:#fff;font-size:11px;font-weight:800;line-height:1.2;box-shadow:0 2px 0 rgba(0,0,0,.18);white-space:nowrap}
/* Bouton « Pas assez de crédits » : 2 lignes centrées */
.btn.need .nl{display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.15}
.btn.need small{font-size:12px;font-weight:700;opacity:.85}
.btn.need b{display:inline-flex;align-items:center;gap:8px;font-size:19px;font-weight:800}
.btn.need .coin{width:22px;height:22px}
/* Titres d'étapes de la grille : plus gros et plus lisibles */
.lbl.step{font-size:20px;font-weight:800;gap:10px;padding:20px 18px 4px;letter-spacing:-.2px}
.lbl.step .stepn{width:30px;height:30px;font-size:15px;font-weight:800}
.lbl.step .cnt{font-size:16px;font-weight:800}
/* Grille : overflow-x:hidden faisait de .playpage un conteneur de défilement → le .tray sticky ne collait plus en bas. clip ne crée pas de conteneur. */
@supports (overflow:clip){.playpage{overflow-x:clip}}
/* Grilles de 16 à 36 numéros (cadeaux à 30 numéros) : 6 par rangée, boules plus grosses */
.grid.c6{grid-template-columns:repeat(6,1fr);gap:12px 10px;padding:12px 18px 8px}
.grid.c6 .num{font-size:19px}
/* Barre du bas : toutes les boules choisies sur une seule ligne (3 + 2 en Gros cadeaux) */
.tray .balls{flex-wrap:nowrap;gap:8px;min-width:0}
.tray .balls:has(.ball:nth-child(5)) .ball{width:40px;height:40px;font-size:16px}
/* Étape à faire : le titre « rebondit » (petit saut + grossissement) toutes les ~1,8 s ; s'arrête dès que l'étape est faite */
@keyframes stepBump{0%,58%,100%{transform:none}66%{transform:translateY(-4px) scale(1.07)}76%{transform:translateY(0) scale(.98)}84%{transform:translateY(-1px) scale(1.02)}}
.lbl.step.act:not(.done){animation:stepBump 1.8s ease-in-out infinite;transform-origin:18px 50%}
.lbl.step.act:not(.done) .cnt{animation:none}
@media (prefers-reduced-motion:reduce){.lbl.step.act:not(.done){animation:none}}

/* Langues écrites de droite à gauche (arabe, hébreu) : la flèche retour se retourne, les jeux gardent leur sens. */
[dir=rtl] .back{margin-left:0;margin-right:-10px;transform:scaleX(-1)}
[dir=rtl] .chev{display:inline-block;transform:scaleX(-1)}
[dir=rtl] .paytable .chev{transform:none}
[dir=rtl] .paytable .chev.on{transform:rotate(180deg)}
/* Roulette, Android (29/11) : la moitié de la roue inclinée passée « derrière » le plan de l'écran disparaissait sous le fond vert
   sur certains GPU. Calque à plat isolé + roue avancée en entier devant ce plan (translateZ), réduite d'autant (scale) → même taille à l'écran. */
.rl-show{isolation:isolate;transform:translateZ(0)}
.rl-show .rl-stage{transform:translateZ(160px) rotateX(50deg) scale(.84)}
/* Mission « inviter » : nom de l'ami inscrit à la place de « Ami n » (29/11). */
.mis.share .fr small.nm{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3F9614;font-weight:800}
.mis.share .fr i .fr-ph{width:22px;height:22px;color:#C9C7D2}
/* Photo de profil + feuille « Montre qui tu es » (29/11). */
.ava{overflow:hidden}
.ava img{width:100%;height:100%;object-fit:cover;display:block}
.pask-ava{position:relative;display:grid;place-items:center;width:104px;height:104px;margin:0 auto 14px;border-radius:50%;box-shadow:0 0 0 5px #fff,0 12px 26px -10px rgba(255,31,142,.55);cursor:pointer}
.pask-ava > img,.pask-ava > span{width:100%;height:100%;border-radius:50%;overflow:hidden;display:grid;place-items:center}
.pask-ava > img{object-fit:cover}
.pask-ava > span svg{width:58%;height:58%}
.pask-ava > span img{width:100%;height:100%;object-fit:cover}
.pask-cam{position:absolute;right:-2px;bottom:-2px;width:36px;height:36px;border-radius:50%;background:var(--pink);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 4px #fff}
.pask-cam svg{width:19px;height:19px}
.pask-name{display:block;width:100%;max-width:340px;margin:4px auto 14px;padding:14px 16px;border-radius:14px;border:2px solid var(--line);font:inherit;font-size:17px;font-weight:700;text-align:center;background:#fff;color:var(--ink)}
.pask-name:focus{outline:0;border-color:var(--pink)}
.pask .err{color:#E0245E;font-weight:700;margin:-6px 0 10px}
.photorow{display:flex;align-items:center;gap:18px;padding:6px 4px}
.pask-ava.sm{width:72px;height:72px;margin:0}
.pask-ava.sm .pask-cam{width:28px;height:28px;box-shadow:0 0 0 3px #fff}
.pask-ava.sm .pask-cam svg{width:15px;height:15px}
.pask-ava.busy{opacity:.5}
.photorow .later{margin:0;color:#E0245E}
/* Champ nom de la fenêtre profil : texte d'exemple clairement grisé (il ressemblait à une valeur saisie) */
.pask-name::placeholder{color:#B5B2C2;font-weight:500;opacity:1}
/* Roulette sur Android (owner 29/11, « la 3D bug complètement ») : le GPU Android trie mal les couches empilées en
   translateZ → la tranche en bois passait devant les numéros (disque orange vide). Sur Android, la roue est dessinée
   à plat dans l'ordre du DOM (tranche, plateau, rebord, tourelle) ; seule l'inclinaison de la scène reste en 3D. */
html.andr .rl-wheel,html.andr .rl-rot,html.andr .rl-tur,html.andr .rl-rim,html.andr .rl-edge{transform-style:flat}
html.andr .rl-edge i,html.andr .rl-rim i{transform:none}
html.andr .rl-edge i:not(:last-child),html.andr .rl-rim i:not(:last-child){display:none}
html.andr .rl-edge i:last-child{transform:translateY(14px)}
html.andr .rl-tur i{transform:translate(-50%,-50%)}
html.andr .rl-tur .rl-spk{transform:none}
/* Roue de la fortune sur Android : même problème de tri des couches en profondeur → tranche dessinée à plat, sous la roue (ordre du DOM). */
html.andr .wheel-box,html.andr .wheel-box .wheel-rim,html.andr .wheel-box .wheel,html.andr .wheel-box .wheel-hub,html.andr .wheel-box .wheel-pin{transform-style:flat}
html.andr .wheel-box .wedge:not(:last-of-type){display:none}
html.andr .wheel-box .wedge{transform:translateY(12px)}
html.andr .wheel-box .wheel-hub{transform:none}
html.andr .wheel-box .wheel-pin{transform:translateX(-50%)}
/* App Android (WebView KDOApp) : le sélecteur de fichier n'est pas branché côté natif → appuyer sur la photo ne fait rien.
   En attendant une mise à jour de l'app, on masque l'invitation à ajouter une photo (badge appareil photo, champ fichier). */
html.andapp .pask-cam{display:none}
html.andapp .pask-ava{pointer-events:none;cursor:default}
/* 29/11 : le crayon ✎ du grand avatar (profil) était rogné par .ava{overflow:hidden} → la photo s'arrondit elle-même */
.ava img{border-radius:50%}
.ava.xl{overflow:visible}
.ava.xl .edit{z-index:2}
/* 29/11 : roulette Android (Xiaomi) — même aplatie, la scène en rotateX(50deg) dans la page tournée de 90° (rl-land)
   était coupée par un grand rectangle vert (le fond de .wrap repeint par-dessus par le GPU). Sur Android : plus
   AUCUNE 3D, l'inclinaison est simulée en 2D (écrasement vertical), la roue tourne toujours en 2D dedans. */
html.andr .rl-show{perspective:none;transform:none;isolation:auto}
html.andr .rl-show .rl-stage{transform:scale(.9,.6);transform-style:flat}
html.andr .rl-show .rl-wheel,html.andr .rl-show .rl-rot{transform-style:flat}
/* 29/11 : fenêtre « Mission réussie / Récupérer » + écran de succès (partials/rewards) */
.rwsheet .mut{margin:0 0 4px}
.rwok{position:fixed;inset:0;z-index:89;display:grid;place-items:center;padding:24px;background:radial-gradient(120% 80% at 50% 35%,#FFD45A 0%,#FBB904 45%,#F08A00 100%)}
.rwok-in{width:100%;max-width:420px;text-align:center;color:#fff}
.rwok-heap{width:min(300px,78vw);display:block;margin:0 auto -6px;filter:drop-shadow(0 18px 24px rgba(120,60,0,.35));animation:rwPop .55s cubic-bezier(.2,1.5,.4,1) both}
.rwok h1{margin:8px 0 2px;font-size:40px;font-weight:900;text-shadow:0 3px 0 rgba(150,80,0,.35)}
.rwok-amt{display:inline-flex;align-items:center;gap:10px;font-size:54px;font-weight:900;text-shadow:0 4px 0 rgba(150,80,0,.35);animation:rwPop .55s .15s cubic-bezier(.2,1.5,.4,1) both}
.rwok-amt .coin{width:46px;height:46px}
.rwok p{margin:6px 0 26px;font-size:17px;font-weight:700;opacity:.95}
.rwok .btn{max-width:320px;margin:0 auto}
@keyframes rwPop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
.mis.prof .pitems{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:12px 0 4px}
.mis.prof .pitems span{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 6px;border-radius:999px;background:rgba(0,0,0,.05);font-weight:700;font-size:13px;color:var(--mut)}
.mis.prof .pitems i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;background:#fff;box-shadow:inset 0 0 0 2px var(--line);color:#fff}
.mis.prof .pitems span.on{color:var(--ink)}
.mis.prof .pitems span.on i{background:#58C322;box-shadow:none}
a.shbtn{text-decoration:none}
/* 29/11 : Mes tirages — tirage à venir : boules « ? » en pointillés */
.ball.qb,.ball.lucky.qb{background:transparent!important;box-shadow:none!important;border:2px dashed #C9C4D6;color:#A9A3B8;font-weight:800}
.ball.lucky.qb{border-color:#B89BE0;color:#9B7BD0}
html.dark .ball.qb{border-color:#5A5470;color:#8D87A3}

/* Compte à rebours, 10 dernières secondes : rouge + bump croissant (--z échelle, --g halo, posés par KDO.tick). Deux animations alternées pour relancer à chaque seconde. */
.cdend{display:inline-block;color:#E5202E!important;transform-origin:center;text-shadow:0 0 var(--g,4px) rgba(229,32,46,.55);animation:cdbumpA .7s cubic-bezier(.25,1.7,.5,1)}
.cdend.cdb{animation-name:cdbumpB}
@keyframes cdbumpA{0%{transform:scale(1)}28%{transform:scale(var(--z,1.2))}100%{transform:scale(1)}}
@keyframes cdbumpB{0%{transform:scale(1)}28%{transform:scale(var(--z,1.2))}100%{transform:scale(1)}}
.cdpill:has(.cdend){background:#FFE1E3;color:#E5202E;transition:background .3s}
@media (prefers-reduced-motion:reduce){.cdend{animation:none}}
/* 5 mises (1/5/10/50/100, 29/11) : les jetons passent sous « Ta mise » et se partagent la largeur. */
.ig .stakes{flex-direction:column;align-items:stretch;gap:8px}
.ig .stakes .chips{gap:6px}
.ig .stakes .chip{flex:1;justify-content:center;padding:9px 4px;font-size:14px}
/* Roulette : mise / dernier gain / record bien visibles (owner 29/11). */
.rl-stats{display:flex;gap:6px;flex:none}
.rl-stats > div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:62px;padding:4px 8px;border-radius:10px;background:rgba(0,0,0,.32);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);color:#fff;line-height:1.1}
.rl-stats small{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.3px;opacity:.8;white-space:nowrap}
.rl-stats b{display:inline-flex;align-items:center;gap:3px;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}
.rl-stats b .coin{width:14px;height:14px}
.rl-stats .rec b{color:#FFD45A}
.rl-stats b.pop{animation:dayPop .5s ease;color:#7CFF9B}
.rl-wsheet{z-index:80}
html:not(.rl-land) .rl-stats > div{background:#2B1A4A}
.ig .ig-msg.gold{background:linear-gradient(#FFE27A,#F5B82E);color:#4A2A00;box-shadow:0 4px 0 #D08A00,0 10px 24px -8px rgba(245,184,46,.8)}
.ig .ig-msg.gold span{font-size:22px;font-weight:900}
html.rl-land .rl-stats > div{padding:3px 10px;min-width:70px}
/* Case avec une mise : le doigt la fait glisser (pas de défilement de page), jeton plus facile à attraper. */
.rl-c:has(em.rl-tok:not([style*="none"])),.rl-hs:has(em.rl-tok:not([style*="none"])){touch-action:none}
.rl-c em.rl-tok::after{content:"";position:absolute;inset:-9px;border-radius:50%}
html.rl-land .rl .ig-play{white-space:nowrap;font-size:15px;padding-left:10px;padding-right:10px}

/* Compteurs de la roulette dans la ligne de l'entête, centrés entre le titre et les boutons (owner 29/11). */
.tophud{flex:1;display:flex;justify-content:center;min-width:0}
.tophud .rl-stats > div{padding:3px 10px;min-width:64px}

/* Roulette (paysage) : fenêtre de gain = carte centrée horizontale, visuel à gauche, texte + bouton à droite (owner 29/11 :
   la feuille du bas, pensée pour le portrait, sortait de l'écran et le tas de pièces débordait du haut). */
html.rl-land .rl-wsheet{align-items:center;justify-content:center;padding:16px;background:rgba(6,30,14,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
html.rl-land .rl-wsheet .sheet-in.wsheet{position:relative;width:min(500px,100%);max-height:none;overflow:visible;border-radius:26px;padding:22px 26px 22px 18px;
  display:grid;grid-template-columns:150px 1fr;grid-template-areas:"heap t" "heap p" "heap a" "heap b";column-gap:18px;align-items:center;text-align:center;
  background:radial-gradient(130% 120% at 0% 50%,#FFF3C4 0%,#FFFDF5 45%,#fff 70%);box-shadow:0 0 0 3px #FFD45A,0 24px 60px rgba(0,0,0,.45);animation:rlWinIn .4s cubic-bezier(.25,1.4,.5,1) both}
html.rl-land .rl-wsheet .wsheet .heap,html.rl-land .rl-wsheet .wsheet .heap.l0,html.rl-land .rl-wsheet .wsheet .heap.l1,html.rl-land .rl-wsheet .wsheet .heap.l3{grid-area:heap;position:static;width:150px;max-width:150px;margin:0;top:auto;bottom:auto;transform:none;justify-self:center;filter:drop-shadow(0 8px 14px rgba(180,127,0,.4))}
html.rl-land .rl-wsheet .wsheet .heap.l0{width:110px}
html.rl-land .rl-wsheet .wsheet h2{grid-area:t;margin:0;font-size:26px;line-height:1.1}
html.rl-land .rl-wsheet .wsheet p{grid-area:p;margin:4px 0 0;font-size:14px}
html.rl-land .rl-wsheet .wsheet .amount{grid-area:a;margin:6px 0 0;font-size:42px;line-height:1;display:flex;align-items:center;gap:6px;justify-content:center;color:#B47F00}
html.rl-land .rl-wsheet .wsheet .btn{grid-area:b;margin:14px 0 0;width:100%}
@keyframes rlWinIn{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
/* Texte de la fenêtre de gain centré sur le bouton (owner 29/11). */
/* Roulette : la popup du milieu du tapis devient une petite pastille entre l entête et le tapis, affichée seulement en cas de perte (owner 29/11). */
html.rl-land .rl > .ig-msg.rl-lose{display:flex;width:max-content;align-self:start;justify-self:center;margin-top:-24px;flex-direction:row;align-items:center;gap:6px;padding:3px 12px;line-height:16px;border-radius:999px;
  background:rgba(0,0,0,.55);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);white-space:nowrap;animation:rlMsg 2.6s ease forwards}
html.rl-land .rl > .ig-msg.rl-lose b{font-size:13px;font-weight:800}
html.rl-land .rl > .ig-msg.rl-lose span{font-size:12px;font-weight:600;opacity:.8}
html.rl-land .rl > .ig-msg.rl-lose span::before{content:"·";margin-right:6px}
/* Roulette (owner 29/11) : roue plus grande dans l'écran de lancer + effet caméra en fin de lancer (zoom sur la bille,
   .rl-stage.cam posé par zoomBall). --rlw = largeur de l'écran dans le repère paysage (page tournée en portrait). */
html.rl-land{--rlw:100vw}
@media (orientation: portrait) { html.rl-land{--rlw:100vh} }
.rl-show{overflow:hidden}
.rl-show .rl-stage{width:min(460px,96vw)}
html.rl-land .rl-show .rl-stage{width:min(560px,calc((var(--rlh) - 24px) / .68),calc(var(--rlw) - 150px))}
html.andr.rl-land .rl-show .rl-stage{width:min(560px,calc((var(--rlh) - 24px) / .6),calc(var(--rlw) - 150px))}
.rl-show .rl-stage.cam{transition:scale 1.3s cubic-bezier(.45,0,.2,1),translate 1.3s cubic-bezier(.45,0,.2,1)}
.rl-show .rl-res{position:relative;z-index:2}
/* Roue de la chance sur Android (owner 29/11, « la 3D lague trop ») : plus de perspective ni de rotateX, plus d'ombre
   floue animée (repeinte à chaque image) ; la bascule est simulée en 2D (écrasement vertical) → animation composée
   par le GPU seulement. La roue qui tourne est mise sur son propre calque (will-change). */
html.andr .wheel-box{transition:transform .8s cubic-bezier(.25,.8,.3,1);box-shadow:none;will-change:transform}
html.andr .wheel-box.z1{transform:translateX(-50%) scale(.66,.6)}
html.andr .wheel-box.z2{transform:translateX(-50%) scale(.69,.54);transition-duration:1.5s}
html.andr .wheel-box.z3{transform:translateX(-50%) scale(.72,.48);transition-duration:1.5s}
html.andr .wheel-box.z2,html.andr .wheel-box.z3{box-shadow:none}
html.andr .wheel-box .wheel{will-change:transform}
html.andr .wheel-box .wheel-hub{box-shadow:0 0 0 6px #fff,0 6px 0 6px #A87400}

/* Roulette : historique des tirages, numéros chauds / froids, statistiques (owner 29/11). Ouvert en touchant la colonne des derniers numéros. */
.rl-last{cursor:pointer}
.rl-last .rl-more{display:grid;place-items:center;width:30px;height:24px;margin-top:auto;border-radius:6px;background:rgba(255,255,255,.18);color:#fff;flex:none}
.rl-last .rl-more svg{width:16px;height:16px}
.rl-hsheet{z-index:80;align-items:center;justify-content:center;padding:12px;background:rgba(6,30,14,.62);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.rl-hsheet .rl-hs-in{position:relative;width:min(680px,100%);max-height:calc(var(--rlh, 100dvh) - 24px);overflow-y:auto;border-radius:22px;padding:14px 18px 14px;text-align:left;box-shadow:0 0 0 3px #FFD45A,0 24px 60px rgba(0,0,0,.45);animation:rlWinIn .3s cubic-bezier(.25,1.4,.5,1) both}
.rl-hsheet h2{font-size:20px;margin:0 0 6px;text-align:left}
.rl-hsheet h3{font-size:13px;font-weight:800;margin:10px 0 6px;text-transform:uppercase;letter-spacing:.3px}
.rl-hs-x{position:absolute;top:10px;right:12px;width:32px;height:32px;border-radius:50%;background:#F1EEF6;font-weight:900;color:var(--ink)}
.rl-hs-n{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rl-hs-n button{padding:4px 12px;border-radius:999px;background:#F1EEF6;font-weight:800;font-size:13px;color:var(--ink)}
.rl-hs-n button.on{background:#0E9A4A;color:#fff}
.rl-hs-n button:disabled{opacity:.35}
.rl-hs-n .mut{font-size:12px;margin-left:4px}
.rl-hs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.rl-hs-seq{display:flex;flex-wrap:wrap;gap:3px;max-height:92px;overflow-y:auto}
.rl-hsheet i{font-style:normal;min-width:24px;height:22px;padding:0 4px;border-radius:5px;display:inline-grid;place-items:center;color:#fff;font-weight:800;font-size:12px}
.rl-hsheet i.red{background:#D21F2B}.rl-hsheet i.black{background:#17151C}.rl-hsheet i.green{background:#0E9A4A}
.rl-hs-seq i:first-child{box-shadow:0 0 0 2px #FFD45A}
.rl-hs-hc{display:flex;gap:8px;flex-wrap:wrap}
.rl-hs-hc span{display:flex;flex-direction:column;align-items:center;gap:2px}
.rl-hs-hc i{min-width:32px;height:30px;font-size:15px;border-radius:8px}
.rl-hs-hc small{font-size:11px;font-weight:700;color:var(--mut)}
.rl-hs-bar{display:flex;gap:3px;margin-bottom:5px}
.rl-hs-bar span{min-width:0;display:flex;justify-content:space-between;align-items:center;gap:4px;padding:4px 7px;border-radius:6px;color:#fff;font-size:11.5px;white-space:nowrap;overflow:hidden}
.rl-hs-bar span.red{background:#D21F2B}.rl-hs-bar span.black{background:#17151C}.rl-hs-bar span.green{background:#0E9A4A;justify-content:center}
.rl-hs-bar span.green b{display:none}
.rl-hs-bar span.o{background:#2B6E45}.rl-hs-bar span.o2{background:#3F8A5C}
.rl-hs-bar b{font-weight:800;overflow:hidden;text-overflow:ellipsis}.rl-hs-bar em{font-style:normal;font-weight:900}
.rl-hs-st .small{margin:8px 0 0;font-size:11px}
/* Barres de stats : cases de largeur égale (libellés entiers), la part du résultat est un remplissage clair proportionnel. */
.rl-hs-bar span{flex:1 1 0;position:relative;background-image:linear-gradient(90deg,rgba(255,255,255,.26) var(--p),transparent var(--p))}
.rl-hs-bar span.green{flex:0 0 46px;background-image:none}

/* Page révélée une fois cette feuille appliquée (voir layouts/app.blade.php, owner 29/11). */
body{visibility:visible}
/* Mission « profil complet » (owner 29/11) : les 4 éléments demandés alignés sur une seule ligne, colonnes égales. */
.mis.prof .pitems{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;justify-content:stretch;margin:4px 0 2px}
.mis.prof .pitems span{justify-content:center;padding:7px 4px;gap:5px;min-width:0;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mis.prof .pitems i{flex:none}
/* Profil à compléter (owner 29/11) : carrés arrondis au lieu des ronds des amis. */
.mis.share .pitems2 .fr i{border-radius:14px}
/* Bonus quotidien : bouton « Régler une alarme » + feuille de choix de l'heure (owner 29/11). */
.mis.share .alarmbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border-radius:14px;background:transparent;box-shadow:inset 0 0 0 2px var(--line);color:var(--ink);font-weight:800;font-size:14.5px}
.mis.share .alarmbtn svg{width:19px;height:19px;flex:none}
.mis.share .alarmbtn.on{box-shadow:inset 0 0 0 2px #FFCB3A;background:#FFF8E1;color:#A66F00}
.alsheet .altime{display:block;width:100%;max-width:240px;margin:8px auto 16px;padding:12px 14px;border-radius:16px;border:2px solid var(--line);font:inherit;font-size:30px;font-weight:800;text-align:center;background:#fff;color:var(--ink)}
html.dark .mis.share .alarmbtn.on{background:rgba(255,203,58,.12);color:#FFCB3A}
html.dark .alsheet .altime{background:var(--s3);color:#fff;border-color:rgba(255,255,255,.15)}

/* Doubler un gain en regardant une pub (owner 30/11) : bouton doré au-dessus du bouton principal des fenêtres de gain. */
.dblwrap{width:100%;margin-bottom:6px}
.btn.dbl{background:linear-gradient(#FFD75A,#F7B500);color:#3B2A00;min-height:56px;font-size:17px;box-shadow:0 5px 0 #C98F00,0 14px 26px rgba(247,181,0,.28)}
.btn.dbl svg{width:24px;height:24px;flex:none}
