/* CSS restant inline (tous les blocs <style> du head) — concaténé verbatim dans l'ordre d'origine (UX-L13) */

/* ------------------------- Scaling System by Osmo [https://osmo.supply/] -------------------------  */

:root {
  --size-unit: 16; 
  --size-container-ideal: 1440;
  --size-container-min: 992px;
  --size-container-max: 2250px;
  --size-container: clamp(var(--size-container-min), 100vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));
}

/* Tablet */
@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 1200;
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 550; 
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}

/* Mobile Portrait */
@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 390;
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}
  
body {font-size: var(--size-font);}
  
/* ------------------------- Hide Scrollbar -------------------------------------------------- */

body ::-webkit-scrollbar{display: none;}
body {-ms-overflow-style: none;}
html {scrollbar-width: none;} 

/* ------------------------- body -------------------------------------------------- */

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
html {scroll-behavior: initial;}
html, body {-webkit-font-smoothing: antialiased;}
svg {max-width: none; height: auto; box-sizing: border-box; vertical-align: middle;}
button{background: transparent; padding: 0px;}
  
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

::selection{
   background-color: black;
   color: white;
   text-shadow: none;
}

a{
	color: inherit;
	text-decoration: none;
}

textarea{
	resize: none;
}

.main-w{ --overlay: 0; }

.main-w::after{
	content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height:100%;
  background:white;
  z-index:10;
  pointer-events:none;
  opacity: var(--overlay);
}

.download-button__logo img{ width: 100%; height: 100%;}


.button-main[data-button-theme="light"] .button-main-inner__bg{
  background: var(--color--light);
  border: 0.125em solid var(--color--dark);
}

.button-main[data-button-theme="light"] .button-main-inner__text{
  color: var(--color--dark)
}  

.button-main[data-button-accent="white"]  .button-main-inner__back{ background: var(--color--light) }
.button-main[data-button-accent="blue"]   .button-main-inner__back{ background: var(--color--blue-700) }
.button-main[data-button-accent="yellow"] .button-main-inner__back{ background: var(--color--yellow-700) }
.button-main[data-button-accent="violet"] .button-main-inner__back{ background: var(--color--violet-700) }
.button-main[data-button-accent="green"]  .button-main-inner__back{ background: var(--color--green-700) }
.button-main[data-button-accent="orange"] .button-main-inner__back{ background: var(--color--orange-800) }
.button-main[data-button-accent="dark"] .button-main-inner__back{ background: var(--color--dark); color:var(--color--light); }

[data-box-theme="white"] { background: var(--color--light) !important;  }
[data-box-theme="black"] { background: var(--color--dark) !important; color: var(--color--light) !important; }
[data-box-theme="blue"]  { background: var(--color--blue-700) !important;  }
[data-box-theme="yellow"]{ background: var(--color--yellow-700) !important;  }
[data-box-theme="violet"]{ background: var(--color--violet-700) !important; }
[data-box-theme="green"] { background: var(--color--green-700)  !important; }
[data-box-theme="orange"]{ background: var(--color--orange-800) !important;  }
[data-box-theme="purple"]{ background: var(--color--purple-800) !important;  }
[data-box-theme="glacier"]{ background: #DCEEFF !important;  }

.cta-banner-inner .download-cta-el:nth-child(odd) .marquee-cta-h{ font-variation-settings: "slnt" 100; padding-right: 0.05em; }
.cta-banner-inner .download-cta-el{margin: 0 0.75em;}

@media screen and (max-width: 479px){
	.cta-banner-inner .download-cta-el{margin: 0 0.125em;}
}

html.wf-design-mode .tab-content__text{position: relative; visibility: visible;}

body:has( [data-cursor]:hover ) .cursor{ opacity: 1; }

body:has( [data-cursor="download for chrome"]:hover ) #cursorLogoChrome{display:block;}
body:has( [data-cursor="download for arc"]:hover ) #cursorLogoArc{display:block;}
body:has( [data-cursor="download for edge"]:hover ) #cursorLogoEdge{display:block;}
body:has( [data-cursor="download for brave"]:hover ) #cursorLogoBrave{display:block;}
body:has( [data-cursor="download for android"]:hover ) #cursorLogoAndroid{display:block;}
body:has( [data-cursor="download for ios"]:hover ) #cursorLogoIos{display:block;}

body:has( [data-cursor-logo]:hover ) .cursor-img__wrap{width:3.625em; height:3em;padding-right:0.625em;}
body:has( [data-cursor]:not([data-cursor-logo]):hover ) .cursor-paragraph{display:block;}

#lottie-remove-bg rect[fill="#cee6ff"]{display: none;}

[data-na-button]{display: none;}
.page-w.not-available [data-na-button]{display: flex;}
.page-w.not-available [data-download-cta]{display: none;}


[data-anim-slant] .char{display:inline-block !important; padding: 0 .1em; margin: 0 -.1em;}
[data-anim-hero] .char{display:inline-block !important; padding: 0 .1em; margin: 0 -.1em;}
.img-slider .char{display:inline-block !important; padding: 0 .1em; margin: 0 -.1em;}

.guides-detail-asset:not(:first-child){opacity: 0;}

.nav-inner-li:nth-of-type(1) .button-main.w--current .button-main-inner__bg{ background: var(--color--violet-700);}
.nav-inner-li:nth-of-type(2) .button-main.w--current .button-main-inner__bg{ background: var(--color--blue-700);}
.nav-inner-li:nth-of-type(3) .button-main.w--current .button-main-inner__bg{ background: var(--color--green-700);}
.nav-inner-li:nth-of-type(4) .button-main.w--current .button-main-inner__bg{ background: var(--color--orange-800);}

[data-lottie-size="small"]{inset: 20%; width: auto; height: auto;}

.nav-w{
	transition: top 0.6s var(--elastic-ease-out);
}

body[data-scrolling-started="false"]:has( .main-w[data-barba-namespace="home"]) .nav-w{top: 4.5em;}
body[data-scrolling-started="true"] .nav-w{top: 1.5em;}

@media screen and (max-width: 479px){

	body[data-scrolling-started="false"]:has( .main-w[data-barba-namespace="home"]) .nav-w{top: 4em;}
	body[data-scrolling-started="true"] .nav-w{top: 0.75em;}

}



:root{
  --cubic-default: cubic-bezier(0.65, 0.05, 0, 1);
  --cubic-bounce: linear(0, 1.3, 1, 0.92, 1, 0.99, 1, 1.004, 0.998, 1 100% 100%);
  --duration-default: 0.75s;
  --duration-medium: 0.85s;
  --duration-fade: 0.15s;
  --smooth-ease: cubic-bezier(.32, .72, 0, 1);
  --color-ease: cubic-bezier(.216, .62, .356, 1);  
  --elastic-ease-out: linear(
    0,
    0.5737 7.6%,
    0.8382 11.87%,
    0.9463 14.19%,
    1.0292 16.54%,
    1.0886 18.97%,
    1.1258 21.53%,
    1.137 22.97%,
    1.1424 24.48%,
    1.1423 26.1%,
    1.1366 27.86%,
    1.1165 31.01%,
    1.0507 38.62%,
    1.0219 42.57%,
    0.9995 46.99%,
    0.9872 51.63%,
    0.9842 58.77%,
    1.0011 81.26%,
    1
  );  
}

.text-link-underline::before,
.text-link-underline::after{
  content: "";
  position:absolute;
  right:0;
  top:0;
  width:100%;
  height:100%;
  background: currentColor;
}  

.button-main, .nav-btn-circle, .footer-social-link{ transition: 0.5s var(--elastic-ease-out); }
.nav-btn-circle.is--nav-logo{ transition: 1s var(--elastic-ease-out); }
.button-main:active, .nav-btn-circle:active { transform: scale(0.955); }
.button-main-inner__bg { transition: background-color .2s var(--color-ease); }
.button-main-inner__front {transition: translate var(--duration-medium) var(--elastic-ease-out), rotate var(--duration-default) var(--elastic-ease-out), opacity var(--duration-fade) ease-out;}
.button-main-inner__text {transition: translate var(--duration-default) var(--elastic-ease-out);}

.button-main-inner__back::before {
  transition: translate var(--duration-default) var(--elastic-ease-out);
  translate: 0 .75em 0;
}

.button-main-inner__back {
  transition: translate var(--duration-medium) var(--elastic-ease-out), rotate var(--duration-default) var(--elastic-ease-out), opacity .15s ease-out;
  opacity: 0;
  translate: 0 2em -6em;
  rotate: 1 0 0 -90deg;
}

.button-main-inner__back::before {
  --index: 1;
  content: attr(data-text);
  display: contents;
  font-weight: bold;
  text-transform: uppercase;
}
.button-main-inner__back.is--download::before {
  margin-bottom: -.1em;
  padding-top: .08em;
  font-family: "Bricolage Grotesque", Impact, sans-serif;
  font-size: 17.5em;
  font-weight: 800;
  line-height: .8;
  transform: translate(0px, -85%);
  display: block;
}


/* ————————————— HOVER STUFF ————————————— */

@media (hover: hover) and (prefers-reduced-motion: no-preference){

  .link::after{
    content: "";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:0.125em;
    background: currentColor;
    transform: scale(0, 1);
    transform-origin: left center;
    transition: transform 0.4s var(--cubic-default);
  }
  .link:hover::after{ transform: scale(1, 1); transform-origin: right center;}

	.footer-social-link:hover{transform:scale(0.92)}

  .text-link-underline::before{ transform:translate(-100%, 0px); }
  .text-link-underline::after{ transform:translate(100%, 0px); }
  
  .text-link-underline{
    transition: transform 0.75s var(--cubic-default);
    transform: translate(-100%, 0px);
  }

  [data-text-link]:hover  .text-link-underline{
    transform: translate(100%, 0px);
  }
  
  .button-main:is(:hover, :focus-visible) .button-main-inner__front {
  	translate: 0 -2em -6em;
    rotate: 1 0 0 85deg;
    opacity: 0;
  }
  
  .button-main:is(:hover, :focus-visible) .button-main-inner__text {
  	translate: 0 -.75em 0;
    transition-delay: 0s;
  }
  
  .button-main:is(:hover, :focus-visible) .button-main-inner__back {
    transition: translate var(--duration-medium) var(--elastic-ease-out), rotate var(--duration-default) var(--elastic-ease-out), opacity .075s ease-in;
    rotate: 1 0 0 0deg;
    translate: 0 0 0;
    opacity: 1;
  }
  
  .button-main:is(:hover, :focus-visible) :is(.button-main-inner__back::before) {
  	translate: 0 0em 0;
    transition-delay: calc(var(--index) * .012s);
  }  
  
  .button-main:hover .button-main-inner__back::before {
  	translate: 0 0em 0 !important;
  }
  .button-main-inner__back.is--download::before{
  	translate: 0 0em 0 !important;
  	transform: translate(0px, 0%) !important;
  }

}

@media (hover: hover) and (prefers-reduced-motion){
  .button-main:is(:hover, :focus-visible) .button-main-inner__bg{
    background: var(--color--dark) !important;
  }
  .button-main:is(:hover, :focus-visible) .button-main-inner__text{
    color: var(--color--light) !important;
  }
  
  .button-main[data-button-theme="dark"]:is(:hover, :focus-visible) .button-main-inner__bg{
    background: var(--color--light) !important;
    border:0.125em solid var(--color--dark) !important;
  }
  .button-main[data-button-theme="dark"]:is(:hover, :focus-visible) .button-main-inner__text{
    color: var(--color--dark) !important;
  }  
  
  .download-cta-el.button-main:is(:hover, :focus-visible) .button-main-inner__bg{
  	background: var(--color--light) !important;
  }
  .download-cta-el.button-main:is(:hover, :focus-visible) .button-main-inner__text{
  	color: var(--color--dark) !important;
  }  
  
}

@media (hover:hover){
  #menuButton:hover .nav-btn-menu__line.is--h{ transform: scaleX(0) }
	
  .nav-btn-chevron, .nav-chevron-wrap{ transition: 0.5s var(--elastic-ease-out)}
  .nav-btn-circle:hover .nav-chevron-wrap{ transform: rotate(-90deg); }
  .nav-btn-circle:hover .nav-btn-chevron{ transform: translate(175%, 0px); }
	.nav-btn-circle[data-slideshow]:active { transform: scale(0.955) rotate(90deg); }
  
	.home-qr-wrap{transition: transform 0.65s cubic-bezier(0.65, 0.05, 0, 1) }
  
	.home-qr-el:hover .home-qr-el__col{transform: translate(100%, 0px)}
	.home-qr-el:hover .home-qr-wrap{transform: translate(1.25em, 0px)}	
}


.home-logo-letter:nth-child(2){clip-path:inset(70% 0px 0px 0px)}
.home-logo-letter:nth-child(3){clip-path:inset(78% 0px 0px 0px)}
.home-logo-letter:nth-child(4){clip-path:inset(85% 0px 0px 0px)}
.home-logo-letter:nth-child(5){clip-path:inset(95% 0px 0px 0px)}


@media screen and (max-width: 767px){

  .button-main-inner__back.is--download::before {
    font-size: 10em;
  }
  
}

/* ===== Glue d'adaptation =====
   1. Grands icônes décoratifs = Lottie RÉELS du template (lottie-web), animés comme lui.
   2. Colonne logos = vrais logos officiels (jeux Wikimedia + paiements dépôt + WhatsApp),
      chaque badge au fond de marque réel pour la lisibilité (le template utilise des icônes d'app).
   3. footer-block-bg : opacité réduite (demande propriétaire) pour ne pas gêner le visuel.
   4. footer-i-1 (avion) descendu pour ne pas masquer le titre (demande propriétaire).
   5. Repli sans GSAP / mouvement réduit : états finaux visibles. */
[data-icon] > svg, .img-slide__lottie > svg, .footer-i-1 > svg, .footer-i-2 > svg,
.footer-row-col-img > svg, .footer-block-bg > svg, .marquee-cta-dot > svg,
.download-button__logo > svg { width: 100%; height: 100%; display: block; }
[data-lottie] { display: block; }
[data-lottie] svg { width: 100% !important; height: 100% !important; }
svg.two-col-grid__visual-logo { height: auto; }
.two-col-grid__visual .u--bg > svg.cover-icon { width: 62%; height: auto; }
.logo-section__item-img { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.logo-section__item-img img.brand-logo { width: 100%; height: 100%; object-fit: contain; padding: .25em; display: block; }
.marquee-cta-dot > svg { width: 55%; height: auto; }
.footer-block-bg { opacity: .25; }
.footer-block-bg > svg { width: 85%; height: auto; }
.footer-i-1 { width: 8.5em; right: -2.5em; bottom: -18.5em; }
svg.button-main-inner__logo { width: 1.6em; height: auto; }
svg.nav-button-logo { width: 21px; height: 22px; }
.cursor-img__wrap:empty { display: none; }
.form-success { display: none; }
html.no-gsap [data-hero-content], html.reduced-motion [data-hero-content] { opacity: 1; }
html.no-gsap #navContainer, html.reduced-motion #navContainer { transform: none; }
html.no-gsap .img-slide:first-child { opacity: 1; pointer-events: auto; }
html.no-gsap .marquee-advanced__scroll, html.no-gsap .logo-section__scroll { margin: 0 !important; width: 100% !important; height: auto !important; }

/* ===== Animations des grands icônes STATIQUES (demande propriétaire #3/#6) =====
   Les Lottie ([data-lottie]) sont déjà animés : on n'y touche pas.
   On anime les illustrations encore fixes : visuels two-col-grid, illustration
   support footer, pastille marquee. Mouvement doux en boucle (translate/rotate
   individuels pour ne pas casser les transform de base du template). */
@keyframes dsFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -0.5em; } }
@keyframes dsFloatRot { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -0.55em; rotate: 3deg; } }
.two-col-grid__visual .u--bg > svg.cover-icon { animation: dsFloatRot 4.5s ease-in-out infinite; }
.two-col-grid__item:nth-child(2) .cover-icon { animation-delay: -1.2s; }
.two-col-grid__item:nth-child(3) .cover-icon { animation-delay: -2.4s; }
.two-col-grid__item:nth-child(4) .cover-icon { animation-delay: -3.6s; }
svg.two-col-grid__visual-logo { animation: dsFloat 6s ease-in-out infinite; }
svg.footer-row-col-img { animation: dsFloatRot 5s ease-in-out infinite; }
.marquee-cta-dot > svg { animation: dsFloatRot 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .cover-icon, svg.two-col-grid__visual-logo, svg.footer-row-col-img, .marquee-cta-dot > svg { animation: none !important; }
}
html.reduced-motion .cover-icon, html.reduced-motion svg.two-col-grid__visual-logo,
html.reduced-motion svg.footer-row-col-img, html.reduced-motion .marquee-cta-dot > svg { animation: none !important; }

/* ===== Décor de fond newsletter : style « dessin » au trait (demande #2) ===== */
.footer-block-bg { opacity: .3; }
.footer-block-bg > svg { width: 78%; height: auto; }

/* ===== Adaptations MOBILE demandées par le propriétaire (#1,#4,#5,#6) ===== */
@media (max-width: 767px) {
  /* #6b — espacements réduits, moins de zones vides */
  .hero-section { min-height: auto; max-height: none; padding-top: 1em; }
  .content-container.padding-vertical-180 { padding-top: 5.5em; padding-bottom: 3em; }
  .content-container.is--hero { min-height: auto; max-height: none; }
  .cta-banner-section { padding-top: 4em; padding-bottom: 4em; }
  .title-row { margin-bottom: 2.5em; grid-row-gap: var(--gap-m); }
  .two-col-grid { grid-row-gap: 3em; grid-column-gap: 3em; }
  .two-col-grid__item { grid-row-gap: var(--gap-m); }
  .two-col-grid__visual { width: 100%; max-width: 20em; margin-left: auto; margin-right: auto; }
  .two-col-grid__text { max-width: none; }

  /* #4 — icônes hero recadrées pour ne pas déborder (à côté du titre, sous la nav) */
  .defi-i-1 { width: 5em; inset: auto; top: 0.5em; left: 0; transform: none; }
  .defi-i-2 { width: 5.5em; inset: auto; top: 0.5em; right: 0; bottom: auto; transform: none; }

  /* #5 — CTA : 2 boutons inline, alignés à gauche, même largeur (loi UX) */
  .nav-inner-right > .button-main { display: none; }
  .button-row { width: 100%; flex-flow: row; justify-content: flex-start; align-items: stretch; grid-column-gap: var(--gap-xs); grid-row-gap: var(--gap-xs); }
  .button-row .button-main:nth-child(3) { display: none; }
  .button-row .button-main { flex: 1 1 0; min-width: 0; display: flex; }
  .button-row .button-main-inner { flex: 1 1 auto; width: auto; position: relative; min-width: 0; }
  .button-row .button-main-inner__back { position: absolute; inset: 0; }
  .button-row .button-main-inner__front { position: absolute; inset: 0; width: 100%; height: 100%; }
  .button-row .button-main-inner__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .button-row .button-main-inner__text { position: relative; z-index: 1; width: 100%; height: 100%; justify-content: center; }
  .button-row .download-button, .button-row .download-button.text-only { height: 3.6em; padding-left: .6em; padding-right: .6em; }
  .button-row .download-button__logo { display: none; }
  .button-row .button-main-inner__text { white-space: normal; font-size: .8em; line-height: 1.12; padding: .5em .6em; }

  /* #1 — colonne logos : grille alternée 2-1-2-1 + défilement vertical animé (comme le template) */
  .logo-section { height: auto; padding-top: 2.5em; padding-bottom: 2.5em; grid-row-gap: var(--gap-m); }
  .logo-section-content { max-width: none; }
  .logo-section-column { max-width: none; height: 28em; }
  .logo-section__wrapper { height: 100%; overflow: hidden; }
  .logo-section__scroll { height: 100%; }
  .logo-section__collection { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: var(--gap-xs); grid-row-gap: var(--gap-xs); width: 100%; }
  .logo-section__item { margin: 0; width: 100%; }
  .logo-section__item:nth-child(3n) { grid-column: span 2; }
  .logo-section__item-img { width: 2.5em; }
}

/* ===== Nav mobile : forme du site principal (logo + points + compte + panier + burger) =====
   Icônes BOLD (lucide trait 2.5, pas le pack cartoon). Points / compte / panier en ronds
   .nav-btn-circle, même taille que le bouton « + ». Panneau menu au burger (comme le site). */
.nav-mobile-actions { display: none; }
.nav-mobile-panel { display: none; }
/* Burger (UX-L6) : desktop sans burger, le panneau reste masqué ; ≤991px le burger apparaît.
   .nav-w est pointer-events:none (template) : le panneau doit le réactiver pour capter les clics. */
#menuButton { display: none; }
#navMobilePanel { pointer-events: auto; }
.nav-logo-mobile { display: none; }
.nav-action { position: relative; overflow: visible; }
.nav-action .bold-ic { width: 1.4em; height: 1.4em; }
.nav-action:hover { transform: translateY(-0.125em); }
.nav-action-badge { position: absolute; top: -0.2em; right: -0.2em; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 100em; background: var(--color--yellow-700); color: var(--color--dark); border: .1em solid var(--color--dark); font-size: .5em; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; }
@media (max-width: 991px) {
  .nav-inner { position: relative; align-items: center; }
  .nav-inner-list { display: none; }
  .nav-logo-desktop { display: none; }
  .nav-logo-mobile { display: block; width: 1.5em; height: 1.5em; }
  .nav-btn-menu__line.is--h { height: .16em; }
  .nav-btn-menu__line.is--v { width: .16em; }
  .nav-inner-right > .button-main { display: none; }
  .nav-inner-right { flex-flow: row; max-width: none; align-items: center; justify-content: flex-end; pointer-events: auto; margin: 0; padding: 0; grid-column-gap: var(--gap-xxs); grid-row-gap: var(--gap-xxs); }
  .nav-mobile-actions { display: flex; align-items: center; grid-column-gap: var(--gap-xxs); }
  #menuButton { display: inline-flex; }
  .nav-mobile-panel { position: absolute; top: calc(100% + .6em); right: 0; z-index: 60; width: 15em; border: .125em solid var(--color--dark); border-radius: 1em; background: var(--color--light); padding: .5em; flex-direction: column; grid-row-gap: .15em; box-shadow: 0 1em 2.5em rgba(0,0,0,.28); }
  .nav-mobile-panel.is--open { display: flex; }
  .nav-mobile-panel a { display: flex; align-items: center; min-height: 2.9em; padding: 0 .8em; border-radius: .6em; font-weight: 700; text-transform: uppercase; font-size: .8em; letter-spacing: .03em; color: var(--color--dark); }
  .nav-mobile-panel a:hover { background: var(--color--dark); color: var(--color--light); }
}

/* ===== Bottom nav mobile : pilule flottante (forme du site principal) thémée Slush =====
   Crème + bordure encre + onglet actif néon, icônes BOLD (lucide), libellé déplié sur l'actif. */
.bottom-nav-w { display: none; }
@media (max-width: 991px) {
  .bottom-nav-w { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; justify-content: center; padding: 0 .75em max(.75em, env(safe-area-inset-bottom)); pointer-events: none; }
  .bottom-nav { pointer-events: auto; display: flex; align-items: center; gap: .15em; padding: .35em; border: .125em solid var(--color--dark); border-radius: 100em; background: var(--color--light); box-shadow: 0 .5em 1.5em rgba(0,0,0,.28); }
  .bottom-nav-item { position: relative; display: flex; align-items: center; justify-content: center; height: 3em; min-width: 3em; padding: 0 .8em; border-radius: 100em; color: var(--color--dark); overflow: hidden; }
  .bottom-nav-pill { position: absolute; inset: 0; border-radius: 100em; background: var(--color--yellow-700); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
  .bottom-nav-item.is--active .bottom-nav-pill { opacity: 1; transform: scale(1); }
  .bottom-nav-content { position: relative; z-index: 1; display: flex; align-items: center; gap: .4em; }
  .bottom-nav-content .bold-ic { width: 1.5em; height: 1.5em; flex: none; }
  .bottom-nav-label { font-weight: 700; text-transform: uppercase; font-size: .7em; letter-spacing: .02em; white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .35s, opacity .3s; }
  .bottom-nav-item.is--active .bottom-nav-label { max-width: 8em; opacity: 1; }
  .main-w { padding-bottom: 5.5em; }
}

/* ===== MGS PAGES — composants additions dans le vocabulaire Slush (liberté créative propriétaire).
   Palette = jetons du template (--color--*), typo "Bricolage Grotesque"/Aeonik, bordures .125em, pilules. ===== */
.mgs-page{display:none}
.mgs-page.is--active{display:block;animation:mgsPageIn .5s var(--cubic-default) both}
@keyframes mgsPageIn{from{opacity:0;transform:translateY(1.25em)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mgs-page.is--active{animation:none}}
.mgs-shell{padding-top:7.5em;padding-bottom:3em}
.mgs-head{display:flex;flex-direction:column;gap:.6em;margin-bottom:2em}
.mgs-head .eyebrow{font-weight:700;text-transform:uppercase;letter-spacing:.14em;font-size:.8em;color:var(--color--dark);opacity:.6}
.mgs-title{font-family:"Bricolage Grotesque",Impact,sans-serif;text-transform:uppercase;font-weight:800;line-height:.82;font-size:4.5em;margin:0}
.mgs-sub{font-family:'Onest',Arial,sans-serif;font-size:1.25em;line-height:1.3;max-width:34em;margin:0;color:var(--color--dark);opacity:.75}
.mgs-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75em}
/* En-tête de compte à 390 px : le CTA passe sous le texte au lieu de l'écraser (audit UX-L3). */
@media (max-width:767px){.mgs-panel.mgs-row>a.button-main{flex-basis:100%}}
.mgs-between{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1em}
.mgs-section{margin-top:3em}
.mgs-section-h{font-family:'Onest',Arial,sans-serif;font-size:1.875em;font-weight:600;line-height:1.1;margin:0 0 .8em}
.mgs-muted{opacity:.62}
.mgs-mono{font-variant-numeric:tabular-nums;letter-spacing:.02em}

/* panneaux */
.mgs-panel{border:.125em solid var(--color--dark);border-radius:1.5em;background:var(--color--light);padding:1.5em;position:relative}
.mgs-panel--ink{background:var(--color--dark);color:var(--color--light)}
.mgs-panel--yellow{background:var(--color--yellow-700)}
.mgs-panel--green{background:var(--color--green-700)}
.mgs-panel--blue{background:var(--color--blue-100)}
.mgs-panel--violet{background:var(--color--violet-100)}

/* grille produits */
.mgs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1em}
.mgs-grid--3{grid-template-columns:repeat(3,1fr)}
.mgs-grid--2{grid-template-columns:repeat(2,1fr)}

/* carte produit */
.mgs-card{border:.125em solid var(--color--dark);border-radius:1.25em;background:var(--color--light);padding:.75em;display:flex;flex-direction:column;gap:.6em;position:relative;transition:transform .4s var(--elastic-ease-out),box-shadow .4s var(--elastic-ease-out);color:var(--color--dark)}
.mgs-card:hover{transform:translateY(-.3em);box-shadow:.4em .4em 0 var(--color--dark)}
.mgs-card__media{aspect-ratio:1/1;border-radius:.85em;border:.125em solid var(--color--dark);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.mgs-card__media .bold-ic{width:42%;height:42%}
.mgs-card__badge{position:absolute;top:.5em;left:.5em;z-index:2;background:var(--color--dark);color:var(--color--light);font-size:.6em;font-weight:800;text-transform:uppercase;letter-spacing:.08em;padding:.35em .7em;border-radius:100em}
.mgs-card__name{font-family:'Onest',Arial,sans-serif;font-weight:700;font-size:1.05em;line-height:1.15;margin:0}
.mgs-card__desc{font-size:.8em;line-height:1.25;margin:0;opacity:.65}
.mgs-card__foot{display:flex;align-items:center;justify-content:space-between;gap:.5em;margin-top:auto;padding-top:.25em}
.mgs-price{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.5em;line-height:1}
.mgs-price small{font-family:'Onest',Arial,sans-serif;font-size:.5em;font-weight:600;opacity:.7}
.mgs-card .button-main{width:100%}
.mgs-card .button-main-inner__text{font-size:.8em}

/* carte de jeu (choix des jeux — améliorée) */
.mgs-game{border:.125em solid var(--color--dark);border-radius:1.5em;background:var(--color--light);overflow:hidden;display:flex;flex-direction:column;transition:transform .4s var(--elastic-ease-out),box-shadow .4s var(--elastic-ease-out);color:var(--color--dark)}
.mgs-game:hover{transform:translateY(-.35em);box-shadow:.5em .5em 0 var(--color--dark)}
.mgs-game__media{height:9em;display:flex;align-items:center;justify-content:center;border-bottom:.125em solid var(--color--dark);position:relative}
.mgs-game__media .bold-ic{width:3.4em;height:3.4em}
.mgs-game__tag{position:absolute;top:.6em;right:.6em;background:var(--color--light);border:.125em solid var(--color--dark);font-size:.6em;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:.3em .7em;border-radius:100em}
.mgs-game__body{padding:1.1em;display:flex;flex-direction:column;gap:.5em;flex:1}
.mgs-game__name{font-family:"Bricolage Grotesque",Impact,sans-serif;text-transform:uppercase;font-weight:800;font-size:1.7em;line-height:.85;margin:0}
.mgs-game__desc{font-size:.85em;line-height:1.3;margin:0;opacity:.7}
.mgs-chips{display:flex;flex-wrap:wrap;gap:.35em;margin-top:.25em}
.mgs-chip{border:.1em solid var(--color--dark);border-radius:100em;font-size:.65em;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.3em .7em;background:var(--color--light)}
.mgs-game .button-main{margin-top:auto;width:100%}

/* onglets pilule */
.mgs-tabs{display:flex;flex-wrap:wrap;gap:.5em;margin-bottom:1.5em}
.mgs-tab{border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);font-weight:700;text-transform:uppercase;letter-spacing:.04em;font-size:.8em;padding:.7em 1.3em;cursor:pointer;transition:.3s var(--elastic-ease-out);min-height:44px}
.mgs-tab:hover{transform:translateY(-.125em)}
.mgs-tab.is--active{background:var(--color--dark);color:var(--color--light)}

/* pastilles statut */
.mgs-status{display:inline-flex;align-items:center;gap:.4em;border:.125em solid var(--color--dark);border-radius:100em;font-size:.7em;font-weight:800;text-transform:uppercase;letter-spacing:.06em;padding:.4em .9em}
.mgs-status .bold-ic{width:1.1em;height:1.1em}
.mgs-status--done{background:var(--color--green-700)}
/* UX-L9 : le blanc sur blue-700 tombait a 2,65:1 ; le texte herite l encre (7,1:1), comme les autres pastilles */
.mgs-status--progress{background:var(--color--blue-700)}
.mgs-status--pending{background:var(--color--yellow-700)}
.mgs-status--cancel{background:var(--color--light)}
.mgs-status--refund{background:var(--color--violet-700)}

/* stats */
.mgs-stat{border:.125em solid var(--color--dark);border-radius:1.25em;padding:1.25em;background:var(--color--light);display:flex;flex-direction:column;gap:.3em}
.mgs-stat__n{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:3em;line-height:.85}
/* Squelette de chiffre pendant le chargement (éclipse la valeur, jamais un « 0 »
   flashé). currentColor = sûr en clair comme en sombre. */
.mgs-skel{display:inline-block;width:58%;height:.62em;border-radius:.35em;background:currentColor;animation:mgsSkel 1.1s ease-in-out infinite}
@keyframes mgsSkel{0%,100%{opacity:.18}50%{opacity:.38}}
/* admin : grille 5 cartes + panneau graphe / top produits (REF pages/admin/AdminDashboard.js) */
.mgs-grid.mgs-grid--5{display:grid;grid-template-columns:repeat(5,1fr);gap:1em}
.mgs-grid.mgs-grid--2b{display:grid;grid-template-columns:1.4fr 1fr;gap:1.5em}
.mgs-admin-big{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:2.4em;line-height:1;margin:.2em 0 0}
.mgs-bars{display:flex;align-items:flex-end;gap:.35em;margin-top:1em}
.mgs-bars__col{flex:1;display:flex;flex-direction:column;justify-content:flex-end;height:12em}
.mgs-bars__bar{background:var(--color--yellow-700);border:.125em solid var(--color--dark);border-bottom:0;min-height:.15em}
.mgs-bars__x{font-size:.62em;text-align:center;opacity:.6;padding-top:.3em}
@media(max-width:991px){.mgs-grid.mgs-grid--5{grid-template-columns:repeat(2,1fr)}.mgs-grid.mgs-grid--2b{grid-template-columns:1fr}}
.mgs-chip[data-sec]{cursor:pointer}
.mgs-chip.is--active{background:var(--color--dark);color:var(--color--light)}
/* admin : sidebar fixe à gauche (REF AdminLayout.js) — chips en dessous de 1024px */
.mgs-admin-grid{display:grid;grid-template-columns:1fr}
.mgs-admin-main{min-width:0}
.mgs-admin-side{display:none}
.mgs-admin-side-inner{border:.125em solid var(--color--dark);border-radius:1em;background:var(--color--light);padding:.7em}
.mgs-admin-group+.mgs-admin-group{margin-top:1.1em}
.mgs-admin-group-t{font-size:.62em;text-transform:uppercase;letter-spacing:.1em;opacity:.6;margin:0 0 .4em;padding-left:.8em}
.mgs-admin-nav-item{display:flex;align-items:center;min-height:2.5em;padding:0 .8em;border-radius:.6em;font-size:.8em;font-weight:700;color:var(--color--dark);text-decoration:none}
.mgs-admin-nav-item:hover{background:rgba(0,0,0,.06)}
.mgs-admin-nav-item.is--active{background:var(--color--dark);color:var(--color--light)}
.mgs-admin-acts{white-space:nowrap}
.mgs-admin-acts .mgs-chip{font-size:.68em;padding:.2em .55em;cursor:pointer;margin-right:.2em}
.mgs-admin-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.8em;border-bottom:.09em solid var(--color--dark);padding-bottom:.7em;margin-bottom:1em}
.mgs-games-grid{display:grid;grid-template-columns:1fr;gap:.8em}
@media(min-width:640px){.mgs-games-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.mgs-games-grid{grid-template-columns:1fr 1fr 1fr}}
.mgs-game-card{display:flex;align-items:center;gap:.7em;border:.09em solid var(--color--dark);border-radius:1em;padding:.7em;min-width:0;background:var(--color--light)}
.mgs-game-card.is--off{opacity:.55;border-style:dashed}
.mgs-game-card__ico{display:flex;align-items:center;justify-content:center;width:2.6em;height:2.6em;border-radius:999px;background:var(--color--dark);color:var(--color--light);overflow:hidden;flex:0 0 auto}
.mgs-game-card__ico img{width:100%;height:100%;object-fit:cover}
.mgs-game-card__b{min-width:0;flex:1}
.mgs-game-card__n{font-weight:700;font-size:.85em;margin:0;overflow-wrap:anywhere}
.mgs-game-card__a{display:flex;flex-direction:column;gap:.3em;flex:0 0 auto}
.mgs-modal{position:fixed;inset:0;z-index:80;display:none;align-items:flex-start;justify-content:center;overflow-y:auto;background:rgba(0,0,0,.55);padding:1.5em 1em}
.mgs-modal.is--open{display:flex}
.mgs-modal__box{background:var(--color--light);border:.125em solid var(--color--dark);border-radius:1.2em;width:min(46em,100%);padding:1.2em;margin:auto}
.mgs-modal__t{font-family:var(--font--display);font-size:1.1em;font-weight:800;margin:0 0 .8em}
.mgs-form{display:grid;grid-template-columns:1fr;gap:.8em}
@media(min-width:640px){.mgs-form{grid-template-columns:1fr 1fr}}
.mgs-form label{display:block;font-size:.68em;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.mgs-form input,.mgs-form textarea{width:100%;margin-top:.35em;padding:.55em .7em;border:.09em solid var(--color--dark);border-radius:.5em;background:#fff;font:inherit;font-size:.85em;text-transform:none;letter-spacing:0}
.mgs-form textarea{min-height:4em;resize:vertical}
.mgs-form .is--full{grid-column:1/-1}
.mgs-form__hint{display:block;margin-top:.3em;font-size:.62em;font-weight:400;opacity:.7;text-transform:none;letter-spacing:0}
.mgs-form__rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(5.5em,1fr));gap:.35em;align-items:end}
.mgs-form__rows input{margin-top:0}
.mgs-form__rows .is--del{justify-self:end}
.mgs-form select{width:100%;margin-top:.35em;padding:.55em .7em;border:.09em solid var(--color--dark);border-radius:.5em;background:#fff;font:inherit;font-size:.85em}
.mgs-cat-bar{border:.09em solid var(--color--dark);border-radius:1em;padding:.8em;background:var(--color--light)}
.mgs-gtabs{display:flex;gap:.4em;overflow-x:auto;margin-top:.6em;padding-bottom:.2em}
.mgs-gtab{flex:0 0 auto;display:inline-flex;align-items:center;gap:.3em;border:.09em solid var(--color--dark);background:var(--color--light);color:var(--color--dark);padding:.5em .8em;font-size:.62em;font-weight:800;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;border-radius:0}
.mgs-gtab.is--active{background:var(--color--dark);color:var(--color--light)}
.mgs-cat-tools{display:flex;flex-wrap:wrap;gap:.6em;align-items:center;justify-content:space-between;margin-top:1em}
.mgs-cat-tools input{width:100%;max-width:18em;padding:.5em .8em;border:.09em solid var(--color--dark);border-radius:999px;background:#fff;font:inherit;font-size:.8em}
.mgs-apgrid{display:grid;grid-template-columns:1fr;gap:.7em;margin-top:1em}
@media(min-width:640px){.mgs-apgrid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.mgs-apgrid{grid-template-columns:1fr 1fr 1fr}}
.mgs-apcard{display:flex;align-items:center;gap:.6em;border:.09em solid var(--color--dark);background:var(--color--light);padding:.65em;border-radius:0;min-width:0}
.mgs-apcard.is--off{border-style:dashed;opacity:.6}
.mgs-apcard__b{min-width:0;flex:1}
.mgs-apcard__n{font-family:var(--font--display);font-weight:800;font-size:.82em;margin:0;overflow-wrap:anywhere;line-height:1.2}
.mgs-apcard__m{display:flex;flex-wrap:wrap;align-items:center;gap:.35em;margin:.35em 0 0;font-size:.64em}
.mgs-apcard__type{border:.09em solid currentColor;border-radius:999px;padding:.1em .5em;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.8}
.mgs-apcard__price{font-weight:800}
.mgs-apcard__star{background:var(--color--dark);color:var(--color--light);border-radius:999px;padding:0 .35em;font-weight:800}
.mgs-apcard__state{border:.09em solid currentColor;border-radius:999px;padding:.1em .5em;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.mgs-apcard__a{display:flex;flex-direction:column;gap:.25em;flex:0 0 auto}
.mgs-seasons{border:.09em solid var(--color--dark);border-radius:1em;padding:.8em;margin-top:1em;background:var(--color--light)}
.mgs-seasons h3{margin:0;font-family:var(--font--display);font-size:.95em;font-weight:800}
.mgs-seasons form{display:flex;flex-wrap:wrap;gap:.4em;margin-top:.6em}
.mgs-seasons input{flex:1 1 10em;padding:.5em .7em;border:.09em solid var(--color--dark);border-radius:.5em;background:#fff;font:inherit;font-size:.8em}
.mgs-seasons__list{display:flex;flex-wrap:wrap;gap:.35em;margin-top:.6em}
.mgs-season{border:.09em solid var(--color--dark);border-radius:999px;padding:.2em .7em;font-size:.66em;font-weight:700}
.mgs-season.is--on{background:var(--color--dark);color:var(--color--light)}
.mgs-season button{border:0;background:none;font:inherit;color:inherit;text-decoration:underline;cursor:pointer;padding:0 0 0 .3em}
.mgs-evgrid{display:grid;grid-template-columns:1fr;gap:.7em}
@media(min-width:768px){.mgs-evgrid{grid-template-columns:1fr 1fr}}
.mgs-evcard{display:flex;align-items:center;gap:.6em;border:.09em solid var(--color--dark);background:var(--color--light);padding:.6em;border-radius:.8em;min-width:0}
.mgs-evcard__b{display:flex;align-items:center;gap:.6em;min-width:0;flex:1}
.mgs-evcard__img{width:3.4em;height:2.4em;object-fit:cover;border-radius:.5em;flex:0 0 auto}
.mgs-evcard__t{margin:0;font-family:var(--font--display);font-weight:800;font-size:.8em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgs-evcard__a{display:flex;flex-direction:column;gap:.25em;flex:0 0 auto}
.mgs-payrow{display:flex;align-items:flex-start;justify-content:space-between;gap:.7em;border-top:.09em solid rgba(0,0,0,.18);padding:.7em 0}
.mgs-payrow__t{margin:0;font-family:var(--font--display);font-weight:800;font-size:.78em;line-height:1.25}
.mgs-payrow__badge{border:.09em solid currentColor;border-radius:999px;padding:.1em .5em;font-size:.6em;font-weight:800;text-transform:uppercase;letter-spacing:.06em;align-self:flex-start}
.mgs-fee{border:.09em solid var(--color--dark);border-radius:.7em;padding:.6em;margin-top:.5em}
.mgs-fee__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.4em}
.mgs-fee__grid label{font-size:.62em;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.mgs-fee__grid input{width:100%;margin-top:.25em;padding:.4em .5em;border:.09em solid var(--color--dark);border-radius:.4em;background:#fff;font:inherit;font-size:.85em}
.mgs-wallet{display:grid;grid-template-columns:1fr;gap:.35em;border-top:.06em solid rgba(0,0,0,.15);padding:.5em 0}
@media(min-width:768px){.mgs-wallet{grid-template-columns:6em 1fr 10em auto;align-items:center}}
.mgs-wallet input:not([type="checkbox"]){width:100%;padding:.45em .55em;border:.09em solid var(--color--dark);border-radius:.4em;background:#fff;font:inherit;font-size:.72em}
.mgs-wallet__n{margin:0;font-weight:800;font-size:.72em}
.mgs-wallet__code{display:block;font-weight:400;font-size:.85em;opacity:.65}
.mgs-form__box{border:.09em solid var(--color--dark);border-radius:.8em;padding:.7em;grid-column:1/-1}
.mgs-form__box-t{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4em;font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.mgs-form__empty{margin:.4em 0 0;font-size:.72em;opacity:.75}
.mgs-ready{list-style:none;margin:.4em 0 0;padding:0;font-size:.66em;text-transform:none;letter-spacing:0;font-weight:400}
.mgs-ready li{margin:.15em 0}
.mgs-ready .is--ok{color:#1a7f37}.mgs-ready .is--no{color:#b42318}
@media(min-width:1024px){.mgs-admin-grid{grid-template-columns:240px minmax(0,1fr);gap:2em;align-items:start}.mgs-admin-side{display:block;position:sticky;top:5.5em;max-height:calc(100dvh - 6.5em);overflow:auto}#admin-subnav{display:none}}
.mgs-stat__l{font-size:.75em;font-weight:700;text-transform:uppercase;letter-spacing:.08em;opacity:.65}

/* table */
.mgs-table{width:100%;border-collapse:collapse;font-size:.9em}
.mgs-table th{text-align:left;font-size:.7em;text-transform:uppercase;letter-spacing:.08em;opacity:.6;padding:.6em .8em;border-bottom:.125em solid var(--color--dark)}
.mgs-table td{padding:.8em;border-bottom:.08em solid rgba(0,0,0,.15);vertical-align:middle}
.mgs-table tr:hover td{background:var(--color--yellow-100)}

/* timeline commande */
.mgs-timeline{display:flex;flex-direction:column;gap:0}
.mgs-step{display:flex;gap:1em;position:relative;padding-bottom:1.5em}
.mgs-step:last-child{padding-bottom:0}
.mgs-step__dot{flex:none;width:2.2em;height:2.2em;border-radius:100em;border:.125em solid var(--color--dark);display:flex;align-items:center;justify-content:center;background:var(--color--light);z-index:1}
.mgs-step__dot .bold-ic{width:1.1em;height:1.1em}
.mgs-step.is--done .mgs-step__dot{background:var(--color--green-700)}
.mgs-step.is--current .mgs-step__dot{background:var(--color--yellow-700)}
.mgs-step:not(:last-child)::before{content:'';position:absolute;left:1.05em;top:2.2em;bottom:0;width:.125em;background:var(--color--dark);opacity:.3}
.mgs-step__t{font-weight:700;font-size:1em;margin:0}
.mgs-step__d{font-size:.8em;opacity:.65;margin:.15em 0 0}

/* champs formulaire */
.mgs-field{display:flex;flex-direction:column;gap:.4em;margin-bottom:1em}
.mgs-field label{font-weight:700;font-size:.8em;text-transform:uppercase;letter-spacing:.05em}
.mgs-input{border:.125em solid var(--color--dark);background:var(--color--light);color:var(--color--dark);height:3.2em;border-radius:100em;padding:0 1.2em;font-size:.95em;font-family:'Onest',Arial,sans-serif;width:100%}
@media (max-width:767px){.mgs-input{font-size:16px}}
.mgs-input:focus{outline:none}
.mgs-input:focus-visible{box-shadow:0 0 0 .2em var(--color--yellow-700)}
textarea.mgs-input{height:auto;min-height:6em;border-radius:1.25em;padding:1em 1.2em;resize:vertical}
.mgs-help{font-size:.75em;opacity:.6}

/* buy bar mobile */
.mgs-buybar{position:sticky;bottom:1em;display:flex;align-items:center;justify-content:space-between;gap:1em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);padding:.6em .6em .6em 1.3em;box-shadow:0 .5em 1.5em rgba(0,0,0,.2);margin-top:2em}

/* breadcrumb */
.mgs-crumb{display:flex;align-items:center;gap:.5em;font-size:.8em;font-weight:600;text-transform:uppercase;letter-spacing:.05em;opacity:.7;margin-bottom:1.25em}
.mgs-crumb a:hover{opacity:1;text-decoration:underline}
.mgs-crumb a{position:relative}
.mgs-crumb a::after{content:"";position:absolute;left:50%;top:50%;width:100%;min-width:44px;height:44px;transform:translate(-50%,-50%)}

/* divers */
.mgs-empty{border:.125em dashed var(--color--dark);border-radius:1.5em;padding:3em 1.5em;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1em}
.mgs-empty .bold-ic{width:2.5em;height:2.5em;opacity:.5}
.mgs-boutique-catalog .mgs-empty,.mgs-cmd-empty{border:0;padding:1.5em 1em;justify-content:center;width:fit-content;max-width:100%;margin-inline:auto;justify-self:center;grid-column:1/-1}
.mgs-divider{height:.125em;background:var(--color--dark);opacity:.15;margin:1.5em 0;border:0}
.mgs-kv{display:flex;justify-content:space-between;gap:1em;padding:.5em 0;font-size:.9em;border-bottom:.08em solid rgba(0,0,0,.12)}
.mgs-kv:last-child{border-bottom:0}
.mgs-kv span:first-child{opacity:.65}
.mgs-kv span:last-child{font-weight:700}
.mgs-avatar{width:3.5em;height:3.5em;border-radius:100em;border:.125em solid var(--color--dark);background:var(--color--yellow-700);display:flex;align-items:center;justify-content:center;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.4em;flex:none}
.mgs-list{display:flex;flex-direction:column;gap:.6em}
.mgs-list-item{display:flex;align-items:center;gap:1em;border:.125em solid var(--color--dark);border-radius:1em;padding:1em;background:var(--color--light);transition:.3s var(--elastic-ease-out)}
.mgs-list-item:hover{transform:translateX(.25em);box-shadow:.3em .3em 0 var(--color--dark)}
.mgs-list-item .bold-ic{width:1.5em;height:1.5em;flex:none}

/* responsive */
@media (max-width:991px){
  .mgs-grid{grid-template-columns:repeat(3,1fr)}
  .mgs-title{font-size:3.5em}
}
@media (max-width:767px){
  .mgs-shell{padding-top:6em;padding-bottom:2em}
  .mgs-grid,.mgs-grid--3{grid-template-columns:repeat(2,1fr)}
  .mgs-title{font-size:2.6em}
  .mgs-sub{font-size:1.05em}
  .mgs-panel{padding:1.1em;border-radius:1.25em}
  .mgs-game__media{height:7em}
  .mgs-stat__n{font-size:2.2em}
  .mgs-table{font-size:.78em}
  .mgs-table th,.mgs-table td{padding:.5em .4em}
}
@media (max-width:479px){
  .mgs-grid--2{grid-template-columns:1fr}
  .mgs-buybar{flex-wrap:wrap}
}

/* Boutique : densité des cartes de jeu (50+ jeux) — vignettes réduites,
   sans toucher aux cartes produits (.mgs-card) ni aux autres grilles. */
.mgs-boutique-games .mgs-grid--2{grid-template-columns:repeat(6,1fr);gap:1em}
.mgs-boutique-games .mgs-game{border-radius:1.8em}
.mgs-boutique-games .mgs-game__media{height:3.5em;margin:.6em .6em 0;border-bottom:0;border-radius:1.4em;overflow:hidden}
.mgs-boutique-games .mgs-game__media .bold-ic{width:1.9em;height:1.9em}
.mgs-boutique-games .mgs-game__body{padding:.5em;gap:.2em}
.mgs-boutique-games .mgs-game__name{font-size:1.15em;line-height:1}
.mgs-boutique-games .mgs-game__desc{font-size:.75em}
.mgs-boutique-games .mgs-game__platform{margin:0;font-size:.55em;line-height:1;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.65}
.mgs-boutique-games .mgs-game__platform[hidden],.mgs-boutique-games .mgs-game__rating[hidden],.mgs-boutique-games .mgs-game__price[hidden],.mgs-boutique-games .mgs-game__tag[hidden]{display:none}
.mgs-boutique-games .mgs-game__rating{display:flex;align-items:center;gap:.35em;margin-top:auto;font-size:.65em;font-weight:700}
.mgs-boutique-games .mgs-game__rating .bold-ic{width:1em;height:1em;color:var(--color--yellow-700);fill:currentColor}
.mgs-boutique-games .mgs-game__price{display:flex;align-items:baseline;flex-wrap:wrap;gap:.4em;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1em}
.mgs-boutique-games .mgs-game__old{font-family:'Onest',Arial,sans-serif;font-size:.62em;font-weight:600;opacity:.55;text-decoration:line-through}
.mgs-boutique-games .mgs-game__discount{background:var(--color--blue-100);border:.125em solid var(--color--dark);border-radius:100em;font-family:'Onest',Arial,sans-serif;font-size:.6em;font-weight:800;padding:.1em .5em}
@media (min-width:992px){.mgs-boutique-games .mgs-game{aspect-ratio:2/3}.mgs-boutique-games .mgs-game__media{height:62%;flex:none}}
@media (max-width:1199px){.mgs-boutique-games .mgs-grid--2{grid-template-columns:repeat(5,1fr)}}
@media (max-width:991px){.mgs-boutique-games .mgs-grid--2{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){.mgs-boutique-games .mgs-grid--2{grid-template-columns:repeat(2,1fr)}}

/* ===== Correctifs MGS pages : surface blanche (body du template = noir), taille des icônes ===== */
.mgs-page.is--active:not([data-page="accueil"]){background:var(--color--light);color:var(--color--dark)}
.mgs-page .bold-ic{width:1.25em;height:1.25em;flex:none}
.mgs-crumb .bold-ic{width:1em;height:1em;opacity:.5}
.mgs-card__media .bold-ic{width:42%;height:42%}
.mgs-game__media .bold-ic{width:3.4em;height:3.4em}
.mgs-step__dot .bold-ic{width:1.1em;height:1.1em}
.mgs-status .bold-ic{width:1.1em;height:1.1em}
.mgs-list-item .bold-ic{width:1.5em;height:1.5em}
.mgs-empty .bold-ic{width:2.5em;height:2.5em}
.mgs-panel > .bold-ic{width:2em;height:2em}
.mgs-stat .bold-ic{width:1.5em;height:1.5em}
.mgs-row .bold-ic{width:1.15em;height:1.15em}
.mgs-buybar .bold-ic{width:1.25em;height:1.25em}

/* dégagement sous le bottom-nav fixe pour le contenu des pages internes (mobile) */
@media (max-width:991px){ .mgs-page:not([data-page="accueil"]) .mgs-shell{padding-bottom:6em} }

/* page paiement */
.mgs-pay{display:flex;align-items:center;gap:1em;border:.125em solid var(--color--dark);border-radius:1em;padding:1em;background:var(--color--light);cursor:pointer;transition:.3s var(--elastic-ease-out);width:100%;text-align:left;color:var(--color--dark)}
.mgs-pay:hover{transform:translateX(.2em)}
.mgs-pay.is--active{background:var(--color--yellow-700)}
.mgs-pay__ic{flex:none;width:2.6em;height:2.6em;border-radius:.7em;border:.125em solid var(--color--dark);display:flex;align-items:center;justify-content:center;background:var(--color--light)}
.mgs-pay__ic .bold-ic{width:1.4em;height:1.4em}
.mgs-pay__n{font-weight:800;font-size:1em;margin:0}
.mgs-pay__d{font-size:.78em;opacity:.65;margin:.1em 0 0}
.mgs-pay__radio{flex:none;width:1.4em;height:1.4em;border-radius:100em;border:.125em solid var(--color--dark);margin-left:auto;display:flex;align-items:center;justify-content:center}
.mgs-pay.is--active .mgs-pay__radio{background:var(--color--dark)}
.mgs-pay.is--active .mgs-pay__radio .bold-ic{width:.8em;height:.8em;color:var(--color--light)}
.mgs-table th:last-child,.mgs-table td:last-child{text-align:right}

.mgs-game{cursor:pointer}
.mgs-order{cursor:pointer}
.mgs-search{position:relative;display:flex;align-items:center;min-width:16em}
.mgs-search .mgs-input{padding-right:3em}
.mgs-search .bold-ic{position:absolute;right:1.1em;width:1.2em;height:1.2em;opacity:.55;pointer-events:none}
.mgs-cmd-actions{gap:.75em}
.mgs-cmd-actions .button-main{flex:1 1 0;min-width:0}
.mgs-back-games,.mgs-back-list{display:inline-flex;align-items:center;gap:.4em;cursor:pointer}
.mgs-back-games .bold-ic,.mgs-back-list .bold-ic{width:1em;height:1em}
@media (max-width:767px){.mgs-search{min-width:100%;order:2}.mgs-cmd-actions{flex-direction:column}.mgs-cmd-actions .button-main{width:100%}}

/* correctifs : hidden prioritaire (l'état vide .mgs-empty a display:flex), contraste nav actif, lisibilité prix */
[hidden]{display:none !important}
.nav-inner-li .button-main.w--current .button-main-inner__text{color:var(--color--dark)}
.nav-inner-li .button-main.w--current .button-main-inner__back{color:var(--color--dark)}
.mgs-price{letter-spacing:.01em}

/* ===== Carte catalogue fidèle au site déployé (ProductCard) : montant vedette, badge, cœur, pastille prix + stepper ===== */
.mgs-pcard{position:relative;border:.125em solid var(--color--dark);border-radius:1.75em;background:var(--color--light);padding:.85em;display:flex;flex-direction:column;color:var(--color--dark);transition:transform .4s var(--elastic-ease-out),box-shadow .4s var(--elastic-ease-out);min-width:0;width:100%;aspect-ratio:1/1;max-width:11em;margin-inline:auto}
.mgs-pcard:hover{transform:translateY(-.3em);box-shadow:.4em .4em 0 var(--color--dark)}
.mgs-pcard__link{position:absolute;inset:0;z-index:0;border-radius:1.75em}
.mgs-pcard__top{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:.5em;min-height:2.2em}
.mgs-pcard__badge{display:inline-flex;align-items:center;gap:.35em;border:.1em solid var(--color--dark);border-radius:100em;background:var(--color--yellow-100);padding:.3em .65em;font-size:.5em;font-weight:800;text-transform:uppercase;letter-spacing:.08em;line-height:1}
.mgs-pcard__badge .bold-ic{width:1.1em;height:1.1em}
.mgs-pcard__badge--disc{background:var(--color--yellow-700)}
.mgs-pcard__figure{position:relative;z-index:1;margin:.3em 0 0;display:flex;align-items:baseline;gap:.12em;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;letter-spacing:-.03em;line-height:.85}
.mgs-pcard__amount{font-size:2.1em}
.mgs-pcard__amount.is--long{font-size:1.7em}
.mgs-pcard__unit{font-family:'Onest',Arial,sans-serif;font-size:.7em;font-weight:700;text-transform:uppercase;letter-spacing:0;opacity:.6}
.mgs-pcard__cat{position:relative;z-index:1;margin:.5em 0 0;font-size:.5em;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.6}
.mgs-pcard__title{position:relative;z-index:1;margin:.12em 0 0;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;text-transform:uppercase;font-size:1.05em;line-height:.9}
.mgs-pcard__bottom{position:relative;z-index:1;margin-top:auto;padding-top:.7em}
.mgs-pcard__old{display:flex;align-items:center;gap:.5em;padding-bottom:.35em;font-size:.7em}
.mgs-pcard__old s{opacity:.55;font-weight:600}
/* /boutique : l'espacement demandé est ENTRE les cartes (gap), pas dans la carte —
   le `min-height:21em` qui creusait un vide au milieu est supprimé. Cartes et
   textes réduits (feedback propriétaire). */
.mgs-boutique-catalog .mgs-grid{gap:1.5em}
@media(min-width:992px){.mgs-boutique-catalog .mgs-grid{gap:2em}}
/* Fil de fer des cartes pendant la charge : gabarit structurel (.mgs-skel),
   pas la carte de démo vidée de son texte. */
.mgs-pcard--skel{padding:.85em;display:flex;flex-direction:column;gap:.65em}
.mgs-pcard--skel .mgs-skel{display:block;width:100%;height:.6em}
.mgs-pcard--skel .mgs-skel--badge{width:34%;height:1.5em;border-radius:100em}
.mgs-pcard--skel .mgs-skel--amount{width:58%;height:2.4em}
.mgs-pcard--skel .mgs-skel--line{width:42%}
.mgs-pcard--skel .mgs-skel--pill{height:3.1em;border-radius:100em;margin-top:auto}
.mgs-pill{display:flex;align-items:center;justify-content:space-between;gap:.4em;height:3.1em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);padding:.3em .35em .3em 1.1em;transition:background .25s}
.mgs-pill__price{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1em;white-space:nowrap;line-height:1}
.mgs-pill__add{flex:none;width:2.75em;height:2.75em;border-radius:100em;background:var(--color--dark);color:var(--color--light);display:grid;place-items:center;cursor:pointer;transition:.2s}
.mgs-pill__add .bold-ic{width:1.3em;height:1.3em}
.mgs-pill__add:hover{transform:scale(1.07)}
.mgs-stepper{display:none;align-items:center;justify-content:space-between;width:100%;gap:.3em}
.mgs-stepper__btn{flex:none;width:2.75em;height:2.75em;border-radius:100em;background:var(--color--yellow-700);color:var(--color--dark);display:grid;place-items:center;cursor:pointer;transition:.2s}
.mgs-stepper__btn .bold-ic{width:1.3em;height:1.3em}
.mgs-stepper__btn:hover{transform:scale(1.07)}
.mgs-stepper__btn:disabled{opacity:.4;cursor:default}
.mgs-stepper__qty{flex:1;text-align:center;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.3em;color:var(--color--yellow-700);line-height:1}
.mgs-pill.is--incart{background:var(--color--dark);padding:.35em}
.mgs-pill.is--incart .mgs-pill__price,.mgs-pill.is--incart .mgs-pill__add{display:none}
.mgs-pill.is--incart .mgs-stepper{display:flex}

/* ===== COMPTE : paramètres de profil (rangées expandables) ===== */
.mgs-profile-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3em;margin-bottom:2em}
.mgs-profile-av{position:relative;width:6em;height:6em;border-radius:100em;border:.125em solid var(--color--dark);background:var(--color--yellow-700);display:flex;align-items:center;justify-content:center;font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:2.4em}
.mgs-profile-av .mgs-lock{position:absolute;bottom:-.2em;right:-.2em;width:1.6em;height:1.6em;border-radius:100em;border:.125em solid var(--color--dark);background:var(--color--dark);color:var(--color--light);display:grid;place-items:center}
.mgs-profile-av .mgs-lock .bold-ic{width:.8em;height:.8em}
.mgs-set-section{margin-bottom:1.75em}
.mgs-set-section > .eyebrow{font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.75em;opacity:.6;margin:0 0 .6em .2em}
.mgs-set{border:.125em solid var(--color--dark);border-radius:1.25em;background:var(--color--light);overflow:hidden}
.mgs-set-row{display:flex;align-items:center;gap:.9em;width:100%;padding:1em 1.1em;background:none;text-align:left;cursor:pointer;color:var(--color--dark);border-top:.08em solid rgba(0,0,0,.12);min-height:3.4em}
.mgs-set .mgs-set-row:first-child{border-top:0}
.mgs-set-row .bold-ic{width:1.4em;height:1.4em;flex:none}
.mgs-set-row:hover{background:var(--color--yellow-100)}
.mgs-set-label{flex:1;min-width:0;font-weight:700;font-size:.95em}
.mgs-set-helper{display:block;font-weight:400;font-size:.78em;opacity:.6;margin-top:.1em}
.mgs-set-trail{flex:none;display:flex;align-items:center;gap:.4em}
.mgs-set-trail .bold-ic{width:1.1em;height:1.1em;transition:transform .3s}
.mgs-set-row[aria-expanded="true"] .mgs-set-trail .bold-ic{transform:rotate(90deg)}
.mgs-set-tag{border:.1em solid var(--color--dark);border-radius:.5em;padding:.2em .5em;font-size:.65em;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.mgs-set-row.is--danger{color:#d33}
.mgs-set-block{border-top:.08em solid rgba(0,0,0,.12);background:var(--color--yellow-100);padding:1.1em}
.mgs-set-block .mgs-field{margin-bottom:.8em}

/* ===== CONNEXION plein écran focalisé + fond animé ===== */
body:not([data-page="accueil"]) .footer{display:none !important}
body[data-page="connexion"] .nav-w,body[data-page="connexion"] .bottom-nav-w{display:none !important}
body[data-page="connexion"] .main-w{padding-bottom:0}
.mgs-auth{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2em 1.25em;overflow:hidden}
.mgs-auth-bg{position:absolute;inset:0;z-index:0;pointer-events:none}
.mgs-auth-bg .bold-ic{position:absolute;opacity:.14;color:var(--color--dark)}
.mgs-auth-bg .mgs-doodle{position:absolute;opacity:.18;color:var(--color--dark)}
.mgs-auth-card{position:relative;z-index:1;width:100%;max-width:27em}
@keyframes mgsDrift{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -1.2em;rotate:6deg}}
@keyframes mgsDrift2{0%,100%{translate:0 0;rotate:0deg}50%{translate:.8em .6em;rotate:-8deg}}
@keyframes mgsSpin{to{rotate:360deg}}
.mgs-auth-bg .f1{animation:mgsDrift 6s ease-in-out infinite}
.mgs-auth-bg .f2{animation:mgsDrift2 7s ease-in-out infinite}
.mgs-auth-bg .f3{animation:mgsDrift 8s ease-in-out infinite}
.mgs-auth-bg .spin{animation:mgsSpin 24s linear infinite}
@media (prefers-reduced-motion:reduce){.mgs-auth-bg .bold-ic,.mgs-auth-bg .mgs-doodle{animation:none !important}}

.mgs-pref{display:flex;align-items:center;justify-content:space-between;gap:1em;padding:.7em 0;border-bottom:.08em solid rgba(0,0,0,.12)}
.mgs-pref:last-child{border-bottom:0}
.mgs-pref-l{display:inline-flex;align-items:center;gap:.6em;font-weight:700}
.mgs-pref-l .bold-ic{width:1.3em;height:1.3em}
.mgs-tag-toggle{border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.72em;padding:.5em 1.1em;cursor:pointer;transition:.2s;min-width:4.5em}
.mgs-tag-toggle:hover{background:var(--color--yellow-700)}
.mgs-tag-toggle{position:relative}
.mgs-tag-toggle::after{content:"";position:absolute;left:50%;top:50%;width:100%;min-width:44px;height:44px;transform:translate(-50%,-50%)}

/* Polices de marque : Bricolage Grotesque (display) + Onest (texte) — woff2 variables self-hosted, latin */
@font-face{font-family:"Bricolage Grotesque";src:url(fonts/bricolage-grotesque-var.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Onest";src:url(fonts/onest-var.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* Échelle display adaptée à Bricolage Grotesque (plus large que Lateral condensée) */
.h-d{font-size:8em;line-height:.92}
.h-l{font-size:6.5em;line-height:.92}
.h-m{font-size:3em;line-height:.95}
.h-sm{font-size:2.2em;white-space:normal !important;overflow-wrap:break-word}
.title-row .h-sm,.logo-section-content .h-sm{width:100%;max-width:100%;align-self:stretch}
@media (max-width:767px){.h-d{font-size:4.5em}.h-l{font-size:3.8em}.h-m{font-size:2.2em}.h-sm{font-size:2em}.xs--h-ml{font-size:3.8em}.content-container{padding-left:1.5em;padding-right:1.5em}}
@media (max-width:479px){.h-d{font-size:3em}.h-l{font-size:2.6em}.h-sm{font-size:1.7em}.xs--h-ml{font-size:2.6em}.h-l.xs--h-ml{font-size:2.6em}.content-container{padding-left:1.1em;padding-right:1.1em}}
/* Correctif accueil : seules les colonnes de texte de la grille d'accueil
   passent à une valeur d'échelle déjà présente dans cette feuille. */
.two-col-grid__text h2.h-l{font-size:3em;line-height:.95}
.two-col-grid__text p.h-s{font-size:1.5em}
@media (max-width:767px){.two-col-grid__text h2.h-l{font-size:2.2em}.two-col-grid__text p.h-s{font-size:1.25em}}
@media (max-width:479px){.two-col-grid__text h2.h-l{font-size:1.7em}.two-col-grid__text p.h-s{font-size:1em}}

/* CTA hero desktop : taille standard comme les autres CTA */
@media (min-width:992px){
  .button-row .download-button{height:3.2em;padding-left:1.4em;padding-right:1.4em;grid-column-gap:.5em}
  .button-row .download-button__logo{width:1.6em;height:1.6em}
  .button-row .button-main-inner__text{font-size:.95em}
}
/* NAV desktop : points fidélité + actions compte/panier bold */
.nav-desktop-actions{display:none}
.nav-points-pill{display:none}
.nav-avatar-d{display:none}
@media (min-width:992px){
  .nav-desktop-actions{display:flex;align-items:center;grid-column-gap:var(--gap-xxs)}
  .nav-points-pill{display:inline-flex;align-items:center;gap:.5em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);padding:.5em 1.15em;font-weight:700;font-size:.85em;min-height:2.9em;white-space:nowrap;transition:.3s var(--elastic-ease-out)}
  .nav-points-pill:hover{background:var(--color--yellow-700);transform:translateY(-.125em)}
  .nav-points-pill .bold-ic{width:1.3em;height:1.3em}
  .nav-points-pill .pts-n{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.15em}
  /* Photo de profil : à droite du chiffre des points (consigne du propriétaire) */
  .nav-avatar-d{display:inline-flex;width:2.9em;height:2.9em;border-radius:100em;border:.125em solid var(--color--dark);overflow:hidden;background:var(--color--light);padding:0;color:var(--color--dark);align-items:center;justify-content:center;text-align:center}
}
/* COMMANDES overview : carte 3 zones (concept déployé) style Slush */
.mgs-order-list{gap:.75em}
.mgs-order{display:grid;grid-template-columns:1fr auto auto;grid-template-areas:"main method right";align-items:center;gap:1.25em;border:.125em solid var(--color--dark);border-radius:1.1em;background:var(--color--light);padding:1em 1.25em;cursor:pointer;color:var(--color--dark);transition:transform .3s var(--elastic-ease-out),box-shadow .3s var(--elastic-ease-out)}
.mgs-order:hover{transform:translateY(-.2em);box-shadow:.3em .3em 0 var(--color--dark)}
.mgs-order__main{grid-area:main;min-width:0}
.mgs-order__title{font-weight:700;font-size:1em;margin:0;truncate:ellipsis;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgs-order__meta{display:flex;align-items:center;gap:.4em;font-size:.75em;opacity:.65;margin:.25em 0 0;flex-wrap:wrap}
.mgs-order__copy{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:.4em;color:var(--color--dark);opacity:.7;cursor:pointer;flex:none}
.mgs-order__copy:hover{opacity:1;background:var(--color--yellow-100)}
.mgs-order__copy .bold-ic{width:1em;height:1em}
.mgs-order__method{grid-area:method;font-size:.8em;font-weight:600;opacity:.7;white-space:nowrap}
.mgs-order__right{grid-area:right;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:.35em}
.mgs-order__price{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.2em;margin:0;line-height:1}
.mgs-order__right .mgs-status{font-size:.62em}
/* Fil de fer des lignes de commandes pendant la charge : titre + méta à gauche,
   prix + pastille de statut à droite (statut en fil de fer, quelle que soit sa
   valeur — en cours comme terminée). */
.mgs-order--skel .mgs-skel{display:block;height:.62em}
.mgs-order--skel .mgs-order__main{display:flex;flex-direction:column;gap:.5em}
.mgs-order--skel .mgs-skel--status{width:5.5em;height:1.9em;border-radius:100em}
@media (max-width:767px){
  .mgs-order{grid-template-columns:1fr auto;grid-template-areas:"main main" "method right";gap:.6em 1em;padding:.9em 1em}
  .mgs-order__method{align-self:end}
  .mgs-order__title{white-space:normal}
}

/* overview : méthode sur la ligne date/heure (2 zones) */
.mgs-order{grid-template-columns:1fr auto;grid-template-areas:"main right"}
.mgs-order__method{grid-area:auto;font-size:1em;font-weight:600;opacity:.85}
.mgs-order__meta .mgs-order__method{white-space:nowrap}
@media (max-width:767px){.mgs-order{grid-template-columns:1fr auto;grid-template-areas:"main right"}}
/* détail : colonne étroite + statut animé + reçu */
.mgs-cmd-detail{max-width:40em;margin:0 auto}
.mgs-detail-head{text-align:center;margin-bottom:1.25em}
.mgs-detail-total{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:2.6em;line-height:1;margin:.1em 0 0}
.mgs-status-hero{display:flex;flex-direction:column;align-items:center;gap:.6em;margin-bottom:1.5em}
.mgs-status-circle{width:5.5em;height:5.5em;border-radius:100em;display:grid;place-items:center;border:.125em solid var(--color--dark);animation:mgsPop .5s var(--elastic-ease-out) both}
.mgs-status-circle svg{width:62%;height:62%}
.mgs-sc--done{background:var(--color--green-700);color:var(--color--dark)}
.mgs-sc--cancel{background:var(--color--light);color:var(--color--dark)}
.mgs-sc--progress{background:var(--color--blue-700);color:var(--color--light)}
.mgs-sc-ring{stroke-dasharray:160;stroke-dashoffset:0;animation:mgsDrawRing .7s .1s ease backwards;opacity:.4}
.mgs-sc-path{stroke-dasharray:100;stroke-dashoffset:0;animation:mgsDrawPath .5s .45s ease backwards}
.mgs-status-hero .mgs-d-statuslabel{font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.95em;margin:0}
@keyframes mgsDrawRing{from{stroke-dashoffset:160}}
@keyframes mgsDrawPath{from{stroke-dashoffset:100}}
@keyframes mgsPop{0%{transform:scale(0)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.mgs-sc-ring,.mgs-sc-path,.mgs-status-circle{animation:none}}
.mgs-step.is--cancel .mgs-step__dot{background:var(--color--light);color:var(--color--dark)}
.mgs-cmd-actions{flex-wrap:wrap}
.mgs-cmd-actions .button-main{flex:1 1 12em}

/* ===== PANIER (drawer actif) ===== */
.mgs-cart-overlay{position:fixed;inset:0;background:rgba(17,17,17,.5);z-index:3000;opacity:0;transition:opacity .3s}
.mgs-cart-overlay.is--open{opacity:1}
.mgs-cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(26em,100%);background:var(--color--light);border-left:.125em solid var(--color--dark);z-index:3001;display:flex;flex-direction:column;padding:1.5em;color:var(--color--dark);transform:translateX(102%);transition:transform .45s var(--elastic-ease-out)}
.mgs-cart-drawer.is--open{transform:translateX(0)}
.mgs-cart-head{display:flex;align-items:center;justify-content:space-between}
.mgs-cart-head .eyebrow{font-size:.8em;font-weight:800;text-transform:uppercase;letter-spacing:.1em;margin:0}
.mgs-cart-close{width:2.4em;height:2.4em;border:.125em solid var(--color--dark);border-radius:100em;display:grid;place-items:center;background:var(--color--light);cursor:pointer}
.mgs-cart-close .bold-ic{width:1.1em;height:1.1em}
.mgs-cart-game{font-size:.72em;font-weight:700;letter-spacing:.08em;opacity:.6;margin:.8em 0 0}
.mgs-cart-items{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.7em;margin:1em 0}
.mgs-cart-item{display:flex;align-items:center;gap:.7em;border:.125em solid var(--color--dark);border-radius:.9em;padding:.7em}
.mgs-cart-item__info{flex:1;min-width:0}
.mgs-cart-item__name{font-weight:700;font-size:.9em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgs-cart-item__price{font-size:.78em;opacity:.65;margin:.15em 0 0}
.mgs-cart-item__qty{display:flex;align-items:center;gap:.4em;border:.125em solid var(--color--dark);border-radius:100em;padding:.2em .4em}
.mgs-cart-item__qty button{width:1.6em;height:1.6em;border-radius:100em;display:grid;place-items:center;font-weight:800;cursor:pointer;background:var(--color--light);color:var(--color--dark)}
.mgs-cart-item__qty button:hover{background:var(--color--yellow-700)}
.mgs-cart-item__qty span{min-width:1.2em;text-align:center;font-weight:700;font-size:.85em}
.mgs-cart-item__del{width:2em;height:2em;display:grid;place-items:center;border-radius:.5em;cursor:pointer;color:var(--color--dark);opacity:.6}
.mgs-cart-item__del:hover{opacity:1;background:var(--color--yellow-100)}
.mgs-cart-item__del .bold-ic{width:1.1em;height:1.1em}
.mgs-cart-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;opacity:.7}
.mgs-cart-shop{text-decoration:underline;font-weight:700}
.mgs-cart-foot{border-top:.125em solid var(--color--dark);padding-top:1em}
.mgs-cart-total{display:flex;justify-content:space-between;align-items:baseline;font-weight:800}
.mgs-cart-total-n{font-family:"Bricolage Grotesque",Impact,sans-serif;font-size:1.5em}
.mgs-cart-note{font-size:.72em;opacity:.6;margin:.4em 0 .9em}
.mgs-cart-checkout{width:100%;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--dark);color:var(--color--light);font-weight:800;padding:.9em;font-size:1em;cursor:pointer;transition:.3s var(--elastic-ease-out)}
.mgs-cart-checkout:hover:not(:disabled){transform:translateY(-.15em);box-shadow:.3em .3em 0 var(--color--yellow-700)}
.mgs-cart-checkout:disabled{opacity:.4;cursor:not-allowed}
/* ===== CHECKOUT (3 écrans, sans scroll) ===== */
.mgs-co-shell{max-width:34em;margin:0 auto}
.mgs-co-screen{display:flex;flex-direction:column;gap:.85em}
.mgs-co-top{display:flex;align-items:center;justify-content:space-between;gap:.8em;font-size:.85em;font-weight:600}
.mgs-co-back,.mgs-co-back2{display:inline-flex;align-items:center;gap:.4em;min-height:44px;cursor:pointer}
.mgs-co-back .bold-ic,.mgs-co-back2 .bold-ic{width:1.1em;height:1.1em}
.mgs-co-game{font-weight:800}
.mgs-co-track{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;opacity:.7}
.mgs-co-pay .eyebrow{font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.6;margin:0}
.mgs-co-total{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:2.6em;line-height:1;margin:.1em 0 0}
.mgs-co-receive{display:flex;justify-content:space-between;gap:1em;font-size:.9em}
.mgs-co-receive span:first-child{opacity:.6}
.mgs-co-receive span:last-child{font-weight:700;text-align:right}
.mgs-co-id .eyebrow,.mgs-co-methods .eyebrow{font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.6;margin:0 0 .5em}
.mgs-co-id-row{display:flex;gap:.6em;width:100%}
.mgs-co-id-field{position:relative;flex:1;min-width:0}
.mgs-co-id-input{width:100%;min-width:0;min-height:2.75em;box-sizing:border-box;border:.125em solid var(--color--dark);border-radius:.7em;padding:.7em 7.5em .7em .9em;font:inherit;background:var(--color--light);color:var(--color--dark)}
.mgs-co-change-id{display:none;position:absolute;right:.35em;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--color--dark);font:inherit;font-size:.8em;font-weight:600;min-width:44px;min-height:44px;padding:0 .25em;cursor:pointer;white-space:nowrap}
body:has(.mgs-co-id-status.is--ok:not([hidden])) .mgs-co-change-id{display:block}
.mgs-co-id-foot{display:flex;align-items:center;gap:.6em;margin-top:.45em;width:100%}
.mgs-co-verify{margin-left:auto;border:0;border-radius:100em;padding:.5em 1em;min-height:44px;font-weight:700;font-size:.8em;line-height:1.2;background:var(--color--dark);color:var(--color--light);white-space:nowrap;cursor:pointer;transition:none;transform:none}
.mgs-co-verify:hover{background:color-mix(in srgb,var(--color--dark) 85%,transparent)}
.mgs-co-id-status{font-size:.8em;font-weight:700;margin:.5em 0 0}
.mgs-co-id-status.is--ok{color:var(--color--dark)}
.mgs-co-id-status.is--err{color:var(--color--orange-700)}
.mgs-co-methods{display:flex;flex-direction:column;gap:.6em}
.mgs-co-method{display:flex;align-items:center;gap:.8em;border:.125em solid var(--color--dark);border-radius:.9em;padding:.65em .9em;cursor:pointer;transition:.2s var(--elastic-ease-out);position:relative}
.mgs-co-method input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.mgs-co-method.is--active{background:var(--color--yellow-100);box-shadow:.2em .2em 0 var(--color--dark)}
.mgs-co-logo{width:3.4em;height:2.1em;display:grid;place-items:center;flex:none}
.mgs-co-logo img{max-width:100%;max-height:100%;object-fit:contain}
.mgs-co-logo--dark{background:var(--color--dark);border-radius:.4em;padding:.25em .4em;width:5em}
.mgs-co-mtext{flex:1;display:flex;flex-direction:column;min-width:0}
.mgs-co-mtext b{font-size:.95em}
.mgs-co-mtext small{font-size:.72em;opacity:.6}
.mgs-co-radio{width:1.3em;height:1.3em;border:.125em solid var(--color--dark);border-radius:100em;flex:none;position:relative}
.mgs-co-method.is--active .mgs-co-radio::after{content:"";position:absolute;inset:.22em;background:var(--color--dark);border-radius:100em}
.mgs-co-note{font-size:.74em;opacity:.6;margin:0}
.mgs-co-submit,.mgs-co-done{width:100%;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--green-700);color:var(--color--dark);font-weight:800;padding:.9em;font-size:1em;cursor:pointer;transition:.3s var(--elastic-ease-out)}
.mgs-co-submit:hover{transform:translateY(-.15em);box-shadow:none}.mgs-co-done:hover{transform:translateY(-.15em);box-shadow:.3em .3em 0 var(--color--dark)}
.mgs-co-countdown{font-weight:800;font-family:"Bricolage Grotesque",Impact,sans-serif;background:var(--color--yellow-700);padding:.3em .8em;border-radius:100em;border:.125em solid var(--color--dark);white-space:nowrap}
.mgs-co-step{display:flex;gap:.9em;border:.125em solid var(--color--dark);border-radius:.9em;padding:1em}
.mgs-co-step-n{width:1.8em;height:1.8em;border-radius:100em;background:var(--color--dark);color:var(--color--light);display:grid;place-items:center;font-weight:800;flex:none}
.mgs-co-step-b{flex:1;min-width:0}
.mgs-co-step-t{font-weight:800;margin:0 0 .5em}
.mgs-co-merchant{display:flex;flex-direction:column;gap:.4em}
.mgs-co-merchant div{display:flex;justify-content:space-between;gap:1em;font-size:.85em}
.mgs-co-merchant span{opacity:.6}
.mgs-co-hint{font-size:.72em;opacity:.6;margin:.4em 0 0}
.mgs-co-proof{width:100%;margin-top:.6em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);font-weight:700;padding:.7em;cursor:pointer;transition:.2s}
.mgs-co-proof:hover{background:var(--color--yellow-700)}
.mgs-co-cancel{align-self:center;background:none;border:none;text-decoration:underline;opacity:.7;cursor:pointer;font-size:.85em;color:var(--color--dark)}
.mgs-co-wait{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.8em}
.mgs-co-wait-ic{width:4em;height:4em;border-radius:100em;border:.125em solid var(--color--dark);display:grid;place-items:center;background:var(--color--yellow-700);animation:mgsSpin 3s linear infinite}
.mgs-co-wait-ic .bold-ic{width:58%;height:58%}
@keyframes mgsSpin{to{transform:rotate(360deg)}}
.mgs-co-wait-t{font-family:"Bricolage Grotesque",Impact,sans-serif;font-weight:800;font-size:1.6em;margin:0}
.mgs-co-wait-d{font-size:.85em;opacity:.7;max-width:28em;margin:0}
.mgs-co-wait-badge{font-size:.74em;font-weight:700;background:var(--color--yellow-100);border:.125em solid var(--color--dark);padding:.3em .9em;border-radius:100em;margin:0}
.mgs-co-recap{width:100%;border:.125em solid var(--color--dark);border-radius:.9em;padding:1em;display:flex;flex-direction:column;gap:.45em;text-align:left}
.mgs-co-recap div{display:flex;justify-content:space-between;gap:1em;font-size:.85em}
.mgs-co-recap span{opacity:.6}
/* ===== FEUILLE D'ENVOI DE LA PREUVE (procédure de la référence) ===== */
.mgs-co-sheet-ov{position:fixed;inset:0;background:rgba(17,17,17,.55);z-index:3120}
.mgs-co-sheet{position:fixed;left:0;right:0;bottom:0;z-index:3121;display:flex;flex-direction:column;max-height:calc(100dvh - 3em);background:var(--color--light);border:.125em solid var(--color--dark);border-bottom:0;border-radius:1.4em 1.4em 0 0;padding:1.25em;color:var(--color--dark)}
@media (min-width:1024px){.mgs-co-sheet{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:30em;max-height:80%;border-bottom:.125em solid var(--color--dark);border-radius:1.4em}}
.mgs-co-sheet-grip{width:3em;height:.3em;border-radius:100em;background:rgba(0,0,0,.25);margin:0 auto 1em;flex:none}
.mgs-co-sheet-h{display:flex;align-items:center;justify-content:space-between;gap:1em;margin-bottom:.4em}
.mgs-co-sheet-h h2{margin:0;font-family:var(--font--display);font-weight:800;font-size:1.2em;line-height:1.2;text-transform:uppercase}
.mgs-co-sheet-x{width:2.75em;height:2.75em;flex:none;display:grid;place-items:center;border:0;background:none;padding:0;color:var(--color--dark);cursor:pointer}
.mgs-co-sheet-x svg{width:1.2em;height:1.2em}
.mgs-co-sheet-b{flex:1;min-height:0;overflow-y:auto}
.mgs-co-drop{border:.125em dashed rgba(0,0,0,.35);border-radius:1em;padding:1.75em 1em;text-align:center;font-weight:700;font-size:.95em;cursor:pointer;color:var(--color--dark);transition:border-color .2s,background-color .2s}
.mgs-co-drop:hover{border-color:var(--color--dark);background:rgba(0,0,0,.04)}
.mgs-co-drop svg{width:2.2em;height:2.2em;display:block;margin:0 auto .6em;opacity:.7}
.mgs-co-drop small{display:block;margin-top:.5em;font-weight:400;font-size:.8em;opacity:.65}
.mgs-co-thumbs{display:flex;flex-wrap:wrap;gap:.6em;margin-top:.8em}
.mgs-co-thumb{position:relative;width:4.5em;height:4.5em;flex:none;border:.125em solid var(--color--dark);border-radius:.7em;overflow:hidden;background:#fff}
.mgs-co-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mgs-co-thumb button{position:absolute;top:.15em;right:.15em;width:1.6em;height:1.6em;display:grid;place-items:center;border:0;border-radius:100em;background:var(--color--dark);color:var(--color--light);cursor:pointer;padding:0}
.mgs-co-thumb button svg{width:.9em;height:.9em}
.mgs-co-thumbmore{display:grid;place-items:center;width:4.5em;height:4.5em;flex:none;border:.125em dashed rgba(0,0,0,.35);border-radius:.7em;font-weight:800;font-size:.8em;cursor:pointer;color:var(--color--dark)}
.mgs-co-sheet-f{flex:none;margin-top:1em;padding-top:1em;border-top:.125em solid rgba(0,0,0,.16)}
.mgs-co-declare{display:flex;align-items:flex-start;gap:.7em;font-size:.82em;line-height:1.35;cursor:pointer}
.mgs-co-declare input{margin:.15em 0 0;flex:none;width:1.15em;height:1.15em;accent-color:var(--color--dark)}
.mgs-co-sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:1em;margin-top:1.1em}
.mgs-co-sheet-count{font-size:.85em;font-weight:700;opacity:.75}
.mgs-co-sheet-send{height:3.25em;flex:1;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--green-700);color:var(--color--dark);font-weight:800;cursor:pointer;transition:background-color .2s}
.mgs-co-sheet-send:hover:not(:disabled){background:var(--color--yellow-700)}
.mgs-co-sheet-send:disabled{opacity:.4;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.mgs-co-sheet,.mgs-co-drop,.mgs-co-sheet-send{transition:none}}

/* ===== VÉRIFICATION HUMAINE ===== */
.mgs-human-overlay{position:fixed;inset:0;background:rgba(17,17,17,.55);z-index:3100}
.mgs-human-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(26em,calc(100% - 2em));background:var(--color--light);border:.125em solid var(--color--dark);border-radius:1.1em;z-index:3101;padding:1.5em;color:var(--color--dark)}
.mgs-human-head{display:flex;justify-content:space-between;align-items:center;font-weight:800}
.mgs-human-head p{margin:0}
.mgs-human-close{width:2em;height:2em;display:grid;place-items:center;border-radius:100em;cursor:pointer;background:none;color:var(--color--dark)}
.mgs-human-close .bold-ic{width:1.1em;height:1.1em}
.mgs-human-sub{font-size:.85em;opacity:.7;margin:.5em 0 1em}
.mgs-human-widget{display:flex;align-items:center;gap:.8em;border:.125em solid var(--color--dark);border-radius:.7em;padding:.9em;background:#fff}
.mgs-human-check{position:relative;width:1.6em;height:1.6em;flex:none;cursor:pointer;display:block}
.mgs-human-cb{position:absolute;opacity:0;inset:0;cursor:pointer;margin:0}
.mgs-human-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.mgs-human-foot .mgs-human-check{position:relative;display:flex;align-items:center;min-width:44px;min-height:44px;flex:none}.mgs-human-foot .mgs-human-cb{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}
.mgs-human-box{width:1.6em;height:1.6em;border:.125em solid var(--color--dark);border-radius:.3em;display:grid;place-items:center;background:#fff;transition:.2s}
.mgs-human-box .bold-ic{width:1em;height:1em;opacity:0;transform:scale(0);transition:.2s var(--elastic-ease-out)}
.mgs-human-cb:checked + .mgs-human-box{background:var(--color--green-700)}
.mgs-human-cb:checked + .mgs-human-box .bold-ic{opacity:1;transform:scale(1)}
.mgs-human-label{flex:1;font-size:.85em;font-weight:600}
.mgs-human-brand{display:flex;flex-direction:column;align-items:center;gap:.15em;font-size:.6em;text-align:center;flex:none}
.mgs-human-cloud{width:2.2em;height:2.2em}
.mgs-human-brand small{line-height:1.35}
.mgs-human-brand a{text-decoration:underline;color:var(--color--dark)}
.mgs-human-foot{display:flex;justify-content:space-between;align-items:center;gap:1em;border-top:.125em solid var(--color--rule);margin-top:1.2em;padding-top:1.2em}
.mgs-human-cancel{background:none;border:none;font-weight:700;cursor:pointer;color:var(--color--dark)}
.mgs-human-confirm{border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--green-700);color:var(--color--dark);font-weight:800;padding:.7em 1.3em;cursor:pointer;transition:.2s;flex:1 1 auto;width:100%;min-width:0}
.mgs-human-confirm:disabled{opacity:.4;cursor:not-allowed}
/* ===== DÉTAIL : collapse statut + reçu PNG ===== */
.mgs-tl-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6em}
.mgs-tl-head .eyebrow{font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.6}
.mgs-tl-toggle{width:2em;height:2em;border:.125em solid var(--color--dark);border-radius:100em;display:grid;place-items:center;background:var(--color--light);cursor:pointer;color:var(--color--dark)}
.mgs-tl-toggle .bold-ic{width:1.1em;height:1.1em;transition:transform .3s var(--elastic-ease-out)}
.mgs-tl-toggle.is--collapsed .bold-ic{transform:rotate(-90deg)}
.mgs-timeline.is--collapsed{display:none}
.mgs-receipt-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);font-weight:700;padding:.7em 1.2em;cursor:pointer;transition:.3s var(--elastic-ease-out);flex:1 1 12em}
.mgs-receipt-btn:hover{background:var(--color--green-700);transform:translateY(-.15em);box-shadow:.25em .25em 0 var(--color--dark)}
.mgs-receipt-ic{display:inline-flex}
.mgs-receipt-ic .bold-ic{width:1.2em;height:1.2em}
.mgs-receipt-btn.is--downloading .mgs-btn-ic,.mgs-receipt-btn.is--downloading .mgs-receipt-ic{animation:mgsDownBounce .6s var(--elastic-ease-out)}
@keyframes mgsDownBounce{0%{transform:translateY(0)}40%{transform:translateY(.3em)}100%{transform:translateY(0)}}
body:has(.mgs-page[data-page="commande"].is--active) .bottom-nav-w{display:none!important}
/* Phase de paiement (coordonnées marchand / attente) : seule la navigation
   fonctionnelle disparaît ; le logo reste visible et cliquable. */
body:has(.mgs-page[data-page="commande"].is--active .mgs-co-screen[data-co="2"]:not([hidden])) :is(.nav-inner-right,.footer,.bottom-nav-w),
body:has(.mgs-page[data-page="commande"].is--active .mgs-co-screen[data-co="3"]:not([hidden])) :is(.nav-inner-right,.footer,.bottom-nav-w){display:none!important}
@media (max-width:991px){.mgs-co-shell{padding-bottom:2.5em}}
@media (prefers-reduced-motion:reduce){.mgs-co-wait-ic,.mgs-receipt-btn.is--downloading .mgs-btn-ic,.mgs-receipt-btn.is--downloading .mgs-receipt-ic{animation:none}.mgs-cart-drawer{transition:none}}
@media (max-width:479px){.mgs-co-total{font-size:2.2em}.mgs-co-shell{max-width:100%}.mgs-human-popup{padding:1.1em}}

/* ===== Feedback 6 : boutons template button-main + ajustements checkout ===== */
button.button-main{background:none;border:0;padding:0;font:inherit;color:var(--color--light);cursor:pointer;display:inline-block;-webkit-appearance:none;appearance:none}
button.button-main:disabled{opacity:.45;pointer-events:none}
.mgs-co-submit.button-main,.mgs-co-proof.button-main,.mgs-co-done.button-main,.mgs-cart-checkout.button-main{width:100%;margin-top:1.1em}
.mgs-co-cancel{display:block;width:100%;margin-top:.9em;background:none;border:0;cursor:pointer;font-family:var(--font--body);font-size:.8em;font-weight:600;color:var(--color--dark-400);text-decoration:underline}
.mgs-btn-ic{display:inline-flex;width:1.1em;height:1.1em}.mgs-btn-ic svg{width:100%;height:100%}
.mgs-receipt-btn .mgs-btn-ic{width:1.15em;height:1.15em}
/* logos paiement : ne débordent plus */
 .mgs-co-recent{display:flex;align-items:center;gap:.35em;flex-wrap:nowrap;overflow:hidden;flex:1;min-width:0}
.mgs-co-recent-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.35em;font-size:.8em;font-weight:600;font-variant-numeric:tabular-nums;padding:.22em .7em;min-height:2.4em;border:0;border-radius:100em;background:color-mix(in srgb,var(--color--dark) 8%,transparent);color:var(--color--dark);cursor:pointer;transition:background .2s var(--cubic-default)}
.mgs-co-recent-chip:hover{background:color-mix(in srgb,var(--color--dark) 16%,transparent)}
.mgs-co-recent-chip svg{width:1em;height:1em;flex:0 0 auto}
@media (max-width:767px){.mgs-page[data-page="commande"] .mgs-shell.mgs-co-shell{padding-top:4.5em;padding-bottom:1.5em}}
.mgs-co-logo{width:3.6em;height:2.2em;border-radius:.55em;overflow:hidden;flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.mgs-co-logo img{width:100%;height:100%;min-height:0;object-fit:contain;display:block}
.mgs-co-logo--dark{width:5.2em;height:2.2em;padding:.2em .45em}
/* statut ID vérifié : icône + pseudo, vert template */
.mgs-co-id-status.is--ok{display:inline-flex;align-items:center;gap:.4em;color:var(--color--dark);font-weight:700}
.mgs-co-id-status.is--ok svg{width:1.05em;height:1.05em;flex:0 0 auto}
.mgs-co-id-status.is--err{color:var(--color--red-700)}
/* écran 2 : marchand en lignes kv, sans bordure de boîte */
.mgs-co-screen .mgs-co-step-t{font-family:var(--font--display);font-weight:800;font-size:1.2em;text-transform:uppercase;color:var(--color--dark);margin:0 0 .7em}
/* Étapes numérotées (mêmes losanges que le paiement Binance) + filet vertical */
.mgs-co-steps{position:relative;margin:0 0 1.5em;padding-left:2.125em}
.mgs-co-steps::before{content:"";position:absolute;left:.6875em;top:1.35em;bottom:1.35em;width:1px;background:rgba(0,0,0,.16)}
.mgs-co-steps>.mgs-co-step{position:relative;margin-bottom:1em;display:block}
.mgs-co-steps>.mgs-co-step:last-child{margin-bottom:0}
.mgs-co-dia{position:absolute;left:-2.125em;top:0;width:1.375em;height:1.375em;transform:rotate(45deg);border-radius:.375em;background:var(--color--dark);display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}
.mgs-co-dia span{transform:rotate(-45deg);font-size:.6875em;line-height:1;color:var(--color--light)}
.mgs-co-step-h{margin:0 0 .5em;font-size:1em;font-weight:700;line-height:1.5;color:var(--color--dark)}
/* Le nom du marchand sert de libellé à l'écran 2 : il doit être raccord avec
   le titre « Transférer via MVola » et avec la note ci-dessous. */
.mgs-co-step-h .mgs-co-mname{font-family:inherit;text-transform:none}
/* Les étapes numérotées ne sont PAS des cartes (retour design : losange dans la
   marge + filet vertical, comme l'écran Binance). */
.mgs-co-steps>.mgs-co-step{border:0;border-radius:0;padding:0;gap:0}
.mgs-co-merchant{display:flex;flex-direction:column;gap:0;margin:0 0 .6em;min-width:0;flex:1 1 auto}
.mgs-co-screen .mgs-divider{margin:1em 0}
/* Lignes marchand / Binance : libellé au-dessus de la valeur, icône de copie NUE
   à droite, comme l'écran Binance. */
.mgs-co-kv{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.75em;padding:.6em 0;border-top:.0625em solid rgba(0,0,0,.16);font-size:.9em}
.mgs-co-kv:first-child{border-top:0}
.mgs-co-kv-l{min-width:0}
.mgs-co-kv-l span{display:block;color:rgba(0,0,0,.55)}
.mgs-co-kv-v{margin:.1em 0 0;font-weight:700;color:var(--color--dark);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mgs-co-copy{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-.9em;border:0;background:none;padding:0;color:rgba(0,0,0,.55);cursor:pointer}
.mgs-co-copy:hover{color:var(--color--dark)}
/* Icône de copie PETITE (retour design : pas une icône « très grande ») :
   16 px dans une zone tactile de 44 px. */
.mgs-co-copy svg{width:.8em;height:.8em}
.mgs-co-proof{width:100%;margin-top:.6em;border:.125em solid var(--color--dark);border-radius:100em;background:var(--color--light);color:var(--color--dark);font-weight:700;padding:.7em;cursor:pointer;transition:background-color .2s}
.mgs-co-proof:hover{background:var(--color--yellow-700)}
/* Le survol du bouton de preuve ne doit RIEN changé d'autre que le fond :
   ni translation, ni ombre portée (retour design). */
.mgs-co-proof.button-main,.mgs-co-proof.button-main:is(:hover,:focus-visible){transform:none;box-shadow:none}

/* UX-L10 — cibles tactiles >= 44 px : onglets deja rehausses ci-dessus, plus
   les liens de pied de page, like/share d evenement et copie de commande. */
a.text-link.link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
.mgs-card__like,.mgs-card__share{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}

/* UX-L10 — case « Se souvenir » : zone tactile 44 px sur tout le label,
   visuel maison (la case native 13 px ne respectait pas la cible). */
.mgs-remember{position:relative;display:inline-flex;align-items:center;gap:.4em;min-height:44px;cursor:pointer}
.mgs-remember-cb{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0}
.mgs-cb-box{position:relative;width:1.15em;height:1.15em;border:.125em solid var(--color--dark);border-radius:.3em;background:var(--color--light);flex:none}
.mgs-remember-cb:checked + .mgs-cb-box{background:var(--color--dark)}
.mgs-remember-cb:checked + .mgs-cb-box::after{content:"";position:absolute;left:.16em;top:.12em;width:.42em;height:.22em;border-left:.13em solid var(--color--light);border-bottom:.13em solid var(--color--light);transform:rotate(-45deg)}

/* UX-L11 — FAQ accordéon (support) : la question est un bouton plein-width
   (cible 44 px), la réponse repliée par [hidden], styles des tokens existants. */
.mgs-faq{display:block;cursor:default}
.mgs-faq-q{display:flex;align-items:center;gap:.5em;width:100%;min-height:44px;background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
.mgs-faq-a{margin:.2em 0 0;padding:0 0 .4em 1.9em;font-size:.85em;color:inherit;opacity:.85}

/* UX-L14 — débordement horizontal 12 px à 1440 : .marquee-advanced définit
   width:100vw (template-defi) mais peut vivre dans un .container à padding
   12 px — la bande démarre au bord de contenu (x=12) et dépasse de 12 px à
   droite (scrollWidth 1452/1440). La marge pleine largeur standard
   (50% - 50vw) replace le bord gauche au bord du viewport : pleine largeur
   conservée, débordement nul, et les bandes déjà à x=0 gardent x=0. */
.marquee-advanced{width:100vw;margin-left:calc(50% - 50vw)}
