/* V8.4 stabilisée — correctifs finaux chargés en dernier */
:root{--lsg-purple:#5b21b6;--lsg-purple-dark:#34105f;--lsg-gold:#facc15;--lsg-bg:#faf7ff;--lsg-tab-h:68px}
html{min-height:100%;scroll-padding-bottom:calc(var(--lsg-tab-h) + 20px)}
body.lsg-app{min-height:100dvh;display:flex;flex-direction:column;background:var(--lsg-bg);overflow-x:hidden}
body.lsg-app>main{display:block;flex:1 0 auto;width:100%;padding-bottom:28px}
.lsg-footer{position:relative!important;inset:auto!important;z-index:1!important;flex:0 0 auto;width:100%;margin-top:auto!important;transform:none!important}
.lsg-mobile-tabbar{z-index:1000!important}
html.lsg-sheet-open .lsg-mobile-tabbar,html.lsg-goals-open .lsg-mobile-tabbar{visibility:hidden!important;pointer-events:none!important}
.lsg-more-sheet,.lsg-goals-modal{z-index:2147483000!important}
.lsg-more-sheet[hidden],.lsg-goals-modal[hidden]{display:none!important}

/* Header commun et lisible */
.lsg-topbar{position:sticky;top:0;z-index:900;background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
.lsg-topbar-inner{max-width:1180px!important}
.lsg-brand-copy strong{color:var(--lsg-purple-dark)}
.lsg-user-pill,.lsg-mobile-user-pill{min-width:0}
.lsg-user-name,.lsg-mobile-user-name{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;word-break:break-word;line-height:1.05!important}
.lsg-user-pill{max-width:280px}
.lsg-user-name{max-width:190px;text-align:left}
.lsg-mobile-user-pill{max-width:min(44vw,190px)!important;height:auto!important;min-height:40px;padding:6px 9px!important;align-items:center!important}
.lsg-mobile-user-name{font-size:clamp(10px,2.8vw,12px)!important;max-width:145px!important;text-align:center}
.lsg-mobile-user-badge{flex:0 0 auto}
.lsg-icon-button{position:relative;z-index:2;cursor:pointer}
@media(max-width:767px){
 .lsg-topbar-inner{display:grid!important;grid-template-columns:minmax(116px,1fr) minmax(0,auto);gap:7px!important;padding:8px 10px!important}
 .lsg-brand{min-width:0!important}.lsg-brand-copy{display:block!important;min-width:0!important}.lsg-brand-copy small{display:none!important}
 .lsg-brand-copy strong{display:block;font-size:clamp(13px,3.7vw,17px)!important;white-space:normal!important;line-height:1.05!important}
 .lsg-brand-mark,.lsg-brand-mark img{width:34px!important;height:34px!important}
 .lsg-mobile-actions{display:flex!important;min-width:0!important;justify-content:flex-end!important;gap:5px!important}
 .lsg-icon-button{width:40px!important;height:40px!important;flex:0 0 40px!important}
 body.lsg-app>main{padding-bottom:calc(var(--lsg-tab-h) + env(safe-area-inset-bottom) + 24px)!important}
 .lsg-footer{padding-bottom:calc(var(--lsg-tab-h) + env(safe-area-inset-bottom) + 10px)!important}
}

/* Page Jouer : uniquement grille + favoris */
.lsg-page-play main>.max-w-5xl>section.grid{display:block!important;max-width:680px;margin:0 auto!important}
.lsg-page-play main>.max-w-5xl>section.grid>.lsg-main-card{width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.lsg-page-play main>.max-w-5xl>section.grid>.lsg-main-card+div{display:none!important}
.lsg-page-play .lsg-main-card>.lsg-event-mini,
.lsg-page-play .lsg-main-card>#nextDraw,
.lsg-page-play .lsg-main-card>.jackpot-title-full,
.lsg-page-play .lsg-main-card>.jackpot-amount-main,
.lsg-page-play .lsg-main-card>.lsg-mobile-proofline,
.lsg-page-play .lsg-main-card>.lsg-mobile-hero-cta,
.lsg-page-play .lsg-main-card>.lsg-mobile-boostbox,
.lsg-page-play .lsg-main-card>.jackpot-extra-line{display:none!important}
.lsg-page-play #jouer{margin-top:12px!important;background:#fff!important;border:1px solid #e8def7!important;border-radius:22px!important;padding:18px!important;box-shadow:0 14px 38px rgba(76,29,149,.09)!important}
.lsg-page-play #jouer>h2{font-size:22px!important;color:#321252!important}
.lsg-page-play .grid-cell{background:#fff!important;border:2px solid #d9c9ee!important;color:#351050!important}
@media(max-width:540px){.lsg-page-play main>.max-w-5xl{padding:10px!important}.lsg-page-play #jouer{padding:14px 11px!important}.lsg-page-play .grid-cell{width:48px!important;height:54px!important}}

/* Paliers : carte compacte et modal réellement utilisable */
.lsg-goals-compact{position:relative!important;overflow:hidden!important;padding:13px 14px!important;border-radius:18px!important;cursor:pointer}
.lsg-goals-card-hit{position:absolute!important;inset:0!important;z-index:1!important;border:0!important;background:transparent!important;cursor:pointer!important}
.lsg-goals-compact-top,.lsg-goals-progress-line,.lsg-goals-meta{position:relative;z-index:2;pointer-events:none}
.lsg-goals-more{pointer-events:auto!important;position:relative;z-index:3!important;cursor:pointer}
.lsg-goals-compact h2{font-size:15px!important;line-height:1.25!important}.lsg-goals-compact p{font-size:11px!important;line-height:1.35!important}
.lsg-goals-modal{position:fixed!important;inset:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:10px!important;box-sizing:border-box!important}
.lsg-goals-backdrop{position:absolute!important;inset:0!important;background:rgba(18,8,34,.68)!important;border:0!important}
.lsg-goals-sheet{position:relative!important;display:flex!important;flex-direction:column!important;width:min(100%,620px)!important;height:auto!important;max-height:calc(100dvh - 20px)!important;overflow:hidden!important;background:#fff!important;border-radius:24px!important;padding:0!important;box-shadow:0 24px 80px rgba(0,0,0,.35)!important}
.lsg-goals-sheet-head{flex:0 0 auto!important;padding:15px 15px 8px!important;margin:0!important;background:#fff!important;z-index:2}
.lsg-goals-intro{flex:0 0 auto!important;margin:0!important;padding:0 15px 10px!important;font-size:12px!important}
.lsg-goals-list{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:0 12px calc(22px + env(safe-area-inset-bottom))!important}
.lsg-goal-row{display:block!important;height:auto!important;min-height:0!important;margin:0 0 9px!important;padding:0!important;overflow:hidden!important;border-radius:16px!important}
.lsg-goal-toggle{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto 18px!important;align-items:center!important;gap:8px!important;width:100%!important;padding:11px!important;border:0!important;background:transparent!important;text-align:left!important;cursor:pointer!important}
.lsg-goal-copy{min-width:0!important}.lsg-goal-copy strong,.lsg-goal-copy small{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.lsg-goal-copy strong{font-size:13px!important}.lsg-goal-copy small{font-size:10.5px!important;line-height:1.3!important}
.lsg-goal-detail[hidden]{display:none!important}.lsg-goal-detail{display:block!important;padding:0 12px 14px!important;background:#fff!important}.lsg-goal-detail img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:13px!important}.lsg-goal-detail p{font-size:12px!important;line-height:1.45!important}
@media(min-width:768px){.lsg-goals-modal{align-items:center!important}.lsg-goals-sheet{max-height:min(760px,90vh)!important}}

/* Tirages : lisibilité et centrage */
.lsg-page-draws main{background:var(--lsg-bg)}
.lsg-page-draws .draws-card-wrap{max-width:980px!important;margin-inline:auto!important;border-radius:20px!important}
.lsg-page-draws .draws-filter{max-width:980px!important;margin-inline:auto!important}
.lsg-page-draws .draws-table{font-size:14px!important}
.lsg-page-draws .draws-table th,.lsg-page-draws .draws-table td{text-align:center!important;vertical-align:middle!important}
@media(max-width:767px){
 .lsg-page-draws main>.max-w-5xl{padding:10px!important}
 .lsg-page-draws .draws-filter{padding:12px!important;gap:10px!important}
 .lsg-page-draws .draws-table tbody{gap:12px!important}
 .lsg-page-draws .draws-table tbody tr{padding:15px!important;border-radius:18px!important;text-align:center!important}
 .lsg-page-draws .draws-table td{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:0!important;padding:5px 3px!important;font-size:14px!important;text-align:center!important}
 .lsg-page-draws .draws-table td::before{display:none!important}
 .lsg-page-draws .draws-table td[data-label="Jour & date"]{font-size:15px!important;font-weight:800!important}
 .lsg-page-draws .draws-table td[data-label="Tirage"] .draw-num{font-size:25px!important;letter-spacing:.12em!important}
 .lsg-page-draws .draws-table td[data-label="Jackpot"] .jack-badge{font-size:15px!important;padding:8px 12px!important}
 .lsg-page-draws .draws-table td[data-label="Récompenses"]:has(.reward-line:empty),.lsg-page-draws .draws-table td[data-label="Récompenses"]:not(:has(.reward-line)){display:none!important}
}

/* Mon compte : première lecture concise */
.lsg-page-account .account-wrap{max-width:980px!important}
.lsg-page-account .account-grid{gap:14px!important}
.lsg-page-account .account-card{padding:17px!important;border-radius:19px!important}
.lsg-page-account .account-secondary-note{font-size:12px!important;line-height:1.4!important}
.lsg-page-account .account-legal-details{margin-top:8px!important}
.lsg-page-account .account-legal-details:not([open])>*:not(summary){display:none!important}
@media(max-width:767px){
 .lsg-page-account .account-wrap{padding:0 10px calc(var(--lsg-tab-h) + 28px)!important}
 .lsg-page-account .account-grid{display:block!important}
 .lsg-page-account .account-card{margin-bottom:12px!important;padding:14px!important}
 .lsg-page-account .account-card h2{font-size:18px!important;margin-bottom:10px!important}
 .lsg-page-account .soft{padding:9px 11px!important;font-size:13px!important}
 .lsg-page-account p{font-size:13px!important;line-height:1.45!important}
}

/* Footer compact sans chevauchement */
.lsg-footer-inner{max-width:1180px!important}
@media(max-width:767px){
 .lsg-footer-inner{padding:16px 14px!important}
 .lsg-footer-brand{justify-content:center!important;text-align:center!important}.lsg-footer-brand span{display:none!important}
 .lsg-footer-columns{grid-template-columns:1fr 1fr!important;gap:14px!important}.lsg-footer-columns>div:last-child{grid-column:1/-1!important}
 .lsg-footer-columns a,.lsg-footer-columns span{font-size:11px!important;line-height:1.45!important}
 .lsg-footer-bottom{gap:8px!important;text-align:center!important}.lsg-footer-bottom>div{justify-content:center!important;flex-wrap:wrap!important}
}


/* V8.4 refinement — accueil, statistiques, paliers et footer */
body.lsg-page-home .lsg-home-hero{
  background:radial-gradient(circle at 50% 0%,rgba(255,210,28,.20),transparent 40%),linear-gradient(145deg,#17072f 0%,#3e0f72 56%,#7024d5 100%)!important;
  border-color:rgba(255,210,28,.22)!important;
}
body.lsg-page-home .lsg-home-jackpot{color:#ffd21c!important;text-shadow:0 8px 26px rgba(255,210,28,.22)!important}
body.lsg-page-home .lsg-home-kicker{color:#dec9ff!important}
body.lsg-page-home .lsg-next-draw strong{color:#ffd21c!important}
body.lsg-page-home .lsg-home-schedule,body.lsg-page-home .lsg-home-free-note{color:#f2eaff!important}

.lsg-player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #eadfff;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(76,29,149,.07)}
.lsg-player-stat{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;padding:10px;border-radius:15px;background:#faf8ff;text-align:left}
.lsg-player-stat.is-starter{background:#fffbeb}.lsg-player-stat.is-plus{background:#f5edff}
.lsg-player-stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff;box-shadow:0 5px 12px rgba(15,23,42,.07);font-size:17px}
.lsg-player-stat strong{display:block;color:#251039;font-size:18px;line-height:1;font-weight:950}.lsg-player-stat small{display:block;margin-top:3px;color:#6b6474;font-size:10px;font-weight:750;white-space:nowrap}

.lsg-goals-compact{display:block!important;padding:15px!important;background:linear-gradient(135deg,#fff 0%,#faf5ff 70%,#fff8d9 100%)!important;border:1px solid #dfc9ff!important;box-shadow:0 12px 32px rgba(85,29,150,.10)!important}
.lsg-goals-compact-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.lsg-goals-compact-copy{min-width:0}.lsg-goals-compact h2{margin:3px 0 2px!important;font-size:17px!important}.lsg-goals-compact p{margin:0!important;font-size:11px!important}.lsg-goals-gift{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#7c3aed,#4c1d95);box-shadow:0 9px 20px rgba(91,33,182,.22);font-size:24px}
.lsg-goals-progress-line{height:9px!important;margin-top:12px!important;border-radius:999px!important;background:#ece5f7!important;overflow:hidden}.lsg-goals-progress-line span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#facc15)!important}
.lsg-goals-meta{display:flex!important;justify-content:space-between!important;margin-top:6px!important;color:#5c5268!important;font-size:10px!important}.lsg-goals-meta strong{color:#2e1548!important;font-size:11px!important}
.lsg-goals-more{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;margin-top:10px!important;padding:10px 12px!important;border:0!important;border-radius:13px!important;background:#6d28d9!important;color:#fff!important;font-size:12px!important;font-weight:900!important;box-shadow:0 8px 18px rgba(109,40,217,.20)!important}

.lsg-goals-sheet{background:#fbf9ff!important}.lsg-goals-sheet-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.lsg-goals-sheet-head h2{margin:2px 0 0!important}.lsg-goals-sheet-head>button{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:1px solid #e6deef!important;border-radius:14px!important;background:#fff!important;font-size:24px!important}
.lsg-goal-row{border:1px solid #e6dcef!important;background:#fff!important;box-shadow:0 7px 20px rgba(52,18,82,.06)!important}
.lsg-goal-toggle{grid-template-columns:62px minmax(0,1fr) auto 18px!important;padding:10px!important}
.lsg-goal-thumb{display:grid!important;place-items:center!important;width:62px!important;height:58px!important;overflow:hidden!important;border-radius:12px!important;background:#f6f1fb!important;font-size:28px!important}.lsg-goal-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
.lsg-goal-copy strong{font-size:13px!important}.lsg-goal-copy small{margin-top:2px!important;color:#6f6679!important;font-size:10px!important}.lsg-goal-mini-progress{display:block!important;height:5px!important;margin-top:7px!important;overflow:hidden!important;border-radius:999px!important;background:#eee8f5!important}.lsg-goal-mini-progress i{display:block!important;height:100%!important;border-radius:inherit!important;background:linear-gradient(90deg,#7c3aed,#facc15)!important}
.lsg-goal-action{padding:6px 8px!important;border-radius:999px!important;background:#f0e5ff!important;color:#6d28d9!important;font-size:9px!important;font-weight:900!important;white-space:nowrap!important}.is-done .lsg-goal-action{background:#dcfce7!important;color:#047857!important}
.lsg-goal-detail{border-top:1px solid #eee7f4!important;padding:12px!important}.lsg-goal-detail>img{width:100%!important;max-height:52vh!important;object-fit:contain!important;background:#f5f2f8!important}.lsg-goal-detail-copy{padding:9px 2px 0!important}.lsg-goal-detail-copy p{margin:4px 0!important}

/* Footer conservé : accès permanent aux informations essentielles, mais visuellement discret. */
.lsg-footer{background:#f8fafc!important;border-top:1px solid #e5e7eb!important}.lsg-footer-inner{padding-top:22px!important;padding-bottom:18px!important}.lsg-footer-columns{margin-top:18px!important}.lsg-footer-columns strong{color:#342344!important}.lsg-footer-bottom{margin-top:18px!important;padding-top:13px!important}
@media(max-width:767px){
 .lsg-player-stats{gap:6px;padding:8px}.lsg-player-stat{gap:5px;padding:8px 4px;text-align:center;flex-direction:column}.lsg-player-stat-icon{width:30px;height:30px;font-size:15px}.lsg-player-stat strong{font-size:16px}.lsg-player-stat small{font-size:8.5px}
 .lsg-goal-toggle{grid-template-columns:54px minmax(0,1fr) 18px!important}.lsg-goal-thumb{width:54px!important;height:52px!important}.lsg-goal-action{grid-column:2!important;justify-self:start!important;margin-top:2px!important}.lsg-goal-chevron{grid-column:3!important;grid-row:1/3!important}.lsg-goal-detail>img{max-height:none!important}
 .lsg-footer-inner{padding:15px 12px calc(var(--lsg-tab-h) + env(safe-area-inset-bottom) + 12px)!important}.lsg-footer-brand{display:none!important}.lsg-footer-columns{grid-template-columns:1fr 1fr!important;margin-top:0!important;gap:12px!important}.lsg-footer-columns>div{gap:4px!important}.lsg-footer-columns>div:last-child{grid-column:1/-1!important;padding-top:10px!important;border-top:1px solid #e5e7eb!important}.lsg-footer-columns a,.lsg-footer-columns span{font-size:10px!important}.lsg-footer-bottom{font-size:9px!important}
}

/* V8.4 refinement 2 — teintes, statistiques, paliers, footer */
body.lsg-page-home .lsg-home-hero{
  background:radial-gradient(circle at 50% -10%,rgba(255,222,72,.24),transparent 42%),linear-gradient(145deg,#32105f 0%,#5a20a9 55%,#8a39ed 100%)!important;
  border-color:rgba(255,210,28,.35)!important;
}
body.lsg-page-home .lsg-home-jackpot{color:#ffd43b!important;text-shadow:0 8px 26px rgba(255,212,59,.25)!important}
body.lsg-page-home .lsg-plan-card.is-plus{background:linear-gradient(145deg,#4d188d 0%,#6f27c5 58%,#8b3dec 100%)!important;border-color:#ffd43b!important;box-shadow:0 16px 34px rgba(99,34,180,.20)!important}
body.lsg-page-home .lsg-plan-card.is-plus .lsg-plan-main small{color:#efe4ff!important}

.lsg-player-stats{max-width:430px;margin-inline:auto;gap:7px!important;padding:7px!important;border-radius:17px!important;box-shadow:0 8px 20px rgba(76,29,149,.06)!important}
.lsg-player-stat{min-height:54px!important;gap:6px!important;padding:6px 8px!important;border-radius:12px!important;flex-direction:row!important;text-align:left!important}
.lsg-player-stat-icon{width:28px!important;height:28px!important;border-radius:9px!important;font-size:14px!important}
.lsg-player-stat strong{font-size:15px!important}.lsg-player-stat small{font-size:9px!important;margin-top:2px!important}
.lsg-starter-badge{color:#b87333!important;background:linear-gradient(145deg,#fff8ef,#f5e2cc)!important;text-shadow:0 1px 0 #fff!important}

.lsg-goals-compact{padding:14px!important;border-radius:20px!important;background:linear-gradient(135deg,#fff 0%,#faf6ff 65%,#fff9df 100%)!important;overflow:visible!important}
.lsg-goals-compact-top{align-items:center!important}.lsg-goals-gift{background:linear-gradient(145deg,#9c4df4,#6422bb)!important}
.lsg-goals-more{background:linear-gradient(90deg,#7c3aed,#9b4df2)!important;font-size:13px!important}

.lsg-goals-sheet{left:14px!important;right:14px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;max-height:82vh!important;padding:16px!important;border-radius:24px!important;background:#fff!important;overflow:auto!important}
.lsg-goals-list{display:grid!important;gap:10px!important;align-content:start!important}
.lsg-goal-row{display:block!important;margin:0!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;border:1px solid #e7dcf4!important;box-shadow:0 8px 22px rgba(63,25,94,.07)!important}
.lsg-goal-toggle{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:8px 12px!important;width:100%!important;padding:12px!important;text-align:left!important;background:transparent!important;border:0!important}
.lsg-goal-thumb{grid-column:1!important;grid-row:1/3!important;width:72px!important;height:72px!important;border-radius:14px!important;background:#f7f2fc!important;overflow:hidden!important}
.lsg-goal-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;padding:3px!important}
.lsg-goal-copy{grid-column:2!important;grid-row:1!important;min-width:0!important}.lsg-goal-copy strong{display:block!important;font-size:15px!important;line-height:1.2!important}.lsg-goal-copy small{display:block!important;margin-top:4px!important;font-size:11px!important;line-height:1.35!important}
.lsg-goal-mini-progress{grid-column:2!important;grid-row:2!important;width:100%!important;margin-top:7px!important}
.lsg-goal-action{grid-column:3!important;grid-row:1!important;align-self:center!important;padding:7px 10px!important;border-radius:999px!important;background:#efe4ff!important;color:#6d28d9!important;font-size:10px!important}
.lsg-goal-chevron{grid-column:3!important;grid-row:2!important;justify-self:center!important;font-size:18px!important}
.lsg-goal-detail{padding:12px!important;background:#faf8fd!important}.lsg-goal-detail>img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;border-radius:14px!important;background:#fff!important}
.lsg-goal-detail-copy{padding:10px 2px 2px!important;font-size:12px!important}

.lsg-footer{background:linear-gradient(180deg,#fbfcff 0%,#f4f6fb 100%)!important;border-top:1px solid #e6eaf1!important}
.lsg-footer-inner{max-width:1080px!important;padding:24px 18px 22px!important}
.lsg-footer-brand{justify-content:center!important;text-align:left!important;margin-bottom:16px!important}.lsg-footer-brand img{width:34px!important;height:34px!important}.lsg-footer-brand strong{color:#321553!important}.lsg-footer-brand span{display:block!important;color:#718096!important}
.lsg-footer-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.lsg-footer-quick-card{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid #e3e8f0;border-radius:15px;background:#fff;color:#263246!important;text-decoration:none!important;box-shadow:0 6px 16px rgba(40,54,85,.05)}
.lsg-footer-quick-card>span{font-size:20px}.lsg-footer-quick-card div{display:flex;flex-direction:column}.lsg-footer-quick-card strong{font-size:11px}.lsg-footer-quick-card small{margin-top:2px;color:#718096;font-size:9.5px}
.lsg-footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-top:15px;border-top:1px solid #e3e8f0}.lsg-footer-links>div{display:flex;flex-direction:column;gap:6px}.lsg-footer-links strong{margin-bottom:2px;color:#3d2950;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.lsg-footer-links a{color:#64748b!important;font-size:10.5px;text-decoration:none!important}
.lsg-footer-bottom{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-top:16px!important;padding-top:12px!important;border-top:1px solid #e3e8f0!important;color:#94a3b8!important;font-size:9.5px!important}

@media(max-width:767px){
 .lsg-player-stats{max-width:none!important;gap:5px!important;padding:6px!important}.lsg-player-stat{min-height:48px!important;padding:5px 6px!important;gap:4px!important;flex-direction:column!important;text-align:center!important}.lsg-player-stat-icon{width:25px!important;height:25px!important;font-size:12px!important}.lsg-player-stat strong{font-size:14px!important}.lsg-player-stat small{font-size:8px!important}
 .lsg-goals-sheet{top:max(78px,env(safe-area-inset-top))!important;bottom:16px!important;max-height:none!important}
 .lsg-goal-toggle{grid-template-columns:62px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:5px 10px!important;padding:10px!important}
 .lsg-goal-thumb{width:62px!important;height:62px!important;grid-row:1/4!important}.lsg-goal-copy{grid-column:2!important;grid-row:1!important}.lsg-goal-mini-progress{grid-column:2!important;grid-row:2!important}.lsg-goal-action{grid-column:2!important;grid-row:3!important;justify-self:start!important;margin-top:2px!important}.lsg-goal-chevron{grid-column:2!important;grid-row:3!important;justify-self:end!important}
 .lsg-footer-inner{padding:18px 12px calc(var(--lsg-tab-h) + env(safe-area-inset-bottom) + 14px)!important}.lsg-footer-brand{margin-bottom:12px!important}.lsg-footer-brand span{display:none!important}
 .lsg-footer-quick{grid-template-columns:1fr!important;gap:7px!important;margin-bottom:13px!important}.lsg-footer-quick-card{padding:9px 10px!important}.lsg-footer-quick-card>span{font-size:17px!important}
 .lsg-footer-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding-top:12px!important}.lsg-footer-links>div{gap:4px!important}.lsg-footer-links strong{font-size:8px!important}.lsg-footer-links a{font-size:8.5px!important;line-height:1.35!important;overflow-wrap:anywhere}
 .lsg-footer-bottom{flex-direction:column!important;gap:4px!important;text-align:center!important;font-size:8px!important}
}

/* Ajustement compteurs joueurs — plus fins sans les tasser */
@media(max-width:767px){
  .lsg-player-stats{
    max-width:none!important;
    gap:10px!important;
    padding:10px!important;
    border-radius:19px!important;
  }
  .lsg-player-stat{
    min-height:68px!important;
    padding:10px 7px!important;
    gap:7px!important;
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
    border:1px solid rgba(124,58,237,.08)!important;
    box-shadow:none!important;
  }
  .lsg-player-stat-icon{
    width:28px!important;
    height:28px!important;
    font-size:13px!important;
    box-shadow:0 3px 8px rgba(15,23,42,.05)!important;
  }
  .lsg-player-stat strong{
    font-size:15px!important;
    line-height:1!important;
    font-weight:800!important;
  }
  .lsg-player-stat small{
    margin-top:1px!important;
    font-size:9px!important;
    line-height:1.15!important;
    font-weight:600!important;
  }
}

/* V8.4 — finition responsive mobile + ordinateur (2026-08-06) */
/* Compteurs : plus présents, plus lisibles, sans être lourds */
.lsg-player-stats{
  width:min(100%,680px)!important;
  max-width:680px!important;
  margin:2px auto 4px!important;
  gap:12px!important;
  padding:11px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(124,58,237,.16)!important;
  box-shadow:0 12px 30px rgba(76,29,149,.07)!important;
}
.lsg-player-stat{
  min-height:76px!important;
  padding:12px 14px!important;
  gap:11px!important;
  border-radius:16px!important;
  flex-direction:row!important;
  justify-content:center!important;
  text-align:left!important;
  border:1px solid rgba(124,58,237,.08)!important;
  box-shadow:none!important;
}
.lsg-player-stat-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:12px!important;
  font-size:18px!important;
}
.lsg-player-stat strong{
  font-size:22px!important;
  line-height:1!important;
  font-weight:900!important;
}
.lsg-player-stat small{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1.15!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
}

/* Ordinateur : largeur, rythme et hiérarchie cohérents */
@media(min-width:768px){
  :root{--lsg-desktop-max:1180px}
  .lsg-topbar-inner{max-width:var(--lsg-desktop-max)!important;padding:14px 24px!important;gap:20px!important}
  .lsg-brand{flex:0 0 auto!important}.lsg-brand-mark,.lsg-brand-mark img{width:46px!important;height:46px!important}
  .lsg-brand-copy strong{font-size:20px!important;line-height:1.05!important}.lsg-brand-copy small{font-size:11px!important;margin-top:4px!important}
  .lsg-desktop-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;flex:1 1 auto!important}
  .lsg-nav-link{padding:10px 13px!important;border-radius:12px!important;font-size:13px!important;white-space:nowrap!important}
  .lsg-desktop-actions{gap:9px!important;flex:0 0 auto!important}.lsg-top-action{min-height:42px!important;padding:10px 14px!important}
  .lsg-user-pill{max-width:230px!important;min-height:44px!important;padding:7px 11px!important}.lsg-user-name{max-width:132px!important;font-size:13px!important}
  .lsg-icon-button{width:44px!important;height:44px!important;flex:0 0 44px!important}

  body.lsg-app>main{min-height:calc(100vh - 166px)!important}
  .lsg-home-minimal{padding:28px 24px 44px!important}
  .lsg-home-shell{width:min(var(--lsg-desktop-max),100%)!important;gap:22px!important}
  .lsg-home-hero{padding:36px 42px 32px!important;border-radius:32px!important}
  .lsg-next-draw{padding:11px 20px!important;border-radius:17px!important;font-size:12px!important}.lsg-next-draw strong{font-size:21px!important}
  .lsg-home-kicker{font-size:13px!important}.lsg-home-jackpot{font-size:92px!important}.lsg-home-schedule{font-size:18px!important;margin:14px 0 22px!important}
  .lsg-home-primary{width:min(500px,100%)!important;padding:17px 24px!important;font-size:19px!important;border-radius:19px!important}.lsg-home-free-note{font-size:14px!important}

  .lsg-player-stats{margin-top:-4px!important}.lsg-player-stat{min-height:82px!important}.lsg-player-stat-icon{width:42px!important;height:42px!important;flex-basis:42px!important;font-size:20px!important}.lsg-player-stat strong{font-size:25px!important}.lsg-player-stat small{font-size:12px!important}

  .lsg-home-alert{padding:17px 19px!important;border-radius:21px!important}.lsg-alert-content h2{font-size:18px!important}.lsg-alert-content p{font-size:13px!important}
  .lsg-home-plans{padding:27px!important;border-radius:29px!important}.lsg-section-heading h2{font-size:31px!important}.lsg-compare-link{font-size:14px!important}
  .lsg-plan-grid{gap:18px!important}.lsg-plan-card{min-height:225px!important;padding:22px!important;border-radius:23px!important}.lsg-plan-top h3{font-size:23px!important}.lsg-plan-main{font-size:31px!important}.lsg-plan-button{padding:13px!important;font-size:14px!important}

  .lsg-goals-compact{padding:19px 21px!important;border-radius:24px!important}.lsg-goals-compact h2{font-size:21px!important}.lsg-goals-compact p{font-size:13px!important}.lsg-goals-more{font-size:14px!important;padding:10px 15px!important}
  .lsg-goals-sheet{width:min(760px,calc(100vw - 48px))!important;max-height:min(780px,88vh)!important;border-radius:28px!important}.lsg-goals-sheet-head{padding:22px 24px 10px!important}.lsg-goals-intro{padding:0 24px 14px!important;font-size:14px!important}.lsg-goals-list{padding:0 20px 24px!important}
  .lsg-goal-toggle{grid-template-columns:92px minmax(0,1fr) auto 22px!important;padding:16px!important;gap:14px!important}.lsg-goal-thumb{width:92px!important;height:82px!important}.lsg-goal-copy strong{font-size:17px!important}.lsg-goal-copy small{font-size:13px!important}.lsg-goal-action{font-size:12px!important;padding:9px 13px!important}

  .lsg-page-play main>.max-w-5xl{max-width:1000px!important;margin-inline:auto!important;padding:28px 24px 44px!important}.lsg-page-play main>.max-w-5xl>section.grid{max-width:780px!important}.lsg-page-play #jouer{padding:28px!important;border-radius:26px!important}.lsg-page-play #jouer>h2{font-size:28px!important}
  .lsg-page-draws main>.max-w-5xl,.lsg-page-winners main>.max-w-5xl{max-width:var(--lsg-desktop-max)!important;margin-inline:auto!important;padding:28px 24px 44px!important}
  .lsg-page-draws .draws-card-wrap,.lsg-page-draws .draws-filter{max-width:1100px!important}.lsg-page-draws .draws-table{font-size:15px!important}.lsg-page-draws .draws-table th{padding:14px 12px!important}.lsg-page-draws .draws-table td{padding:15px 12px!important}
  .lsg-page-account .account-wrap{max-width:1100px!important;margin-inline:auto!important;padding:28px 24px 44px!important}.lsg-page-account .account-grid{gap:18px!important}.lsg-page-account .account-card{padding:22px!important;border-radius:22px!important}

  .lsg-footer-inner{max-width:var(--lsg-desktop-max)!important;padding:30px 24px 24px!important}.lsg-footer-quick{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.lsg-footer-quick-card{min-height:74px!important;padding:14px 16px!important}.lsg-footer-links{gap:38px!important}.lsg-footer-links strong{font-size:11px!important}.lsg-footer-links a{font-size:12px!important}
}

/* Mobile : compteurs plus grands et mieux répartis */
@media(max-width:767px){
  .lsg-player-stats{
    width:100%!important;
    max-width:none!important;
    gap:8px!important;
    padding:9px!important;
    border-radius:20px!important;
  }
  .lsg-player-stat{
    min-height:78px!important;
    padding:10px 6px!important;
    gap:7px!important;
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .lsg-player-stat-icon{width:34px!important;height:34px!important;flex-basis:34px!important;font-size:16px!important}
  .lsg-player-stat strong{font-size:20px!important}
  .lsg-player-stat small{font-size:10px!important;font-weight:650!important}
}

@media(max-width:390px){
  .lsg-player-stats{gap:6px!important;padding:7px!important}
  .lsg-player-stat{min-height:72px!important;padding:8px 4px!important}
  .lsg-player-stat-icon{width:31px!important;height:31px!important;flex-basis:31px!important;font-size:14px!important}
  .lsg-player-stat strong{font-size:18px!important}.lsg-player-stat small{font-size:9px!important}
}

/* ============================================================
   PALIERS PLUS — FINAL UI ONLY (mobile + desktop)
   Scope volontairement limité aux composants .lsg-goals-*
   ============================================================ */
body.lsg-page-home .lsg-goals-compact{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "copy gift"
    "progress progress"
    "meta meta"
    "button button"!important;
  align-items:center!important;
  gap:12px 18px!important;
  width:100%!important;
  padding:22px!important;
  overflow:hidden!important;
  border:1px solid #dcc7ff!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 92% 10%,rgba(250,204,21,.18),transparent 32%),
    linear-gradient(135deg,#ffffff 0%,#fbf7ff 62%,#fffaf0 100%)!important;
  box-shadow:0 16px 42px rgba(76,29,149,.10)!important;
  cursor:pointer!important;
}
body.lsg-page-home .lsg-goals-card-hit{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:inherit!important;
  background:transparent!important;
  cursor:pointer!important;
}
body.lsg-page-home .lsg-goals-compact-top{
  display:contents!important;
}
body.lsg-page-home .lsg-goals-compact-copy{
  grid-area:copy!important;
  min-width:0!important;
  text-align:left!important;
}
body.lsg-page-home .lsg-goals-eyebrow{
  display:block!important;
  margin:0 0 5px!important;
  color:#7c3aed!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.lsg-page-home .lsg-goals-compact h2{
  margin:0!important;
  color:#211433!important;
  font-size:clamp(21px,2.6vw,29px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
}
body.lsg-page-home .lsg-goals-compact p{
  margin:7px 0 0!important;
  color:#655b70!important;
  font-size:14px!important;
  line-height:1.4!important;
}
body.lsg-page-home .lsg-goals-gift{
  grid-area:gift!important;
  display:grid!important;
  place-items:center!important;
  width:76px!important;
  height:76px!important;
  flex:none!important;
  border:1px solid rgba(255,255,255,.85)!important;
  border-radius:23px!important;
  background:linear-gradient(145deg,#9b4df2 0%,#6324b8 100%)!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(109,40,217,.24)!important;
  font-size:36px!important;
}
body.lsg-page-home .lsg-goals-progress-line{
  grid-area:progress!important;
  width:100%!important;
  height:11px!important;
  margin:2px 0 0!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#ece5f7!important;
}
body.lsg-page-home .lsg-goals-progress-line span{
  display:block!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#7c3aed 0%,#a855f7 45%,#facc15 100%)!important;
  box-shadow:0 0 12px rgba(124,58,237,.20)!important;
}
body.lsg-page-home .lsg-goals-meta{
  grid-area:meta!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  margin:0!important;
  color:#766c80!important;
  font-size:12px!important;
  line-height:1!important;
}
body.lsg-page-home .lsg-goals-meta strong{
  color:#2b1740!important;
  font-size:14px!important;
  font-weight:950!important;
}
body.lsg-page-home .lsg-goals-more{
  position:relative!important;
  z-index:2!important;
  grid-area:button!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  width:100%!important;
  min-height:48px!important;
  margin:2px 0 0!important;
  padding:12px 18px!important;
  border:0!important;
  border-radius:16px!important;
  background:linear-gradient(90deg,#6d28d9 0%,#8b3df0 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(109,40,217,.22)!important;
  font-size:14px!important;
  font-weight:950!important;
  cursor:pointer!important;
  transition:transform .18s ease,filter .18s ease!important;
}
body.lsg-page-home .lsg-goals-more:hover{transform:translateY(-1px)!important;filter:brightness(1.04)!important}

/* Fenêtre des paliers */
.lsg-goals-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483646!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:clamp(10px,3vw,28px)!important;
  box-sizing:border-box!important;
}
.lsg-goals-modal[hidden]{display:none!important}
.lsg-goals-backdrop{
  position:absolute!important;
  inset:0!important;
  border:0!important;
  background:rgba(20,10,34,.68)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
.lsg-goals-sheet{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:column!important;
  width:min(980px,100%)!important;
  max-width:980px!important;
  height:auto!important;
  max-height:min(88dvh,820px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(124,58,237,.16)!important;
  border-radius:30px!important;
  background:#fbf9ff!important;
  box-shadow:0 30px 90px rgba(17,8,31,.38)!important;
}
.lsg-goals-sheet-head{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:24px 26px 8px!important;
  background:#fbf9ff!important;
  text-align:left!important;
}
.lsg-goals-sheet-head h2{
  margin:3px 0 0!important;
  color:#211433!important;
  font-size:30px!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
}
.lsg-goals-sheet-head>button{
  display:grid!important;
  place-items:center!important;
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  border:1px solid #e4dced!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#211433!important;
  box-shadow:0 6px 16px rgba(36,16,63,.07)!important;
  font-size:27px!important;
  cursor:pointer!important;
}
.lsg-goals-intro{
  flex:0 0 auto!important;
  margin:0!important;
  padding:4px 26px 18px!important;
  background:#fbf9ff!important;
  color:#6b6474!important;
  font-size:14px!important;
  text-align:left!important;
}
.lsg-goals-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  gap:16px!important;
  flex:1 1 auto!important;
  min-height:0!important;
  padding:0 22px 24px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.lsg-goal-row{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e5d9f2!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(63,25,94,.07)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.lsg-goal-row:hover{
  transform:translateY(-2px)!important;
  border-color:#c9a8ee!important;
  box-shadow:0 15px 32px rgba(63,25,94,.12)!important;
}
.lsg-goal-row.is-done{border-color:#a7e8bf!important;background:#f7fff9!important}
.lsg-goal-toggle{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  min-height:290px!important;
  padding:18px 16px 16px!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  text-align:center!important;
  cursor:pointer!important;
}
.lsg-goal-thumb{
  display:grid!important;
  place-items:center!important;
  width:118px!important;
  height:100px!important;
  flex:0 0 100px!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#faf7ff,#f2e9ff)!important;
  box-shadow:inset 0 0 0 1px rgba(124,58,237,.07)!important;
  font-size:48px!important;
}
.lsg-goal-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  padding:6px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.lsg-goal-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
}
.lsg-goal-copy strong{
  display:block!important;
  color:#211433!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:950!important;
}
.lsg-goal-copy small{
  display:block!important;
  min-height:38px!important;
  color:#6b6474!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-align:center!important;
  white-space:normal!important;
}
.lsg-goal-mini-progress{
  display:block!important;
  width:100%!important;
  height:7px!important;
  margin:2px 0 0!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#eee7f6!important;
}
.lsg-goal-mini-progress i{
  display:block!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#7c3aed,#facc15)!important;
}
.lsg-goal-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:112px!important;
  min-height:38px!important;
  margin-top:auto!important;
  padding:8px 14px!important;
  border-radius:999px!important;
  background:#efe4ff!important;
  color:#6d28d9!important;
  font-size:12px!important;
  font-weight:950!important;
}
.lsg-goal-row.is-done .lsg-goal-action{background:#dcfce7!important;color:#15803d!important}
.lsg-goal-chevron{
  display:block!important;
  margin-top:-2px!important;
  color:#3a2451!important;
  font-size:20px!important;
  line-height:1!important;
  transition:transform .2s ease!important;
}
.lsg-goal-toggle[aria-expanded="true"] .lsg-goal-chevron{transform:rotate(180deg)!important}
.lsg-goal-detail{
  display:block!important;
  padding:0 16px 18px!important;
  border-top:1px solid #eee6f5!important;
  background:#fcfaff!important;
  text-align:center!important;
}
.lsg-goal-detail[hidden]{display:none!important}
.lsg-goal-detail>img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:320px!important;
  margin:16px auto 12px!important;
  border-radius:16px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
.lsg-goal-detail-copy{
  padding:0 2px!important;
  text-align:center!important;
}
.lsg-goal-detail-copy p{
  margin:6px 0!important;
  color:#62586e!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.lsg-goal-detail-copy p strong{color:#28163f!important}

@media(max-width:767px){
  body.lsg-page-home .lsg-goals-compact{
    grid-template-columns:minmax(0,1fr) 60px!important;
    gap:10px 12px!important;
    padding:17px!important;
    border-radius:22px!important;
  }
  body.lsg-page-home .lsg-goals-eyebrow{font-size:10px!important}
  body.lsg-page-home .lsg-goals-compact h2{font-size:21px!important}
  body.lsg-page-home .lsg-goals-compact p{font-size:12px!important}
  body.lsg-page-home .lsg-goals-gift{width:60px!important;height:60px!important;border-radius:18px!important;font-size:29px!important}
  body.lsg-page-home .lsg-goals-more{min-height:44px!important;font-size:13px!important}

  .lsg-goals-modal{
    align-items:flex-end!important;
    padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;
  }
  .lsg-goals-sheet{
    width:100%!important;
    max-width:none!important;
    max-height:calc(100dvh - max(16px,env(safe-area-inset-top)))!important;
    border-radius:25px!important;
  }
  .lsg-goals-sheet-head{padding:18px 18px 7px!important}
  .lsg-goals-sheet-head h2{font-size:25px!important}
  .lsg-goals-sheet-head>button{width:42px!important;height:42px!important;flex-basis:42px!important}
  .lsg-goals-intro{padding:4px 18px 14px!important;font-size:13px!important}
  .lsg-goals-list{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:0 14px calc(20px + env(safe-area-inset-bottom))!important;
  }
  .lsg-goal-toggle{
    display:grid!important;
    grid-template-columns:86px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto auto!important;
    align-items:center!important;
    gap:7px 12px!important;
    min-height:0!important;
    padding:13px!important;
    text-align:left!important;
  }
  .lsg-goal-thumb{
    grid-column:1!important;
    grid-row:1/4!important;
    width:86px!important;
    height:82px!important;
    flex:none!important;
    border-radius:15px!important;
    font-size:39px!important;
  }
  .lsg-goal-copy{
    grid-column:2!important;
    grid-row:1!important;
    align-items:flex-start!important;
    gap:3px!important;
  }
  .lsg-goal-copy strong{font-size:16px!important}
  .lsg-goal-copy small{min-height:0!important;font-size:12px!important;text-align:left!important}
  .lsg-goal-mini-progress{grid-column:2!important;grid-row:2!important;width:100%!important}
  .lsg-goal-action{grid-column:2!important;grid-row:3!important;justify-self:start!important;min-width:96px!important;min-height:34px!important;margin:0!important;padding:7px 12px!important;font-size:11px!important}
  .lsg-goal-chevron{grid-column:3!important;grid-row:1/4!important;align-self:center!important;margin:0!important}
  .lsg-goal-detail{padding:0 13px 16px!important}
  .lsg-goal-detail>img{max-height:none!important;margin-top:13px!important}
}

@media(max-width:390px){
  body.lsg-page-home .lsg-goals-compact{grid-template-columns:minmax(0,1fr) 52px!important;padding:15px!important}
  body.lsg-page-home .lsg-goals-gift{width:52px!important;height:52px!important;font-size:25px!important}
  body.lsg-page-home .lsg-goals-compact h2{font-size:19px!important}
  .lsg-goals-sheet-head h2{font-size:23px!important}
  .lsg-goal-toggle{grid-template-columns:72px minmax(0,1fr) auto!important;gap:6px 9px!important;padding:11px!important}
  .lsg-goal-thumb{width:72px!important;height:70px!important}
  .lsg-goal-copy strong{font-size:15px!important}.lsg-goal-copy small{font-size:11px!important}
}


/* V10.1 — retour aux couleurs claires de la version de production + grilles jouées */
body.lsg-page-home .lsg-home-hero{
  background:linear-gradient(145deg,#edf7ff 0%,#e7f2ff 55%,#f4f8ff 100%)!important;
  border-color:#d8e7f5!important;
  color:#111827!important;
  box-shadow:0 18px 45px rgba(53,82,122,.12)!important;
}
body.lsg-page-home .lsg-next-draw{background:rgba(255,255,255,.86)!important;border-color:#d9e2ec!important;color:#475569!important}
body.lsg-page-home .lsg-next-draw strong{color:#d62828!important}
body.lsg-page-home .lsg-home-kicker{color:#64748b!important}
body.lsg-page-home .lsg-home-jackpot{color:#111827!important;text-shadow:none!important}
body.lsg-page-home .lsg-home-schedule{color:#334155!important}
body.lsg-page-home .lsg-home-primary{background:linear-gradient(90deg,#5146e5 0%,#7c3aed 100%)!important;color:#fff!important;box-shadow:0 12px 28px rgba(99,61,220,.22)!important}
body.lsg-page-home .lsg-home-free-note{color:#475569!important}
body.lsg-page-home .lsg-plan-card.is-plus{background:linear-gradient(145deg,#6d45e8 0%,#7c4df0 55%,#635bdf 100%)!important;border-color:#c4b5fd!important;box-shadow:0 12px 28px rgba(99,71,210,.18)!important}

.lsg-page-play #playedGridsBox{display:block!important;margin-top:18px!important}
.lsg-page-play #playedGridsBox>div{background:#f0fdf4!important;border:1px solid #bbf7d0!important;border-radius:18px!important;padding:18px!important;box-shadow:0 10px 26px rgba(22,101,52,.07)!important}
.lsg-page-play #playedGridsBox h2{font-size:20px!important;margin-bottom:10px!important}
@media(min-width:768px){
  body.lsg-page-home .lsg-home-hero{padding:34px 38px 30px!important}
  .lsg-page-play #playedGridsBox{margin-top:22px!important}
}

/* V10.2b — correction strictement limitée à la lisibilité du compte à rebours */
html body.lsg-page-home section.lsg-home-hero div#nextDraw.lsg-next-draw{
  background:#ffffff!important;
  border:1px solid #d7e2ee!important;
  color:#475569!important;
  box-shadow:0 8px 22px rgba(30,64,175,.08)!important;
}
html body.lsg-page-home section.lsg-home-hero div#nextDraw.lsg-next-draw #nd-line1{
  color:#64748b!important;
  opacity:1!important;
}
html body.lsg-page-home section.lsg-home-hero div#nextDraw.lsg-next-draw #nd-line2{
  color:#d62828!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* V10.3 — optimisation VISUELLE PC uniquement : accueil jackpot + page Jouer.
   Aucun changement mobile ni fonctionnel. */
@media (min-width:1024px){
  /* Accueil : carte jackpot plus compacte et mieux proportionnée sur grand écran */
  body.lsg-page-home .lsg-home-hero{
    width:min(900px,100%)!important;
    margin-inline:auto!important;
    padding:24px 34px 22px!important;
    border-radius:26px!important;
  }
  body.lsg-page-home .lsg-next-draw{
    padding:8px 16px!important;
    border-radius:15px!important;
    font-size:10px!important;
  }
  body.lsg-page-home .lsg-next-draw strong{
    font-size:18px!important;
  }
  body.lsg-page-home .lsg-home-kicker{
    margin:14px 0 2px!important;
    font-size:11px!important;
  }
  body.lsg-page-home .lsg-home-jackpot{
    font-size:72px!important;
    line-height:.96!important;
  }
  body.lsg-page-home .lsg-home-schedule{
    margin:10px 0 15px!important;
    font-size:15px!important;
  }
  body.lsg-page-home .lsg-home-primary{
    width:min(470px,100%)!important;
    padding:13px 22px!important;
    border-radius:17px!important;
    font-size:17px!important;
  }
  body.lsg-page-home .lsg-home-free-note{
    margin-top:8px!important;
    font-size:12px!important;
  }

  /* Jouer : espace de jeu plus travaillé et compact sur ordinateur */
  body.lsg-page-play main>.max-w-5xl{
    max-width:1040px!important;
    padding:30px 24px 48px!important;
  }
  body.lsg-page-play main>.max-w-5xl>section.grid{
    max-width:860px!important;
  }
  body.lsg-page-play main>.max-w-5xl>section.grid>.lsg-main-card{
    width:100%!important;
  }

  /* Compte à rebours : carte courte, centrée, détachée du formulaire */
  body.lsg-page-play .lsg-main-card>#nextDraw{
    display:flex!important;
    width:min(360px,100%)!important;
    min-height:78px!important;
    margin:0 auto 18px!important;
    padding:12px 22px!important;
    border:1px solid #ddd6fe!important;
    border-radius:20px!important;
    background:linear-gradient(145deg,#ffffff 0%,#faf7ff 100%)!important;
    box-shadow:0 10px 28px rgba(76,29,149,.08)!important;
  }
  body.lsg-page-play .lsg-main-card>#nextDraw #nd-line1{
    color:#5f5370!important;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:.12em!important;
  }
  body.lsg-page-play .lsg-main-card>#nextDraw #nd-line2{
    margin-top:3px!important;
    color:#d62828!important;
    font-size:24px!important;
    font-weight:900!important;
    letter-spacing:-.02em!important;
  }

  body.lsg-page-play #jouer{
    margin-top:0!important;
    padding:30px 34px 32px!important;
    border:1px solid #e4d9f3!important;
    border-radius:28px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fdfbff 100%)!important;
    box-shadow:0 18px 46px rgba(76,29,149,.09)!important;
  }
  body.lsg-page-play #jouer>h2{
    margin:0 0 8px!important;
    color:#321252!important;
    font-size:30px!important;
    line-height:1.15!important;
    font-weight:900!important;
  }
  body.lsg-page-play #jouer>h2 + .text-center{
    margin-bottom:10px!important;
  }
  body.lsg-page-play #jouer>p.text-sm{
    margin-bottom:18px!important;
    color:#64748b!important;
    font-size:14px!important;
  }

  /* Les 5 cases deviennent le point focal */
  body.lsg-page-play #gridForm>.flex.justify-center.gap-2{
    gap:12px!important;
    margin:2px auto 18px!important;
  }
  body.lsg-page-play #gridForm .grid-cell{
    width:62px!important;
    height:66px!important;
    border:2px solid #d8c8ef!important;
    border-radius:17px!important;
    background:#fff!important;
    color:#351050!important;
    font-size:28px!important;
    font-weight:900!important;
    box-shadow:0 7px 18px rgba(76,29,149,.07)!important;
  }
  body.lsg-page-play #gridForm .grid-cell.is-active{
    border-color:#7c3aed!important;
    box-shadow:0 0 0 4px rgba(124,58,237,.11),0 9px 22px rgba(76,29,149,.10)!important;
  }

  /* Pavé 1–9 plus régulier, sans s'étaler inutilement */
  body.lsg-page-play #digits{
    width:min(650px,100%)!important;
    margin:0 auto 14px!important;
    grid-template-columns:repeat(9,1fr)!important;
    gap:12px!important;
  }
  body.lsg-page-play #digits .num-btn{
    width:48px!important;
    height:48px!important;
    justify-self:center!important;
    border:1px solid #dce5ef!important;
    border-radius:14px!important;
    background:#f8fafc!important;
    color:#273449!important;
    font-size:17px!important;
    box-shadow:0 5px 13px rgba(15,23,42,.05)!important;
  }
  body.lsg-page-play #digits .num-btn:hover{
    transform:translateY(-2px)!important;
    border-color:#c4b5fd!important;
    background:#faf5ff!important;
    color:#5b21b6!important;
  }

  body.lsg-page-play #gridForm .action-btn{
    min-height:44px!important;
    padding:10px 18px!important;
    border-radius:14px!important;
    font-size:14px!important;
    font-weight:700!important;
  }
  body.lsg-page-play #gridForm .submit-grid-btn{
    min-width:230px!important;
    min-height:48px!important;
    padding:12px 22px!important;
    border-radius:16px!important;
    font-size:15px!important;
    font-weight:800!important;
    box-shadow:0 9px 22px rgba(124,58,237,.18)!important;
  }

  /* Séparation plus nette entre le jeu et les favoris */
  body.lsg-page-play #jouer>div.mt-5.rounded-2xl{
    margin-top:26px!important;
    padding:18px!important;
    border-color:#e5e7eb!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 9px 24px rgba(15,23,42,.05)!important;
  }
  body.lsg-page-play #jouer>div.mt-6.p-4.rounded-2xl{
    margin-top:16px!important;
    padding:16px 18px!important;
    border-radius:18px!important;
    box-shadow:0 7px 18px rgba(15,23,42,.04)!important;
  }
  body.lsg-page-play #playedGridsBox{
    margin-top:16px!important;
  }
}

/* ================================================================
   PC V10.4 — Page Jouer alignée visuellement sur l'accueil
   Desktop uniquement : aucun impact sur mobile/tablette.
   ================================================================ */
@media (min-width: 901px) {
  body.lsg-page-play {
    background: linear-gradient(180deg,#ffffff 0%,#fbf9ff 50%,#fffdf6 100%) !important;
  }

  body.lsg-page-play main > .max-w-5xl {
    max-width: 980px !important;
    padding: 26px 24px 56px !important;
  }
  body.lsg-page-play main > .max-w-5xl > section.grid {
    max-width: 900px !important;
    margin-inline: auto !important;
  }

  /* Compte à rebours : même langage visuel que l'accueil */
  body.lsg-page-play .lsg-main-card > #nextDraw {
    width: min(520px, 100%) !important;
    min-height: 0 !important;
    margin: 0 auto 14px !important;
    padding: 11px 22px 12px !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(53,82,122,.08) !important;
  }
  body.lsg-page-play .lsg-main-card > #nextDraw #nd-line1 {
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
  }
  body.lsg-page-play .lsg-main-card > #nextDraw #nd-line2 {
    margin-top: 2px !important;
    color: #d62828 !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
  }

  /* Grand panneau de jeu : bleu très clair comme la carte jackpot accueil */
  body.lsg-page-play #jouer {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    padding: 28px 34px 30px !important;
    border: 1px solid #d8e7f5 !important;
    border-radius: 28px !important;
    background: linear-gradient(145deg,#edf7ff 0%,#e7f2ff 55%,#f4f8ff 100%) !important;
    box-shadow: 0 18px 45px rgba(53,82,122,.12) !important;
  }
  body.lsg-page-play #jouer::before {
    content: "";
    position: absolute;
    inset: -120px auto auto -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(124,58,237,.08) 0%,rgba(124,58,237,0) 70%);
    pointer-events: none;
  }
  body.lsg-page-play #jouer > * {
    position: relative;
    z-index: 1;
  }
  body.lsg-page-play #jouer > h2 {
    margin: 0 0 5px !important;
    color: #111827 !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: -.025em !important;
  }
  body.lsg-page-play #jouer > h2 + .text-center {
    margin-bottom: 8px !important;
  }
  body.lsg-page-play #jouer > p.text-sm {
    margin: 0 0 17px !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  /* Quota : petit badge propre */
  body.lsg-page-play #jouer > .text-center .inline-block {
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid #d9e2ec !important;
    box-shadow: 0 4px 12px rgba(15,23,42,.04) !important;
  }

  /* Zone centrale blanche pour donner une vraie hiérarchie */
  body.lsg-page-play #gridForm {
    width: min(720px,100%) !important;
    margin: 0 auto !important;
    padding: 20px 24px 22px !important;
    border: 1px solid rgba(217,226,236,.95) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.84) !important;
    box-shadow: 0 12px 30px rgba(53,82,122,.08) !important;
    backdrop-filter: blur(6px) !important;
  }

  /* Les 5 cases : plus propres, moins "grosses cases vides" */
  body.lsg-page-play #gridForm > .flex.justify-center.gap-2 {
    gap: 10px !important;
    margin: 0 auto 16px !important;
  }
  body.lsg-page-play #gridForm .grid-cell {
    width: 58px !important;
    height: 60px !important;
    border: 2px solid #d7dff0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #321252 !important;
    font-size: 27px !important;
    font-weight: 950 !important;
    box-shadow: 0 5px 14px rgba(15,23,42,.05) !important;
  }
  body.lsg-page-play #gridForm .grid-cell.filled {
    border-color: #c4b5fd !important;
    background: linear-gradient(180deg,#fff 0%,#faf7ff 100%) !important;
  }
  body.lsg-page-play #gridForm .grid-cell.is-active {
    border-color: #6d4df2 !important;
    box-shadow: 0 0 0 3px rgba(109,77,242,.12),0 7px 17px rgba(53,18,82,.08) !important;
  }

  /* 1 à 9 : une seule ligne fine et régulière */
  body.lsg-page-play #digits {
    width: min(600px,100%) !important;
    margin: 0 auto 14px !important;
    grid-template-columns: repeat(9,1fr) !important;
    gap: 10px !important;
  }
  body.lsg-page-play #digits .num-btn {
    width: 44px !important;
    height: 44px !important;
    justify-self: center !important;
    border: 1px solid #d7e2ec !important;
    border-radius: 12px !important;
    background: #f8fbff !important;
    color: #334155 !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    box-shadow: 0 4px 10px rgba(15,23,42,.04) !important;
  }
  body.lsg-page-play #digits .num-btn:hover {
    transform: translateY(-1px) !important;
    border-color: #a5b4fc !important;
    background: #eef2ff !important;
    color: #5146e5 !important;
  }

  /* Actions */
  body.lsg-page-play #gridForm .action-btn {
    min-height: 42px !important;
    padding: 9px 16px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    font-weight: 750 !important;
  }
  body.lsg-page-play #gridForm .submit-grid-btn {
    min-width: 250px !important;
    min-height: 46px !important;
    padding: 11px 22px !important;
    border-radius: 15px !important;
    background: linear-gradient(90deg,#5146e5 0%,#7c3aed 100%) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 24px rgba(99,61,220,.18) !important;
  }

  /* Messages plus discrets */
  body.lsg-page-play #gridForm p.text-rose-600 {
    margin-top: 8px !important;
    font-size: 12px !important;
  }
  body.lsg-page-play #gridForm p.text-xs.text-slate-500 {
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  /* Favoris et grilles jouées : cartes blanches cohérentes avec le formulaire */
  body.lsg-page-play #jouer > div.mt-5.rounded-2xl,
  body.lsg-page-play #jouer > div.mt-6.p-4.rounded-2xl,
  body.lsg-page-play #playedGridsBox {
    width: min(720px,100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border: 1px solid #d9e2ec !important;
    background: rgba(255,255,255,.90) !important;
    box-shadow: 0 10px 26px rgba(53,82,122,.07) !important;
  }
  body.lsg-page-play #jouer > div.mt-5.rounded-2xl {
    margin-top: 18px !important;
    padding: 16px !important;
    border-radius: 19px !important;
  }
  body.lsg-page-play #jouer > div.mt-6.p-4.rounded-2xl,
  body.lsg-page-play #playedGridsBox {
    margin-top: 12px !important;
    border-radius: 17px !important;
  }
}

/* ================================================================
   V10.5 — Finitions visuelles demandées
   - PC : paliers + abonnements moins larges
   - Jouer : compte à rebours identique à l'accueil
   - Toutes tailles : cases remplies violettes + animation de sélection
   Aucun changement fonctionnel.
   ================================================================ */

/* Les cases choisies restent violettes sur PC ET mobile.
   Ces règles sont volontairement après les anciens correctifs pour
   éviter que le thème desktop ne les remette en blanc. */
body.lsg-page-play #gridForm .grid-cell.filled,
body.lsg-page-play .grid-cell.filled {
  border-color: transparent !important;
  background: linear-gradient(135deg,#5146e5 0%,#7c3aed 58%,#8b5cf6 100%) !important;
  color: #fff !important;
  box-shadow:
    0 10px 22px rgba(91,70,229,.25),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}
body.lsg-page-play #gridForm .grid-cell.filled.is-active,
body.lsg-page-play .grid-cell.filled.is-active {
  border-color: #fff !important;
  box-shadow:
    0 0 0 3px rgba(109,77,242,.18),
    0 12px 28px rgba(91,70,229,.30),
    inset 0 1px 0 rgba(255,255,255,.28) !important;
}
@keyframes lsgSelectedPurplePop {
  0%   { transform:scale(.82); filter:brightness(1.18); }
  58%  { transform:scale(1.08); }
  100% { transform:scale(1); filter:brightness(1); }
}
body.lsg-page-play #gridForm .grid-cell.filled.bump,
body.lsg-page-play .grid-cell.filled.bump {
  animation:lsgSelectedPurplePop .28s cubic-bezier(.2,.85,.35,1) !important;
}

/* Petit feedback violet quand on touche un chiffre du pavé. */
body.lsg-page-play #digits .num-btn.flash {
  background:linear-gradient(135deg,#5146e5 0%,#7c3aed 100%) !important;
  border-color:transparent !important;
  color:#fff !important;
  box-shadow:0 9px 18px rgba(79,70,229,.24) !important;
}

@media (min-width: 901px) {
  /* Les blocs secondaires de l'accueil ne doivent pas être aussi larges
     que le hero jackpot : ils forment une colonne éditoriale plus nette. */
  body.lsg-page-home .lsg-goals-compact,
  body.lsg-page-home .lsg-home-plans {
    width:min(980px,100%) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Un peu moins d'air dans le bloc paliers sur desktop sans le tasser. */
  body.lsg-page-home .lsg-goals-compact {
    padding:17px 20px !important;
  }
  body.lsg-page-home .lsg-goals-compact-top {
    gap:18px !important;
  }
  body.lsg-page-home .lsg-goals-progress-line {
    margin-top:12px !important;
  }

  /* Abonnements : largeur maîtrisée, cartes toujours confortables. */
  body.lsg-page-home .lsg-home-plans {
    padding:24px !important;
  }
  body.lsg-page-home .lsg-plan-grid {
    gap:15px !important;
  }

  /* Page Jouer : même gabarit visuel que l'accueil, mais plus compact. */
  body.lsg-page-play main > .max-w-5xl {
    max-width:960px !important;
    padding-top:26px !important;
  }
  body.lsg-page-play main > .max-w-5xl > section.grid {
    max-width:860px !important;
  }

  /* Compte à rebours réellement calqué sur celui de l'accueil :
     petite carte blanche au lieu d'une barre pleine largeur. */
  body.lsg-page-play .lsg-main-card > #nextDraw {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:max-content !important;
    min-width:190px !important;
    max-width:100% !important;
    min-height:0 !important;
    margin:0 auto 16px !important;
    padding:11px 20px 12px !important;
    border:1px solid #d9e2ec !important;
    border-radius:17px !important;
    background:rgba(255,255,255,.92) !important;
    box-shadow:0 8px 22px rgba(53,82,122,.08) !important;
    text-align:center !important;
  }
  body.lsg-page-play .lsg-main-card > #nextDraw #nd-line1 {
    display:block !important;
    margin:0 !important;
    color:#64748b !important;
    font-size:11px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
  }
  body.lsg-page-play .lsg-main-card > #nextDraw #nd-line2 {
    display:block !important;
    margin:4px 0 0 !important;
    color:#d62828 !important;
    font-size:22px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:0 !important;
  }

  /* Le panneau de jeu rejoint le rythme de l'accueil : moins large,
     contour plus léger, contenu central mieux resserré. */
  body.lsg-page-play #jouer {
    padding:26px 30px 28px !important;
    border-radius:26px !important;
    background:linear-gradient(145deg,#edf7ff 0%,#e7f2ff 58%,#f4f8ff 100%) !important;
    border-color:#d8e7f5 !important;
    box-shadow:0 16px 40px rgba(53,82,122,.10) !important;
  }
  body.lsg-page-play #gridForm {
    width:min(680px,100%) !important;
    padding:19px 22px 21px !important;
    border-radius:20px !important;
    background:rgba(255,255,255,.92) !important;
  }

  /* On donne un peu plus de présence aux cases sans les rendre massives. */
  body.lsg-page-play #gridForm .grid-cell {
    width:56px !important;
    height:58px !important;
    border-radius:15px !important;
    font-size:26px !important;
  }

  /* Favoris / grilles jouées alignés sur la largeur du formulaire. */
  body.lsg-page-play #jouer > div.mt-5.rounded-2xl,
  body.lsg-page-play #jouer > div.mt-6.p-4.rounded-2xl,
  body.lsg-page-play #playedGridsBox {
    width:min(680px,100%) !important;
  }
}

/* Lot image lightbox — paliers Plus */
.lsg-goal-zoomable{cursor:zoom-in!important}
.lsg-goal-detail-image-button{
  position:relative!important;
  display:block!important;
  width:min(100%,680px)!important;
  margin:16px auto 12px!important;
  padding:0!important;
  border:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  cursor:zoom-in!important;
  box-shadow:0 8px 24px rgba(40,22,63,.08)!important;
}
.lsg-goal-detail-image-button img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:420px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
.lsg-goal-zoom-hint{
  position:absolute!important;
  right:10px!important;
  bottom:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(37,20,55,.86)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  pointer-events:none!important;
}
.lsg-goal-image-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  box-sizing:border-box!important;
}
.lsg-goal-image-modal[hidden]{display:none!important}
.lsg-goal-image-backdrop{
  position:absolute!important;
  inset:0!important;
  border:0!important;
  background:rgba(10,7,18,.86)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
}
.lsg-goal-image-dialog{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:min(960px,94vw)!important;
  max-height:92vh!important;
  padding:18px!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 30px 90px rgba(0,0,0,.38)!important;
  box-sizing:border-box!important;
}
.lsg-goal-image-dialog img{
  display:block!important;
  max-width:100%!important;
  max-height:calc(92vh - 110px)!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  border-radius:16px!important;
}
.lsg-goal-image-close{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:2!important;
  width:42px!important;
  height:42px!important;
  border:1px solid #e6e1ec!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.96)!important;
  color:#241632!important;
  font-size:28px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.lsg-goal-image-caption{
  margin:12px 8px 0!important;
  color:#51465d!important;
  font-size:13px!important;
  line-height:1.4!important;
  text-align:center!important;
}
@media(max-width:767px){
  .lsg-goal-image-modal{padding:10px!important}
  .lsg-goal-image-dialog{width:100%!important;max-height:94dvh!important;padding:14px!important;border-radius:20px!important}
  .lsg-goal-image-dialog img{max-height:calc(94dvh - 96px)!important;border-radius:14px!important}
  .lsg-goal-image-close{top:8px!important;right:8px!important;width:40px!important;height:40px!important}
  .lsg-goal-zoom-hint{font-size:10px!important;padding:6px 9px!important}
}


/* V10.8 — titre LSG bleu-violet + miniatures de lots clairement interactives */
.lsg-topbar .lsg-brand-copy strong{
  display:inline-block!important;
  background:linear-gradient(90deg,#2563eb 0%,#4f46e5 48%,#7c3aed 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  color:transparent!important;
}
.lsg-goal-thumb .lsg-goal-zoomable,
.lsg-goal-detail-image-button{
  cursor:zoom-in!important;
  pointer-events:auto!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  touch-action:manipulation!important;
}
.lsg-goal-thumb .lsg-goal-zoomable{
  position:relative!important;
  z-index:3!important;
}
.lsg-goal-thumb:has(.lsg-goal-zoomable){
  position:relative!important;
  box-shadow:inset 0 0 0 1px rgba(79,70,229,.10),0 6px 16px rgba(79,70,229,.08)!important;
}
.lsg-goal-thumb:has(.lsg-goal-zoomable)::after{
  content:'⌕';
  position:absolute;
  right:6px;
  bottom:6px;
  z-index:4;
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(37,22,60,.82);
  color:#fff;
  font-size:14px;
  line-height:1;
  pointer-events:none;
}

/* V10.9 — les modales Paliers restent toujours au-dessus du footer */
html.lsg-goals-open .lsg-footer,
html.lsg-goal-lightbox-open .lsg-footer{
  visibility:hidden!important;
  pointer-events:none!important;
}
html.lsg-goals-open .lsg-mobile-tabbar,
html.lsg-goals-open .lsg-bottom-nav,
html.lsg-goal-lightbox-open .lsg-mobile-tabbar,
html.lsg-goal-lightbox-open .lsg-bottom-nav{
  visibility:hidden!important;
  pointer-events:none!important;
}
.lsg-goals-modal,
.lsg-goal-image-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
}
.lsg-goal-image-modal{z-index:2147483100!important}
@media (min-width:768px){
  .lsg-goals-sheet{
    max-height:calc(100dvh - 48px)!important;
  }
  .lsg-goals-list{
    padding-bottom:28px!important;
  }
}


/* V11.0 — footer plus compact, mieux hiérarchisé et raccourcis réellement interactifs */
.lsg-footer-quick-card{
  position:relative!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.lsg-footer-quick-card .lsg-footer-card-arrow{
  margin-left:auto!important;
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  border-radius:999px!important;
  background:#f2ecff!important;
  color:#6d28d9!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}
.lsg-footer-links a{
  transition:color .16s ease,transform .16s ease!important;
}
@media (hover:hover){
  .lsg-footer-quick-card:hover{
    transform:translateY(-2px)!important;
    border-color:#d8c7ff!important;
    background:#fff!important;
    box-shadow:0 10px 24px rgba(77,46,131,.09)!important;
  }
  .lsg-footer-links a:hover{
    color:#6d28d9!important;
    transform:translateX(2px)!important;
  }
}
@media (min-width:768px){
  .lsg-footer-inner{
    max-width:1120px!important;
    padding:22px 24px 18px!important;
  }
  .lsg-footer-brand{
    margin-bottom:12px!important;
  }
  .lsg-footer-brand img{
    width:31px!important;
    height:31px!important;
  }
  .lsg-footer-brand strong{
    font-size:13px!important;
  }
  .lsg-footer-brand span{
    font-size:10px!important;
  }
  .lsg-footer-quick{
    gap:12px!important;
    margin-bottom:14px!important;
  }
  .lsg-footer-quick-card{
    min-height:58px!important;
    padding:10px 13px!important;
    border-radius:14px!important;
    border-color:#dde3ee!important;
    box-shadow:0 4px 12px rgba(40,54,85,.045)!important;
  }
  .lsg-footer-quick-card>span:first-child{
    font-size:18px!important;
  }
  .lsg-footer-quick-card strong{
    font-size:10.5px!important;
  }
  .lsg-footer-quick-card small{
    font-size:9px!important;
  }
  .lsg-footer-links{
    gap:48px!important;
    padding-top:13px!important;
  }
  .lsg-footer-links>div{
    gap:5px!important;
  }
  .lsg-footer-links strong{
    font-size:9.5px!important;
    margin-bottom:3px!important;
  }
  .lsg-footer-links a{
    font-size:10.5px!important;
    line-height:1.35!important;
  }
  .lsg-footer-bottom{
    margin-top:13px!important;
    padding-top:10px!important;
    font-size:9px!important;
  }
}
@media (max-width:767px){
  .lsg-footer-quick-card .lsg-footer-card-arrow{
    width:23px!important;
    height:23px!important;
    font-size:11px!important;
  }
  .lsg-footer-quick-card{
    min-height:48px!important;
  }
}
