/* La Mouette TCG — charte « ciel pastel » (v0.1)
   Polices auto-hébergées (aucun appel à Google : pas de transfert d'IP vers un tiers). */


:root {
  --encre: #1E2A44;
  --encre-2: #3B4A66;
  --aile: #4A5874;
  --lien: #3B6FA8;
  --ciel-matin: #CFE6F7;
  --bleu-ciel: #BFE0F5;
  --lavande: #D9D3F2;
  --aube: #E3DEF6;
  --peche: #FFD9C7;
  --couchant: #FCEEE6;
  --bec: #FFD66B;
  --sable: #FFE9A8;
  --ecume: #CDEBDD;
  --plume: #F4F9FD;
  --trait: #E4EEF7;
  --pied: #D7E8F6;
  --titre: "Trebuchet MS", system-ui, sans-serif; /* polices du système : rien à télécharger */
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 22px;
  --ombre: 0 8px 30px rgba(59, 111, 168, .12);
  --largeur: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--texte);
  color: var(--encre);
  background: linear-gradient(180deg, var(--ciel-matin) 0, var(--aube) 520px, var(--couchant) 760px, var(--plume) 980px) no-repeat, var(--plume);
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}
a { color: var(--encre); }
a:hover { color: var(--lien); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.05; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--lien); outline-offset: 3px; border-radius: 6px; }

.lm-evitement { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 16px; z-index: 100; }
.lm-evitement:focus { left: 16px; top: 16px; }

/* ---------- Ciel animé ---------- */
.lm-ciel { position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none; overflow: hidden; z-index: 0; }
.lm-nuage { position: absolute; left: 0; border-radius: 999px; background: #fff; opacity: .85; filter: blur(2px); animation: lm-nuage linear infinite; }
.lm-nuage::before, .lm-nuage::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.lm-nuage::before { width: 55%; height: 160%; left: 15%; top: -70%; }
.lm-nuage::after { width: 40%; height: 130%; left: 50%; top: -45%; }
.lm-nuage--1 { width: 220px; height: 54px; top: 150px; animation-duration: 70s; animation-delay: -20s; }
.lm-nuage--2 { width: 160px; height: 40px; top: 300px; animation-duration: 95s; animation-delay: -60s; opacity: .7; }
.lm-nuage--3 { width: 280px; height: 66px; top: 520px; animation-duration: 120s; animation-delay: -10s; opacity: .6; }
.lm-nuage--4 { width: 140px; height: 34px; top: 80px; animation-duration: 85s; animation-delay: -45s; opacity: .75; }
.lm-mouette { position: absolute; left: 0; animation: lm-vol linear infinite; }
.lm-mouette svg { display: block; width: 46px; height: 20px; fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linecap: round; animation: lm-aile .9s ease-in-out infinite; transform-origin: 50% 60%; }
.lm-mouette--1 { top: 210px; animation-duration: 26s; animation-delay: -4s; }
.lm-mouette--2 { top: 260px; animation-duration: 31s; animation-delay: -9s; }
.lm-mouette--2 svg { width: 30px; height: 14px; stroke: #5B6B86; }
.lm-mouette--3 { top: 420px; animation-duration: 38s; animation-delay: -22s; }
.lm-mouette--3 svg { width: 38px; height: 17px; stroke: var(--encre-2); }

@keyframes lm-nuage { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
@keyframes lm-vol { 0% { transform: translate(-10vw, 0); } 50% { transform: translate(50vw, -40px); } 100% { transform: translate(115vw, 10px); } }
@keyframes lm-aile { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
@keyframes lm-flotte { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 2deg)); } }
@keyframes lm-holo { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes lm-vague { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Reflet holographique : sous le contenu (isolation + z-index négatif) pour ne jamais délaver le texte */
.lm-holo { position: relative; overflow: hidden; isolation: isolate; }
.lm-holo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 20%, rgba(255,214,107,.45) 35%, rgba(191,224,245,.55) 45%, rgba(217,211,242,.55) 55%, rgba(255,217,199,.45) 65%, transparent 80%);
  background-size: 200% 100%; animation: lm-holo 4s linear infinite;
}

/* ---------- En-tête ---------- */
.lm-bandeau { position: relative; z-index: 1; background: var(--peche); text-align: center; font-size: 14px; font-weight: 700; padding: 10px 16px; }
.lm-entete { position: relative; z-index: 2; max-width: var(--largeur); margin: 16px auto 0; padding: 0 24px; }
.lm-entete__barre {
  position: relative; background: rgba(255,255,255,.88); border: 1px solid #fff; border-radius: var(--rayon); box-shadow: var(--ombre);
  padding: 10px 14px 10px 0; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(6px);
}
.lm-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; width: 150px; justify-content: center; }
.lm-logo__img { height: 118px; width: auto; display: block; margin: -26px 0 -52px; position: relative; z-index: 3; filter: drop-shadow(0 4px 8px rgba(30,42,68,.15)); transform: rotate(-2deg); transition: transform .3s; }
.lm-logo:hover .lm-logo__img { transform: rotate(0) scale(1.04); }
.lm-maintenance__logo { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 8px 18px rgba(30,42,68,.2)); }

.lm-logo__badge { width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 2px solid var(--encre); display: grid; place-items: center; transform: rotate(-6deg); }
.lm-logo__badge svg { width: 34px; height: 22px; }
.lm-logo__aile { fill: none; stroke: var(--encre); stroke-width: 3.2; stroke-linecap: round; }
.lm-logo__bec { fill: #F2A93B; }
.lm-logo__nom { font-family: var(--titre); font-weight: 700; font-size: 26px; letter-spacing: -.3px; }
.lm-logo__nom span { color: var(--lien); }
.lm-langues { display: flex; background: var(--trait); border-radius: 12px; padding: 3px; }
.lm-langues a { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--aile); }
.lm-langues a[aria-current] { background: #fff; color: var(--encre); }


/* ---------- Boutons, badges ---------- */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 16px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--encre); }
.lm-btn--principal { background: var(--encre); color: #fff; box-shadow: 0 6px 0 var(--lien); }
.lm-btn--principal:hover { color: #fff; transform: translateY(1px); box-shadow: 0 5px 0 var(--lien); }
.lm-btn--neutre { background: #fff; color: var(--encre); }
.lm-btn--neutre:hover { background: var(--plume); }
.lm-lien { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.lm-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--trait); }
.lm-badge--bec { background: var(--bec); }
.lm-badge--ecume { background: var(--ecume); }
.lm-penche { transform: rotate(-2deg); }

/* ---------- Accueil ---------- */
.lm-principal { position: relative; z-index: 1; overflow-x: clip; } /* la vague animée fait 200 % de large */
.lm-hero { max-width: var(--largeur); margin: 0 auto; padding: 56px 24px 24px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.lm-hero__texte { flex: 1 1 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.lm-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -1px; margin: 0; }
.lm-hero p { font-size: 19px; color: var(--encre-2); max-width: 520px; margin: 0; }
.lm-hero__cartes { flex: 1 1 360px; height: 420px; position: relative; }
.lm-carte-flottante {
  position: absolute; top: 70px; width: 190px; height: 266px; border-radius: 16px; border: 6px solid #fff;
  box-shadow: 0 20px 40px rgba(59,111,168,.25); background: linear-gradient(160deg, var(--bleu-ciel), var(--lavande));
  animation: lm-flotte 6s ease-in-out infinite; animation-delay: var(--delai, 0s);
}
.lm-carte-flottante:nth-child(1) { left: 6%; }
.lm-carte-flottante:nth-child(2) { right: 6%; background: linear-gradient(160deg, var(--peche), var(--sable)); }
.lm-carte-flottante--centre { left: 50%; margin-left: -110px; top: 20px; width: 220px; height: 308px; background: linear-gradient(160deg, #fff, var(--aube)); }
.lm-vagues { display: block; width: 200%; height: 70px; margin-top: -10px; fill: var(--plume); animation: lm-vague 18s linear infinite; position: relative; z-index: 1; }
.lm-sol { background: var(--plume); position: relative; z-index: 1; }
.lm-sol--page { padding-top: 32px; margin-top: 32px; border-radius: 32px 32px 0 0; }
.lm-section { max-width: var(--largeur); margin: 0 auto; padding: 24px 24px 56px; }
.lm-section h2 { font-size: 30px; font-weight: 600; }
.lm-tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.lm-tuile { min-height: 96px; border-radius: 18px; background: var(--teinte, var(--bleu-ciel)); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 16px; text-decoration: none; font-family: var(--titre); font-weight: 600; font-size: 20px; }
.lm-tuile img { max-height: 40px; width: auto; align-self: flex-start; }
.lm-penche-survol { transition: transform .25s ease, box-shadow .25s ease; }
.lm-penche-survol:hover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 18px 40px rgba(59,111,168,.22); color: var(--encre); }

/* ---------- Pages ---------- */
.lm-titre-jeu { display: inline-flex; align-items: center; gap: 16px; background: var(--teinte); border-radius: var(--rayon); padding: 16px 24px; margin-bottom: 24px; }
.lm-titre-jeu h1 { margin: 0; font-size: 40px; }
.lm-titre-jeu img { max-height: 48px; width: auto; }
.lm-texte { max-width: 760px; }
.lm-texte h1 { font-size: 40px; }
.lm-encart { background: #fff; border-radius: var(--rayon); padding: 20px 24px; box-shadow: var(--ombre); max-width: 760px; }
.lm-tableau-defile { overflow-x: auto; margin: 24px 0; }
.lm-tableau { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 15px; }
.lm-tableau th, .lm-tableau td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.lm-tableau th { font-size: 13px; color: var(--aile); }
.lm-404 { text-align: center; }
.lm-404 svg { width: 90px; height: 40px; fill: none; stroke: var(--encre); stroke-width: 2.4; stroke-linecap: round; }
.lm-404 h1 { font-size: 44px; }

/* Contenus tiers bloqués avant consentement */
.lm-bloque { width: 100%; background: var(--aube); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 16px; }
.lm-integre { width: 100%; border: 0; border-radius: 16px; }

/* ---------- Pied ---------- */
.lm-pied { position: relative; z-index: 1; background: var(--pied); margin-top: 40px; }
.lm-pied__vague { position: absolute; top: -40px; left: 0; width: 100%; height: 42px; fill: var(--pied); }
.lm-pied__grille { max-width: var(--largeur); margin: 0 auto; padding: 44px 24px 16px; display: flex; flex-wrap: wrap; gap: 40px; font-size: 15px; }
.lm-pied__grille > div { flex: 1 1 220px; }
.lm-pied__grille p { margin: 0 0 6px; }
.lm-pied__grille ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lm-pied__nom { font-family: var(--titre); font-weight: 700; font-size: 22px; }
.lm-pied__titre { font-weight: 700; }
.lm-pied__droits { max-width: var(--largeur); margin: 0 auto; padding: 0 24px 32px; font-size: 13px; color: var(--aile); }

/* ---------- Bandeau cookies ---------- */
.lm-ck { position: fixed; inset: auto 0 0 0; z-index: 50; padding: 16px; display: flex; justify-content: center; pointer-events: none; }
.lm-ck[hidden] { display: none; }
.lm-ck__boite { pointer-events: auto; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 24px 60px rgba(30,42,68,.25); }
.lm-ck__tete { display: flex; align-items: center; gap: 14px; }
.lm-ck__tete svg { width: 46px; height: 20px; flex: none; fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linecap: round; }
.lm-ck__tete h2 { margin: 0; font-size: 24px; font-weight: 600; }
.lm-ck__boite > p { color: var(--encre-2); }
.lm-ck__details { border: 1px solid var(--trait); border-radius: 18px; margin: 12px 0; }
.lm-ck__ligne { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--trait); cursor: pointer; }
.lm-ck__ligne:first-child { border-top: 0; cursor: default; }
.lm-ck__ligne small { display: block; color: var(--aile); font-size: 14px; }
.lm-interrupteur { width: 22px; height: 22px; accent-color: var(--encre); flex: none; }
.lm-ck__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lm-ck__actions [hidden] { display: none; }
.lm-ck__note { font-size: 13px; color: var(--aile); margin: 12px 0 0; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .lm-nuage, .lm-mouette, .lm-mouette svg, .lm-carte-flottante, .lm-holo::after, .lm-vagues { animation: none; }
  .lm-penche-survol:hover { transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  .lm-hero__cartes { height: 300px; }
  .lm-carte-flottante { width: 130px; height: 182px; top: 50px; }
  .lm-carte-flottante--centre { width: 150px; height: 210px; margin-left: -75px; top: 20px; }
  .lm-logo__img { height: 86px; margin: -16px 0 -34px; }
}

/* ---------- Effets saisonniers ---------- */
.lm-effet-zone { position: absolute; inset: 0; }
.lm-effet-ecran { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.lm-ciel::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 2.5s ease;
  background: linear-gradient(180deg, var(--lm-nuit, #1E2A44) 0%, var(--lm-nuit, #1E2A44) 55%, transparent 100%);
}
.lm-effet-nuit .lm-ciel::before { opacity: 1; }
.lm-effet-nuit .lm-nuage { opacity: .18; }
.lm-effet-nuit .lm-mouette svg { stroke: rgba(255,255,255,.75); }
.lm-effet-nuit .lm-hero h1 { color: #fff; }
.lm-effet-nuit .lm-hero p { color: #E4EEF7; }
.lm-effet-nuit .lm-hero .lm-btn--principal { background: #fff; color: var(--encre); border-color: #fff; box-shadow: 0 6px 0 var(--bec); }

.lm-hero h1, .lm-hero p { transition: color 2.5s ease; }

/* ---------- Maintenance ---------- */
.lm-maintenance-ruban { position: relative; z-index: 3; background: var(--encre); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }
.lm-maintenance-ruban a { color: var(--bec); }
.lm-page-maintenance { min-height: 100vh; }
.lm-ciel--plein { position: fixed; height: 100vh; }
.lm-maintenance { position: relative; z-index: 1; min-height: 100vh; max-width: 680px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.lm-maintenance h1 { font-size: clamp(36px, 6vw, 60px); margin: 12px 0 4px; transition: color 2.5s ease; }
.lm-maintenance > p { font-size: 18px; color: var(--encre-2); transition: color 2.5s ease; }
.lm-maintenance__liens { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lm-effet-nuit .lm-maintenance h1, .lm-effet-nuit .lm-maintenance .lm-logo__nom { color: #fff; }
.lm-effet-nuit .lm-maintenance > p { color: #E4EEF7; }
.lm-effet-nuit.lm-page-maintenance .lm-ciel::before { background: var(--lm-nuit, #1E2A44); }

/* ---------- Comptes ---------- */
.lm-compte__carte { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--ombre); }
.lm-compte__carte h1 { font-size: 32px; }
.lm-form { display: grid; gap: 16px; margin: 16px 0; }
.lm-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lm-form input { font: inherit; min-height: 50px; border: 2px solid var(--ciel-matin); border-radius: 14px; padding: 10px 14px; background: var(--plume); color: var(--encre); }
.lm-form input:focus { border-color: var(--lien); outline: none; box-shadow: 0 0 0 3px rgba(59,111,168,.2); }
.lm-form small { font-weight: 400; color: var(--aile); }
.lm-code { font-family: ui-monospace, Menlo, monospace; font-size: 28px !important; letter-spacing: 10px; text-align: center; }
.lm-alerte { background: var(--peche); padding: 12px 16px; border-radius: 12px; }
.lm-info { background: var(--ecume); padding: 12px 16px; border-radius: 12px; }
.lm-petit { font-size: 14px; color: var(--aile); margin: 0; }
.lm-entete__actions { display: flex; align-items: center; gap: 10px; }
.lm-lien-compte { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.lm-lien-compte svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Catalogue ---------- */
.lm-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.lm-filtres a { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; text-decoration: none; border: 2px solid var(--trait); }
.lm-filtres a[aria-current] { background: var(--encre); color: #fff; border-color: var(--encre); }
.lm-grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.lm-produit { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); padding: 10px; text-decoration: none; box-shadow: 0 6px 20px rgba(59,111,168,.10); }
.lm-produit__visuel { position: relative; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, #fff, var(--teinte, var(--aube))); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lm-produit__visuel img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 0; }
.lm-produit__badge { position: absolute; top: 10px; left: 10px; }
.lm-produit__corps { padding: 12px 6px 6px; display: flex; flex-direction: column; gap: 6px; }
.lm-produit__jeu { font-size: 12px; font-weight: 700; color: var(--aile); text-transform: uppercase; letter-spacing: .5px; }
.lm-produit__nom { font-weight: 700; font-size: 16px; line-height: 1.3; }
.lm-produit__prix { font-family: var(--titre); font-size: 22px; font-weight: 600; }
.lm-produit__etiquettes, .lm-fiche__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-etiquette { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.lm-badge--bec { background: var(--bec); } .lm-badge--peche { background: var(--peche); } .lm-badge--trait { background: var(--trait); }
.lm-fil { font-size: 14px; color: var(--aile); }
.lm-fiche { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.lm-fiche__galerie { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.lm-fiche__visuel { aspect-ratio: 1; border-radius: 24px; background: linear-gradient(160deg, #fff, var(--teinte, var(--aube))); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lm-fiche__visuel img { width: 100%; height: 100%; object-fit: contain; }
.lm-fiche__miniatures { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-fiche__miniatures button { width: 72px; height: 72px; padding: 0; border: 2px solid var(--trait); border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; }
.lm-fiche__miniatures img { width: 100%; height: 100%; object-fit: cover; }
.lm-fiche__infos { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.lm-fiche__infos h1 { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.lm-fiche__prix { font-family: var(--titre); font-size: 32px; font-weight: 600; margin: 0; }
.lm-caracs { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; background: #fff; border-radius: var(--rayon); padding: 18px; }
.lm-caracs dt { font-size: 13px; color: var(--aile); } .lm-caracs dd { margin: 2px 0 0; font-weight: 700; }

/* ---------- Panier et commande ---------- */
.lm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lm-lien-panier { position: relative; }
.lm-compteur { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bec); color: var(--encre); font-size: 12px; font-weight: 800; }
.lm-ajout { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lm-ajout input, .lm-ligne__qte input { width: 76px; min-height: 50px; border: 2px solid var(--ciel-matin); border-radius: 14px; padding: 0 10px; font: inherit; font-weight: 700; text-align: center; background: #fff; }
.lm-panier, .lm-commande { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.lm-panier__lignes, .lm-commande__form { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lm-panier__resume { flex: 1 1 300px; background: #fff; border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.lm-ligne { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 14px; align-items: center; background: #fff; border-radius: 18px; padding: 10px 14px; }
.lm-ligne__visuel { width: 72px; height: 72px; border-radius: 12px; background: var(--aube); overflow: hidden; display: block; }
.lm-ligne__visuel img { width: 100%; height: 100%; object-fit: contain; }
.lm-ligne__info { display: flex; flex-direction: column; gap: 4px; }
.lm-ligne__info a { text-decoration: none; }
@media (max-width: 640px) { .lm-ligne { grid-template-columns: 56px 1fr auto; } .lm-ligne__visuel { width: 56px; height: 56px; } }
.lm-mode-envoi { display: grid; gap: 8px; }
.lm-mode-envoi label, .lm-option, .lm-cgv { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lm-lots { margin: 0; padding-left: 18px; font-size: 14px; }
.lm-total { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.lm-total--grand { font-size: 20px; border-top: 2px solid var(--trait); padding-top: 10px; }
.lm-btn--large { width: 100%; }
.lm-btn[disabled] { opacity: .5; cursor: not-allowed; }
.lm-bloc { border: 0; margin: 0; padding: 20px; background: #fff; border-radius: var(--rayon); display: grid; gap: 12px; }
.lm-bloc legend { font-family: var(--titre); font-size: 20px; font-weight: 600; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.lm-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.lm-champs label, .lm-bloc > label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lm-large { grid-column: 1 / -1; }
.lm-bloc input:not([type=radio]):not([type=checkbox]), .lm-bloc select, .lm-bloc textarea { font: inherit; min-height: 48px; border: 2px solid var(--ciel-matin); border-radius: 14px; padding: 10px 12px; background: var(--plume); color: var(--encre); }
.lm-option { justify-content: space-between; padding: 14px; border: 2px solid var(--trait); border-radius: 16px; }
.lm-option:has(input:checked) { border-color: var(--encre); background: var(--plume); }
.lm-option span { flex: 1; display: grid; gap: 2px; }
.lm-option small { color: var(--aile); font-weight: 400; }
.lm-option input, .lm-cgv input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--encre); }
.lm-recap { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.lm-recap li { display: flex; justify-content: space-between; gap: 12px; }
.lm-envoi { background: #fff; border-radius: 18px; padding: 14px 18px; margin-bottom: 12px; }
.lm-bloc > label.lm-option { display: flex; align-items: center; font-weight: 400; }
.lm-recap li span:last-child, .lm-total span:last-child, .lm-total strong { white-space: nowrap; }

.lm-pied__droits a { color: inherit; }
.lm-maintenance__credit { font-size: 13px !important; margin-top: 24px; }
.lm-maintenance__credit a { color: inherit; }



/* ---------- Menu principal ---------- */
.lm-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; }
.lm-menu__el { position: relative; display: flex; align-items: center; border-radius: 999px; }
.lm-menu__el > a { padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.lm-menu__el--parent > a { padding-right: 6px; }
.lm-menu__el > a:hover, .lm-menu__el > a[aria-current] { background: var(--bec); color: var(--encre); }
.lm-menu__ouvrir { width: 34px; height: 34px; margin-right: 4px; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; color: var(--encre); }
.lm-menu__ouvrir svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.lm-menu__ouvrir[aria-expanded="true"] svg { transform: rotate(180deg); }
.lm-sous-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(30,42,68,.18); z-index: 30; display: none; }
.lm-menu__el--parent:hover .lm-sous-menu, .lm-menu__ouvrir[aria-expanded="true"] + .lm-sous-menu, .lm-menu__el--parent:focus-within .lm-sous-menu { display: block; }
.lm-menu__el--parent:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.lm-sous-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.lm-sous-menu a:hover, .lm-sous-menu a[aria-current] { background: var(--plume); }
.lm-pastille { width: 12px; height: 12px; border-radius: 50%; background: var(--teinte); flex: none; }


/* ---------- Cartes du bandeau ---------- */
.lm-carte-flottante { display: block; text-decoration: none; perspective: 900px; }
.lm-carte__face { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; transition: transform .38s ease, opacity .38s ease; backface-visibility: hidden; }
.lm-carte__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-carte-flottante.lm-holo::after { z-index: 1; }
.lm-carte--tourne .lm-carte__face { transform: rotateY(90deg) scale(.96); opacity: .6; }
.lm-carte-flottante[href]:hover { filter: brightness(1.04); }
@media (prefers-reduced-motion: reduce) { .lm-carte__face { transition: none; } }

/* ---------- Shop, news, liens, contact ---------- */
.lm-filtres--types { margin-top: -12px; }
.lm-filtres a[style*="--teinte"][aria-current] { background: var(--teinte); color: var(--encre); border-color: var(--teinte); }
.lm-actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.lm-actu { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; box-shadow: 0 6px 20px rgba(59,111,168,.10); }
.lm-actu img, .lm-actu__vide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: linear-gradient(135deg, var(--ciel-matin), var(--aube), var(--couchant)); display: block; }
.lm-actu__corps { padding: 16px 18px 20px; display: grid; gap: 6px; }
.lm-actu__corps time { font-size: 13px; color: var(--aile); font-weight: 700; }
.lm-actu__corps strong { font-family: var(--titre); font-size: 22px; font-weight: 600; line-height: 1.15; }
.lm-actu__corps span { color: var(--encre-2); }
@media (min-width: 900px) { .lm-actu--une { grid-column: 1 / -1; flex-direction: row; } .lm-actu--une img, .lm-actu--une .lm-actu__vide { width: 55%; } .lm-actu--une .lm-actu__corps { align-content: center; padding: 28px; } .lm-actu--une strong { font-size: 32px; } }
.lm-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.lm-article { max-width: 780px; margin: 0 auto; }
.lm-chapeau { font-size: 20px; color: var(--encre-2); }
.lm-article__image { width: 100%; border-radius: var(--rayon); margin: 8px 0 20px; }
.lm-tuiles-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.lm-tuile-page { background: #fff; border-radius: 18px; padding: 22px; font-family: var(--titre); font-size: 20px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(59,111,168,.08); }
.lm-liens { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.lm-lien-carte { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--rayon); padding: 14px; text-decoration: none; box-shadow: 0 6px 20px rgba(59,111,168,.08); }
.lm-lien-carte img { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: var(--plume); flex: none; }
.lm-lien-carte span { display: grid; gap: 4px; }
.lm-lien-carte small { color: var(--aile); }
.lm-lien-carte__url { color: var(--lien) !important; font-weight: 600; }
.lm-piege { position: absolute; left: -9999px; }

/* ---------- Langues d'édition ---------- */
.lm-drapeau { width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(30,42,68,.18); vertical-align: middle; display: inline-block; object-fit: cover; }
.lm-drapeau--texte { width: auto; height: auto; padding: 1px 5px; font-size: 11px; font-weight: 800; background: #fff; color: var(--encre); }
.lm-produit__drapeaux { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; padding: 4px 6px; background: rgba(255,255,255,.9); border-radius: 8px; z-index: 2; }
.lm-produit__prix small { font-size: 14px; font-family: var(--texte); font-weight: 600; color: var(--aile); }
.lm-editions { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.lm-editions legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.lm-edition { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--trait); border-radius: 14px; background: #fff; cursor: pointer; min-width: 170px; }
.lm-edition:has(input:checked) { border-color: var(--encre); background: var(--plume); }
.lm-edition input { position: absolute; opacity: 0; pointer-events: none; }
.lm-edition:has(input:focus-visible) { outline: 3px solid var(--lien); outline-offset: 2px; }
.lm-edition .lm-drapeau { width: 30px; height: 20px; }
.lm-edition span { display: grid; line-height: 1.25; }
.lm-edition small { color: var(--aile); }
.lm-edition__prix { margin-left: auto; font-weight: 800; }
.lm-edition--epuise { opacity: .5; cursor: not-allowed; }
.lm-ligne__langue { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- En-tête : une seule barre ---------- */
.lm-nav { flex: 1; min-width: 0; }
.lm-entete__actions { margin-left: auto; flex: none; gap: 4px; }
.lm-recherche__ouvrir { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.lm-recherche__ouvrir[aria-expanded="true"] { background: var(--plume); }
.lm-burger { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--plume); font: inherit; font-weight: 700; color: var(--encre); cursor: pointer; }
.lm-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* Panier et compte en icônes (le libellé reste lu par les lecteurs d'écran et en infobulle) */
.lm-lien-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lm-entete__actions .lm-lien-compte { padding: 0 10px; min-width: 44px; justify-content: center; }
.lm-entete__actions .lm-lien-compte:hover { background: var(--plume); }
.lm-langues--menu { display: none; }
@media (max-width: 1020px) {
  .lm-burger { display: inline-flex; }
  .lm-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--rayon); box-shadow: 0 16px 40px rgba(30,42,68,.18); padding: 12px; z-index: 40; }
  .lm-menu-ouvert .lm-nav { display: block; }
  .lm-menu { flex-direction: column; gap: 2px; }
  .lm-menu__el { flex-wrap: wrap; justify-content: space-between; }
  .lm-menu__el > a { flex: 1; padding: 14px 16px; font-size: 17px; }
  .lm-sous-menu { position: static; display: none; width: 100%; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .lm-menu__el--parent:hover .lm-sous-menu, .lm-menu__el--parent:focus-within .lm-sous-menu { display: none; }
  .lm-menu__ouvrir[aria-expanded="true"] + .lm-sous-menu { display: block; }
  .lm-menu__ouvrir { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .lm-entete__actions .lm-langues { display: none; }
  .lm-langues--menu { display: flex; width: max-content; margin: 10px 0 4px 12px; }
  .lm-logo { width: 104px; }
  .lm-logo__img { height: 86px; margin: -16px 0 -34px; }
  .lm-burger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lm-burger { padding: 0 10px; }
  .lm-lien-compte { padding: 0 7px; }
  .lm-langues a { padding: 0 7px; }
}
/* Recherche */
.lm-recherche { position: absolute; right: 12px; top: calc(100% + 8px); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 18px; padding: 8px 8px 8px 14px; box-shadow: 0 16px 40px rgba(30,42,68,.2); z-index: 45; }
.lm-recherche[hidden] { display: none; }
.lm-recherche > svg { width: 20px; height: 20px; fill: none; stroke: var(--aile); stroke-width: 2; flex: none; }
.lm-recherche input, .lm-recherche-page input { flex: 1; min-width: 0; min-height: 46px; border: 0; font: inherit; font-size: 17px; background: transparent; color: var(--encre); outline: none; }
.lm-recherche .lm-btn { min-height: 44px; padding: 0 16px; }
.lm-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(30,42,68,.2); }
.lm-suggestions a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; }
.lm-suggestions a:hover, .lm-suggestions a.lm-actif { background: var(--plume); }
.lm-suggestions img, .lm-suggestions__vide { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--aube); flex: none; }
.lm-suggestions__texte { display: grid; flex: 1; min-width: 0; }
.lm-suggestions__texte strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-suggestions__texte small { color: var(--aile); }
.lm-suggestions__prix { font-weight: 800; white-space: nowrap; }
.lm-recherche-page { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 18px; padding: 8px 8px 8px 16px; box-shadow: var(--ombre); margin-bottom: 18px; max-width: 700px; }
.lm-resultats-actus { padding-left: 18px; line-height: 2; }

/* La carte qui change se soulève et passe devant */
.lm-carte-flottante { transition: filter .4s ease, box-shadow .4s ease; }
.lm-carte--devant { box-shadow: 0 30px 60px rgba(30,42,68,.28); }
.lm-carte--devant .lm-carte__face { transform: scale(1.04); }
.lm-carte--devant.lm-carte--tourne .lm-carte__face { transform: rotateY(90deg) scale(1.04); }

/* ---------- Espace client ---------- */
.lm-espace__nav { align-items: center; }
.lm-espace__sortie { margin-left: auto; }
.lm-tuiles-compte { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.lm-tuiles-compte .lm-tuile-page { display: grid; gap: 4px; font-size: 16px; }
.lm-tuiles-compte strong { font-size: 34px; }
.lm-commandes { display: grid; gap: 10px; }
.lm-commande-ligne { display: grid; grid-template-columns: 1.2fr 1fr auto auto 20px; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 18px; text-decoration: none; box-shadow: 0 4px 14px rgba(59,111,168,.08); }
.lm-commande-ligne:hover { box-shadow: 0 6px 20px rgba(59,111,168,.16); }
@media (max-width: 640px) { .lm-commande-ligne { grid-template-columns: 1fr auto; } .lm-commande-ligne span[aria-hidden] { display: none; } }
.lm-documents { display: flex; flex-wrap: wrap; gap: 10px; }
.lm-pre { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.lm-pre__date { display: grid; justify-items: end; gap: 4px; text-align: right; }
.lm-adresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.lm-adresse { background: #fff; border-radius: 18px; padding: 16px 18px; border: 2px solid var(--trait); display: grid; gap: 8px; align-content: start; }
.lm-adresse--defaut { border-color: var(--encre); }
.lm-adresse p { margin: 0; line-height: 1.5; }
.lm-adresse__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-adresse--ajout { border-style: dashed; cursor: pointer; font: inherit; font-weight: 700; color: var(--encre); min-height: 150px; place-content: center; }
.lm-lien--danger { color: #B03A2E; }
.lm-btn--danger { background: #B03A2E; color: #fff; box-shadow: 0 4px 0 #7d281f; }
dialog.lm-fenetre { border: 0; border-radius: var(--rayon); padding: 0; width: min(720px, calc(100% - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(30,42,68,.3); }
dialog.lm-fenetre::backdrop { background: rgba(30,42,68,.35); backdrop-filter: blur(3px); }
dialog.lm-fenetre h2 { margin: 0; }
.lm-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.lm-colonnes-compte { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.lm-colonnes-compte .lm-bloc h2 { margin: 0; font-size: 22px; }
.lm-colonnes-compte label { display: grid; gap: 6px; font-weight: 600; }
.lm-souhait { display: grid; gap: 8px; }
.lm-souhait__actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.lm-fiche__titre { display: flex; align-items: flex-start; gap: 12px; }
.lm-fiche__titre h1 { flex: 1; }
.lm-coeur { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--trait); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .2s; }
.lm-coeur:hover { transform: scale(1.08); }
.lm-coeur svg { width: 26px; height: 26px; fill: none; stroke: #D94A6A; stroke-width: 2; }
.lm-coeur--actif { border-color: #F7B9C9; background: #FFF0F4; }
.lm-coeur--actif svg { fill: #D94A6A; }

/* ---------- Page des mini-jeux ---------- */
.lm-jeux { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.lm-jeu-tuile { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; box-shadow: var(--ombre); }
.lm-jeu-tuile__visuel { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 72px; }
.lm-jeu-tuile__corps { padding: 18px 20px 22px; display: grid; gap: 10px; }
.lm-jeu-tuile__corps strong { font-family: var(--titre); font-size: 22px; }
.lm-jeu-tuile__corps .lm-btn { justify-self: start; }

/* ---------- Newsletter (pied de page) ---------- */
.lm-newsletter { max-width: var(--largeur, 1180px); margin: 0 auto 24px; padding: 22px 24px; background: #fff; border-radius: var(--rayon); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; box-shadow: 0 6px 20px rgba(59,111,168,.08); position: relative; z-index: 1; }
.lm-newsletter__titre { font-family: var(--titre); font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.lm-newsletter__texte { margin: 0; color: var(--encre-2); font-size: 15px; max-width: 46ch; }
.lm-newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 380px; max-width: 520px; }
.lm-newsletter__form input[type=email] { flex: 1 1 220px; min-height: 48px; border: 2px solid var(--ciel-matin); border-radius: 14px; padding: 0 14px; font: inherit; background: var(--plume); color: var(--encre); }
.lm-newsletter__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--aile); width: 100%; }
.lm-newsletter__info { width: 100%; margin: 0; font-weight: 700; color: var(--encre); }

/* ---------- Accueil : tas de cartes ---------- */
.lm-tas { flex: 1 1 360px; height: 440px; position: relative; }
.lm-tas__carte { position: absolute; left: 50%; top: 55%; width: 178px; aspect-ratio: 63 / 88; border-radius: 12px; border: 5px solid #fff; overflow: hidden; display: block;
  background: linear-gradient(160deg, var(--bleu-ciel), var(--lavande) 50%, var(--peche)); box-shadow: 0 10px 24px rgba(30,42,68,.22);
  transition: transform .62s cubic-bezier(.3,1.25,.5,1), box-shadow .4s ease, filter .4s ease; will-change: transform; }
.lm-tas__carte:nth-child(3n) { background: linear-gradient(160deg, var(--sable), var(--peche)); }
.lm-tas__carte:nth-child(3n+1) { background: linear-gradient(160deg, #fff, var(--aube)); }
.lm-tas__carte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-tas__carte:not(.lm-tas__carte--avant) { filter: saturate(.92) brightness(.97); }
.lm-tas__carte--sortie { transition-duration: .38s; transition-timing-function: cubic-bezier(.4,0,.6,1); }
.lm-tas__carte--retour { transition-duration: .7s; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.lm-tas__carte--avant { box-shadow: 0 30px 60px rgba(30,42,68,.35), 0 0 0 1px rgba(255,255,255,.6); }
.lm-tas__carte--avant::after { animation-duration: 1.6s !important; }
.lm-tas__carte.lm-holo::after { z-index: 1; }
@media (max-width: 640px) { .lm-tas { height: 330px; } .lm-tas__carte { width: 132px; } }
/* Ordinateur : le tas prend plus de place à côté du texte */
@media (min-width: 1024px) {
  .lm-hero { flex-wrap: nowrap; gap: 24px; padding-top: 40px; }
  .lm-hero__texte { flex: 0 1 520px; }
  .lm-tas { flex: 1 1 560px; height: 580px; }
  .lm-tas__carte { width: 238px; border-width: 6px; border-radius: 15px; }
}
@media (min-width: 1280px) { .lm-tas { height: 620px; } .lm-tas__carte { width: 256px; } }
@media (prefers-reduced-motion: reduce) { .lm-tas__carte { transition: none; } }

/* ---------- Contact : carte postale + carte TCG + mouette facteur ---------- */
.lm-contact { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; margin-top: 8px; }
.lm-contact__gauche { display: grid; gap: 14px; min-width: 0; }
@media (max-width: 960px) { .lm-contact { grid-template-columns: 1fr; } .lm-contact__droite { order: -1; width: 100%; max-width: 360px; justify-self: center; } .lm-tcg { position: static; } }

/* La carte postale */
.lm-postale { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; background: #FFFDF8; border-radius: 18px; padding: 36px;
  box-shadow: 0 18px 40px rgba(30,42,68,.13), 0 2px 0 rgba(30,42,68,.04); transform-origin: 50% 50%; }
/* Liseré « par avion » : un anneau rayé découpé par masque, qui suit les coins arrondis */
.lm-postale::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 9px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, #E8743B 0 12px, transparent 12px 22px, #6FA8DC 22px 34px, transparent 34px 44px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lm-postale__message { display: grid; gap: 14px; align-content: start; padding-right: 26px; border-right: 2px dashed var(--trait); min-width: 0; }
.lm-postale__adresse { display: grid; gap: 14px; align-content: start; padding-left: 26px; min-width: 0; }
.lm-postale__entete { margin: 0; font-family: "Trebuchet MS", system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--aile); }
.lm-postale label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; color: var(--aile); }
.lm-postale input:not([type=checkbox]), .lm-postale textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--encre); background: transparent; border: 0; border-bottom: 2px solid var(--ciel-matin); border-radius: 0; padding: 8px 2px; min-height: 42px; outline: none; transition: border-color .2s; }
.lm-postale input:not([type=checkbox]):focus, .lm-postale textarea:focus { border-bottom-color: var(--encre); }
.lm-postale__texte textarea { resize: vertical; min-height: 190px; line-height: 32px; padding-top: 0; border-bottom: 0;
  background-image: linear-gradient(transparent 30px, var(--ciel-matin) 30px 32px); background-size: 100% 32px; background-attachment: local; }
.lm-postale__sujets { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-pastille-sujet { font: inherit; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--ciel-matin); background: #fff; color: var(--encre); cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.lm-pastille-sujet:hover { transform: translateY(-2px) rotate(-1.5deg); border-color: var(--bec); }
.lm-pastille-sujet[aria-pressed=true] { background: var(--bec); border-color: var(--bec); }
.lm-postale__timbres { display: flex; justify-content: flex-end; align-items: center; gap: 0; min-height: 110px; }
.lm-postale__timbre { width: 94px; height: 110px; padding: 10px; background: #fff; transform: rotate(4deg); position: relative; z-index: 1;
  filter: drop-shadow(0 3px 5px rgba(30,42,68,.18));
  /* dentelure : le centre plein + une rangée de trous tout autour */
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 4px, #0000 96%, #000) -6px -6px / 12px 12px round;
          mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 4px, #0000 96%, #000) -6px -6px / 12px 12px round; }
.lm-postale__timbre img { width: 100%; height: 100%; object-fit: contain; outline: 4px solid #fff; background: linear-gradient(160deg, var(--bleu-ciel), var(--aube)); display: block; }
.lm-postale__cachet { width: 108px; margin-right: -38px; position: relative; z-index: 2; transform: rotate(-12deg); opacity: .7; pointer-events: none; }
.lm-postale__cachet svg { width: 100%; height: auto; display: block; fill: none; stroke: var(--encre-2); stroke-width: 2.5; }
.lm-postale__cachet text { fill: var(--encre-2); stroke: none; font: 800 11px "Trebuchet MS", system-ui, sans-serif; letter-spacing: 1.5px; }
.lm-postale__cachet .lm-postale__cachet-date { font-size: 13px; letter-spacing: .5px; }
.lm-postale__dest { margin: 4px 0 2px; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 21px; color: var(--encre); line-height: 1.25; }
.lm-postale__dest span { display: block; font-family: inherit; font-size: 14px; color: var(--aile); }
.lm-postale .lm-cgv { font-weight: 400; font-size: 13px; color: var(--encre-2); }
.lm-postale__envoi { margin: 4px 0 0; }
.lm-postale__tampon, .lm-contact__merci-tampon { font-family: "Trebuchet MS", system-ui, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #C2410C; border: 4px double #C2410C; border-radius: 12px; padding: 4px 14px; }
.lm-postale__tampon { position: absolute; left: 50%; top: 46%; font-size: 44px; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); opacity: 0; pointer-events: none; z-index: 5; background: rgba(255,253,248,.55); }
.lm-postale--tamponnee .lm-postale__tampon { animation: lm-tampon .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.lm-postale--envol { transition: transform .7s cubic-bezier(.5,0,.7,.4), opacity .7s ease .5s; }
@keyframes lm-tampon { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); } 70% { opacity: .95; transform: translate(-50%, -50%) rotate(-14deg) scale(.92); } 100% { opacity: .9; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
@media (max-width: 720px) {
  .lm-postale { grid-template-columns: 1fr; padding: 26px 22px; }
  .lm-postale__message { padding-right: 0; border-right: 0; border-bottom: 2px dashed var(--trait); padding-bottom: 18px; }
  .lm-postale__adresse { padding-left: 0; padding-top: 4px; }
  .lm-postale__timbres { order: -1; min-height: 0; position: absolute; top: 10px; right: 12px; transform: scale(.62); transform-origin: top right; }
  .lm-postale__tampon { font-size: 30px; }
}
.lm-contact__merci { display: flex; align-items: center; gap: 16px; margin: 0; padding: 16px 20px; background: #fff; border-radius: 18px; font-weight: 700; box-shadow: 0 6px 18px rgba(30,42,68,.08); }
.lm-contact__merci-tampon { flex: 0 0 auto; font-size: 15px; transform: rotate(-8deg); }

/* La carte TCG des coordonnées */
.lm-tcg { perspective: 900px; position: sticky; top: 20px; }
.lm-tcg__carte { border-radius: 20px; padding: 14px; border: 9px solid var(--bec); box-shadow: 0 22px 44px rgba(30,42,68,.22);
  background: linear-gradient(165deg, #FFFDF4, var(--sable) 55%, var(--peche)); display: grid; gap: 8px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.3,1); transform-style: preserve-3d; }
.lm-tcg--suit .lm-tcg__carte { transition-duration: .08s; }
.lm-tcg__haut { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-family: "Trebuchet MS", system-ui, sans-serif; }
.lm-tcg__haut strong { font-size: 19px; }
.lm-tcg__haut span { font-size: 12px; font-weight: 800; color: #B03A2E; white-space: nowrap; }
.lm-tcg__haut b { font-size: 21px; }
.lm-tcg__image { border: 4px solid #E9C46A; border-radius: 6px; background: linear-gradient(160deg, var(--bleu-ciel), var(--aube) 60%, var(--peche)); aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.lm-tcg__image img { width: 78%; height: 92%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(30,42,68,.25)); }
.lm-tcg__type { margin: 0; text-align: center; font-size: 11px; font-weight: 800; font-style: italic; background: linear-gradient(90deg, transparent, rgba(233,196,106,.55), transparent); padding: 2px 0; }
.lm-tcg__attaques { list-style: none; margin: 0; padding: 0; display: grid; }
.lm-tcg__attaques li + li { border-top: 1px solid rgba(30,42,68,.12); }
.lm-tcg__attaques li > a, .lm-tcg__attaques li > div { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; text-decoration: none; color: var(--encre); border-radius: 10px; }
.lm-tcg__attaques li > a:hover { background: rgba(255,255,255,.6); }
.lm-tcg__attaques i { font-style: normal; flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(30,42,68,.18); font-size: 15px; }
.lm-tcg__attaques span { display: grid; gap: 1px; min-width: 0; }
.lm-tcg__attaques b { font-family: "Trebuchet MS", system-ui, sans-serif; font-size: 15px; }
.lm-tcg__attaques small { font-size: 13px; color: var(--encre-2); overflow-wrap: anywhere; }
.lm-tcg__citation { margin: 0; padding: 6px 8px; font-size: 12px; font-style: italic; color: var(--encre-2); border: 1px solid rgba(233,196,106,.9); border-radius: 6px; background: rgba(255,255,255,.45); }
.lm-tcg__bas { margin: 0; display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; color: var(--aile); }

/* La mouette facteur (mascotte assemblée à partir de ses calques) */
.lm-facteur { position: fixed; left: 0; top: 0; z-index: 9000; pointer-events: none; will-change: transform; }
.lm-facteur__scene { position: relative; transform-origin: 0 0; }
.lm-facteur__scene img { position: absolute; display: block; }
.lm-facteur__vol { animation: lm-facteur-bat .32s ease-in-out infinite; }
@keyframes lm-facteur-bat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.lm-facteur__lettre { position: absolute; width: 74px; height: 50px; border-radius: 6px; background: #FFFDF8; box-shadow: 0 4px 10px rgba(30,42,68,.25); border: 3px solid transparent;
  border-image: repeating-linear-gradient(-45deg, #E8743B 0 6px, #FFFDF8 6px 11px, #6FA8DC 11px 17px, #FFFDF8 17px 22px) 3; opacity: 0; transition: opacity .15s; }
.lm-facteur__lettre::after { content: ""; position: absolute; right: 5px; top: 5px; width: 14px; height: 17px; background: var(--bec); border-radius: 2px; }
.lm-facteur--prise .lm-facteur__lettre { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lm-tcg__carte { transition: none; } .lm-postale--tamponnee .lm-postale__tampon { animation: none; opacity: .9; transform: translate(-50%, -50%) rotate(-14deg); } }

/* ---------- Promotions, codes, bons d'achat, retours ---------- */
:where([hidden]) { display: none !important; }
.lm-prix-barre { color: var(--aile); font-weight: 400; font-size: .82em; text-decoration-thickness: 2px; text-decoration-color: rgba(176,58,46,.7); margin-right: 4px; }
.lm-prix-promo { color: #B03A2E; font-weight: 800; }
.lm-badge--promo { background: #E8743B; color: #fff; }
.lm-fiche__ref { margin-top: -10px; }
.lm-reduction { align-items: baseline; }
.lm-reduction span small { color: var(--aile); }
.lm-reduction .lm-lien { font-size: 13px; margin-left: 4px; }
.lm-code { margin: 4px 0 10px; }
.lm-code summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--encre-2); }
.lm-code__form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lm-code__form label { flex: 1 1 150px; }
.lm-code__form input { width: 100%; min-height: 46px; border: 2px solid var(--ciel-matin); border-radius: 14px; padding: 0 12px; font: inherit; text-transform: uppercase; background: var(--plume); color: var(--encre); }
.lm-code__form .lm-btn { min-height: 46px; }
.lm-bons { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 10px 0; }
.lm-bon { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: linear-gradient(150deg, var(--sable), var(--peche)); border: 2px dashed rgba(30,42,68,.25); }
.lm-bon__code { font-family: Consolas, Menlo, monospace; font-size: 18px; letter-spacing: 1px; }
.lm-bon__solde { font-family: "Trebuchet MS", system-ui, sans-serif; font-size: 28px; font-weight: 800; }
.lm-retour { margin: 18px 0; }
.lm-retour summary { list-style: none; display: inline-flex; }
.lm-retour summary::-webkit-details-marker { display: none; }
.lm-retour[open] summary { margin-bottom: 12px; }
.lm-retour__ligne { display: flex !important; align-items: center; gap: 10px; }
.lm-retour__ligne span { flex: 1; }
.lm-retour__ligne input { width: 80px; min-height: 42px; border: 2px solid var(--ciel-matin); border-radius: 12px; padding: 0 8px; font: inherit; }
.lm-retour__pref { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.lm-retour__pref legend { font-weight: 600; margin-bottom: 6px; }

/* Édition en promo (fiche) et langues en promo (vignette) */
.lm-edition { position: relative; }
.lm-edition--promo { border-color: #E8743B; background: linear-gradient(135deg, #fff 55%, #FFF1E8); }
.lm-edition--promo:has(input:checked) { border-color: #C2410C; background: linear-gradient(135deg, var(--plume) 50%, #FFE4D3); box-shadow: 0 0 0 2px rgba(232,116,59,.25); }
.lm-edition__ruban { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  background: #E8743B; color: #fff; padding: 2px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(194,65,12,.3); transform: rotate(3deg); }
.lm-edition--promo .lm-edition__prix .lm-prix-barre { display: block; font-size: 12px; text-align: right; }
.lm-badge__drapeaux { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.lm-badge__drapeaux .lm-drapeau { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.8); }

/* Cadeaux par palier */
.lm-cadeaux { margin: 8px 0; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #FFF6D6, #FFE9DD); border: 2px dashed #F1B27A; font-size: 14px; }
.lm-cadeaux p { margin: 0; }
.lm-cadeaux ul { margin: 6px 0 0; padding-left: 18px; }
.lm-cadeaux--prochain { background: var(--plume); border-color: var(--ciel-matin); }

/* ---------- Accueil : le booster qui se déchire (titre en autocollants) ---------- */
.lm-booster { position: relative; display: block; padding-top: 70px; align-self: center; }
.lm-booster__paquet { position: relative; z-index: 2; border-radius: 0 0 22px 22px; padding: 30px 36px 40px; transform: rotate(-2deg);
  background: linear-gradient(115deg, var(--bleu-ciel), var(--lavande) 30%, var(--peche) 55%, var(--sable) 75%, var(--bleu-ciel)); background-size: 200% 100%;
  animation: lm-holo 6s linear infinite; box-shadow: 0 30px 60px rgba(30,42,68,.22), inset 0 0 0 3px rgba(255,255,255,.6); }
.lm-booster__paquet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; border-radius: 0 0 22px 22px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 6px, transparent 6px 12px); }
.lm-booster__rabat { position: absolute; z-index: 3; left: 0; right: 0; top: 20px; height: 54px; transform: rotate(-2deg); transform-origin: 100% 100%;
  border-radius: 12px 12px 0 0; background: linear-gradient(115deg, var(--bleu-ciel), var(--lavande) 30%, var(--peche) 55%, var(--sable) 75%, var(--bleu-ciel)); background-size: 200% 100%;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 97% 100%, 94% 80%, 91% 100%, 88% 78%, 85% 100%, 82% 80%, 79% 100%, 76% 78%, 73% 100%, 70% 80%, 67% 100%, 64% 78%, 61% 100%, 58% 80%, 55% 100%, 52% 78%, 49% 100%, 46% 80%, 43% 100%, 40% 78%, 37% 100%, 34% 80%, 31% 100%, 28% 78%, 25% 100%, 22% 80%, 19% 100%, 16% 78%, 13% 100%, 10% 80%, 7% 100%, 4% 78%, 0 100%); }
.lm-booster__rabat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.8) 0 6px, transparent 6px 12px); }
.lm-booster__dechirure { position: absolute; left: 0; top: 2px; width: 0; border-top: 3px dashed rgba(30,42,68,.45); }
.lm-booster__etincelle { position: absolute; top: -7px; left: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 0 4px var(--bec), 0 0 18px 6px rgba(255,214,107,.8); }
.lm-booster__cartes span { position: absolute; z-index: 1; top: 70px; width: 92px; aspect-ratio: 63 / 88; border-radius: 9px; border: 5px solid #fff; opacity: 0;
  box-shadow: 0 10px 20px rgba(30,42,68,.2); background: linear-gradient(160deg, var(--sable), var(--peche)); }
.lm-booster__cartes span:nth-child(1) { left: 22%; }
.lm-booster__cartes span:nth-child(2) { left: 62%; background: linear-gradient(160deg, var(--ciel-matin), var(--aube)); }
.lm-booster__cartes span:nth-child(3) { left: 42%; width: 100px; background: linear-gradient(160deg, var(--bleu-ciel), var(--lavande) 55%, var(--peche)); }
.lm-booster__haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.lm-booster__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--encre); color: var(--bec); font-weight: 800; font-size: 15px; padding: 8px 16px;
  border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 6px 0 #F2A65A; }
.lm-booster__badge svg { fill: currentColor; }
.lm-booster__edition { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.75); padding: 6px 10px; border-radius: 8px; color: var(--encre); }
.lm-hero h1.lm-booster__titre { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; margin: 0 0 20px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: -1px; }
.lm-sticker { position: relative; display: inline-block; padding: .16em .34em .24em; border-radius: 20px; color: var(--encre); box-shadow: 0 0 0 6px #fff, 0 12px 22px rgba(30,42,68,.16); }
.lm-sticker--blanc { background: #fff; transform: rotate(-2deg); }
.lm-sticker--jaune { background: var(--bec); transform: rotate(2.5deg); }
.lm-sticker--fin { background: var(--encre); color: #fff; transform: rotate(-4deg); font-size: 1.25em; box-shadow: 0 0 0 6px #fff, 0 12px 22px rgba(30,42,68,.22); }
.lm-sticker__mouette { position: absolute; width: 1.6em; height: 1em; right: -1.75em; top: -.15em; overflow: visible; fill: none; stroke: var(--encre); stroke-linecap: round; stroke-linejoin: round; }
.lm-sticker__trace { stroke-width: 3; stroke-dasharray: 2 9; }
.lm-sticker__vol path { stroke-width: 4; }
.lm-sticker__vol { transform-origin: 92px 22px; animation: lm-bst-vol 2.4s ease-in-out infinite; }
.lm-hero .lm-booster__texte { margin: 0; font-size: 18px; max-width: 480px; background: rgba(255,255,255,.72); padding: 10px 14px; border-radius: 12px; color: var(--encre); }
.lm-effet-nuit .lm-hero .lm-booster__texte { color: var(--encre); }

/* L'ouverture (classe posée par booster.js : une fois à l'arrivée, puis toutes les ~20 s) */
.lm-booster--joue .lm-booster__dechirure { animation: lm-bst-dechire 7s linear; }
.lm-booster--joue .lm-booster__etincelle { animation: lm-bst-etincelle 7s linear; }
.lm-booster--joue .lm-booster__rabat { animation: lm-bst-rabat 7s cubic-bezier(.5,0,.4,1); }
.lm-booster--joue .lm-booster__cartes span:nth-child(1) { animation: lm-bst-c1 7s ease-in-out; }
.lm-booster--joue .lm-booster__cartes span:nth-child(2) { animation: lm-bst-c2 7s ease-in-out; }
.lm-booster--joue .lm-booster__cartes span:nth-child(3) { animation: lm-bst-c3 7s ease-in-out; }
@keyframes lm-bst-dechire { 0%, 8% { width: 0; } 30%, 96% { width: 100%; } 100% { width: 0; } }
@keyframes lm-bst-etincelle { 0%, 8% { left: 0; opacity: 0; } 10% { opacity: 1; } 30% { left: 100%; opacity: 1; } 33%, 100% { left: 100%; opacity: 0; } }
@keyframes lm-bst-rabat { 0%, 30% { transform: rotate(-2deg); opacity: 1; } 42% { transform: translate(30px, -60px) rotate(-12deg); opacity: 1; }
  56%, 88% { transform: translate(140px, -210px) rotate(-28deg); opacity: 0; } 100% { transform: rotate(-2deg); opacity: 1; } }
@keyframes lm-bst-c1 { 0%, 40% { transform: translateY(90px); opacity: 0; } 52% { transform: translate(-30px, -60px) rotate(-14deg); opacity: 1; } 60%, 84% { transform: translate(-20px, -40px) rotate(-10deg); opacity: 1; } 94%, 100% { transform: translateY(90px); opacity: 0; } }
@keyframes lm-bst-c2 { 0%, 44% { transform: translateY(90px); opacity: 0; } 56% { transform: translate(40px, -80px) rotate(12deg); opacity: 1; } 64%, 84% { transform: translate(30px, -58px) rotate(9deg); opacity: 1; } 94%, 100% { transform: translateY(90px); opacity: 0; } }
@keyframes lm-bst-c3 { 0%, 48% { transform: translateY(90px); opacity: 0; } 60% { transform: translateY(-96px) rotate(-3deg); opacity: 1; } 68%, 84% { transform: translateY(-74px) rotate(-2deg); opacity: 1; } 94%, 100% { transform: translateY(90px); opacity: 0; } }
@keyframes lm-bst-vol { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(10px, -12px) rotate(4deg); } }

@media (min-width: 1024px) { .lm-hero .lm-booster { flex: 0 1 600px; } }
@media (max-width: 640px) {
  .lm-booster { padding-top: 56px; width: 100%; }
  .lm-booster__paquet { padding: 22px 20px 32px; transform: none; }
  .lm-booster__rabat { transform: none; height: 44px; top: 14px; }
  .lm-booster__cartes span { width: 64px; top: 60px; }
  .lm-booster__cartes span:nth-child(3) { width: 70px; }
  .lm-sticker { border-radius: 14px; box-shadow: 0 0 0 4px #fff, 0 8px 16px rgba(30,42,68,.16); }
  .lm-sticker__mouette { display: none; }
}
/* Moins d'animations : le booster s'affiche déjà ouvert, cartes sorties, sans mouvement */
@media (prefers-reduced-motion: reduce) {
  .lm-booster__rabat { display: none; }
  .lm-booster__dechirure { width: 100%; }
  .lm-booster__cartes span { opacity: 1; }
  .lm-booster__cartes span:nth-child(1) { transform: translate(-20px, -40px) rotate(-10deg); }
  .lm-booster__cartes span:nth-child(2) { transform: translate(30px, -58px) rotate(9deg); }
  .lm-booster__cartes span:nth-child(3) { transform: translateY(-74px) rotate(-2deg); }
  .lm-booster__paquet, .lm-sticker__vol { animation: none; }
}

/* ---------- Finitions des cartes (0.14) ---------- */
.lm-pastille-finition { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--fin); box-shadow: inset 0 0 0 1.5px rgba(31,45,61,.18); flex: none; }
.lm-pastille-finition--brillant { background: linear-gradient(135deg, var(--fin) 25%, #fff 48%, var(--fin) 72%); background-size: 200% 200%; }
.lm-produit__finitions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lm-produit__finitions small { font-size: 12px; color: var(--aile); font-weight: 700; margin-left: 2px; }
.lm-finitions { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.lm-finitions legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.lm-finition { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 2px solid var(--trait); border-radius: 999px; background: #fff; cursor: pointer; }
.lm-finition input { position: absolute; opacity: 0; pointer-events: none; }
.lm-finition span { display: grid; line-height: 1.2; }
.lm-finition strong { font-size: 14px; }
.lm-finition small { font-size: 12px; color: var(--aile); }
.lm-finition .lm-pastille-finition { width: 20px; height: 20px; }
.lm-finition:has(input:checked) { border-color: var(--encre); background: var(--plume, #F4F9FD); }
.lm-finition:has(input:focus-visible) { outline: 3px solid var(--lien); outline-offset: 2px; }
.lm-finition--epuise { opacity: .5; cursor: not-allowed; }
.lm-finition--promo { border-color: var(--peche); }
.lm-finition:has(input:checked) .lm-pastille-finition--brillant { animation: lm-reflet 2.4s ease-in-out infinite; }
@keyframes lm-reflet { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .lm-finition:has(input:checked) .lm-pastille-finition--brillant { animation: none; } }
.lm-edition[hidden] { display: none !important; }
.lm-edition__finition { font-style: normal; font-size: 12px; font-weight: 700; color: var(--encre-2); }
.lm-ajout-form--finitions .lm-edition__finition { display: none; }
.lm-ligne__finition { font-size: 13px; color: var(--encre-2); }
.lm-filtres-fins { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin: -8px 0 20px; }
.lm-filtres-fins label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--encre-2); }
.lm-filtres-fins select { min-width: 210px; max-width: 100%; padding: 9px 12px; border-radius: 12px; border: 2px solid var(--trait); background: #fff; font: inherit; font-weight: 600; color: var(--encre); }
.lm-lien-discret { font-size: 14px; font-weight: 700; padding-bottom: 10px; }
.lm-compte { margin: -8px 0 16px; color: var(--aile); }
.lm-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 32px; }
.lm-pages a, .lm-pages span { min-width: 40px; padding: 8px 12px; border-radius: 999px; text-align: center; font-weight: 700; text-decoration: none; }
.lm-pages a { background: #fff; border: 2px solid var(--trait); }
.lm-pages [aria-current] { background: var(--encre); color: #fff; }
.lm-pages__trou { color: var(--aile); min-width: 0 !important; padding: 8px 2px !important; }

/* ---------- Classement des mini-jeux (0.15) ---------- */
.lm-classement__annonce { background: var(--sable, #FFF4D6); border-radius: 18px; padding: 14px 18px; margin: 0 0 20px; font-weight: 600; }
.lm-classement__liste { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; max-width: 640px; }
.lm-classement__liste li { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--trait); border-radius: 16px; padding: 10px 16px; }
.lm-classement__rang { width: 36px; text-align: center; font-weight: 800; font-size: 18px; color: var(--aile); }
.lm-classement__podium .lm-classement__rang { font-size: 24px; }
.lm-classement__pseudo { flex: 1; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.lm-classement__pseudo small { font-weight: 600; color: var(--aile); }
.lm-classement__score { font-size: 20px; }
.lm-classement__moi { border-color: var(--encre) !important; background: var(--plume, #F4F9FD) !important; }
.lm-classement__toi { max-width: 640px; }

/* ---------- Carte des points relais (0.15) ---------- */
.lm-relais { display: grid; gap: 10px; margin: 6px 0 14px; }
.lm-relais__choix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--plume, #F4F9FD); border: 2px dashed var(--trait); border-radius: 16px; padding: 12px 14px; }
.lm-relais__titre { margin: 0; font-weight: 800; width: 100%; }
.lm-relais__texte { margin: 0; flex: 1 1 240px; }
.lm-relais__panneau { display: grid; gap: 10px; }
.lm-relais__recherche { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.lm-relais__recherche label { display: grid; gap: 4px; flex: 1 1 140px; }
.lm-relais__resultats { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lm-relais__resultats:has(.lm-relais__carte:not([hidden])) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.lm-relais__carte { height: 360px; border-radius: 16px; overflow: hidden; border: 2px solid var(--trait); z-index: 0; }
.lm-relais__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.lm-relais__liste li { display: flex; justify-content: space-between; align-items: start; gap: 10px; background: #fff; border: 2px solid var(--trait); border-radius: 14px; padding: 10px 12px; }
.lm-relais__liste li > div { display: grid; gap: 2px; min-width: 0; }
.lm-relais__liste span, .lm-relais__liste small { font-size: 14px; color: var(--encre-2); }
.lm-relais__liste details { font-size: 13px; }
.lm-relais__liste .lm-btn { flex: none; padding: 8px 12px; font-size: 14px; }
.lm-relais__actif { border-color: var(--encre) !important; background: var(--plume, #F4F9FD) !important; }
.lm-relais__horaires { list-style: none; padding: 0; margin: 4px 0 0; }
.lm-relais__horaires span { display: inline-block; min-width: 76px; font-weight: 700; color: var(--encre); }

/* ---------- Commandes de l'ancienne boutique (0.16) ---------- */
.lm-commandes--anciennes { margin-top: 8px; }
.lm-ancienne summary { cursor: pointer; list-style: none; }
.lm-ancienne summary::-webkit-details-marker { display: none; }
.lm-ancienne summary::after { content: '▾'; color: var(--aile); }
.lm-ancienne[open] summary::after { content: '▴'; }
.lm-ancienne > :not(summary) { margin: 8px 16px 12px; }

/* ---------- Recherche avancée du shop (0.21) ---------- */
.lm-recherche-avancee { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; align-items: end; background: #fff; border: 2px solid var(--trait); border-radius: 20px; padding: 16px 18px; margin: -6px 0 20px; }
.lm-recherche-avancee label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--encre-2); min-width: 0; }
.lm-recherche-avancee select, .lm-recherche-avancee input[type=search] { width: 100%; padding: 9px 12px; border-radius: 12px; border: 2px solid var(--trait); background: #fff; font: inherit; font-weight: 600; color: var(--encre); }
.lm-recherche-avancee__texte { grid-column: span 2; }
@media (max-width: 520px) { .lm-recherche-avancee__texte { grid-column: auto; } .lm-recherche-avancee { grid-template-columns: 1fr 1fr; } .lm-recherche-avancee__texte, .lm-recherche-avancee__actions { grid-column: 1 / -1; } }
.lm-recherche-avancee__case { display: flex !important; align-items: center; gap: 8px; padding-bottom: 10px; font-size: 14px !important; color: var(--encre) !important; }
.lm-recherche-avancee__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lm-recherche-avancee__actions .lm-lien-discret { padding-bottom: 0; }
.lm-actions-paiement { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lm-option--indispo { opacity: .55; cursor: not-allowed; }

/* ---------- Records de tous les temps (mini-jeux) ---------- */
.lm-classement__titre-records { margin-top: 36px; }
.lm-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 24px; align-items: start; }
.lm-records__jeu { background: #fff; border: 2px solid var(--trait); border-radius: 18px; padding: 14px 16px; }
.lm-records__jeu h3 { margin: 0 0 8px; font-size: 18px; }
.lm-records__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lm-records__table th { text-align: left; font-size: 12px; color: var(--encre-2); padding: 4px 6px; border-bottom: 2px solid var(--trait); }
.lm-records__table td { padding: 6px; border-bottom: 1px solid var(--trait); }
.lm-records__table tr:last-child td { border-bottom: 0; }
.lm-records__moi td { background: #FFF6D9; }
.lm-classement__mois { display: flex; gap: 10px; align-items: end; margin: 6px 0 14px; }
.lm-classement__mois label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--encre-2); }
.lm-classement__mois select { padding: 9px 12px; border-radius: 12px; border: 2px solid var(--trait); font: inherit; font-weight: 600; background: #fff; }
.lm-classement__titre-mois { font-size: 20px; margin: 10px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lm-classement__vainqueur { background: #FFD66B; color: #1E2A44; border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.lm-palmares { background: #fff; border-radius: 16px; overflow: hidden; min-width: 520px; }
.lm-palmares th, .lm-palmares td { padding: 8px 10px; }
.lm-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
