/* =========================================================
   LA SUITE GAGNANTE — INTERFACE APPLICATION 2026
   Cette feuille ne modifie aucune logique métier ni aucun
   comportement de jeu. Elle harmonise uniquement l'interface.
   ========================================================= */

:root{
  --lsg-violet:#4f46e5;
  --lsg-violet-deep:#312e81;
  --lsg-purple:#7c3aed;
  --lsg-cyan:#06b6d4;
  --lsg-blue:#3b82f6;
  --lsg-gold:#f6c84f;
  --lsg-gold-deep:#d99505;
  --lsg-ink:#111827;
  --lsg-muted:#64748b;
  --lsg-line:#e2e8f0;
  --lsg-bg:#f5f7fc;
  --lsg-card:#ffffff;
  --lsg-success:#059669;
  --lsg-danger:#e11d48;
  --lsg-radius:24px;
  --lsg-radius-sm:16px;
  --lsg-shadow:0 18px 55px rgba(30,41,59,.10);
  --lsg-shadow-soft:0 8px 28px rgba(30,41,59,.07);
  --lsg-bottom-nav-height:78px;
}

html{
  scroll-behavior:smooth;
  background:var(--lsg-bg);
}

body.lsg-app{
  min-height:100%;
  margin:0;
  overflow-x:hidden;
  color:var(--lsg-ink);
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 5% 0%,rgba(79,70,229,.09),transparent 24rem),
    radial-gradient(circle at 100% 12%,rgba(6,182,212,.08),transparent 26rem),
    linear-gradient(180deg,#fbfcff 0%,var(--lsg-bg) 60%,#f8fafc 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.lsg-app *{
  box-sizing:border-box;
}

body.lsg-app img,
body.lsg-app svg,
body.lsg-app video,
body.lsg-app canvas{
  max-width:100%;
}

body.lsg-app a{
  text-underline-offset:3px;
}

body.lsg-app button,
body.lsg-app input,
body.lsg-app select,
body.lsg-app textarea{
  font:inherit;
}

body.lsg-app button,
body.lsg-app a{
  -webkit-tap-highlight-color:transparent;
}

body.lsg-app :focus-visible{
  outline:3px solid rgba(6,182,212,.45);
  outline-offset:3px;
}

.lsg-skip-link{
  position:fixed;
  top:8px;
  left:8px;
  z-index:2147483646;
  transform:translateY(-180%);
  padding:10px 14px;
  border-radius:12px;
  background:#111827;
  color:#fff;
  font-weight:800;
  transition:transform .18s ease;
}
.lsg-skip-link:focus{transform:translateY(0)}
.lsg-content-anchor{scroll-margin-top:88px}

/* ---------- En-tête ---------- */
.lsg-topbar{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(226,232,240,.78);
  background:rgba(255,255,255,.88);
  box-shadow:0 8px 30px rgba(15,23,42,.045);
  backdrop-filter:blur(18px) saturate(155%);
  -webkit-backdrop-filter:blur(18px) saturate(155%);
}

.lsg-topbar-inner{
  width:min(1240px,100%);
  min-height:72px;
  margin:0 auto;
  padding:10px 22px;
  display:flex;
  align-items:center;
  gap:24px;
}

.lsg-brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  min-width:0;
  color:var(--lsg-ink)!important;
  text-decoration:none!important;
  flex:0 0 auto;
}

.lsg-brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 42px;
  border-radius:15px;
  background:linear-gradient(145deg,#fff,#f5f3ff);
  box-shadow:0 8px 22px rgba(79,70,229,.15);
}
.lsg-brand-mark img{width:39px;height:39px}

.lsg-brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  line-height:1.05;
}
.lsg-brand-copy strong{
  white-space:nowrap;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.035em;
  background:linear-gradient(90deg,var(--lsg-violet),var(--lsg-cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lsg-brand-copy small{
  margin-top:5px;
  color:#64748b;
  font-size:10px;
  font-weight:700;
  letter-spacing:.035em;
}

.lsg-desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin-left:auto;
}
.lsg-nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 13px;
  border-radius:14px;
  color:#475569!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:750;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.lsg-nav-link:hover{
  color:var(--lsg-violet)!important;
  background:#eef2ff;
  transform:translateY(-1px);
}
.lsg-nav-link.is-active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-purple));
  box-shadow:0 8px 18px rgba(79,70,229,.22);
}

.lsg-desktop-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.lsg-top-action,
.lsg-user-pill{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border-radius:14px;
  text-decoration:none!important;
  font-size:12.5px;
  font-weight:850;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.lsg-top-action:hover,.lsg-user-pill:hover{transform:translateY(-1px)}
.lsg-top-action-primary{
  color:#fff!important;
  background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-cyan));
  box-shadow:0 9px 20px rgba(79,70,229,.2);
}
.lsg-top-action-secondary{
  color:var(--lsg-violet)!important;
  border:1px solid #c7d2fe;
  background:#fff;
}
.lsg-top-action-admin{
  color:#92400e!important;
  border:1px solid #fde68a;
  background:#fffbeb;
}
.lsg-user-pill{
  color:#334155!important;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 7px 20px rgba(15,23,42,.055);
}
.lsg-user-pill.is-active{border-color:#a5b4fc;background:#eef2ff;color:var(--lsg-violet)!important}
.lsg-user-avatar,
.lsg-mobile-avatar{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  border-radius:50%;
  color:#fff!important;
  background:linear-gradient(145deg,var(--lsg-violet),var(--lsg-cyan));
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
  box-shadow:0 5px 13px rgba(79,70,229,.24);
}
.lsg-user-name{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.lsg-icon-button{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 42px;
  padding:0;
  border:1px solid #e2e8f0;
  border-radius:14px;
  color:#334155;
  background:#fff;
  box-shadow:0 7px 20px rgba(15,23,42,.055);
  cursor:pointer;
  transition:transform .16s ease,color .16s ease,border-color .16s ease;
}
.lsg-icon-button:hover{transform:translateY(-1px);color:var(--lsg-violet);border-color:#c7d2fe}
.lsg-icon-button svg{width:23px;height:23px}
.lsg-mobile-actions{display:none;align-items:center;gap:8px;margin-left:auto}

/* ---------- Panneau d'informations ---------- */
.lsg-more-sheet[hidden]{display:none!important}
.lsg-more-sheet{
  position:fixed;
  inset:0;
  z-index:2147482500;
  display:flex;
  justify-content:flex-end;
  align-items:stretch;
  padding:16px;
}
.lsg-more-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(4px);
}
.lsg-more-panel{
  position:relative;
  z-index:1;
  width:min(420px,100%);
  height:100%;
  overflow:auto;
  padding:22px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  background:linear-gradient(180deg,#fff 0%,#f8faff 100%);
  box-shadow:0 30px 100px rgba(15,23,42,.36);
  animation:lsgPanelIn .22s ease-out both;
}
@keyframes lsgPanelIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.lsg-more-handle{display:none}
.lsg-more-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.lsg-eyebrow{display:block;color:var(--lsg-violet);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.lsg-more-head h2{margin:5px 0 0;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-.03em}
.lsg-more-close{
  width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;
  border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#475569;
  font-size:26px;line-height:1;cursor:pointer;
}
.lsg-more-profile{
  margin-top:20px;padding:14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;
  border:1px solid #ddd6fe;border-radius:18px;background:#f5f3ff;color:#312e81!important;text-decoration:none!important;
}
.lsg-more-profile span:nth-child(2){display:flex;flex-direction:column;min-width:0}
.lsg-more-profile strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lsg-more-profile small{margin-top:3px;color:#6b7280;font-size:11px}
.lsg-more-auth{display:grid;gap:8px;margin-top:20px}
.lsg-more-primary,.lsg-more-secondary{
  min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:15px;font-size:13px;font-weight:850;text-decoration:none!important;
}
.lsg-more-primary{color:#fff!important;background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-cyan));box-shadow:0 10px 22px rgba(79,70,229,.2)}
.lsg-more-secondary{color:var(--lsg-violet)!important;background:#fff;border:1px solid #c7d2fe}
.lsg-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.lsg-more-grid>a{
  min-height:112px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;
  border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#111827!important;text-decoration:none!important;box-shadow:var(--lsg-shadow-soft);
}
.lsg-more-grid>a>span{width:34px;height:34px;margin-bottom:auto;display:grid;place-items:center;border-radius:11px;background:#eef2ff;color:var(--lsg-violet);font-size:17px;font-weight:900}
.lsg-more-grid strong{font-size:13px}
.lsg-more-grid small{margin-top:3px;color:#64748b;font-size:10.5px}
.lsg-more-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.lsg-more-links a{padding:7px 9px;border-radius:999px;background:#f1f5f9;color:#475569!important;text-decoration:none!important;font-size:10.5px;font-weight:750}
.lsg-more-admin,.lsg-more-logout{margin-top:16px;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:14px;text-decoration:none!important;font-size:12px;font-weight:850}
.lsg-more-admin{color:#92400e!important;background:#fffbeb;border:1px solid #fde68a}
.lsg-more-logout{color:#be123c!important;background:#fff1f2;border:1px solid #fecdd3}

/* ---------- Contenu général ---------- */
body.lsg-app main{
  width:100%;
}
body.lsg-app main>.max-w-5xl,
body.lsg-app main>.max-w-6xl,
body.lsg-app main>.container,
body.lsg-app>.section,
body.lsg-app>.grid,
body.lsg-app>.form-card,
body.lsg-app>.auth-card{
  position:relative;
}
body.lsg-app main>.max-w-5xl,
body.lsg-app main>.max-w-6xl{
  width:min(1180px,100%)!important;
  margin-inline:auto!important;
  padding:28px 22px 54px!important;
}
body.lsg-app h1{
  color:#0f172a;
  font-weight:900!important;
  letter-spacing:-.035em;
}
body.lsg-app h2{
  color:#172033;
  font-weight:850;
  letter-spacing:-.022em;
}
body.lsg-app p{line-height:1.62}

body.lsg-app .card-soft,
body.lsg-app .form-card,
body.lsg-app .auth-card,
body.lsg-app .card,
body.lsg-app .box,
body.lsg-app .panel{
  border-color:rgba(226,232,240,.92)!important;
  border-radius:var(--lsg-radius)!important;
  background:rgba(255,255,255,.92);
  box-shadow:var(--lsg-shadow-soft)!important;
}

/* Boutons et champs communs */
body.lsg-app .form-input,
body.lsg-app input[type="text"],
body.lsg-app input[type="email"],
body.lsg-app input[type="password"],
body.lsg-app input[type="number"],
body.lsg-app input[type="file"],
body.lsg-app select,
body.lsg-app textarea{
  min-height:48px;
  border:1px solid #d8e0ea;
  border-radius:14px;
  background:#fff;
  color:#172033;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
body.lsg-app .form-input:focus,
body.lsg-app input:focus,
body.lsg-app select:focus,
body.lsg-app textarea:focus{
  border-color:#818cf8!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(99,102,241,.13)!important;
}
body.lsg-app textarea{min-height:110px}
body.lsg-app label{color:#475569;font-weight:650}
body.lsg-app .form-title{font-size:clamp(1.55rem,3vw,2rem)!important;font-weight:900!important;letter-spacing:-.035em}
body.lsg-app .form-muted{display:block;margin-bottom:6px;color:#64748b;font-size:.78rem;font-weight:700}
body.lsg-app .form-action,
body.lsg-app .btn-primary,
body.lsg-app button[class*="bg-indigo-600"],
body.lsg-app a[class*="bg-indigo-600"]{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0!important;
  border-radius:15px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-purple))!important;
  box-shadow:0 10px 24px rgba(79,70,229,.22)!important;
  font-weight:850!important;
  text-decoration:none!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
body.lsg-app .form-action:hover,
body.lsg-app .btn-primary:hover,
body.lsg-app button[class*="bg-indigo-600"]:hover,
body.lsg-app a[class*="bg-indigo-600"]:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 14px 30px rgba(79,70,229,.28)!important;
}
body.lsg-app .form-secondary,
body.lsg-app a[class*="border-slate-300"]{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe3ed!important;
  border-radius:14px!important;
  color:#475569!important;
  background:#fff!important;
  font-weight:750;
  text-decoration:none!important;
}

/* ---------- Accueil / zone jackpot ---------- */
body.lsg-page-home main>.max-w-5xl{padding-top:20px!important}
body.lsg-page-home main section.grid{
  align-items:start!important;
  gap:22px!important;
}
body.lsg-page-home .lsg-main-card{
  position:relative;
  overflow:hidden;
  padding:22px!important;
  border:1px solid rgba(124,58,237,.28)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 88% 10%,rgba(6,182,212,.25),transparent 18rem),
    radial-gradient(circle at 0% 36%,rgba(124,58,237,.35),transparent 20rem),
    linear-gradient(155deg,#14122f 0%,#1e1b4b 45%,#111827 100%)!important;
  box-shadow:0 26px 70px rgba(30,27,75,.28)!important;
  color:#fff;
}
body.lsg-page-home .lsg-main-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(125deg,transparent 0 25%,rgba(255,255,255,.035) 25.2% 26%,transparent 26.2% 54%,rgba(255,255,255,.03) 54.2% 55%,transparent 55.2%),
    radial-gradient(circle at 40% 18%,rgba(246,200,79,.12),transparent 16rem);
}
body.lsg-page-home .lsg-main-card>*{position:relative;z-index:1}
body.lsg-page-home .lsg-event-mini{margin-bottom:14px!important}
body.lsg-page-home .lsg-event-card{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.12)!important;
}
body.lsg-page-home #nextDraw{
  min-height:82px!important;
  padding:14px 18px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 12px 28px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(9px);
}
body.lsg-page-home #nd-line1{
  color:#c7d2fe!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}
body.lsg-page-home #nd-line2{
  margin-top:6px!important;
  color:#fff!important;
  font-size:clamp(1.4rem,4vw,2rem)!important;
  font-weight:900!important;
  letter-spacing:.055em;
}
body.lsg-page-home .jackpot-title-full{
  display:block!important;
  margin:22px 0 3px!important;
  color:#cbd5e1!important;
  text-align:center;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  text-transform:uppercase;
}
body.lsg-page-home .jackpot-amount-main{
  margin:7px 0 8px!important;
  color:var(--lsg-gold)!important;
  text-align:center!important;
  line-height:.92!important;
  filter:drop-shadow(0 10px 28px rgba(246,200,79,.2));
}
body.lsg-page-home .jackpot-amount-main #jackpot{
  font-size:clamp(4.5rem,8.8vw,7rem)!important;
  font-weight:950!important;
  letter-spacing:-.085em!important;
}
body.lsg-page-home .jackpot-amount-main .euro{
  margin-left:.04em;
  color:var(--lsg-gold)!important;
  font-size:clamp(3rem,5vw,4.6rem)!important;
  font-weight:900!important;
}
body.lsg-page-home .lsg-draw-schedule{
  margin:8px 0 16px;
  color:#e2e8f0;
  text-align:center;
  font-size:13px;
  font-weight:650;
}
body.lsg-page-home .lsg-mobile-proofline{
  position:relative!important;
  z-index:3!important;
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:10px 0 14px!important;
  pointer-events:auto!important;
}
body.lsg-page-home .lsg-mobile-proofline>span,
body.lsg-page-home .lsg-mobile-proofline>a{
  min-height:31px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:5px 10px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:999px!important;
  color:#e2e8f0!important;
  background:rgba(255,255,255,.08)!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.lsg-page-home .lsg-mobile-hero-cta{
  min-height:58px!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  margin:0 0 10px!important;
  border:0!important;
  border-radius:20px!important;
  color:#1f2937!important;
  background:linear-gradient(135deg,#fde68a,var(--lsg-gold),#f59e0b)!important;
  box-shadow:0 14px 34px rgba(245,158,11,.26),inset 0 1px 0 rgba(255,255,255,.6)!important;
  font-size:17px!important;
  font-weight:950!important;
  text-decoration:none!important;
  transition:transform .16s ease,filter .16s ease;
}
body.lsg-page-home .lsg-mobile-hero-cta:before{content:"⚄";margin-right:10px;font-size:21px}
body.lsg-page-home .lsg-mobile-hero-cta:hover{transform:translateY(-1px);filter:brightness(1.02)}
body.lsg-page-home .lsg-free-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:2px 0 18px;
  color:#fde68a;
  font-size:12px;
  font-weight:850;
  text-align:center;
}
body.lsg-page-home .lsg-free-line:after{content:"→";font-size:18px}
body.lsg-page-home .lsg-mobile-boostbox{
  display:block!important;
  margin:0 0 14px!important;
  padding:14px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.075)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  text-align:left!important;
}
body.lsg-page-home .lsg-mobile-boost-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
body.lsg-page-home .lsg-mobile-boost-title{
  margin:0!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.lsg-page-home .lsg-mobile-boost-link{
  margin:0!important;
  color:#fde68a!important;
  font-size:11px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.lsg-page-home .lsg-mobile-boost-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
body.lsg-page-home .lsg-mobile-boost-grid span{
  min-width:0;
  padding:10px 7px!important;
  display:flex!important;
  flex-direction:column;
  gap:4px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.08)!important;
  text-align:center;
}
body.lsg-page-home .lsg-mobile-boost-grid strong{color:#fff!important;font-size:11px!important;font-weight:900!important}
body.lsg-page-home .lsg-mobile-boost-grid small{color:#cbd5e1!important;font-size:9.5px!important;font-weight:650!important;line-height:1.2!important}

/* Le jeu reste fonctionnel à l'identique : uniquement son habillage change. */
body.lsg-page-home .lsg-play-card{
  margin-top:16px!important;
  padding:20px!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.86)!important;
  border-radius:24px!important;
  color:#111827;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.24)!important;
}
body.lsg-page-home .lsg-play-card h2{color:#111827!important;font-size:1.45rem!important;font-weight:900!important}
body.lsg-page-home .lsg-play-card p{color:#64748b}
body.lsg-page-home .grid-cell{
  border:2px solid #dbe4ef!important;
  border-radius:16px!important;
  color:#111827!important;
  background:#f8fafc!important;
  box-shadow:inset 0 1px 0 #fff,0 6px 16px rgba(15,23,42,.055)!important;
}
body.lsg-page-home .grid-cell.filled,
body.lsg-page-home .grid-cell.is-active{
  border-color:#818cf8!important;
  background:#eef2ff!important;
  color:var(--lsg-violet)!important;
}
body.lsg-page-home .num-btn{
  border:1px solid #d8e1ec!important;
  color:#334155!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  box-shadow:0 5px 13px rgba(15,23,42,.055)!important;
}
body.lsg-page-home .num-btn:hover{border-color:#a5b4fc!important;color:var(--lsg-violet)!important;background:#eef2ff!important}
body.lsg-page-home .action-btn{border-radius:15px!important;font-weight:800!important}
body.lsg-page-home .submit-grid-btn{
  min-height:54px!important;
  border:0!important;
  background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-cyan))!important;
  box-shadow:0 12px 26px rgba(79,70,229,.26)!important;
  font-weight:900!important;
}
body.lsg-page-home section.grid>div.flex.flex-col.gap-6>div{
  border-radius:28px!important;
  border-color:#eadfb8!important;
  background:linear-gradient(180deg,#fffdf6,#fff)!important;
  box-shadow:var(--lsg-shadow)!important;
}
body.lsg-page-home section.grid>div.flex.flex-col.gap-6 h2{font-size:1.55rem!important;font-weight:900!important}

/* Abonnements */
body.lsg-app .plan-btn{
  border-radius:18px!important;
  box-shadow:0 12px 27px rgba(15,23,42,.10)!important;
}
body.lsg-app .plan-btn-starter{
  border-color:#eab308!important;
  color:#604600!important;
  background:linear-gradient(135deg,#fff4b8 0%,#facc15 55%,#f59e0b 100%)!important;
}
body.lsg-app .plan-btn-plus{
  border-color:rgba(255,255,255,.18)!important;
  color:#fff!important;
  background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 52%,#06b6d4 135%)!important;
}
body.lsg-app .compare-btn{border-radius:17px!important}

/* ---------- Tirages ---------- */
body.lsg-page-draws main>.max-w-6xl{max-width:1160px!important}
body.lsg-page-draws main section.text-center{
  margin-bottom:20px!important;
  padding:24px 18px;
  border:1px solid rgba(199,210,254,.72);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(238,242,255,.95),rgba(236,254,255,.85));
  box-shadow:var(--lsg-shadow-soft);
}
body.lsg-page-draws main section.text-center h1{font-size:clamp(1.7rem,4vw,2.35rem)!important}
body.lsg-page-draws .draws-filter{
  width:100%;
  max-width:1000px;
  padding:16px!important;
  border:1px solid #e2e8f0!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:var(--lsg-shadow-soft)!important;
}
body.lsg-page-draws .draws-filter select{
  min-width:150px;
  min-height:43px!important;
  padding:0 34px 0 12px!important;
  border-radius:12px!important;
}
body.lsg-page-draws .draws-card-wrap{
  border:1px solid #e2e8f0!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:var(--lsg-shadow)!important;
}
body.lsg-page-draws .draws-table thead{background:linear-gradient(90deg,#eef2ff,#ecfeff)!important}
body.lsg-page-draws .draws-table th{padding:16px!important;color:#334155;font-size:12px;font-weight:850!important;text-transform:uppercase;letter-spacing:.055em}
body.lsg-page-draws .draws-table td{padding:17px 16px!important;vertical-align:middle}
body.lsg-page-draws .draw-num{
  display:inline-flex;
  padding:7px 11px;
  border-radius:12px;
  color:#312e81!important;
  background:#eef2ff;
  font-size:14px;
  font-weight:900!important;
  letter-spacing:.14em!important;
}
body.lsg-page-draws .jack-badge{border-radius:999px!important}

/* ---------- Gagnants ---------- */
body.lsg-page-winners main header.mb-6,
body.lsg-page-testimonials main header.mb-6{
  margin-bottom:22px!important;
  padding:25px 18px;
  border:1px solid rgba(199,210,254,.72);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(238,242,255,.95),rgba(236,254,255,.85));
  box-shadow:var(--lsg-shadow-soft);
}
body.lsg-page-winners main header h1,
body.lsg-page-testimonials main header h1{font-size:clamp(1.7rem,4vw,2.35rem)!important}
body.lsg-page-winners .winner-card,
body.lsg-page-winners main .rounded-2xl.border,
body.lsg-page-testimonials main .rounded-2xl.border{
  border-color:#e2e8f0!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:var(--lsg-shadow-soft)!important;
}
body.lsg-page-winners .winner-row:hover{background:#fafbff}
body.lsg-page-winners .special-prize-btn,
body.lsg-page-draws .special-prize-btn{
  border-color:#c7d2fe!important;
  color:#4f46e5!important;
  background:#eef2ff!important;
}

/* ---------- Compte ---------- */
body.lsg-page-account>.section.center{
  width:min(1040px,calc(100% - 32px));
  margin:28px auto 14px!important;
  padding:24px!important;
  border:1px solid rgba(199,210,254,.72);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(238,242,255,.96),rgba(236,254,255,.9));
  box-shadow:var(--lsg-shadow-soft);
}
body.lsg-page-account>.section.center .form-title{margin:0!important;text-align:center}
body.lsg-page-account>.grid{
  width:min(1040px,calc(100% - 32px))!important;
  margin:0 auto!important;
  gap:18px!important;
}
body.lsg-page-account .card{
  padding:22px!important;
  border:1px solid #e2e8f0!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:var(--lsg-shadow-soft)!important;
}
body.lsg-page-account .card--blue{
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
  border-top:4px solid var(--lsg-cyan)!important;
}
body.lsg-page-account .card--yellow{
  background:linear-gradient(180deg,#fffdf4,#fff)!important;
  border-top:4px solid var(--lsg-gold)!important;
}
body.lsg-page-account .card h2{margin-top:0!important;font-size:1.25rem!important;font-weight:900!important}
body.lsg-page-account .btn{
  min-height:46px!important;
  border-radius:14px!important;
  font-weight:850!important;
}
body.lsg-page-account .btn-primary,
body.lsg-page-account .btn.btn-primary{background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-cyan))!important}
body.lsg-page-account #resiliation-abonnement{width:min(1040px,calc(100% - 32px));margin:18px auto 40px!important}

/* ---------- Authentification ---------- */
body.lsg-page-login>.form-card,
body.lsg-page-register>.form-card{
  width:min(460px,calc(100% - 32px));
  margin:46px auto 70px!important;
  padding:30px!important;
  border:1px solid #e2e8f0!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 24px 70px rgba(30,41,59,.13)!important;
}
body.lsg-page-login>.form-card:before,
body.lsg-page-register>.form-card:before{
  content:"";
  width:56px;
  height:6px;
  display:block;
  margin:0 auto 22px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--lsg-violet),var(--lsg-cyan));
}
body.lsg-page-login .form-action,
body.lsg-page-register .form-action{width:100%;margin-top:18px;padding-inline:20px}
body.lsg-page-login .pwd-wrap,
body.lsg-page-register .pwd-wrap{position:relative}
body.lsg-page-login .pwd-toggle,
body.lsg-page-register .pwd-toggle{border-radius:12px!important}

/* ---------- Témoignages / pages secondaires ---------- */
body.lsg-page-testimonials main>.max-w-5xl{max-width:1050px!important}
body.lsg-page-testimonials main .grid>div{transition:transform .16s ease,box-shadow .16s ease}
body.lsg-page-testimonials main .grid>div:hover{transform:translateY(-2px);box-shadow:var(--lsg-shadow)!important}
body.lsg-page-special main section{
  padding:24px;
  border:1px solid #e2e8f0;
  border-radius:28px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--lsg-shadow);
}

/* ---------- Pied de page ---------- */
.lsg-footer{
  margin-top:28px;
  border-top:1px solid #e2e8f0;
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(10px);
}
.lsg-footer-inner{width:min(1180px,100%);margin:0 auto;padding:34px 22px 24px}
.lsg-footer-brand{display:flex;align-items:center;gap:12px}
.lsg-footer-brand img{width:38px;height:38px}
.lsg-footer-brand div{display:flex;flex-direction:column}
.lsg-footer-brand strong{font-size:15px;font-weight:900}
.lsg-footer-brand span{margin-top:3px;color:#64748b;font-size:11px}
.lsg-footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:28px}
.lsg-footer-columns>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.lsg-footer-columns strong{margin-bottom:3px;color:#334155;font-size:11px;text-transform:uppercase;letter-spacing:.09em}
.lsg-footer-columns a,.lsg-footer-columns span{color:#64748b!important;font-size:11.5px;text-decoration:none!important}
.lsg-footer-columns a:hover{color:var(--lsg-violet)!important}
.lsg-footer-bottom{margin-top:28px;padding-top:17px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#94a3b8;font-size:10.5px}
.lsg-footer-bottom div{display:flex;flex-wrap:wrap;gap:12px}
.lsg-footer-bottom a{color:#64748b!important;text-decoration:none!important}

/* ---------- Navigation mobile ---------- */
.lsg-bottom-nav{display:none}

/* ---------- Correctifs modales et cookies ---------- */
body.lsg-app [role="dialog"]{font-family:"Poppins",system-ui,sans-serif}
body.lsg-app #lsgCookieBanner{z-index:2147483200}
body.lsg-app #lsgCookiePanel{z-index:2147483300}
body.lsg-app .lsg-cookie-card,
body.lsg-app .lsg-cookie-panel-card{border-radius:22px!important}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .lsg-topbar-inner{gap:14px;padding-inline:16px}
  .lsg-nav-link{padding-inline:10px;font-size:12px}
  .lsg-brand-copy small{display:none}
  .lsg-user-name{display:none}
}

@media (max-width:900px){
  .lsg-desktop-nav,.lsg-desktop-actions{display:none!important}
  .lsg-mobile-actions{display:flex}
  .lsg-topbar-inner{min-height:64px;padding:8px 14px}
  .lsg-brand-mark{width:39px;height:39px;flex-basis:39px;border-radius:13px}
  .lsg-brand-mark img{width:36px;height:36px}
  .lsg-brand-copy strong{font-size:16px}
  .lsg-brand-copy small{display:block;font-size:8.5px;margin-top:4px}

  body.lsg-app{
    padding-bottom:calc(var(--lsg-bottom-nav-height) + env(safe-area-inset-bottom));
  }

  .lsg-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:2000;
    min-height:calc(var(--lsg-bottom-nav-height) + env(safe-area-inset-bottom));
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:start;
    padding:7px 7px calc(7px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(203,213,225,.9);
    background:rgba(255,255,255,.94);
    box-shadow:0 -12px 35px rgba(15,23,42,.10);
    backdrop-filter:blur(18px) saturate(150%);
    -webkit-backdrop-filter:blur(18px) saturate(150%);
  }
  .lsg-bottom-item{
    position:relative;
    min-width:0;
    height:58px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border-radius:16px;
    color:#94a3b8!important;
    text-decoration:none!important;
    font-size:9px;
    font-weight:750;
    transition:color .16s ease,background .16s ease,transform .16s ease;
  }
  .lsg-bottom-item>svg{width:23px;height:23px}
  .lsg-bottom-item.is-active{color:var(--lsg-violet)!important;background:#eef2ff}
  .lsg-bottom-item:active{transform:scale(.96)}
  .lsg-bottom-play{overflow:visible;color:var(--lsg-violet)!important}
  .lsg-bottom-play-icon{
    width:45px;
    height:45px;
    margin-top:-20px;
    display:grid;
    place-items:center;
    border:4px solid rgba(255,255,255,.96);
    border-radius:17px;
    color:#fff;
    background:linear-gradient(145deg,var(--lsg-violet),var(--lsg-cyan));
    box-shadow:0 9px 22px rgba(79,70,229,.34);
  }
  .lsg-bottom-play-icon svg{width:23px;height:23px}
  .lsg-bottom-play>span:last-child{margin-top:-1px}

  .lsg-more-sheet{align-items:flex-end;padding:0}
  .lsg-more-panel{
    width:100%;
    height:auto;
    max-height:min(88dvh,760px);
    padding:12px 16px calc(22px + env(safe-area-inset-bottom));
    border:0;
    border-radius:28px 28px 0 0;
    animation:lsgSheetUp .22s ease-out both;
  }
  @keyframes lsgSheetUp{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
  .lsg-more-handle{width:44px;height:5px;display:block;margin:0 auto 13px;border-radius:999px;background:#cbd5e1}
  .lsg-more-head h2{font-size:19px}

  body.lsg-app main>.max-w-5xl,
  body.lsg-app main>.max-w-6xl{
    padding:18px 13px 32px!important;
  }
  .lsg-footer{margin-top:14px}
  .lsg-footer-inner{padding:27px 16px 22px}
  .lsg-footer-columns{grid-template-columns:1fr 1fr;gap:22px}
  .lsg-footer-columns>div:last-child{grid-column:1/-1}
  .lsg-footer-bottom{align-items:flex-start;flex-direction:column}

  body.lsg-app #lsgCookieBanner{bottom:calc(var(--lsg-bottom-nav-height) + 10px + env(safe-area-inset-bottom))!important}
}

@media (max-width:767px){
  body.lsg-page-home main>.max-w-5xl{padding:10px 0 30px!important}
  body.lsg-page-home main section.grid{display:block!important}
  body.lsg-page-home .lsg-main-card{
    margin:0 10px;
    padding:16px!important;
    border-radius:26px!important;
  }
  body.lsg-page-home .lsg-event-mini{order:20}
  body.lsg-page-home #nextDraw{min-height:70px!important;border-radius:18px!important}
  body.lsg-page-home .jackpot-title-full{margin-top:18px!important}
  body.lsg-page-home .jackpot-amount-main #jackpot{font-size:clamp(4.15rem,19vw,5.7rem)!important}
  body.lsg-page-home .jackpot-amount-main .euro{font-size:clamp(2.7rem,12vw,3.8rem)!important}
  body.lsg-page-home .lsg-mobile-proofline{margin-bottom:11px!important}
  body.lsg-page-home .lsg-mobile-proofline>span,
  body.lsg-page-home .lsg-mobile-proofline>a{font-size:9.5px!important;padding:5px 7px!important}
  body.lsg-page-home .lsg-draw-schedule{font-size:11.5px;margin-bottom:13px}
  body.lsg-page-home .lsg-mobile-hero-cta{min-height:55px!important;border-radius:18px!important;font-size:15.5px!important}
  body.lsg-page-home .lsg-free-line{font-size:10.5px;margin-bottom:14px}
  body.lsg-page-home .lsg-mobile-boostbox{padding:11px!important;border-radius:18px!important}
  body.lsg-page-home .lsg-mobile-boost-grid{gap:5px!important}
  body.lsg-page-home .lsg-mobile-boost-grid span{padding:8px 4px!important;border-radius:13px!important}
  body.lsg-page-home .lsg-play-card{padding:15px!important;border-radius:21px!important}
  body.lsg-page-home .lsg-play-card h2{font-size:1.25rem!important}
  body.lsg-page-home .grid-cell{width:50px!important;height:50px!important;border-radius:15px!important;font-size:1.4rem!important}
  body.lsg-page-home #digits{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  body.lsg-page-home .num-btn{width:100%!important;height:47px!important;border-radius:14px!important}
  body.lsg-page-home .action-btn{min-height:48px!important}
  body.lsg-page-home section.grid>div.flex.flex-col.gap-6{margin-top:14px;padding:0 10px}
  body.lsg-page-home section.grid>div.flex.flex-col.gap-6>div{padding:17px!important;border-radius:23px!important}

  body.lsg-page-draws main section.text-center,
  body.lsg-page-winners main header.mb-6,
  body.lsg-page-testimonials main header.mb-6{
    padding:18px 14px;
    border-radius:20px;
  }
  body.lsg-page-draws .draws-filter{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  body.lsg-page-draws .draws-filter select{width:100%;min-width:0;min-height:42px!important;font-size:11px!important}
  body.lsg-page-draws .draws-filter-actions{grid-column:1/-1}
  body.lsg-page-draws .draws-card-wrap{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
  body.lsg-page-draws .draws-table,
  body.lsg-page-draws .draws-table tbody{display:block;width:100%}
  body.lsg-page-draws .draws-table thead{display:none!important}
  body.lsg-page-draws .draws-table tr{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:0;
    margin-bottom:12px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    border-radius:20px;
    background:#fff;
    box-shadow:var(--lsg-shadow-soft);
  }
  body.lsg-page-draws .draws-table td{
    min-width:0;
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:14px 10px!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    font-size:11px;
  }
  body.lsg-page-draws .draws-table td:nth-child(odd){border-right:1px solid #eef2f7!important}
  body.lsg-page-draws .draws-table td:before{content:attr(data-label);color:#94a3b8;font-size:8.5px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
  body.lsg-page-draws .draw-num{font-size:12px}

  body.lsg-page-account>.section.center,
  body.lsg-page-account>.grid,
  body.lsg-page-account #resiliation-abonnement{width:calc(100% - 24px)!important}
  body.lsg-page-account>.section.center{margin-top:14px!important;padding:18px!important;border-radius:20px}
  body.lsg-page-account>.grid{display:block!important}
  body.lsg-page-account .card{margin-bottom:13px;padding:17px!important;border-radius:20px!important}

  body.lsg-page-login>.form-card,
  body.lsg-page-register>.form-card{
    width:calc(100% - 24px);
    margin:22px auto 42px!important;
    padding:21px!important;
    border-radius:22px!important;
  }
  body.lsg-page-register .grid.grid-cols-2{grid-template-columns:1fr!important}

  .lsg-footer-brand{align-items:flex-start}
  .lsg-footer-columns{grid-template-columns:1fr}
  .lsg-footer-columns>div:last-child{grid-column:auto}
}

@media (max-width:380px){
  .lsg-brand-copy strong{font-size:14px}
  .lsg-brand-copy small{display:none}
  .lsg-icon-button{width:39px;height:39px;flex-basis:39px}
  body.lsg-page-home .lsg-main-card{margin-inline:7px;padding:13px!important}
  body.lsg-page-home .grid-cell{width:45px!important;height:47px!important}
  .lsg-bottom-item{font-size:8.4px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* Correctifs ciblés de la page compte (structure historique account-wrap/account-grid). */
body.lsg-page-account .account-wrap{
  width:min(1040px,100%)!important;
  max-width:1040px!important;
  margin:0 auto!important;
  padding:0 16px 46px!important;
}
body.lsg-page-account .account-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
body.lsg-page-account .badge{
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  padding:7px 10px!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#334155!important;
  box-shadow:0 4px 12px rgba(15,23,42,.04);
}
body.lsg-page-account .hr{border-top-color:#dbe3ed!important}
body.lsg-page-account .actions{gap:9px!important}
body.lsg-page-account .account-wrap>div[style*="max-width:1040px"]{
  border-radius:16px!important;
  box-shadow:var(--lsg-shadow-soft);
}
@media(max-width:900px){
  body.lsg-page-account .account-grid{grid-template-columns:1fr!important;gap:13px!important}
}
@media(max-width:767px){
  body.lsg-page-account .account-wrap{padding:0 12px 34px!important}
}

/* Pages autonomes sensibles (mot de passe, liens email, identité). */
body.lsg-standalone{
  min-height:100dvh;
  padding:34px 16px 54px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.lsg-standalone-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 auto 20px;
  color:#111827!important;
  text-decoration:none!important;
}
.lsg-standalone-brand img{width:42px;height:42px}
.lsg-standalone-brand span{
  font-size:17px;
  font-weight:900;
  letter-spacing:-.035em;
  background:linear-gradient(90deg,var(--lsg-violet),var(--lsg-cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
body.lsg-standalone>.form-card,
body.lsg-standalone>.auth-card{
  width:min(440px,100%)!important;
  margin:0 auto!important;
  padding:28px!important;
  border:1px solid #e2e8f0!important;
  border-radius:26px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(30,41,59,.13)!important;
}
body.lsg-standalone>.auth-card h2{margin-top:0;font-size:1.65rem;font-weight:900;letter-spacing:-.035em}
@media(max-width:640px){
  body.lsg-standalone{padding:22px 12px 38px}
  body.lsg-standalone>.form-card,
  body.lsg-standalone>.auth-card{padding:21px!important;border-radius:22px!important}
}

/* Parcours de vérification d'identité. */
.lsg-kyc-wrap{width:min(880px,100%)}
.lsg-kyc-card{padding:30px;border:1px solid #e2e8f0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(30,41,59,.13)}
.lsg-kyc-card h1{margin:7px 0 8px;font-size:clamp(1.8rem,4vw,2.5rem)}
.lsg-kyc-card h2{margin:0 0 7px;font-size:1.15rem}
.lsg-kyc-muted{color:#64748b;font-size:13px}
.lsg-kyc-alert{margin:15px 0;padding:15px 16px;border-radius:16px;font-size:13px;line-height:1.55}
.lsg-kyc-alert.is-info{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}
.lsg-kyc-alert.is-warn{border:1px solid #fed7aa;background:#fff7ed;color:#c2410c}
.lsg-kyc-alert.is-ok{border:1px solid #a7f3d0;background:#ecfdf5;color:#047857}
.lsg-kyc-alert ul{margin:8px 0;padding-left:20px}
.lsg-kyc-form{margin-top:18px}
.lsg-kyc-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.lsg-kyc-box{margin-top:13px;padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}
.lsg-kyc-box label{display:block;margin-bottom:8px;color:#334155;font-size:13px;font-weight:850}
.lsg-kyc-box input[type=file],.lsg-kyc-box textarea{width:100%;padding:11px;background:#fff}
.lsg-kyc-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.lsg-kyc-btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border:0;border-radius:15px;color:#fff!important;background:linear-gradient(135deg,var(--lsg-violet),var(--lsg-cyan));box-shadow:0 10px 24px rgba(79,70,229,.22);font-size:13px;font-weight:850;text-decoration:none!important;cursor:pointer}
.lsg-kyc-btn.is-secondary{border:1px solid #dbe3ed;color:#475569!important;background:#fff;box-shadow:none}
.lsg-kyc-privacy{margin-top:24px;padding-top:20px;border-top:1px solid #e2e8f0;color:#64748b;font-size:12px}
@media(max-width:680px){.lsg-kyc-card{padding:20px;border-radius:22px}.lsg-kyc-grid{grid-template-columns:1fr}.lsg-kyc-btn{width:100%}}
.lsg-email-result{width:min(560px,100%);padding:30px;border:1px solid #e2e8f0;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(30,41,59,.13);text-align:center}
.lsg-email-result-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 16px;border-radius:20px;color:#fff;background:linear-gradient(145deg,var(--lsg-violet),var(--lsg-cyan));font-size:30px;font-weight:900;box-shadow:0 12px 28px rgba(79,70,229,.23)}
.lsg-email-result h1{margin:0;font-size:clamp(1.65rem,4vw,2.2rem)}
.lsg-email-result p{margin:12px auto 20px;max-width:460px;color:#64748b;font-size:13px}
@media(max-width:640px){.lsg-email-result{padding:22px;border-radius:22px}}

/* Hiérarchie visuelle de l'accueil : le jackpot et le jeu passent avant les annonces. */
body.lsg-page-home .lsg-main-card{display:flex!important;flex-direction:column!important}
body.lsg-page-home .lsg-next-draw-wrap{order:1}
body.lsg-page-home .jackpot-title-full{order:2}
body.lsg-page-home .jackpot-amount-main{order:3}
body.lsg-page-home .lsg-draw-schedule{order:4}
body.lsg-page-home .lsg-mobile-proofline{order:5}
body.lsg-page-home .lsg-mobile-hero-cta{order:6}
body.lsg-page-home .lsg-free-line{order:7}
body.lsg-page-home .lsg-mobile-boostbox{order:8}
body.lsg-page-home .jackpot-extra-line{order:9}
body.lsg-page-home .lsg-play-card{order:10}
body.lsg-page-home .lsg-event-mini{order:20;margin-top:16px!important;margin-bottom:0!important}

/* Correctif V4 : le footer reste entièrement visible au-dessus de la navigation mobile. */
@media(max-width:900px){
  body.lsg-app{padding-bottom:0!important}
  body.lsg-app .lsg-footer{position:relative!important;z-index:1!important;margin-bottom:calc(var(--lsg-mobile-tabbar-h,76px) + env(safe-area-inset-bottom,0px))!important;background:#f8fafc!important}
}

/* Correctifs finaux mobile V5 */
@media(max-width:767px){
  .lsg-topbar-inner{min-height:62px!important;padding:7px 12px!important}
  .lsg-brand-copy strong{font-size:15px!important}
  .lsg-brand-copy small{font-size:8px!important}
  .lsg-icon-button{width:40px!important;height:40px!important;flex-basis:40px!important}
  body.lsg-page-account .account-wrap{padding-bottom:28px!important}
  body.lsg-page-account .card{padding:18px!important;border-radius:22px!important}
  body.lsg-page-account .card h2{font-size:1.15rem!important}
  body.lsg-page-account .soft{line-height:1.45!important}
  body.lsg-page-account .text-emerald-700{display:inline-flex!important;padding:8px 12px!important;border:1px solid #a7f3d0!important;border-radius:999px!important;background:#ecfdf5!important;font-size:13px!important}
  body.lsg-page-draws .draws-table tbody{display:grid!important;gap:12px!important}
  body.lsg-page-draws .draws-table tr{padding:14px!important;border-radius:22px!important}
  body.lsg-page-draws .draws-table td{padding:10px!important}
  body.lsg-page-draws .draws-table td[data-label="Récompenses"]:has(.text-slate-400){display:none!important}
  body.lsg-page-draws .draws-card-wrap{margin-bottom:24px!important}
}
