/* AGENCE MOMAËL — styles du « pass » (inscription). Généré à partir des mêmes sources que login.php. */

#lgx{
  --night:#100E26; --panel:#1A1643; --gold:#E8B84B; --gold-soft:#F3D686; --gold-deep:#B98516;
  --cream:#F4EFE3; --text:#F5F2E8; --muted:#A9A3D0; --line:rgba(255,255,255,.1);
  --danger:#FF9A9A;
  --font-display:"Baloo 2","Segoe UI",sans-serif; --font-body:"Inter","Segoe UI",system-ui,sans-serif;
  color-scheme:dark;
}
.lg-wrap{position:relative;max-width:420px;margin:0 auto}

/* ── SCEAU ── */
.lg-top{position:relative;z-index:1;height:296px;display:flex;flex-direction:column;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lg-waves{position:absolute;left:50%;top:98px;width:0;height:0}
.lg-waves i{position:absolute;left:-100px;top:-100px;width:200px;height:200px;border-radius:50%;border:1px solid var(--gold);opacity:0}
.lg-emblem{position:relative;width:196px;height:196px;border-radius:50%;margin-top:0;display:grid;place-items:center;opacity:0;
  background:var(--cream);box-shadow:0 0 0 2px var(--gold), 0 0 0 7px var(--night), 0 0 0 8px rgba(232,184,75,.45), 0 18px 40px rgba(0,0,0,.45)}
.lg-mark{width:80%;height:auto;display:block;overflow:visible}
.bare .lg-emblem{background:transparent;box-shadow:none}
.bare{--logo-violet:#8D74DA}
.lg-word{margin-top:14px;display:flex;justify-content:center;font-family:var(--font-display);font-weight:800;font-size:1.3rem;letter-spacing:.42em;text-indent:.42em;color:var(--gold-soft)}
.lg-word span{display:inline-block;opacity:0}
.lg-rule{margin-top:8px;height:1px;width:120px;background:var(--gold);transform:scaleX(0);opacity:.7}

/* tracés animés */
.mk{stroke-dasharray:1;stroke-dashoffset:1}
.lg-coin{transform-box:fill-box;transform-origin:50% 50%;opacity:0}
.arc{opacity:0}

.play .lg-emblem{animation:emb .6s .1s cubic-bezier(.2,.8,.2,1) both}
.play .mk1{animation:draw 1.25s .55s cubic-bezier(.55,.05,.25,1) forwards}
.play .mk4{animation:draw .3s 1.82s ease-out forwards}
.play .mk3{animation:draw .34s 2.0s ease-out forwards}
.play .mk2{animation:draw .4s 2.2s ease-out forwards}
.play .arc{animation:show .01s 1.8s forwards, hum 3s 4.2s ease-in-out infinite}
.play .mk8{animation:draw .55s 2.35s cubic-bezier(.4,.1,.2,1) forwards}
.play .mk7{animation:draw .6s 2.5s cubic-bezier(.4,.1,.2,1) forwards}
.play .mk5a{animation:draw .45s 2.8s cubic-bezier(.4,.1,.2,1) forwards}
.play .mk5b{animation:draw .55s 3.2s cubic-bezier(.4,.1,.2,1) forwards}
.keyed .lg-coin{animation:seat .5s cubic-bezier(.2,1.3,.3,1) both}
.keyed .g5{animation:lock .6s ease-out}
.play .lg-word span{animation:emerge .55s calc(3.95s + var(--i)*.04s) cubic-bezier(.2,.8,.2,1) both}
.play .lg-rule{animation:rule .6s 4.35s ease-out both}
.play .lg-shadow{animation:push 1.3s 3.3s both}
.play .lg-waves i{animation:wave 3.2s 4.2s ease-out 1 both}
.play .lg-waves i:nth-child(2){animation-delay:4.6s}.play .lg-waves i:nth-child(3){animation-delay:5s}

.done .lg-emblem{opacity:1}
.done .mk{stroke-dashoffset:0}
.done .arc{opacity:1}
.done .arc{animation:hum 3s ease-in-out infinite}.done .a3{animation-delay:.2s}.done .a2{animation-delay:.4s}
.done .lg-word span{opacity:1}.done .lg-rule{transform:scaleX(1)}
.done .lg-waves i{animation:none;opacity:0}

@keyframes emb{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes show{to{opacity:1}}
@keyframes hum{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes coin{0%{opacity:0;transform:scale(0)}60%{opacity:1;transform:scale(1.18)}100%{opacity:1;transform:scale(1)}}
@keyframes letter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes rule{to{transform:scaleX(1)}}
@keyframes emerge{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes push{0%{opacity:0;transform:translateY(calc(20px - var(--lift,60px)));animation-timing-function:cubic-bezier(.2,.9,.3,1)}28%{opacity:1;transform:translateY(calc(-1 * var(--lift,60px)));animation-timing-function:linear}52%{transform:translateY(calc(-1 * var(--lift,60px)));animation-timing-function:cubic-bezier(.3,0,.2,1)}100%{opacity:1;transform:none}}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes wave{0%{opacity:.28;transform:scale(1)}100%{opacity:0;transform:scale(2.3)}}

.listening .arc{animation:hum .8s ease-in-out infinite!important}
.launch .g7,.launch .g8{animation:fly .8s cubic-bezier(.5,0,.9,.4) forwards}
.launch .g5,.launch .lg-coin{animation:up .8s ease-in forwards}
@keyframes seat{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:none}}
@keyframes lock{0%{opacity:1}35%{opacity:.35}100%{opacity:1}}
@keyframes fly{to{transform:translate(60px,-80px);opacity:0}}
@keyframes up{to{transform:translateY(-14px);opacity:.0}}

/* ── CARTE ── */
.lg-card{--cut:400px;position:relative;border-radius:18px;padding:0 20px 16px;background:var(--panel);
  -webkit-mask:radial-gradient(circle 11px at 0 var(--cut),#0000 97%,#000) left/50.5% 100% no-repeat,radial-gradient(circle 11px at 100% var(--cut),#0000 97%,#000) right/50.5% 100% no-repeat;
          mask:radial-gradient(circle 11px at 0 var(--cut),#0000 97%,#000) left/50.5% 100% no-repeat,radial-gradient(circle 11px at 100% var(--cut),#0000 97%,#000) right/50.5% 100% no-repeat}
.lg-ph{display:flex;justify-content:space-between;align-items:center;margin:0 -20px 16px;padding:13px 20px 11px;border-bottom:1px solid rgba(232,184,75,.22);background:rgba(0,0,0,.14);border-radius:18px 18px 0 0;
  font:700 .62rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.lg-ph .lg-no{letter-spacing:.08em;color:var(--muted)}
.lg-ph b{display:inline-block;min-width:7.2em;text-align:right;font-weight:700;color:var(--gold-soft);font-variant-numeric:tabular-nums;letter-spacing:.14em;transition:color .2s}
.lg-ph b.empty{color:rgba(169,163,208,.45)}
.lg-perf{position:relative;height:2px;margin:16px -9px 14px;background:radial-gradient(circle,rgba(255,255,255,.2) 1.1px,transparent 1.5px) 0 50%/9px 2px repeat-x}
.lg-stub{position:relative}
.lg-stub .lg-slide{transition:transform .5s cubic-bezier(.2,.9,.3,1)}
.lg-flycoin{position:fixed;left:0;top:0;z-index:20;border-radius:50%;background:var(--gold);color:#1b1445;display:grid;place-items:center;pointer-events:none;will-change:transform}
.lg-flycoin svg{width:30%;height:auto}
.lg-card.shake{animation:shake .4s}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.lg-card h1{margin:0 0 14px;font-family:var(--font-display);font-weight:800;font-size:1.55rem;line-height:1.1;text-align:left;color:var(--text)}

.lg-keys{display:flex;flex-direction:column;gap:8px}
.lg-key{flex:none;display:flex;align-items:center;justify-content:center;gap:10px;height:46px;border-radius:14px;background:transparent;border:1px solid rgba(255,255,255,.16);color:var(--text);font:600 .9rem var(--font-body);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s}
.lg-key:active{background:rgba(255,255,255,.07)}
@media (hover:hover){.lg-key:hover{border-color:rgba(232,184,75,.6)}}
.lg-key svg{width:20px;height:20px;flex:0 0 20px}
.lg-or{display:flex;align-items:center;gap:12px;margin:14px 0 4px;color:var(--muted);font-size:.72rem;letter-spacing:.04em}
.lg-or::before,.lg-or::after{content:"";height:1px;flex:1;background:var(--line)}

.lg-fld{position:relative;margin:0 0 4px;padding-top:24px}.lg-fld label{max-width:calc(100% - 64px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lg-row1{position:relative;display:flex;align-items:center;gap:10px;height:44px;border-bottom:1.5px solid rgba(255,255,255,.18)}
.lg-row1::after{content:"";position:absolute;left:0;right:0;bottom:-1.5px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.lg-fld:focus-within .lg-row1::after{transform:scaleX(1)}
.lg-fld label{position:absolute;left:32px;top:12px;font-size:1rem;line-height:1.2;color:rgba(169,163,208,.8);pointer-events:none;transition:.2s cubic-bezier(.2,.8,.2,1)}
.lg-fld:focus-within label,.lg-fld input:not(:placeholder-shown)~label{top:-19px;left:0;font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--gold-soft)}
.lg-lead{flex:0 0 22px;width:22px;height:22px;position:relative;color:var(--muted)}
.lg-lead svg{position:absolute;inset:0;width:22px;height:22px;opacity:0;transform:scale(.7);transition:.2s}
.lg-lead svg.on{opacity:1;transform:none;color:var(--gold-soft)}
.lg-fld input{flex:1;min-width:0;height:100%;background:transparent;border:0;outline:0;color:var(--text);font:500 1.06rem var(--font-body);caret-color:var(--gold)}
.lg-fld input:-webkit-autofill{-webkit-text-fill-color:var(--text);transition:background-color 9999s}
.lg-cc{display:none;align-items:center;height:28px;padding:0 10px;border-radius:8px;background:rgba(232,184,75,.12);color:var(--gold-soft);font:700 .78rem var(--font-body);border:1px solid rgba(232,184,75,.28)}
.lg-cc.on{display:inline-flex}
.lg-tag{position:absolute;right:0;top:3px;font-size:.68rem;font-weight:700;color:var(--gold-soft);opacity:0;transition:.2s}
.lg-tag.on{opacity:1}
.lg-eye{flex:0 0 38px;width:38px;height:38px;border:0;border-radius:12px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer}
.lg-eye svg{width:22px;height:22px}.lg-eye .lg-shut{display:none}.lg-eye.show .lg-open{display:none}.lg-eye.show .lg-shut{display:block}

.lg-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 14px;flex-wrap:wrap;row-gap:4px}.lg-row>*{white-space:nowrap}
.lg-chk{display:flex;align-items:center;gap:9px;background:none;border:0;color:var(--muted);font:500 .8rem var(--font-body);cursor:pointer;padding:4px 0}
.lg-sw{width:36px;height:20px;border-radius:12px;background:rgba(255,255,255,.14);position:relative;transition:.2s}
.lg-sw::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.2s}
.lg-chk[aria-pressed="true"] .lg-sw{background:var(--gold)}
.lg-chk[aria-pressed="true"] .lg-sw::after{transform:translateX(16px);background:#1b1445}
.lg-row a{color:var(--gold-soft);font-size:.8rem;font-weight:600;text-decoration:none}
.lg-err{display:none;align-items:flex-start;gap:9px;margin:6px 0 4px;padding:10px 12px;border-radius:12px;background:rgba(255,122,122,.1);border:1px solid rgba(255,122,122,.25);color:#ffb9b9;font-size:.8rem;line-height:1.4}
.lg-err.on{display:flex}.lg-err svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:var(--danger)}

/* bouton : la pièce du logo à glisser */
.lg-slide{position:relative;height:60px;border-radius:30px;touch-action:pan-y;user-select:none;-webkit-user-select:none;overflow:hidden;
  background:#0d0b24;border:1px solid rgba(232,184,75,.3)}
.lg-fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:30px;background:var(--gold);opacity:0}
.lg-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 50px 0 66px;font:700 .92rem var(--font-display);letter-spacing:.06em;color:rgba(243,214,134,.7);pointer-events:none}
.lg-chev{display:flex}.lg-chev svg{width:15px;height:15px;opacity:.3;animation:chev 1.5s infinite}.lg-chev svg:nth-child(2){animation-delay:.2s}.lg-chev svg:nth-child(3){animation-delay:.4s}
@keyframes chev{0%,100%{opacity:.25}50%{opacity:.9}}
#hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:380px){.lg-hint{font-size:.84rem;padding:0 46px 0 62px}.lg-chev{display:none}.lg-chk,.lg-row a{font-size:.76rem}.lg-row{gap:6px}}
.lg-goal{position:absolute;right:13px;top:50%;width:34px;height:34px;margin-top:-17px;color:var(--gold-soft);pointer-events:none;opacity:.9}
.lg-handle{position:absolute;left:5px;top:5px;width:50px;height:50px;border-radius:50%;background:var(--gold);color:#1b1445;display:grid;place-items:center;cursor:grab;touch-action:none;z-index:3;box-shadow:0 4px 12px rgba(0,0,0,.45)}
.lg-handle svg{width:15px;height:auto}
.lg-handle:active{cursor:grabbing}
.lg-fld input:focus-visible{outline:0}.lg-handle:focus-visible,.lg-key:focus-visible,.lg-chk:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}
.lg-slide.rb .lg-handle{transition:transform .32s cubic-bezier(.2,.9,.3,1.2)}.lg-slide.rb .lg-fill{transition:width .32s cubic-bezier(.2,.9,.3,1.2)}
.lg-slide.ok .lg-handle{transition:transform .2s ease-out}.lg-slide.ok .lg-fill{transition:width .2s ease-out}.lg-slide.ok .lg-hint{opacity:0}
.lg-slide.nudge .lg-handle{animation:nudge .6s}@keyframes nudge{30%{transform:translateX(24px)}60%{transform:translateX(8px)}}

.lg-join{margin:14px 0 0;text-align:center;font-size:.84rem;color:var(--muted)}
.lg-join a{color:var(--gold-soft);font-weight:700;text-decoration:none;border-bottom:1px solid rgba(243,214,134,.4)}
.lg-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 0 0;font-size:.7rem;color:rgba(169,163,208,.8);text-align:center}
.lg-note svg{width:14px;height:14px;flex:0 0 14px;color:var(--gold)}
.lg-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-height:780px){.lg-top{height:206px}.lg-emblem{width:132px;height:132px}.lg-waves{top:66px}.lg-word{margin-top:8px;font-size:.88rem}}
@media (max-height:680px){.lg-top{height:150px}.lg-emblem{width:96px;height:96px}.lg-waves{top:48px}.lg-word{margin-top:6px}.lg-card h1{font-size:1.3rem;margin-bottom:10px}.lg-key{height:42px}.lg-keys{gap:6px}.lg-or{margin:10px 0 0}.lg-fld{padding-top:20px}.lg-row{margin:6px 0 10px}}
@media (prefers-reduced-motion:reduce){#lgx *,#lgx *::before,#lgx *::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important}.lg-waves{display:none}}

#lgx *{box-sizing:border-box}
#lgx{color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;overflow-x:clip;
  padding-inline:max(16px, env(safe-area-inset-left,0px)) max(16px, env(safe-area-inset-right,0px));padding-block:14px 40px;
  background-image:radial-gradient(90% 420px at 50% 0%, #241d5c 0%, transparent 70%)}
#lgx .lg-wrap{position:relative;max-width:420px;margin:0 auto}
#lgx .lg-card h1{text-align:start}
/* ombre sous le pass : drop-shadow suit la forme découpée (encoches comprises) */
#lgx .lg-shadow{position:relative;z-index:2;filter:drop-shadow(0 22px 26px rgba(0,0,0,.42)) drop-shadow(0 2px 3px rgba(0,0,0,.25))}
#lgx .lg-key{text-decoration:none}
#lgx .lg-key:visited{color:var(--text)}
/* « Rester connecté » : vraie case à cocher (marche sans JavaScript), habillée en interrupteur */
#lgx .lg-chk input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
#lgx .lg-chk input:checked+.lg-sw{background:var(--gold)}
#lgx .lg-chk input:checked+.lg-sw::after{transform:translateX(16px);background:#1b1445}
#lgx .lg-chk input:focus-visible+.lg-sw{outline:2px solid var(--gold-soft);outline-offset:3px}
#lgx .lg-slide{direction:ltr}
/* sélecteur de pays du site, en version compacte collée au champ */
#lgx .lg-cc{display:none;padding:0;border:0;background:none;height:auto}
#lgx .lg-cc.on{display:inline-flex}
#lgx .lg-cc .cp-trigger{min-width:0;min-height:30px;height:30px;padding:0 8px;gap:4px;border-radius:9px;font-size:.78rem;background:rgba(232,184,75,.12);border-color:rgba(232,184,75,.28);color:var(--gold-soft)}
#lgx .lg-cc .cp-trigger svg{color:var(--gold-soft)}
/* en attente de la réponse du serveur : la pièce respire */
#lgx .lg-slide.wait .lg-handle{animation:lgwait 1s ease-in-out infinite}
@keyframes lgwait{0%,100%{box-shadow:0 4px 12px rgba(0,0,0,.45),0 0 0 0 rgba(232,184,75,.35)}50%{box-shadow:0 4px 12px rgba(0,0,0,.45),0 0 0 7px rgba(232,184,75,0)}}
#lgx .lg-plain{width:100%;height:54px;border:0;border-radius:27px;background:var(--gold);color:#1b1445;font:800 1rem var(--font-display);cursor:pointer}
/* hauteurs tenant compte de l'en-tête du site (≈ 60 px) : la pièce reste visible sans défiler */
@media (max-height:920px){#lgx .lg-top{height:206px}#lgx .lg-emblem{width:132px;height:132px}#lgx .lg-waves{top:66px}#lgx .lg-word{margin-top:8px;font-size:.88rem}}
@media (max-height:760px){#lgx .lg-top{height:150px}#lgx .lg-emblem{width:96px;height:96px}#lgx .lg-waves{top:48px}#lgx .lg-word{margin-top:6px}#lgx .lg-card h1{font-size:1.3rem;margin-bottom:10px}#lgx .lg-key{height:42px}#lgx .lg-keys{gap:6px}#lgx .lg-or{margin:10px 0 0}#lgx .lg-fld{padding-top:20px}#lgx .lg-row{margin:6px 0 10px}}
@media (max-height:680px){#lgx{padding-block:8px 32px}#lgx .lg-top{height:112px}#lgx .lg-emblem{width:72px;height:72px}#lgx .lg-waves{display:none}#lgx .lg-word{margin-top:4px;font-size:.78rem}#lgx .lg-rule{margin-top:5px}#lgx .lg-ph{padding:10px 20px 8px;margin-bottom:12px}#lgx .lg-card h1{font-size:1.2rem;margin-bottom:8px}#lgx .lg-key{height:40px}#lgx .lg-or{margin:8px 0 0}#lgx .lg-fld{padding-top:18px}#lgx .lg-row1{height:40px}#lgx .lg-perf{margin:12px -9px 10px}}

/* ── MODE JOUR : le pass devient un billet ivoire à dorure, mêmes formes et mêmes animations ── */
html[data-themeable][data-theme="light"] #lgx{
  --night:#F6F3EA; --panel:#FFFDF8; --cream:#FFFFFF;
  --text:#1C1832; --muted:#6B6684; --line:rgba(28,24,50,.12);
  --gold-soft:#8A621A; --danger:#B23A48;
  color-scheme:light;
  background-image:radial-gradient(90% 420px at 50% 0%, rgba(232,184,75,.20) 0%, transparent 70%)}
html[data-themeable][data-theme="light"] #lgx .bare{--logo-violet:#3E1F6C}
html[data-themeable][data-theme="light"] #lgx .lg-word{color:#8A621A}
html[data-themeable][data-theme="light"] #lgx .lg-rule{background:#C8922D}
html[data-themeable][data-theme="light"] #lgx .lg-waves i{border-color:#C8922D}
html[data-themeable][data-theme="light"] #lgx .lg-shadow{filter:drop-shadow(0 18px 24px rgba(92,66,14,.16)) drop-shadow(0 1px 2px rgba(92,66,14,.14))}
html[data-themeable][data-theme="light"] #lgx .lg-card{background:linear-gradient(180deg,#FFFEFA,#FBF6EA)}
html[data-themeable][data-theme="light"] #lgx .lg-ph{background:linear-gradient(90deg,#F6E7BF,#FBF1D6 55%,#F6E7BF);border-bottom-color:rgba(184,133,22,.35);color:#7A5410}
html[data-themeable][data-theme="light"] #lgx .lg-ph .lg-no{color:#8C7A52}
html[data-themeable][data-theme="light"] #lgx .lg-ph b{color:#5E420B}
html[data-themeable][data-theme="light"] #lgx .lg-ph b.empty{color:rgba(94,66,11,.35)}
html[data-themeable][data-theme="light"] #lgx .lg-key{border-color:rgba(28,24,50,.16);background:#fff}
html[data-themeable][data-theme="light"] #lgx .lg-key:active{background:#F7F1E2}
html[data-themeable][data-theme="light"] #lgx .lg-row1{border-bottom-color:rgba(28,24,50,.2)}
html[data-themeable][data-theme="light"] #lgx .lg-row1::after{background:#C8922D}
html[data-themeable][data-theme="light"] #lgx .lg-fld label{color:#857F9C}
html[data-themeable][data-theme="light"] #lgx .lg-fld:focus-within label,html[data-themeable][data-theme="light"] #lgx .lg-fld input:not(:placeholder-shown)~label{color:#8A621A}
html[data-themeable][data-theme="light"] #lgx .lg-fld input{caret-color:#B98516}
html[data-themeable][data-theme="light"] #lgx .lg-fld input:-webkit-autofill{-webkit-text-fill-color:#1C1832;-webkit-box-shadow:0 0 0 40px #FFFDF8 inset}
html[data-themeable][data-theme="light"] #lgx .lg-cc .cp-trigger{background:#FBF1D6;border-color:rgba(184,133,22,.4);color:#7A5410}
html[data-themeable][data-theme="light"] #lgx .lg-cc .cp-trigger svg{color:#7A5410}
html[data-themeable][data-theme="light"] #lgx .lg-sw{background:rgba(28,24,50,.16)}
html[data-themeable][data-theme="light"] #lgx .lg-chk input:checked+.lg-sw{background:#D4A33E}
html[data-themeable][data-theme="light"] #lgx .lg-chk input:checked+.lg-sw::after{background:#fff}
html[data-themeable][data-theme="light"] #lgx .lg-err{background:#FDECEE;border-color:rgba(178,58,72,.3);color:#8E2A37}
html[data-themeable][data-theme="light"] #lgx .lg-perf{background:radial-gradient(circle,rgba(28,24,50,.28) 1.1px,transparent 1.5px) 0 50%/9px 2px repeat-x}
/* glissière : rainure gravée dans le papier, la pièce reste en or vif */
html[data-themeable][data-theme="light"] #lgx .lg-slide{background:linear-gradient(180deg,#EFE6CF,#F7F0DE);border-color:rgba(184,133,22,.45);box-shadow:inset 0 2px 4px rgba(92,66,14,.14)}
html[data-themeable][data-theme="light"] #lgx .lg-hint{color:#8A621A}
html[data-themeable][data-theme="light"] #lgx .lg-goal{color:#B98516}
html[data-themeable][data-theme="light"] #lgx .lg-handle{background:radial-gradient(circle at 35% 30%,#F6D98A,#E2AE3E 62%,#C8922D);box-shadow:0 3px 8px rgba(92,66,14,.35),inset 0 1px 0 rgba(255,255,255,.6)}
html[data-themeable][data-theme="light"] #lgx .lg-fill{background:#E2AE3E}
html[data-themeable][data-theme="light"] #lgx .lg-plain{background:#D4A33E;color:#221701}
html[data-themeable][data-theme="light"] #lgx .lg-join a{border-bottom-color:rgba(138,98,26,.4)}
html[data-themeable][data-theme="light"] #lgx .lg-note{color:#7A7590}
html[data-themeable][data-theme="light"] #lgx .lg-note svg{color:#B98516}
@keyframes lgwaitL{0%,100%{box-shadow:0 3px 8px rgba(92,66,14,.35),0 0 0 0 rgba(212,163,62,.45)}50%{box-shadow:0 3px 8px rgba(92,66,14,.35),0 0 0 7px rgba(212,163,62,0)}}
html[data-themeable][data-theme="light"] #lgx .lg-slide.wait .lg-handle{animation:lgwaitL 1s ease-in-out infinite}

/* ── SITE : pas de grand logo (déjà dans l'en-tête) ; le pass seul, centré, présenté comme une carte qu'on tend ── */
#lgx{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - 96px);padding-block:24px 48px}
#lgx .lg-wrap{width:100%}
.play .lg-shadow{animation:lgpass .8s .1s cubic-bezier(.2,.85,.25,1) both}
@keyframes lgpass{from{opacity:0;transform:translateY(26px) rotateX(10deg) scale(.97)}to{opacity:1;transform:none}}
#lgx .lg-stage{perspective:900px}
/* reflet doré qui balaie le pass une seule fois à l'arrivée */
#lgx .lg-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(243,214,134,.16) 50%,transparent 62%);transform:translateX(-130%)}
.play .lg-card::after{animation:lgsheen 1.1s .65s ease-out forwards}
@keyframes lgsheen{to{transform:translateX(130%)}}
html[data-themeable][data-theme="light"] #lgx .lg-card::after{background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.75) 50%,transparent 62%)}
/* éclat quand la pièce se loge dans le logo de l'en-tête */
.lg-seat{position:fixed;z-index:30;border-radius:50%;pointer-events:none;border:2px solid #F3D686;box-shadow:0 0 14px rgba(232,184,75,.8);animation:lgseat .8s ease-out forwards}
@keyframes lgseat{from{transform:scale(.3);opacity:1}to{transform:scale(1);opacity:0}}
@media (max-height:680px){#lgx{padding-block:12px 28px}}
@media (prefers-reduced-motion:reduce){#lgx .lg-card::after{display:none}}
/* la pièce passe au-dessus de l'en-tête (sinon elle disparaît derrière avant d'atteindre le logo) */
#lgx .lg-flycoin{z-index:10000}
.lg-seat{z-index:10001}
/* compte Google/Facebook pas encore relié */
#lgx .lg-link{margin:-4px 0 6px;padding:11px 12px;border-radius:12px;background:rgba(232,184,75,.08);border:1px solid rgba(232,184,75,.28);font-size:.8rem;line-height:1.45}
#lgx .lg-link p{margin:0 0 6px}
#lgx .lg-link-t{color:var(--text)}#lgx .lg-link-t b{color:var(--gold-soft);font-weight:700;word-break:break-all}
#lgx .lg-link-s{color:var(--muted)}
#lgx .lg-link-new{color:var(--gold-soft);font-weight:700;text-decoration:none}
html[data-themeable][data-theme="light"] #lgx .lg-link{background:#FBF1D6;border-color:rgba(184,133,22,.35)}
/* empreinte / visage : bouton doré discret ; vérification anti-robots centrée */
#lgx .lg-pk{border-color:rgba(232,184,75,.5);background:rgba(232,184,75,.08);color:var(--gold-soft)}
#lgx .lg-pk svg{color:var(--gold-soft)}
#lgx .lg-ts{display:flex;justify-content:center;margin:12px 0 0;min-height:65px}
#lgx .lg-ts[hidden]{display:none}
#lgx [hidden]{display:none!important}
