
@keyframes v2popin{0%{opacity:0;transform:translateY(22px) scale(.84)}60%{opacity:1;transform:translateY(-3px) scale(1.025)}100%{opacity:1;transform:none}}
@keyframes v2popshine{to{background-position:200% 0}}

/* ── Fonds : violet profond, flouté ── */
html:not(#sdp) body .auth-overlay,html:not(#sdp) body .profile-overlay,html:not(#sdp) body .lb-backdrop,html:not(#sdp) body .sd-gate,html:not(#sdp) body .sd-pop,html:not(#sdp) body .sp-o,html:not(#sdp) body .sd-wall-pop,html:not(#sdp) body .sd-xw,html:not(#sdp) body .sd-lu,html:not(#sdp) body .sd-mo,html:not(#sdp) body .sdk-ov{
  background:radial-gradient(60% 50% at 50% 38%,rgba(139,92,255,.3),transparent 70%),rgba(9,4,24,.76)!important;
  backdrop-filter:blur(10px) saturate(1.2)!important;-webkit-backdrop-filter:blur(10px) saturate(1.2)!important}

/* ── Cartes : violet, liseré arc-en-ciel en haut ── */
html:not(#sdp) body .auth-modal,html:not(#sdp) body .profile-modal,html:not(#sdp) body .sd-gate-box,html:not(#sdp) body .sd-pop-box,html:not(#sdp) body .sp-c,html:not(#sdp) body .sd-wall-card,html:not(#sdp) body .sd-xc,html:not(#sdp) body .sd-lu .card,html:not(#sdp) body .sd-mo .mo-card,html:not(#sdp) body .sl-wc,
html:not(#sdp) body .lb-panel,html:not(#sdp) body .sd-np,html:not(#sdp) body .sd-pp,html:not(#sdp) body #sd-qpanel,html:not(#sdp) body .sdk{
  background:linear-gradient(90deg,#ffc632,#ff3d9a,#8b5cff,#35d6ff,#22f08e) top/100% 4px no-repeat,
    radial-gradient(120% 70% at 50% 0%,rgba(139,92,255,.32),transparent 60%),
    linear-gradient(170deg,#24145a,#150c33 55%,#120a2c)!important;
  border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;
  box-shadow:0 0 0 1px rgba(139,92,255,.22),0 34px 80px -26px #000,inset 0 1px 0 rgba(255,255,255,.14)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:not(#sdp) body .auth-modal,html:not(#sdp) body .profile-modal,html:not(#sdp) body .sd-gate-box,html:not(#sdp) body .sd-pop-box,html:not(#sdp) body .sp-c,html:not(#sdp) body .sd-wall-card,html:not(#sdp) body .sd-xc,html:not(#sdp) body .sd-lu .card,html:not(#sdp) body .sd-mo .mo-card,html:not(#sdp) body .sl-wc{border-radius:28px!important}
html:not(#sdp) body .lb-panel,html:not(#sdp) body .sd-np,html:not(#sdp) body .sd-pp,html:not(#sdp) body #sd-qpanel,html:not(#sdp) body .sdk{border-radius:24px!important}
html:not(#sdp) body .sd-pp.sd-neon::before,html:not(#sdp) body .sd-mo .mo-card.sd-neon::before{display:none!important}
/* Les deux visuels Cashy suivent l'arrondi de la carte */
html:not(#sdp) body .sp-c,html:not(#sdp) body .sd-mo .mo-card{overflow:hidden!important}
html:not(#sdp) body .sp-img,html:not(#sdp) body .sd-mo .mo-art{display:block;border-bottom:1px solid rgba(255,255,255,.14)}

/* Entrée : la carte rebondit */
html:not(#sdp) body .auth-overlay.open .auth-modal,html:not(#sdp) body .sd-gate.on .sd-gate-box,html:not(#sdp) body .sd-pop.on .sd-pop-box,html:not(#sdp) body .sp-o.on .sp-c,html:not(#sdp) body .sd-wall-pop.on .sd-wall-card,
html:not(#sdp) body .sd-xw.on .sd-xc,html:not(#sdp) body .sd-lu.open .card,html:not(#sdp) body .sd-mo.on .mo-card{animation:v2popin .55s cubic-bezier(.34,1.56,.64,1) both}

/* ── Titres ── */
html:not(#sdp) body .auth-title,html:not(#sdp) body .profile-title,html:not(#sdp) body .sd-gate-t,html:not(#sdp) body .sd-pop-t,html:not(#sdp) body .sp-t,html:not(#sdp) body .sd-wall-t,html:not(#sdp) body .sd-xc h3,html:not(#sdp) body .sd-lu h3,html:not(#sdp) body .sd-mo .mo-h,html:not(#sdp) body .sl-wt,
html:not(#sdp) body .lb-header-title,html:not(#sdp) body .sd-np .h b,html:not(#sdp) body .sd-q-head>span:first-child{
  font-family:"Bricolage Grotesque","Inter",sans-serif!important;font-weight:800!important;letter-spacing:-.03em!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
html:not(#sdp) body .auth-title,html:not(#sdp) body .profile-title,html:not(#sdp) body .sd-gate-t,html:not(#sdp) body .sd-pop-t,html:not(#sdp) body .sp-t,html:not(#sdp) body .sd-wall-t,html:not(#sdp) body .sd-xc h3,html:not(#sdp) body .sd-mo .mo-h,html:not(#sdp) body .sl-wt{font-size:26px!important;line-height:1.12!important}
html:not(#sdp) body .sd-lu h3{font-size:38px!important}

/* ── Textes ── */
html:not(#sdp) body .auth-sub,html:not(#sdp) body .profile-sub,html:not(#sdp) body .sd-gate-p,html:not(#sdp) body .sd-pop-p,html:not(#sdp) body .sd-pop-o,html:not(#sdp) body .sp-s,html:not(#sdp) body .sd-wall-p,html:not(#sdp) body .sd-xc p,html:not(#sdp) body .sd-lu p,html:not(#sdp) body .sd-mo .mo-sub,html:not(#sdp) body .sd-mo .mo-of,html:not(#sdp) body .sl-wp,
html:not(#sdp) body .sp-l li,html:not(#sdp) body .sd-gate-l li,html:not(#sdp) body .sd-xc li span,html:not(#sdp) body .profile-animals-label{color:#d6cff3!important}
html:not(#sdp) body .sd-gate-p b,html:not(#sdp) body .sd-pop-p b,html:not(#sdp) body .sd-pop-o b,html:not(#sdp) body .sp-s b,html:not(#sdp) body .sd-wall-p b,html:not(#sdp) body .sd-xc p b,html:not(#sdp) body .sd-mo .mo-of b,html:not(#sdp) body .sl-wp b,html:not(#sdp) body .sp-l b,html:not(#sdp) body .sd-gate-l b{color:#fff!important}

/* ── Étiquettes : pastilles vertes (compte) ou or (offre) ── */
html:not(#sdp) body .sd-gate-free,html:not(#sdp) body .sd-pop-k,html:not(#sdp) body .sd-wall-k,html:not(#sdp) body .sl-wk,html:not(#sdp) body .sd-lu .k,html:not(#sdp) body .sp-k,html:not(#sdp) body .sd-mo .mo-k{
  display:inline-block!important;padding:6px 13px!important;border-radius:999px!important;
  font:800 11.5px/1 "Inter",sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;
  background-size:200% 100%!important;animation:v2popshine 3s linear infinite}
html:not(#sdp) body .sd-gate-free,html:not(#sdp) body .sd-pop-k,html:not(#sdp) body .sd-wall-k,html:not(#sdp) body .sl-wk,html:not(#sdp) body .sd-lu .k{color:#04281a!important;background-image:linear-gradient(90deg,#22f08e,#35d6ff,#22f08e)!important;box-shadow:0 3px 0 #0a8d4c!important}
html:not(#sdp) body .sp-k,html:not(#sdp) body .sd-mo .mo-k{color:#2b1a03!important;background-image:linear-gradient(90deg,#ffd95e,#ffb21c,#ffd95e)!important;box-shadow:0 3px 0 #b97700!important}

/* ── Bouton vert 3D : tout ce qui crée un compte ou envoie un email ── */
html:not(#sdp) body .sd-gate-go,html:not(#sdp) body .sd-wall-go,html:not(#sdp) body .sl-wgo,html:not(#sdp) body .auth-submit,html:not(#sdp) body .profile-save,html:not(#sdp) body .sd-pop-go,html:not(#sdp) body .sd-xw .go,html:not(#sdp) body .sd-np .go{
  background:linear-gradient(180deg,#7dffc4,#22f08e 55%,#14d47a)!important;color:#04281a!important;border:0!important;border-radius:999px!important;
  font-family:"Bricolage Grotesque","Inter",sans-serif!important;font-weight:800!important;
  box-shadow:0 5px 0 #0a8d4c,0 14px 30px -12px rgba(34,240,142,.75)!important;transition:transform .12s,box-shadow .12s!important}
html:not(#sdp) body .sd-gate-go,html:not(#sdp) body .sd-wall-go,html:not(#sdp) body .sl-wgo,html:not(#sdp) body .auth-submit,html:not(#sdp) body .profile-save{font-size:17px!important;min-height:54px!important}
html:not(#sdp) body .profile-save:disabled{filter:grayscale(.7) brightness(.75);box-shadow:0 5px 0 #3b4a43!important}

/* ── Bouton or 3D : l'offre partenaire ── */
html:not(#sdp) body .sd-pop-cta,html:not(#sdp) body .sp-go,html:not(#sdp) body .sd-mo .mo-go{
  background:linear-gradient(180deg,#ffe27a,#ffc632 50%,#ffa400)!important;color:#2b1a03!important;border:0!important;border-radius:999px!important;
  font-family:"Bricolage Grotesque","Inter",sans-serif!important;font-weight:800!important;font-size:17px!important;min-height:54px;
  box-shadow:0 5px 0 #b97700,0 14px 30px -12px rgba(255,190,40,.85)!important;transition:transform .12s,box-shadow .12s!important}
html:not(#sdp) body .sd-gate-go:hover,html:not(#sdp) body .sd-wall-go:hover,html:not(#sdp) body .sl-wgo:hover,html:not(#sdp) body .auth-submit:hover,html:not(#sdp) body .profile-save:not(:disabled):hover,html:not(#sdp) body .sd-pop-go:hover,html:not(#sdp) body .sd-xw .go:hover,html:not(#sdp) body .sd-np .go:hover,
html:not(#sdp) body .sd-pop-cta:hover,html:not(#sdp) body .sp-go:hover,html:not(#sdp) body .sd-mo .mo-go:hover{transform:translateY(-2px)!important}
html:not(#sdp) body .sd-gate-go:active,html:not(#sdp) body .sd-wall-go:active,html:not(#sdp) body .sl-wgo:active,html:not(#sdp) body .auth-submit:active,html:not(#sdp) body .profile-save:active,html:not(#sdp) body .sd-pop-go:active,html:not(#sdp) body .sd-xw .go:active,html:not(#sdp) body .sd-np .go:active{transform:translateY(3px)!important;box-shadow:0 2px 0 #0a8d4c!important}
html:not(#sdp) body .sd-pop-cta:active,html:not(#sdp) body .sp-go:active,html:not(#sdp) body .sd-mo .mo-go:active{transform:translateY(3px)!important;box-shadow:0 2px 0 #b97700!important}

/* Google : pilule blanche en relief */
html:not(#sdp) body .auth-google{background:#fff!important;color:#1d1340!important;border:0!important;border-radius:999px!important;min-height:52px;
  font-family:"Bricolage Grotesque","Inter",sans-serif!important;font-weight:800!important;box-shadow:0 5px 0 #b9afe0!important;transition:transform .12s!important}
html:not(#sdp) body .auth-google:hover{transform:translateY(-2px)!important}
html:not(#sdp) body .auth-divider{color:#8f86b5!important}
html:not(#sdp) body .auth-toggle-row{color:#b9b0dd!important}html:not(#sdp) body .auth-toggle-link{color:#35d6ff!important;font-weight:800}

/* ── « Non merci » : discrets mais lisibles ── */
html:not(#sdp) body .sd-gate-in,html:not(#sdp) body .sd-pop-no,html:not(#sdp) body .sp-no,html:not(#sdp) body .sd-wall-in,html:not(#sdp) body .sl-win,html:not(#sdp) body .sd-xw .no,html:not(#sdp) body .sd-mo .mo-no,html:not(#sdp) body .sd-pop-alt{color:#b9b0dd!important;background:none!important;font-weight:700!important}
html:not(#sdp) body .sd-gate-in:hover,html:not(#sdp) body .sd-pop-no:hover,html:not(#sdp) body .sp-no:hover,html:not(#sdp) body .sd-wall-in:hover,html:not(#sdp) body .sl-win:hover,html:not(#sdp) body .sd-xw .no:hover,html:not(#sdp) body .sd-mo .mo-no:hover,html:not(#sdp) body .sd-pop-alt:hover{color:#fff!important}
html:not(#sdp) body .sd-gate-in u,html:not(#sdp) body .sd-wall-in u,html:not(#sdp) body .sl-win u,html:not(#sdp) body .sd-pop-alt u{color:#35d6ff!important}

/* ── Croix : pastille de verre ronde ── */
html:not(#sdp) body .auth-close-btn,html:not(#sdp) body .sd-gate-x,html:not(#sdp) body .sp-x,html:not(#sdp) body .sd-wall-x,html:not(#sdp) body .sd-xw .x,html:not(#sdp) body .sd-mo .mo-x,html:not(#sdp) body .lb-close,html:not(#sdp) body .sd-q-close{
  width:36px!important;height:36px!important;padding:0!important;display:grid!important;place-items:center;border-radius:50%!important;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08))!important;border:1px solid rgba(255,255,255,.3)!important;
  color:#fff!important;font-size:18px!important;line-height:1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;transition:transform .2s,background .2s!important;z-index:3}
html:not(#sdp) body .auth-close-btn:hover,html:not(#sdp) body .sd-gate-x:hover,html:not(#sdp) body .sp-x:hover,html:not(#sdp) body .sd-wall-x:hover,html:not(#sdp) body .sd-xw .x:hover,html:not(#sdp) body .sd-mo .mo-x:hover,html:not(#sdp) body .lb-close:hover,html:not(#sdp) body .sd-q-close:hover{transform:rotate(90deg);background:rgba(255,255,255,.28)!important}

/* ── Champs ── */
html:not(#sdp) body .auth-input,html:not(#sdp) body .profile-input,html:not(#sdp) body .sd-pop-box input,html:not(#sdp) body .sd-xw input,html:not(#sdp) body .sd-np input{
  background:#090418!important;border:1.5px solid rgba(255,255,255,.2)!important;border-radius:14px!important;color:#fff!important;
  -webkit-text-fill-color:#fff;transition:border-color .2s,box-shadow .2s!important}
html:not(#sdp) body .auth-input::placeholder,html:not(#sdp) body .profile-input::placeholder,html:not(#sdp) body .sd-pop-box input::placeholder,html:not(#sdp) body .sd-xw input::placeholder,html:not(#sdp) body .sd-np input::placeholder{color:#8f86b5!important}
html:not(#sdp) body .auth-input:focus,html:not(#sdp) body .profile-input:focus,html:not(#sdp) body .sd-pop-box input:focus,html:not(#sdp) body .sd-xw input:focus,html:not(#sdp) body .sd-np input:focus{outline:none!important;border-color:#35d6ff!important;box-shadow:0 0 0 4px rgba(53,214,255,.2)!important}

/* ── Listes ✓ ── */
html:not(#sdp) body .sd-gate-l li:before{background:rgba(34,240,142,.18)!important;color:#22f08e!important;box-shadow:0 0 0 1px rgba(34,240,142,.4)}
html:not(#sdp) body .sd-xc li b{color:#22f08e!important}

/* ── Petits caractères ── */
html:not(#sdp) body .sd-gate-f,html:not(#sdp) body .sd-pop-f,html:not(#sdp) body .sp-f,html:not(#sdp) body .sd-wall-f,html:not(#sdp) body .sd-mo .mo-legal,html:not(#sdp) body .sd-pop-cash small,html:not(#sdp) body .sd-pop-msg,html:not(#sdp) body .sd-xc .s{color:#9a91c2!important}
html:not(#sdp) body .sd-gate-or{color:#9a91c2!important}html:not(#sdp) body .sd-gate-or:before,html:not(#sdp) body .sd-gate-or:after{background:rgba(255,255,255,.16)!important}

/* ── Encarts Cashy ── */
html:not(#sdp) body .sd-gate-cash{background:linear-gradient(135deg,rgba(255,198,50,.2),rgba(255,61,154,.08))!important;border:1.5px solid rgba(255,198,50,.6)!important;border-radius:18px!important;box-shadow:0 4px 0 rgba(185,119,0,.55)!important}
html:not(#sdp) body .sd-gate-cash b,html:not(#sdp) body .sd-gate-cash i,html:not(#sdp) body .sd-pop-cash a,html:not(#sdp) body .sl-wcash{color:#ffd95e!important}
html:not(#sdp) body .sp-m{background:rgba(34,240,142,.1)!important;border:1.5px dashed rgba(34,240,142,.45)!important;border-radius:14px!important;color:#d6cff3!important}
html:not(#sdp) body .sp-m b{color:#22f08e!important}html:not(#sdp) body .sp-m s{color:#ff6b8a!important}

/* ── Panneaux (cloche, classement, quêtes, XP) ── */
html:not(#sdp) body .sd-np .it:hover,html:not(#sdp) body .sd-q-row:hover{background:rgba(255,255,255,.07)!important}
html:not(#sdp) body .sd-q-chest.ready{background:linear-gradient(180deg,#ffe27a,#ffc632 50%,#ffa400)!important;color:#2b1a03!important;border:0!important;border-radius:999px!important;box-shadow:0 5px 0 #b97700!important;font-weight:800}
html:not(#sdp) body .sd-q-fill{background:linear-gradient(90deg,#22f08e,#35d6ff)!important}
html:not(#sdp) body .lb-my-rank-row{background:rgba(255,255,255,.06)!important;border-radius:16px}

/* ── Palette ⌘K ── */
html:not(#sdp) body .sdk{--k-bg:#150c33;--k-bg2:#1f1247;--k-line:rgba(255,255,255,.14);--k-text:#fff;--k-dim:#cfc7ee;--k-dim2:#9a91c2;--k-acc:#22f08e;--k-sel:rgba(34,240,142,.14)}

/* ── Bulles ── */
html:not(#sdp) body .sd-gate-toast,html:not(#sdp) body #sd-toast{background:#150c33!important;color:#fff!important;border:1.5px solid rgba(255,198,50,.65)!important;border-radius:999px!important;
  box-shadow:0 4px 0 rgba(185,119,0,.6),0 14px 30px -12px #000!important;font-family:"Bricolage Grotesque","Inter",sans-serif!important;font-weight:800!important}
html:not(#sdp) body .sd-gate-toast b{color:#ffd95e!important}

@media (prefers-reduced-motion:reduce){html:not(#sdp) body .sd-gate-free,html:not(#sdp) body .sd-pop-k,html:not(#sdp) body .sd-wall-k,html:not(#sdp) body .sl-wk,html:not(#sdp) body .sd-lu .k,html:not(#sdp) body .sp-k,html:not(#sdp) body .sd-mo .mo-k{animation:none}
  html:not(#sdp) body .auth-overlay.open .auth-modal,html:not(#sdp) body .sd-gate.on .sd-gate-box,html:not(#sdp) body .sd-pop.on .sd-pop-box,html:not(#sdp) body .sp-o.on .sp-c,html:not(#sdp) body .sd-wall-pop.on .sd-wall-card,html:not(#sdp) body .sd-xw.on .sd-xc,html:not(#sdp) body .sd-lu.open .card,html:not(#sdp) body .sd-mo.on .mo-card{animation:none}}
