/* Les polices du site, hébergées ici (dossier css/polices) : plus aucun appel à Google Fonts.
   Lilita One (titres) et Nunito (texte, graisses 600 à 900 dans un seul fichier), licence SIL Open Font.
   Deux fichiers par police : « latin » (le français) et « latin-ext » (accents d'autres langues, chargé seulement s'il sert). */
@font-face {
  font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(polices/lilita-one-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(polices/lilita-one-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(polices/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(polices/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Feuille du thème Sunset EasyRP.
   Partie 1 : la feuille de la maquette validée, reprise telle quelle. Ses
   classes sont celles du template Tebex (.store-product, .btn-primary…).
   Les visuels viennent de variables posées dans head.twig (--img-suncoin,
   --img-icones, --img-ville), d'après l'option « Adresse des visuels du thème ».
   Partie 2 (plus bas) : les éléments réels de Tebex et de main.js.
------------------------------------------------------------------ */
:root {
  --night: #120c20;
  --panel-a: #33225a;
  --panel-b: #1e1538;
  --card-a: #30225a;
  --card-b: #221741;
  --line: rgba(255, 255, 255, .09);
  --trait-champ: rgba(255, 255, 255, .4); /* le contour d'un champ ou d'un bouton + / − : il doit se voir (3 pour 1 au moins) */
  --text: #fff5e8;
  --muted: #b9add6;
  --gold: #ffc93c;
  --orange: #ff8a1f;
  --pink: #ff5d8f;
  --green: #96e86a;
  --ink: #3b1a00;
  --display: "Lilita One", "Arial Black", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.5;
  background:
    radial-gradient(900px 600px at 88% -8%, rgba(255, 138, 31, .20), transparent 70%),
    radial-gradient(700px 500px at -5% 12%, rgba(255, 93, 143, .12), transparent 70%),
    var(--night);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.gold { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }


/* Boutons en relief */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer;
  /* Le texte des boutons est en Nunito très gras (le 28/11/2026, à la demande du gérant : la police des titres se
     lisait mal sur le violet). La police des titres reste pour les titres et les prix. */
  font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 17px; letter-spacing: 0; white-space: nowrap;
  transition: transform .08s, box-shadow .08s, filter .12s;
}
.btn-primary { color: var(--ink); background: linear-gradient(180deg, #ffd95f, #ffa524); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 4px 0 #b55f00, 0 10px 18px rgba(0, 0, 0, .3); }
.btn-secondary { color: #fff; background: linear-gradient(180deg, #6d4fe0, #4b2fb8); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 4px 0 #2a1872, 0 10px 18px rgba(0, 0, 0, .3); }
.btn-primary:hover, .btn-secondary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 1px 0 #b55f00; }
.btn-secondary:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 1px 0 #2a1872; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 20px; border-radius: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
.wide { width: 100%; }

/* Pastilles */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 13px; letter-spacing: .03em; padding: 4px 11px; border-radius: 99px; text-transform: uppercase; }
.pill-gold { background: var(--gold); color: var(--ink); }
.pill-green { background: var(--green); color: #12330a; }
.pill-pink { background: var(--pink); color: #3d0719; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 800; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.chip-gold { border-color: rgba(255, 201, 60, .5); color: var(--gold); }
.coin { display: inline-block; width: .9em; height: .9em; background: var(--img-suncoin, none) center / contain no-repeat; vertical-align: -.08em; }

/* En-tête flottant */
.site-header { position: sticky; top: 10px; z-index: 5; margin-top: 12px; }
.site-header-inner {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px 8px 16px;
  background: rgba(30, 21, 56, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.site-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; white-space: nowrap; }
.site-title img { height: 46px; width: auto; }
.site-title span span { color: var(--gold); }
.site-navigation { flex: 1; min-width: 0; }
.navigation-list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; margin-bottom: -3px; }
.navigation-list a { display: block; padding: 9px 7px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; }
.navigation-list a:hover { color: var(--text); }
.navigation-list a.link-active { color: var(--ink); background: linear-gradient(180deg, #ffd95f, #ffa524); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 3px 0 #b55f00; }
.user-actions { display: flex; align-items: center; gap: 10px; }
.user-actions .discord { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 12px; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(180deg, #5865f2, #4752c4); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 3px 0 #333b9c; transition: transform .08s, filter .12s; }
.user-actions .discord:hover { filter: brightness(1.08); transform: translateY(-1px); }
.user-actions .log-in { padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 15px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.open-basket .count { background: var(--ink); color: var(--gold); border-radius: 99px; font-family: Nunito, sans-serif; font-weight: 900; font-size: 12px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; }

/* Panneaux */
.panel { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-a), var(--panel-b)); box-shadow: 0 8px 0 rgba(0, 0, 0, .3), 0 24px 50px rgba(0, 0, 0, .35); }

/* Hero Suncoins */
.hero { margin-top: 22px; padding: 40px 36px 26px; }
/* Décor du bandeau : ville au coucher du soleil (image générée, à héberger avec le thème) */
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: min(100%, 800px); height: 400px; pointer-events: none;
  background: var(--img-ville, none) right 55% / auto 135% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 52%), linear-gradient(#000 58%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 52%), linear-gradient(#000 58%, transparent 96%);
  mask-composite: intersect;
}
.hero-text { position: relative; max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 60, .25); }
.hero h1 { font-size: clamp(48px, 7.4vw, 86px); color: var(--gold); text-shadow: 0 4px 0 #a14d00, 0 12px 26px rgba(0, 0, 0, .45); }
.hero .lead { font-size: 18px; max-width: 46ch; margin-top: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coin-row { position: relative; display: grid; grid-template-columns: var(--colonnes, repeat(5, 1fr)); gap: 14px; margin-top: 30px; }
.coin-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 16px 14px 14px; border-radius: 20px; border: 2px solid var(--line);
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); box-shadow: 0 6px 0 rgba(0, 0, 0, .32);
  transition: transform .12s;
}
.coin-card:hover { transform: translateY(-4px); }
.coin-card.best { border-color: var(--gold); box-shadow: 0 6px 0 rgba(0, 0, 0, .32), 0 0 30px rgba(255, 201, 60, .28); }
.coin-card .pill-green { position: absolute; left: 8px; top: 8px; transform: rotate(-4deg); }
.coin-card .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.coin-card .art { height: 118px; width: 100%; display: grid; place-items: center; background: radial-gradient(60% 22% at 50% 92%, rgba(0, 0, 0, .45), transparent 70%); }
.coin-card .art img { height: 108px; width: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .35)); }
.coin-card .amount { font-family: var(--display); font-size: 30px; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); line-height: 1.1; }
.coin-card .unit { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.coin-card .was { height: 20px; font-size: 15px; line-height: 20px; font-weight: 800; color: var(--muted); text-decoration-thickness: 2px; }
.coin-card .pill-green, .coin-card .flag { z-index: 1; }
.coin-card.best .pill-green { top: 24px; }
.coin-card.best .btn-primary { position: relative; overflow: hidden; }
.coin-card.best .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 38%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shine 3.8s ease-in-out 1; }
/* Le reflet passe une fois à l'arrivée, puis seulement quand la souris ou le clavier est sur la carte : rien ne bouge sans fin */
.coin-card.best:hover .btn-primary::after, .coin-card.best:focus-within .btn-primary::after { animation-iteration-count: infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Page Suncoins : une offre, pas une grille */
.offer h1 { font-size: clamp(40px, 5.6vw, 66px); max-width: 640px; }
.offer .coin-row { grid-template-columns: var(--colonnes, repeat(4, 1fr) 1.24fr); align-items: end; }
.offer .coin-card { padding: 20px 14px 16px; }
.offer .coin-card .art { height: 140px; }
.offer .coin-card .art img { height: 128px; }
.offer .coin-card .amount { font-size: 34px; }
.offer .coin-card.best { padding-bottom: 20px; }
.offer .coin-card.best .art { height: 168px; }
.offer .coin-card.best .art img { height: 154px; }
.offer .coin-card.best .amount { font-size: 44px; }
.offer .coin-card.best .was { font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(30, 21, 56, .7); }
.step .n { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 20px; color: var(--ink); background: linear-gradient(180deg, #ffe37d, #ffa524); box-shadow: 0 3px 0 #b55f00; }
.step b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.2; }
.step p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.cross { margin-top: 22px; display: flex; align-items: center; gap: 22px; padding: 22px 28px; background: linear-gradient(100deg, #2c1e4f 0%, #4a2a6b 55%, #7a4a12 100%); }
.cross .medals { display: flex; flex: none; }
.cross .medals img { width: 62px; height: 62px; margin-left: -18px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); }
.cross .medals img:first-child { margin-left: 0; }
.cross h2 { font-size: 30px; }
.cross p { color: #e6dcf7; margin-top: 4px; max-width: 58ch; }
.cross .btn-primary { margin-left: auto; flex: none; }
.assure { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 22px; font-size: 14px; font-weight: 800; }
.assure span { display: inline-flex; align-items: center; gap: 9px; }
.assure span::before, .perks li::before, .inside li::before, .yes { content: ""; display: inline-block; width: 11px; height: 6px; border-left: 3px solid var(--c, var(--green)); border-bottom: 3px solid var(--c, var(--green)); transform: rotate(-45deg) translateY(-2px); flex: none; }

/* Sections */
.section { padding-top: 54px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 42px; }
.section-head p { color: var(--muted); margin-top: 6px; }

/* Tuiles catégories */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile {
  position: relative; overflow: hidden; min-height: 128px; padding: 18px 20px; border-radius: 20px;
  background: linear-gradient(115deg, #2c1e4f 30%, color-mix(in srgb, var(--c) 34%, #2c1e4f));
  border-top: 4px solid var(--c); box-shadow: 0 6px 0 rgba(0, 0, 0, .32); transition: transform .12s;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile h3 { font-size: 30px; }
.cat-tile .sub { font-size: 14px; color: #e6dcf7; max-width: 58%; }
.cat-tile .from { font-size: 13px; color: var(--muted); margin-top: 8px; }
.cat-tile .from b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--gold); }
.cat-tile .art { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%); }
.cat-tile .art img { position: absolute; left: 50%; top: 2px; height: 162%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); transition: transform .15s; }
.cat-tile .art.plain img { left: 4%; width: 92%; height: auto; top: 50%; transform: translateY(-50%); }
.cat-tile:hover .art:not(.plain) img { transform: translateX(-50%) scale(1.05); }
/* Tuile illustrée par une photo (les voitures) : elle remplit sa zone */
.cat-tile .art.photo { width: 46%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.cat-tile .art.photo img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
.cat-tile:hover .art.photo img { transform: scale(1.06); }

/* Les packs à la une */
.spotlight { margin-top: 18px; padding: 26px 26px 28px; background: linear-gradient(100deg, #3a1b33 0%, #6a2c1b 62%, #94500f 100%); }
.spotlight-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.spotlight-head h2 { font-size: 42px; }
.spotlight-head p { color: #ffe9d2; margin-top: 4px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: rgba(18, 12, 32, .6); border: 2px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 0 rgba(0, 0, 0, .3); transition: transform .12s; }
.pack-card:hover { transform: translateY(-4px); }
.pack-card .media { display: grid; place-items: center; height: 200px; padding: 16px; background: radial-gradient(60% 55% at 50% 60%, rgba(255, 201, 60, .32), transparent 72%); }
.pack-card .media img { max-height: 168px; width: auto; border-radius: 12px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .5)); }
.pack-card .body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 4px 18px 18px; }
.pack-card h3 { font-size: 26px; }
.pack-card .inside { font-size: 14px; gap: 5px; }

/* VIP */
.store-products-tiered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 14px; }
.store-product-tiered {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 22px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 2px solid var(--line); border-top: 5px solid var(--c);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .32);
}
.store-product-tiered.featured { border-color: var(--gold); box-shadow: 0 6px 0 rgba(0, 0, 0, .32), 0 0 34px rgba(255, 201, 60, .25); }
.store-product-tiered .flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.tier-head { display: flex; align-items: center; gap: 14px; }
.tier-head img { width: 64px; height: 64px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }
.tier-head h3 { font-size: 28px; color: var(--c); }
.tier-price { margin: 14px 0 16px; }
.tier-price strong { font-family: var(--display); font-weight: 400; font-size: 40px; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.tier-price span { color: var(--muted); font-size: 15px; }
.perks { display: grid; gap: 10px; margin-bottom: 24px; font-size: 15px; }
.perks li { display: flex; align-items: baseline; gap: 12px; }
.store-product-tiered .btn-primary, .store-product-tiered .btn-secondary { margin-top: auto; }

/* Cartes produit */
.store-products-images { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
.cols-2 { --cols: 2; } .cols-3 { --cols: 3; } .cols-4 { --cols: 4; } .cols-5 { --cols: 5; }
.store-products-images.cols-3 .image-link { aspect-ratio: 16 / 9; }
.store-products-images.cols-5 .product-actions { flex-direction: column; align-items: stretch; }

/* Pages catégorie : rayons, grandes cartes, barre de raccourcis */
.subnav {
  position: sticky; top: 88px; z-index: 4; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin-top: 18px; padding: 6px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(30, 21, 56, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.subnav a { padding: 8px 14px; border-radius: 11px; font-weight: 800; font-size: 15px; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.subnav a.on { color: var(--ink); background: linear-gradient(180deg, #ffd95f, #ffa524); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 3px 0 #b55f00; }
.group { padding-top: 40px; scroll-margin-top: 150px; }
.group .section-head { align-items: baseline; margin-bottom: 16px; }
.group .section-head h2 { font-size: 34px; }
.wide-cards { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 18px; }
.store-product.wide-card { flex-direction: row; min-height: 156px; }
.store-product.wide-card .image-link { width: 42%; flex: none; aspect-ratio: auto; background: radial-gradient(60% 42% at 50% 80%, color-mix(in srgb, var(--c, var(--orange)) 45%, transparent), transparent 72%); }
.store-product.wide-card .image { width: 88%; height: 88%; }
.store-product.wide-card .body { padding: 18px 18px 16px 6px; }
.store-product.wide-card .product-title { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.1; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.store-product.wide-card .price strong { font-size: 27px; }
/* Trois grandes cartes par ligne : le titre et le prix barré doivent tenir dans une colonne étroite */
.wide-cards.cols-3 .store-product.wide-card .product-title { font-size: 21px; }
.wide-cards.cols-3 .store-product.wide-card .price strong { font-size: 23px; }
.wide-cards.cols-3 .store-product.wide-card .price .pill { display: none; }
.store-product.wide-card .product-actions { flex-wrap: wrap; }
.store-product.wide-card .body { min-width: 0; }
.page-head + .coin-row { margin-top: 22px; }
.page-head + .coin-row .art { height: 150px; }
.page-head + .coin-row .art img { height: 138px; }
.store-product {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); border: 2px solid var(--line); border-top: 4px solid var(--c, var(--orange));
  box-shadow: 0 6px 0 rgba(0, 0, 0, .32); transition: transform .12s;
}
.store-product:hover { transform: translateY(-4px); }
.store-product .image-link { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(58% 46% at 50% 88%, color-mix(in srgb, var(--c, var(--orange)) 45%, transparent), transparent 72%); }
.store-product .image { width: 80%; height: 88%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .4)); }
.store-product .body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.product-title { font-size: 16px; font-weight: 900; line-height: 1.25; }
.store-product .spec { font-size: 13px; color: var(--muted); }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { white-space: nowrap; }
.price strong { font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--gold); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }


/* Page catégorie */
.page-head { margin-top: 22px; padding: 30px 34px; border-top: 5px solid var(--c, var(--orange)); }
.page-head h1 { font-size: 56px; }
.page-head p { max-width: 62ch; margin-top: 8px; color: #e6dcf7; }
.page-head .chip { margin-top: 14px; }
.page-head .art { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 150px; opacity: .95; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.page-head + .store-products-images, .page-head + .panel { margin-top: 22px; }

/* Fiche produit */
.crumb { font-size: 14px; color: var(--muted); padding: 24px 0 0; }
.crumb a:hover { color: var(--text); }
.store-product-full { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 16px; align-items: start; }
.full-media { aspect-ratio: 1; display: grid; place-items: center; position: sticky; top: 96px; background: radial-gradient(46% 24% at 50% 62%, rgba(255, 138, 31, .5), transparent 72%), linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.full-info h1 { font-size: 60px; }
.full-info .lead { color: #e6dcf7; font-size: 17px; margin-top: 10px; max-width: 46ch; }
.buy { margin-top: 22px; padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(30, 21, 56, .7); }
.buy .price strong { font-size: 46px; }
.buy .price del { font-size: 20px; color: var(--muted); margin-right: 10px; }
.buy .assure { justify-content: flex-start; margin-top: 18px; gap: 6px 22px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.stat { padding: 12px 10px; border-radius: 16px; text-align: center; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold); line-height: 1.15; }
.stat span { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.note { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(255, 201, 60, .08); font-size: 15px; }

/* Comparatif VIP */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: #e6dcf7; font-weight: 700; }
.compare thead th { vertical-align: bottom; padding-top: 34px; position: relative; }
.compare thead img { width: 64px; height: 64px; margin: 0 auto 6px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }
.compare thead .name { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--c); }
.compare thead .flag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.compare .col-featured { background: rgba(255, 201, 60, .08); }
.compare td { font-weight: 900; }
.compare tfoot td { border-bottom: 0; padding: 20px 18px 26px; vertical-align: top; }
.compare tfoot strong { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--gold); display: block; }
.compare tfoot small { display: block; color: var(--muted); font-weight: 700; margin-bottom: 12px; }

/* Page VIP : trois grandes cartes, le tableau se déplie en dessous */
.vip-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 34px; }
.vip-card {
  position: relative; padding: 24px 20px 20px; border-radius: 24px;
  border: 2px solid color-mix(in srgb, var(--c) 38%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, var(--card-a)), var(--card-b) 38%);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .32);
}
.vip-card.featured { border-color: var(--gold); box-shadow: 0 6px 0 rgba(0, 0, 0, .32), 0 0 36px rgba(255, 201, 60, .28); }
.vip-card .flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.vip-top { display: flex; align-items: center; gap: 14px; }
.vip-top img { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c) 60%, transparent)) drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); }
.vip-top h2 { font-size: 32px; color: var(--c); }
.vip-top p { font-size: 14px; color: #e6dcf7; margin-top: 4px; line-height: 1.35; }
.vip-price { position: relative; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; margin: 18px 0 12px; padding: 10px 16px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.vip-price strong { font-family: var(--display); font-weight: 400; font-size: 38px; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.vip-price span, .vip-price .day { font-size: 14px; color: var(--muted); }
.vip-in { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 2px dashed var(--line); font-weight: 900; font-size: 15px; }
.vip-in img { width: 30px; height: 30px; }
.vip-list { margin-top: 8px; }
.vip-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.vip-list .lbl { flex: 1; min-width: 0; line-height: 1.25; }
.vip-list .val { font-family: var(--display); font-size: 18px; color: var(--c); white-space: nowrap; }
.vip-list .val s { font-family: Nunito, sans-serif; font-weight: 800; font-size: 12px; color: var(--muted); margin-right: 7px; }
.vip-same { margin-top: 12px; font-size: 13px; color: var(--muted); }
.vip-extra { margin-top: 14px; font-size: 14px; font-weight: 900; }
.vip-extra ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vip-extra li { padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 800; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.compare .col-base { color: var(--muted); font-weight: 800; }
.store-product .image.tilt { width: 90%; height: 92%; margin-bottom: 14px; transform: rotate(-4deg); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px color-mix(in srgb, var(--c, var(--orange)) 50%, transparent)); }
.store-product .image-link { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 55%), radial-gradient(58% 46% at 50% 88%, color-mix(in srgb, var(--c, var(--orange)) 55%, transparent), transparent 72%); }
.store-product .dmg { position: absolute; left: 14px; bottom: 6px; font-family: var(--display); font-size: 19px; line-height: 1; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 0 10px rgba(0, 0, 0, .5); }
.store-product .dmg b { font-weight: 400; font-size: 32px; margin-right: 3px; }
.vip-gift { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 201, 60, .1); border: 1px solid rgba(255, 201, 60, .35); }
.vip-gift b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--gold); line-height: 1.2; }
.vip-gift span span { font-size: 13px; color: var(--muted); }
.compare-toggle { text-align: center; margin: 26px 0 0; }
#compare { margin-top: 20px; }
.compare td .ico { vertical-align: middle; margin-right: 10px; }

/* Petites icônes (planche générée, 4 x 4) */
.ico { display: inline-block; width: 30px; height: 30px; flex: none; background: var(--img-icones, none) 0 0 / 400% 400% no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.vip-list .ico { width: 34px; height: 34px; }
.vip-gift .ico { width: 44px; height: 44px; }

/* Petites catégories : chaque offre a sa vitrine */
.showcase { display: grid; gap: 22px; margin-top: 22px; }
.show-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: 26px;
  border: 2px solid var(--line); border-top: 5px solid var(--c);
  background: linear-gradient(180deg, var(--card-a), var(--card-b)); box-shadow: 0 6px 0 rgba(0, 0, 0, .32);
}
.show-card:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.show-card:nth-child(even) .show-media { order: 2; }
.show-media { display: grid; place-items: center; min-height: 320px; padding: 26px; background: radial-gradient(58% 52% at 50% 58%, color-mix(in srgb, var(--c) 55%, transparent), transparent 74%); }
.show-media img { max-width: 100%; max-height: 280px; width: auto; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .5)); transition: transform .15s; }
.show-card:hover .show-media img { transform: scale(1.04) rotate(-1.5deg); }
.show-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px; }
.show-body .eyebrow { margin: 0; }
.show-body h2 { font-size: 42px; }
.show-body .pitch { color: #e6dcf7; font-size: 17px; max-width: 50ch; }
.inside { display: grid; gap: 8px; font-size: 15px; }
.inside li { display: flex; align-items: baseline; gap: 12px; }
.inside span { color: #e6dcf7; }
.inside b { font-weight: 900; color: var(--text); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-stats span { padding: 5px 12px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mini-stats b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--gold); margin-right: 3px; }
.show-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: auto; padding-top: 10px; }
.show-buy .price strong { font-size: 42px; }
.show-buy .more { font-size: 15px; font-weight: 800; color: var(--muted); border-bottom: 1px solid currentColor; }
.show-buy .more:hover { color: var(--text); }
.store-product.wide-card .spec { margin-top: 4px; line-height: 1.35; }

/* Survol des objets de la boutique : la carte se soulève et s'allume, l'objet grossit, un reflet traverse */
.store-product, .pack-card, .coin-card, .cat-tile { transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s, border-color .3s; }
.store-product, .pack-card { position: relative; }
.store-product:hover, .pack-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c, var(--gold)) 75%, transparent); box-shadow: 0 10px 0 rgba(0, 0, 0, .32), 0 28px 42px -18px color-mix(in srgb, var(--c, var(--gold)) 75%, transparent); }
.coin-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 10px 0 rgba(0, 0, 0, .32), 0 28px 42px -18px rgba(255, 201, 60, .65); }
.cat-tile:hover { transform: translateY(-5px); box-shadow: 0 10px 0 rgba(0, 0, 0, .32), 0 26px 40px -18px color-mix(in srgb, var(--c) 75%, transparent); }
.store-product .image, .coin-card .art img, .pack-card .media img, .cat-tile .art img { transition: transform .4s cubic-bezier(.2, .8, .3, 1); }
.store-product:hover .image { transform: scale(1.16) rotate(-4deg) translateY(-4%); }
.store-product:hover .image.tilt { transform: scale(1.24) rotate(-9deg) translateY(-8%); }
.coin-card:hover .art img { transform: scale(1.12) translateY(-4px) rotate(-3deg); }
.pack-card:hover .media img { transform: scale(1.08) rotate(-2deg); }
.cat-tile:hover .art.plain img { transform: translateY(-50%) scale(1.12) rotate(-4deg); }
.store-product::after, .pack-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .16) 50%, transparent 58%) no-repeat 160% 0 / 260% 100%;
  transition: background-position .8s cubic-bezier(.2, .8, .3, 1), opacity .3s;
}
.store-product:hover::after, .pack-card:hover::after { opacity: 1; background-position: -60% 0; }
/* L'objet sort du cadre : la carte ne rogne plus, ce sont ses zones internes qui portent les coins arrondis */
.store-product { overflow: visible; }
.store-product:hover { z-index: 2; }
.store-product .image-link { border-radius: 16px 16px 0 0; }
.store-product.wide-card .image-link { border-radius: 16px 0 0 16px; }
.store-product .image { position: relative; z-index: 2; }
.store-product .dmg { z-index: 3; }

/* Aide : ouvrir un ticket */
.support { margin-top: 54px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.support .ico { width: 56px; height: 56px; }
.support h2 { font-size: 30px; }
.support p { color: #e6dcf7; margin-top: 4px; max-width: 60ch; }
.support .btn-primary { margin-left: auto; flex: none; }

/* Packs : au survol, l'arme tourne devant la voiture, puis elles échangent leur place */
.duo { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: inherit; }
.duo > img { transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .3, 1); }
.duo-c { position: absolute; left: 50%; top: 50%; width: 86%; opacity: 0; pointer-events: none; background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .55)); transition: transform .55s cubic-bezier(.2, .8, .3, 1), opacity .3s, filter .55s; }
.duo-c.devant { z-index: 2; transform: translate(-50%, -34%) scale(1); }
.duo-c.derriere { z-index: 1; transform: translate(-38%, -84%) scale(.62); filter: brightness(.55) drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }
.duo.on > img { opacity: 0; }
.duo.on .duo-c { opacity: 1; }
.store-product.wide-card .duo { min-height: 150px; }
.show-media .duo { min-height: 280px; }

/* Prix barré et économie des packs */
.price del { font-family: Nunito, sans-serif; font-weight: 800; font-size: .55em; color: var(--muted); margin-right: 8px; text-decoration-thickness: 2px; }
.price .pill { margin-left: 10px; vertical-align: .35em; font-size: 12px; }
.economie { margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--green); }
.fin-promo { margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--gold); }

/* Fiche produit */
.full-media { background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 55%), radial-gradient(52% 30% at 50% 68%, color-mix(in srgb, var(--c, var(--orange)) 60%, transparent), transparent 72%), linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.full-media .spin { display: block; width: 88%; background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55)); }
.full-media .duo { min-height: 380px; }
.full-media .duo > img { max-width: 78%; max-height: 78%; border-radius: 18px; }
.full-media .tourne { position: absolute; left: 18px; bottom: 16px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
/* Sur la fiche, c'est un bouton : il met la rotation en pause et la relance */
.full-media button.tourne { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; font-family: inherit; cursor: pointer; border-color: var(--trait-champ); z-index: 2; }
.full-media button.tourne:hover { color: var(--text); background: rgba(0, 0, 0, .5); }
.full-info .eyebrow { margin-bottom: 6px; }
.full-info .stats { margin-top: 18px; }
.dedans { margin-top: 20px; }
.dedans h2 { font-size: 24px; margin-bottom: 10px; }
.buy .price strong { font-size: 46px; }

/* Fiche produit : montée en gamme, compléments, achat toujours visible sur mobile */
.monte { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; border: 1px dashed rgba(255, 201, 60, .5); background: rgba(255, 201, 60, .07); transition: transform .2s, background .2s; }
.monte:hover { transform: translateY(-2px); background: rgba(255, 201, 60, .12); }
.monte img { width: 84px; height: 48px; object-fit: contain; flex: none; }
.monte span { flex: 1; font-size: 14px; color: #e6dcf7; line-height: 1.35; }
.monte b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--gold); }
.monte i { font-style: normal; font-weight: 900; font-size: 14px; color: var(--gold); }
.avec-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.avec-carte { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(30, 21, 56, .7); }
.avec-carte img { width: 64px; height: 56px; object-fit: contain; flex: none; }
.avec-carte div { flex: 1; min-width: 0; }
.avec-carte .nom { font-weight: 900; line-height: 1.2; }
.avec-carte .spec { font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.achat-fixe { display: none; }


/* Panier : objectifs Suncoins et produit suggéré (repris de la boutique actuelle) */
.objectif { margin: 14px 0 4px; font-size: 14px; }
.objectif b { color: var(--gold); }
.objectif-barre { position: relative; height: 10px; margin: 12px 14px 34px 0; border-radius: 99px; background: rgba(0, 0, 0, .35); }
.objectif-barre i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #ffd95f, #ff8a1f, #ff5d8f); transition: width .4s; }
.objectif-barre .palier { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--panel-b) var(--img-suncoin, none) center / 70% no-repeat; border: 2px solid var(--line); }
.objectif-barre .palier.atteint { border-color: var(--gold); box-shadow: 0 0 14px rgba(255, 201, 60, .6); }
.objectif-barre .palier span { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 900; color: var(--muted); }
.objectif-barre .palier:last-child span { left: auto; right: -4px; transform: none; }

/* Arme qui tourne au survol */
.store-product .image.spin { display: block; height: auto; max-height: 92%; background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%; }

/* Pied de page */
.site-footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer-inner { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 1040px) {
  .store-products-images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer .coin-card .amount { font-size: 27px; }
  .offer .coin-card.best .amount { font-size: 33px; }
  .vip-top { flex-direction: column; align-items: flex-start; }
  .show-body h2 { font-size: 34px; }
  .wide-cards.cols-3 { --cols: 1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 14px; }
  .site-header-inner { flex-wrap: wrap; gap: 6px 10px; padding: 8px 10px; }
  .site-navigation { order: 3; flex-basis: 100%; }
  .navigation-list a { padding: 7px 11px; font-size: 14px; }
  .user-actions { margin-left: auto; gap: 6px; }
  .user-actions .log-in { padding: 7px 9px; font-size: 13px; }
  .user-actions .discord { min-height: 34px; padding: 0 7px; }
  .user-actions .discord span { display: none; }
  .user-actions .btn-sm { min-height: 34px; padding: 0 10px; font-size: 14px; gap: 6px; }
  .site-title { font-size: 15px; gap: 7px; }
  .site-title img { height: 26px; width: auto; }
  .hero { padding: 26px 16px 20px; border-radius: 22px; }
  .hero::before { height: 300px; opacity: .45; }
  .hero .lead { font-size: 16px; }
  .coin-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .coin-card.best { grid-column: span 2; }
  .cat-tiles { grid-template-columns: 1fr; }
  .section { padding-top: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 32px; }
  .spotlight { padding: 20px 14px; }
  .spotlight-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .spotlight-head h2 { font-size: 32px; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 12px; }
  .pack-card .product-actions { flex-direction: row; align-items: center; }
  .store-products-tiered { grid-template-columns: 1fr; gap: 26px; }
  .store-products-images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .wide-cards { --cols: 1 !important; gap: 12px; }
  .store-product.wide-card .product-actions { flex-direction: row; align-items: center; }
  .store-product.wide-card .product-title { font-size: 21px; }
  .subnav { position: static; margin-top: 14px; }
  .group { padding-top: 30px; scroll-margin-top: 20px; }
  .group .section-head { gap: 2px; }
  .group .section-head h2 { font-size: 28px; }
  .coin-card { min-width: 0; padding: 14px 10px 12px; }
  .store-product.wide-card .price strong { font-size: 21px; }
  .store-product.wide-card .body { padding-right: 12px; }
  .page-head { padding: 22px 18px; border-radius: 22px; }
  .page-head h1 { font-size: 40px; }
  .page-head .art { display: none; }
  .offer .coin-row { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .offer .coin-card .art { height: 110px; }
  .offer .coin-card .art img { height: 100px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .cross, .support { flex-direction: column; align-items: flex-start; padding: 20px 18px; gap: 14px; }
  .support { margin-top: 40px; }
  .support .btn-primary { margin-left: 0; width: 100%; }
  .cross .btn-primary { margin-left: 0; width: 100%; }
  .vip-cards { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .vip-top { flex-direction: row; align-items: center; }
  .show-card, .show-card:nth-child(even) { grid-template-columns: 1fr; border-radius: 22px; }
  .show-card:nth-child(even) .show-media { order: 0; }
  .show-media { min-height: 0; padding: 20px 20px 0; }
  .show-media img { max-height: 200px; }
  .show-body { padding: 18px 18px 20px; }
  .show-body h2 { font-size: 30px; }
  .show-buy .btn-primary { flex: 1; }
  .store-product-full { grid-template-columns: 1fr; gap: 20px; }
  .full-media .duo { min-height: 260px; }
  .avec-grille { grid-template-columns: 1fr; gap: 10px; }
  .achat-fixe { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(30, 21, 56, .96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); }
  .achat-fixe p { flex: 1; min-width: 0; line-height: 1.15; }
  .achat-fixe b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .achat-fixe .price strong { font-size: 22px; }
  .site-footer { padding-bottom: 96px; }
  .buy .price strong { font-size: 38px; }
  .full-media { position: relative; top: auto; aspect-ratio: 4 / 3; border-radius: 22px; }
  .full-info h1 { font-size: 42px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==================================================================
   Partie 2 : ce que la maquette n'avait pas, parce qu'elle simulait le
   panier et les fenêtres. Ici, ce sont les vrais éléments créés par
   main.js (popups, panier, quantités, messages) et par Tebex (modules,
   formulaires), habillés comme la maquette.
================================================================== */

:root { --red: #ff6b78; }

/* main.js affiche et masque les boutons avec l'attribut hidden : il doit toujours l'emporter */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
li { display: block; }
strong, b { font-weight: 900; }
a[disabled], button:disabled { opacity: .5; cursor: not-allowed; }
a[disabled] { pointer-events: none; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site > .site-footer { margin-top: auto; }
.site > .wrap { width: 100%; }

/* Texte venu de Tebex (descriptions, pages) */
.text-content { line-height: 1.5; word-break: break-word; }
.text-content p:not(:last-child), .text-content ul:not(:last-child), .text-content ol:not(:last-child) { margin-bottom: 12px; }
.text-content h1:not(:last-child), .text-content h2:not(:last-child), .text-content h3:not(:last-child), .text-content h4:not(:last-child) { margin-bottom: 14px; }
.text-content h1 { font-size: 32px; } .text-content h2 { font-size: 26px; } .text-content h3 { font-size: 22px; } .text-content h4 { font-size: 18px; }
.text-content ul, .text-content ol { padding-left: 1.2em; list-style: revert; }
.text-content li { display: list-item; }
.text-content img { display: inline-block; height: auto; }
.text-content a:not([class]) { color: var(--gold); text-decoration: underline; }

/* Boutons du template que la maquette n'avait pas */
.btn-tertiary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; cursor: pointer; font-family: var(--display); font-size: 17px; white-space: nowrap; color: var(--text); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.btn-tertiary:hover { background: rgba(0, 0, 0, .4); }
.btn-tertiary:disabled { color: var(--green); border-color: rgba(150, 232, 106, .4); opacity: 1; }
.btn-primary:disabled, .btn-secondary:disabled { filter: grayscale(.6); }

/* En-tête : bandeau d'annonce, joueur connecté */
.site-title { flex: none; }
.open-basket .count { margin-left: 2px; padding: 0 5px; }

/* Rangées de grosses cartes : le nombre de colonnes suit le nombre de produits (posé par le script) */
.coin-row:empty { min-height: 250px; }
.coin-card .btn-primary del { font-size: .75em; opacity: .7; margin-right: 6px; }
.cat-tile { --c: var(--orange); }
.site-footer .copyright { margin: 0; }
.coin-card .art img { max-width: 100%; object-fit: contain; }
.coin-card .amount { overflow-wrap: anywhere; }

/* Pages catégorie */
.page-head .category-description { max-width: 62ch; margin-top: 8px; color: #e6dcf7; }
.page-head:has(.art) .category-description, .page-head:has(.art) h1 { padding-right: 170px; }
.store-products { margin-top: 22px; }
.store-products > .subnav:first-child { margin-top: 0; }
.store-products > .showcase:first-child { margin-top: 0; }
.hero.offer .lead p + p { margin-top: 8px; }

/* Cartes produit : zone d'actions officielle (prix, ajout, quantité, cadeau) */
.product-actions { position: relative; flex-wrap: wrap; }
.product-actions > .wide { width: auto; }
.product-actions .price { margin-right: auto; }
.price del { font-size: max(.55em, 13px); }
.store-product .spec { margin-top: 2px; }
.pack-card .product-actions, .store-product-tiered .product-actions { margin-top: auto; }
.show-buy .product-actions { flex: 0 1 auto; align-items: center; gap: 12px 18px; margin: 0; padding: 0; }
.show-buy .product-actions .price { margin-right: 0; }

/* Attente pendant un ajout */
.attente::after {
  content: ""; position: absolute; inset: 0; z-index: 10; margin: auto; width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--gold); animation: tourne .7s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }
.attente { position: relative; pointer-events: none; color: transparent !important; }
.attente::after { width: 18px; height: 18px; border-color: rgba(59, 26, 0, .3); border-top-color: var(--ink); }

/* Quantité (cartes, fiche, panier) */
.quantity-field { display: inline-flex; align-items: center; gap: 6px; }
.quantity-field .adjust { width: 28px; height: 28px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 9px; border: 1px solid var(--trait-champ); background: rgba(0, 0, 0, .28); color: var(--text); font-weight: 900; line-height: 1; }
.quantity-field .adjust:hover { border-color: rgba(255, 201, 60, .5); }
.quantity-field input.quantity { width: 2.4em; min-width: 0; padding: 0; border: 0; background: none; text-align: center; font-weight: 900; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.quantity-field input.quantity::-webkit-inner-spin-button, .quantity-field input.quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-field .open-basket { padding: 0; border: 0; background: none; font-size: 13px; font-weight: 800; color: var(--green); white-space: nowrap; text-decoration: underline; }
.quantity-field.with-open-basket { padding: 4px 6px; border-radius: 12px; background: rgba(150, 232, 106, .08); border: 1px solid rgba(150, 232, 106, .3); }

/* Fiche produit */
.store-product-full .product-title { font-family: var(--display); font-weight: 400; }
.full-media .media-tebex { display: grid; place-items: center; width: 100%; height: 100%; }
.full-media .media-tebex > .image { width: 84%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55)); }
.full-media:has(.media-slider) { aspect-ratio: auto; padding: 16px; }
.full-media > .spin, .full-media > .duo { grid-area: 1 / 1; }
.buy .product-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px; margin: 0; padding: 0; }
.buy .product-actions .price { flex: 0 0 100%; margin: 0; white-space: normal; }
.buy .economie { flex: 0 0 100%; margin-top: -6px; }
.buy .fin-promo { flex: 0 0 100%; margin-top: -6px; }
.buy .product-actions .add, .buy .product-actions .subscribe, .buy .product-actions .open-basket-cta { flex: 1 1 200px; }
.buy .quantity-field { flex: 1 1 200px; justify-content: center; min-height: 56px; border-radius: 16px; font-size: 18px; }
.buy .quantity-field .adjust { width: 38px; height: 38px; border-radius: 12px; }
.buy .quantity-field .open-basket { font-size: 15px; }
.note b { margin-right: 4px; }
.avec-carte .btn-primary { flex: none; }
.achat-fixe button { flex: none; }

/* Page VIP : cartes simples (paliers absents de la config) et boutons officiels dans les cartes */
.store-product-tiered .tier-head .image { width: 64px; height: 64px; object-fit: contain; }
.store-product-tiered .product-title { font-size: 28px; color: var(--c, var(--gold)); font-family: var(--display); font-weight: 400; }
.store-product-tiered .product-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 0; }
.store-product-tiered .product-actions .price strong { font-size: 40px; }
.store-product-tiered .product-actions .price .periode, .tier-price .periode { color: var(--muted); font-size: 15px; }
.store-product-tiered .product-actions > .wide, .vip-card .product-actions > .wide, .compare .product-actions > .wide { width: 100%; }
.store-product-tiered.subscribed { border-color: var(--green); }
.vip-card .product-actions, .compare .product-actions { display: block; margin: 0; padding: 0; }
.vip-card .product-actions .price, .compare .product-actions .price { display: none; }
.vip-price del { font-size: 15px; color: var(--muted); margin-right: 8px; }
.vip-card.subscribed { border-color: var(--green); }
.compare tfoot .btn-lg { min-height: 46px; font-size: 17px; padding: 0 16px; border-radius: 14px; }


/* Pages simples : texte, connexion, options d'un produit */
.store-form { font-size: 16px; }
.store-form h1, .store-form h2, .store-form h3 { margin-bottom: 16px; font-size: 30px; }
.store-form p { margin-bottom: 10px; }
.store-form input[type=text], .store-form input[type=password], .store-form input[type=email], .store-form input[type=number], .store-form input[type=search], .store-form input[type=url], .store-form input[type=tel], .store-form select, .store-form textarea {
  display: block; width: 100%; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--trait-champ); background: rgba(0, 0, 0, .28); color: var(--text); font-size: 16px;
}
.store-form input:focus, .store-form select:focus, .store-form textarea:focus { border-color: var(--gold); outline: 0; }
.store-form select option { color: #fff; background: #221741; }
.store-form .actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-form .actions .btn-primary, .store-form .actions .btn-secondary, .store-form .actions .btn-tertiary { flex: 1 1 180px; }

/* Fenêtres créées par main.js : connexion, options, cadeau, changement de palier */
.popup { --fade-duration: 250ms; position: fixed; inset: 0; z-index: 1000; overflow: hidden auto; background: rgba(6, 3, 14, .7); transition: opacity var(--fade-duration) ease, display var(--fade-duration) allow-discrete; }
@starting-style { .popup { opacity: 0; } }
.popup[hidden] { opacity: 0; }
.popup-scroll-cont { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 14px; overscroll-behavior: none; }
.popup-content { position: relative; width: 100%; max-width: 520px; padding: 28px 26px 26px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-a), var(--panel-b)); box-shadow: 0 8px 0 rgba(0, 0, 0, .3), 0 24px 50px rgba(0, 0, 0, .35); transition: translate var(--fade-duration) cubic-bezier(.2, .8, .3, 1), opacity var(--fade-duration); }
@starting-style { .popup-content { translate: 0 20px; } }
.popup[hidden] .popup-content { translate: 0 20px; }
.popup-content.store-product, .popup-content.store-product:hover { display: block; transform: none; overflow: visible; }
.popup-content.store-product::after { display: none; }
.popup-close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .25); color: transparent; font-size: 0; line-height: 0; }
.popup-close::before { content: "×"; display: block; color: var(--text); font-size: 22px; line-height: 38px; text-align: center; }
.popup-close:hover { border-color: rgba(255, 201, 60, .5); }
.popup-content > h2:first-of-type, .popup-content > .product-title { padding-right: 46px; }
.login-popup { z-index: 1002; }

/* Panier : le volet latéral de la maquette, sur les classes du panier Tebex */
.basket .basket-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket .basket-item .vignette { width: 76px; height: 60px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 0, 0, .28); }
.basket .basket-item .vignette img { max-width: 88%; max-height: 84%; object-fit: contain; }
.basket .basket-item .info { min-width: 0; }
.basket .basket-item .title { font-size: 16px; font-weight: 900; line-height: 1.2; }
.basket .basket-item .trial { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 900; color: #12330a; background: var(--green); }
.basket .basket-item .options { font-size: 12px; color: var(--muted); }
.basket .basket-item .options strong { color: var(--text); }
.basket .basket-item .quantity-field { margin-top: 6px; }
.basket .basket-item .remove { display: block; width: fit-content; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--muted); text-decoration: underline; }
.basket .basket-item .remove:hover { color: var(--text); }
.basket .basket-item .price strong { font-size: 19px; }

/* Messages : celui du thème après un ajout (toast-ajout), ceux de main.js (toaster) */
.toast-ajout { position: fixed; z-index: 1100; left: 50%; bottom: 26px; transform: translate(-50%, 30px); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 28px); padding: 12px 14px 12px 18px; border-radius: 16px; font-weight: 800; font-size: 14px; line-height: 1.3;
  color: var(--text); background: linear-gradient(180deg, #3a2a68, #251a45); border: 1px solid rgba(255, 201, 60, .45); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
.toast-ajout b { color: var(--gold); }
.toast-ajout .ok { color: var(--green); font-weight: 900; }
.toast-ajout .btn-primary { flex: none; }
.toast-ajout.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }



@media (max-width: 820px) {
  .page-head:has(.art) .category-description, .page-head:has(.art) h1 { padding-right: 0; }
  .page-head + .coin-row .amount { font-size: 22px; }
  .store-products-images .quantity-field.with-open-basket { justify-content: center; }
  .toast-ajout { bottom: 84px; width: calc(100% - 28px); }
  .popup-content { padding: 24px 18px 20px; border-radius: 22px; }
  /* place pour le bouton d'achat fixe, y compris devant le pied de page de Tebex */
  body:has(.achat-fixe) { padding-bottom: 76px; }
}
/* Animations réduites sur l'appareil : on coupe seulement ce qui bouge tout seul. Les effets déclenchés par la souris restent. */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }


/* En-tête : toutes les catégories tiennent sur une ligne. Quand la fenêtre rétrécit, le bouton Discord
   perd son libellé, puis le menu passe sur sa propre ligne, centré. */
.user-actions { flex: none; }
@media (max-width: 1227px) { .user-actions .discord span { display: none; } }
@media (min-width: 821px) and (max-width: 1227px) { .user-actions .discord { padding: 0 10px; } }
@media (max-width: 1140px) {
  .site-header-inner { flex-wrap: wrap; gap: 6px 10px; }
  .site-navigation { order: 3; flex-basis: 100%; }
  .navigation-list li:first-child { margin-left: auto; }
  .navigation-list li:last-child { margin-right: auto; }
  .user-actions { margin-left: auto; }
}
/* Téléphone : le menu défile sur le côté, un fondu à droite montre qu'il continue ;
   sur les plus petits écrans, logo et pseudo se resserrent pour rester sur la première ligne. */
@media (max-width: 820px) {
  .site-navigation { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
  .navigation-list li:last-child { padding-right: 26px; }
}
@media (max-width: 400px) {
  .site-title img { height: 22px; }
}
/* Téléphone. Les colonnes des grilles gardent la même largeur quel que soit leur contenu (minmax plus haut).
   Fiche produit : chaque bouton prend une ligne entière, à sa hauteur normale.
   Carte d'un produit déjà au panier : « au panier » passe sous les boutons de quantité. */
@media (max-width: 820px) {
  .buy .product-actions { flex-direction: row; }
  .buy .product-actions .add, .buy .product-actions .subscribe, .buy .product-actions .open-basket-cta, .buy .quantity-field { flex: 1 1 100%; }
  .store-products-images .quantity-field.with-open-basket { flex-wrap: wrap; row-gap: 2px; }
  .store-product .price { white-space: normal; }
  .store-product .price strong, .store-product .price del { white-space: nowrap; }
  .store-product .price .pill { margin-left: 0; }
  .store-products-images .quantity-field.with-open-basket .open-basket { order: 5; flex: 1 0 100%; text-align: center; }
}
/* En-tête de catégorie : la couleur de la catégorie en rayures diagonales (une bande, puis la même un peu
   plus sombre), pour qu'il se détache des cartes produits. Un voile sombre à gauche garde le texte lisible. */
.page-head {
  background:
    linear-gradient(90deg, rgba(18, 11, 34, .5), rgba(18, 11, 34, .12) 60%, rgba(18, 11, 34, 0)),
    repeating-linear-gradient(-45deg,
      color-mix(in srgb, var(--c, var(--orange)) 48%, #1b1233) 0 26px,
      color-mix(in srgb, var(--c, var(--orange)) 37%, #1b1233) 26px 52px);
}
.page-head h1 { text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.page-head p, .page-head .category-description { color: #fff; }
/* Bannière illustrée (réglage « banniere » de la catégorie) : une image large remplit la droite du bandeau et se fond
   à gauche dans un fond sombre, où le titre reste lisible. La couleur de la catégorie reste en liseré, en haut. */
.page-head.illustre {
  display: flex; flex-direction: column; justify-content: center; min-height: 250px;
  background: linear-gradient(90deg, #1a112f, #0a101b 46%);
}
.page-head.illustre > :not(.fond) { position: relative; }
.page-head .fond {
  position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: 80%; object-fit: cover; object-position: right center; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%); mask-image: linear-gradient(90deg, transparent, #000 36%);
}
.page-head.illustre h1, .page-head.illustre .category-description { max-width: min(62ch, 52%); }
@media (max-width: 820px) {
  .page-head.illustre { min-height: 0; }
  .page-head .fond { max-width: none; opacity: .42; }
  .page-head.illustre h1, .page-head.illustre .category-description { max-width: none; }
}

/* Abonnement VIP : le choix « Au mois / À l'année », et les prix à l'année */
.duree { display: inline-flex; flex: none; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.duree button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 99px; background: none; color: var(--muted); font: inherit; font-weight: 900; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.duree button:hover { color: var(--text); }
.duree button.on { background: var(--gold); color: #2b1a00; }
.duree .pill { font-size: 12px; }
.duree-rang { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 28px; }
.duree-rang + .vip-cards { margin-top: 22px; }
.section-head .duree { margin-left: auto; }
/* Deux versions d'un même bloc l'une sur l'autre, une seule visible : le bloc garde la taille de la plus grande.
   Sert aux blocs qui changent entre « Au mois » et « À l'année », pour que la page ne bouge pas. */
.pile { display: grid; }
.pile > * { grid-area: 1 / 1; min-width: 0; }
.pile > [aria-hidden="true"] { visibility: hidden; pointer-events: none; }
/* Trois colonnes sur un écran moyen : les cartes se resserrent pour que leurs boutons tiennent sur une ligne */
@media (min-width: 821px) and (max-width: 960px) {
  .vip-cards, .store-products-tiered { gap: 12px; }
  .vip-card, .store-product-tiered { padding-left: 14px; padding-right: 14px; }
  .vip-card .product-actions > .wide, .store-product-tiered > .wide { padding: 0 8px; font-size: 15px; }
}
/* Sous le prix, toujours deux lignes */
.vip-price .day { flex: 0 0 100%; }
.vip-price .day span { display: block; }
/* La remise de première année : une étiquette à cheval sur le bord du bloc prix, qui ne prend pas de place */
.vip-price .promo-an {
  position: absolute; top: -15px; right: 12px; padding: 4px 12px 5px; font-size: 12px; color: #fff; white-space: nowrap;
  background: #d42a62; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
.vip-price .promo-an b { font-weight: 400; font-size: 17px; }
/* Le bouton et sa phrase : la place de trois lignes est gardée, quelle que soit la phrase */
.vip-card .product-actions[data-vip] { min-height: 111px; }
.tier-price del { color: var(--muted); font-size: 16px; margin-right: 8px; }
.tier-note { margin: -10px 0 16px; color: var(--muted); font-size: 13px; }
.basket .basket-item .changer-duree { display: block; margin-top: 6px; font-size: 12px; font-weight: 900; color: var(--gold); }
@media (max-width: 720px) {
  .section-head .duree { margin-left: 0; }
  .duree button { padding: 8px 13px; font-size: 14px; }
}

/* ------------------------------------------------------------ Voitures */
/* La carte : la photo remplit le cadre, sans l'effet de bascule des objets détourés */
.store-product.car .image-link { aspect-ratio: 16 / 9; overflow: hidden; background: #120c22; }
.store-product.car .image { width: 100%; height: 100%; object-fit: cover; filter: none; }
.store-product.car:hover .image { transform: scale(1.06); }
/* La fiche : une grande photo, et les trois vues dessous */
.full-media.photos { display: block; aspect-ratio: auto; padding: 14px; }
.full-media.photos .media-tebex { display: block; height: auto; }
.full-media.photos .grande { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #120c22; }
.full-media.photos .vues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.full-media.photos .vues button { padding: 0; overflow: hidden; border-radius: 12px; border: 2px solid transparent; background: #120c22; cursor: pointer; opacity: .65; transition: opacity .12s, border-color .12s; }
.full-media.photos .vues button:hover, .full-media.photos .vues button.on { opacity: 1; }
.full-media.photos .vues button.on { border-color: var(--c, var(--gold)); }
.full-media.photos .vues img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Les tuiles de la fiche portent des mots, pas des chiffres : plus petits pour tenir sur une ligne */
.stats.mots .stat b { font-size: 16px; line-height: 1.6; white-space: nowrap; }
@media (max-width: 820px) {
  .full-media.photos { aspect-ratio: auto; padding: 10px; }
}

/* ------------------------------------------------------------------
   Ce que le site perso ajoute au thème (css/theme.css, repris tel quel
   de la boutique en ligne) : le bandeau de démo, le compte joueur, la
   page de paiement, la page de remerciement et les offres personnelles.
------------------------------------------------------------------ */

/* Bandeau du haut : « paiement pas encore ouvert » sur le site, choix du joueur dans la démo */
.demo-barre { padding: 8px 0; font-size: 13px; font-weight: 800; color: var(--muted); background: rgba(0, 0, 0, .45); border-bottom: 1px solid var(--line); }
.demo-barre .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.demo-barre .pill { font-size: 11px; }
.demo-barre button { min-height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; cursor: pointer; }
.demo-barre button:hover { border-color: rgba(255, 201, 60, .5); }
.demo-barre button.on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.demo-barre .reset { margin-left: auto; background: none; color: var(--muted); text-decoration: underline; border-color: transparent; }
/* Le serveur ne répond pas : le bandeau le dit, avec un bouton pour réessayer (js/app.js, panne()) */
.panne-barre { color: #fff; background: #5a1626; border-bottom-color: rgba(255, 120, 120, .45); }
.panne-barre button[disabled] { opacity: .6; cursor: default; }

/* Bannière de la newsletter, au-dessus de l'en-tête : la remise offerte à l'inscription */
.promo-barre { padding: 8px 0; font-size: 14px; font-weight: 800; color: var(--text); background: linear-gradient(90deg, rgba(126, 217, 87, .18), rgba(255, 201, 60, .14)); border-bottom: 1px solid var(--line); }
.promo-barre .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding-right: calc(var(--gutter) + 36px); }
.promo-barre b { color: var(--gold); }
.promo-barre .pill { font-size: 12px; }
.promo-fermer { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--muted); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.promo-fermer:hover { color: var(--text); background: rgba(255, 255, 255, .16); }
.promo-court { display: none; }
@media (max-width: 640px) {
  .promo-barre { padding: 6px 0; font-size: 13.5px; }
  .promo-barre .wrap { justify-content: flex-start; flex-wrap: nowrap; }
  .promo-long { display: none; }
  .promo-court { display: inline; }
}

/* Page de la newsletter */
.lettre { max-width: 720px; margin-top: 22px; padding: 24px 26px; }
.lettre h2 { font-size: 28px; margin-bottom: 12px; }
.lettre .store-form input { width: 100%; }
.lettre-accord { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: #e6dcf7; }
.lettre-accord a, .texte-legal a, .recap-ligne.astuce a { color: var(--gold); text-decoration: underline; }
.lettre-erreur { margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--pink); }
.lettre-gain { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 800; }
.lettre-gain .pill { flex: none; }
.lettre-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.recap-ligne.astuce { font-size: 14px; }

/* Page « Tes données personnelles » */
.texte-legal { max-width: 860px; margin-top: 22px; padding: 26px 28px; }
.texte-legal h2 { font-size: 24px; margin: 24px 0 8px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { font-size: 15px; line-height: 1.6; color: #e6dcf7; }
.texte-legal p + p { margin-top: 8px; }
.texte-legal ul { margin: 8px 0; padding-left: 20px; list-style: disc; }
.texte-legal li { margin-top: 6px; list-style: disc; }
.texte-legal b { color: var(--text); }
.texte-legal .muted { margin-top: 22px; font-size: 13px; }
.texte-legal ol { margin: 8px 0; padding-left: 22px; list-style: decimal; }
.texte-legal ol li { list-style: decimal; }
/* Un blanc que le gérant n'a pas encore rempli (page Gestion, onglet « Mentions légales ») */
.a-completer { padding: 1px 6px; border-radius: 6px; background: rgba(255, 201, 60, .14); color: var(--gold); font-weight: 800; }
.case-suite { margin: 6px 0 0 34px; font-size: 14px; }
.case-suite a { color: var(--gold); text-decoration: underline; }
/* À l'impression : le texte légal (ou le reçu ouvert) seul, noir sur blanc */
@media print {
  body, .site { background: #fff !important; }
  .demo-barre, .promo-barre, .site-header, .site-footer, .page-head .category-description, .sans-papier, .toast { display: none !important; }
  .panel, .texte-legal { background: #fff !important; border: 0 !important; box-shadow: none !important; max-width: none; padding: 0; }
  .page-head h1, .texte-legal h2, .texte-legal p, .texte-legal li, .texte-legal b, .texte-legal .muted, .texte-legal a { color: #000 !important; text-shadow: none !important; }
  .a-completer { background: none; color: #000; }
  body:has(.recu) .site { display: none !important; }
  .popup.recu { position: static !important; background: #fff !important; }
  .popup.recu .popup-content { background: #fff !important; border: 0 !important; box-shadow: none !important; color: #000 !important; max-width: none; }
  .popup.recu .popup-content * { color: #000 !important; text-shadow: none !important; }
  .popup.recu .popup-close { display: none !important; }
}

#contenu { padding-bottom: 48px; }

/* En-tête : solde de Suncoins du joueur connecté */
#actions-joueur { display: contents; }
.user-actions .solde { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 12px; font-weight: 900; font-size: 15px; color: var(--gold); background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 201, 60, .35); white-space: nowrap; }
.user-actions .solde:hover { border-color: var(--gold); }

/* En-tête sur deux étages (28/11/2026) : en haut le logo, les pages hors catégorie (À la une, Compose ton pack, FAQ,
   Gestion pour le gérant) et les boutons ; en dessous, sur toute la largeur, les rayons de la boutique. */
.site-header-inner { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
.nav-haut { flex: 1; min-width: 0; }
.menu-haut { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.menu-haut a { display: block; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; }
.menu-haut a:hover { color: var(--text); }
.menu-haut a.link-active { color: var(--text); background: rgba(255, 255, 255, .09); }
.menu-haut a.lien-gestion { color: var(--gold); }
.site-navigation { order: 3; flex: 1 1 100%; margin: 8px -12px 0 -16px; padding: 7px 12px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .18); border-radius: 0 0 19px 19px; }
.navigation-list { gap: 4px; }
.navigation-list li:first-child { margin-left: auto; }
.navigation-list li:last-child { margin-right: auto; }
.navigation-list a { padding: 8px 13px; font-size: 15px; }
@media (max-width: 820px) {
  .nav-haut { order: 2; flex-basis: 100%; margin-top: 2px; }
  .menu-haut a { padding: 6px 9px; font-size: 13.5px; }
  .site-navigation { margin: 6px -10px 0; padding: 4px 10px; }
  body.tete-repliee .nav-haut { opacity: 0; }
}

button { font-family: inherit; }
/* Le solde prend de la place : le bouton Discord garde son logo seul, et le menu se resserre */
.user-actions .discord span { display: none; }
.user-actions .discord { padding: 0 10px; }
.user-actions { gap: 8px; }

/* Pastille « Nouveau » sur une carte, phrase sous un bouton VIP */
.store-product .neuf { position: absolute; z-index: 3; top: 10px; left: 10px; font-size: 11px; padding: 3px 9px; }
.essai-note { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); font-weight: 700; }
.essai-note b { color: var(--green); font-weight: 900; }
.compare .essai-note { display: none; }

/* Bouton « Tester » : une pastille sur la photo d'une carte, un bouton sous l'achat sur la fiche */
.tester { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 60%, transparent); font-family: var(--body, inherit); font-size: 11px; font-weight: 900; line-height: 1; letter-spacing: .04em; white-space: nowrap; color: var(--c, var(--gold)); background: color-mix(in srgb, var(--c, var(--gold)) 10%, transparent); cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
button.tester:hover { color: #1a1030; background: var(--c, var(--gold)); border-color: transparent; }
.tester.fait { cursor: default; color: var(--green); border-color: color-mix(in srgb, var(--green) 55%, transparent); background: none; }
.tester.vu { cursor: default; color: var(--muted); border-color: var(--line); background: none; }
.buy .tester { padding: 8px 15px; font-size: 13px; }
/* Page VIP : ce qui attend la fin de l'essai gratuit, et sous chaque prix le lien vers l'autre durée */
.essai-limites { max-width: 900px; margin: 16px auto 0; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.essai-limites b { color: #fff; font-weight: 800; }
.essai-limites + .vip-cards { margin-top: 26px; }
.vip-price .vip-autre { flex: 0 0 100%; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-family: var(--body, inherit); font-size: 13px; font-weight: 800; color: var(--muted); }
.vip-price .vip-autre b { color: var(--pink); font-weight: 900; }
.vip-price .vip-autre:hover { color: #fff; }
/* Les règles de l'essai, dans la fenêtre de confirmation */
.regles-essai { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.regles-essai li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.regles-essai li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.regles-essai b { color: #fff; font-weight: 800; }
.buy .product-actions .essai-note { flex: 0 0 100%; margin-top: -2px; }
.vip-card.subscribed { border-color: var(--green); }
.buy .product-actions .btn-tertiary { flex: 1 1 200px; }

/* Lignes du panier */
.basket-item .options li { line-height: 1.35; margin-top: 3px; }

/* Bandeau de bienvenue et offre personnelle */
.bienvenue { margin-top: 22px; padding: 22px 26px; display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.bienvenue-texte { flex: 1 1 320px; min-width: 0; }
.bienvenue h2 { font-size: 34px; }
.bienvenue .hero-chips { margin-top: 12px; }
.offre-perso { flex: 1 1 380px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 201, 60, .08); border: 1px solid rgba(255, 201, 60, .4); }
.offre-perso img { width: 56px; height: 56px; flex: none; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4)); }
.offre-perso div { flex: 1; min-width: 0; }
.offre-perso b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; color: var(--gold); }
.offre-perso span { display: block; margin-top: 3px; font-size: 14px; color: #e6dcf7; }
.offre-perso .btn-primary { flex: none; }
.merci + .bienvenue { margin-top: 22px; }

/* Fenêtres : connexion et PayPal */
.profils { display: grid; gap: 10px; margin-top: 6px; }
.profil { display: block; width: 100%; padding: 14px 16px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--text); cursor: pointer; }
.profil:hover { border-color: var(--gold); background: rgba(255, 201, 60, .08); }
.profil b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); }
.profil span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.paypal-demo .actions { margin-top: 20px; }

/* Les grades moins élevés, proposés en premier avant une résiliation */
.baisse-grades { display: grid; gap: 10px; margin-top: 14px; }
.baisse-grade { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.baisse-grade img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.baisse-grade div { flex: 1; min-width: 0; }
.baisse-grade b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--gold); }
.baisse-grade span { display: block; font-size: 14px; color: var(--text); line-height: 1.4; }
.baisse-grade em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.4; }
.baisse-grade .btn-primary { flex: none; }
@media (max-width: 480px) { .baisse-grade { flex-wrap: wrap; } .baisse-grade .btn-primary { width: 100%; } }

/* Offre de fidélité, proposée avant une résiliation */
.offre-pastille { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 201, 60, .14); border: 1px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.offre-fidelite s { color: var(--muted); }
.offre-points { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offre-points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.offre-points li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Montant à payer et suite de l'abonnement (page de paiement et fenêtre PayPal) */
.a-payer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 900; }
.a-payer strong { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--gold); }
.ensuite { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: #e6dcf7; background: rgba(150, 232, 106, .08); border: 1px solid rgba(150, 232, 106, .3); }
.ensuite b { color: var(--green); font-weight: 900; }
.price .ttc { font-family: var(--body, inherit); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
/* La ligne placée après le prix : « TVA comprise », et le bouton « Tester » quand l'objet s'essaie */
.price .sous-prix { display: inline-flex; align-items: center; gap: 12px; margin-left: 10px; vertical-align: middle; }
.product-actions:not([data-grand]) .price .sous-prix { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; margin: 3px 0 0; }
.product-actions:not([data-grand]) .price .sous-prix.essayable { min-height: 23px; }
.product-actions:not([data-grand]) .price .ttc { font-size: 11px; line-height: 1.2; }
/* Téléphone : les cartes sont étroites, le bouton se resserre pour tenir sur la ligne de « TVA comprise » */
@media (max-width: 520px) {
  .product-actions:not([data-grand]) .price .sous-prix { gap: 4px; }
  .product-actions:not([data-grand]) .tester { padding: 4px 8px; letter-spacing: 0; }
}
.coin-card .ttc { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.site-footer .ttc { color: var(--muted); }
.tva-comprise { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
.petit { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.suite { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Page de paiement */
.paiement { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; margin-top: 16px; }
.paiement-etapes { display: grid; gap: 22px; min-width: 0; }
.etape { padding: 24px 26px; }
.etape h2, .recap h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 14px; }
.etape h2 .n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 18px; color: var(--ink); background: var(--gold); text-shadow: none; }
.etape > p { color: #e6dcf7; }
.compte-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.compte-ligne b { font-size: 18px; color: var(--text); }
.case { display: flex; align-items: center; gap: 10px; margin-top: 16px; cursor: pointer; font-weight: 800; }
.case input { width: 20px; height: 20px; accent-color: var(--gold); }
/* L'accord à cocher avant de payer : un texte, pas un titre */
.case-accord { align-items: flex-start; padding: 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font-weight: 600; font-size: 13.5px; line-height: 1.5; color: #e6dcf7; }
.case-accord input { flex: none; margin-top: 1px; }
/* Une case obligatoire oubliée : encadré rouge, et la phrase qui dit quoi faire juste dessous */
.case-accord.manque, .case-ami.manque { border-color: var(--red, #ff6b78); background: rgba(255, 107, 120, .12); box-shadow: 0 0 0 3px rgba(255, 107, 120, .28); color: #fff; }
.case-accord.manque input, .case-ami.manque input { outline: 2px solid var(--red, #ff6b78); outline-offset: 2px; }
.case-manque, .etape > .case-manque { margin-top: 8px; font-size: 14px; font-weight: 900; color: var(--red, #ff6b78); }
.case-manque::before { content: "▲ "; font-size: 11px; }
/* Les étapes de l'achat : panier, paiement, confirmation */
.parcours { display: flex; align-items: center; max-width: 640px; margin: 26px auto 8px; padding: 0; list-style: none; }
.parcours li { display: flex; align-items: center; flex: 1 1 0; gap: 10px; font-weight: 900; font-size: 15px; color: var(--muted); white-space: nowrap; }
.parcours li:last-child { flex: none; }
.parcours li:not(:last-child)::after { content: ""; flex: 1; min-width: 14px; height: 3px; margin: 0 14px 0 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.parcours a { display: flex; align-items: center; gap: 10px; color: inherit; }
.parcours a:hover { color: var(--gold); }
.parcours .n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); font-family: var(--display); font-weight: 400; font-size: 16px; }
.parcours .ici { color: var(--text); }
.parcours .ici .n { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.parcours .fait { color: var(--text); }
.parcours .fait .n { border-color: var(--green); background: var(--green); }
.parcours .fait .n::before { content: ""; width: 11px; height: 6px; border-left: 3px solid #12330a; border-bottom: 3px solid #12330a; transform: rotate(-45deg) translate(1px, -1px); }
.parcours .fait:not(:last-child)::after { background: var(--green); }

/* Les marques des moyens de paiement, dessinées par js/app.js */
.marques { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.marque { display: inline-block; width: 46px; height: 30px; flex: none; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); line-height: 0; }
.marque svg { display: block; width: 100%; height: 100%; font-family: Arial, Helvetica, sans-serif; }
.marque-cb { background: linear-gradient(135deg, #1c5fa8, #1d9a6c); }
.icone { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }
.marques-titre { display: flex; align-items: center; gap: 7px; margin: 18px 0 8px; font-size: 13px; font-weight: 900; color: var(--text); }
.marques-titre .icone { color: var(--green); }

/* Le choix du moyen de paiement : une ligne par moyen, avec ses marques ; la zone du moyen choisi s'ouvre dessous */
.etape-paiement h2 .sur { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-family: Nunito, system-ui, sans-serif; font-size: 13px; font-weight: 800; color: var(--green); text-shadow: none; }
.moyens { display: grid; gap: 10px; }
.moyen { position: relative; display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 10px 16px 10px 48px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(0, 0, 0, .22); cursor: pointer; transition: border-color .12s, background .12s; }
.moyen:hover { border-color: rgba(255, 255, 255, .36); }
.moyens.manque .moyen { border-color: var(--gold); }
.moyen input { position: absolute; opacity: 0; pointer-events: none; }
.moyen::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); box-sizing: border-box; }
.moyen.on { border-color: var(--gold); border-bottom-color: transparent; border-radius: 14px 14px 0 0; background: rgba(255, 201, 60, .1); }
.moyen.on::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 42%, transparent 46%); }
.moyen:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.moyens.seul .moyen { cursor: default; }
.moyen-texte { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.moyen-nom { font-weight: 900; font-size: 16px; line-height: 1.25; color: var(--text); }
.moyen-detail { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.moyen-marques { display: flex; gap: 5px; flex: none; }
.moyen-marques .marque { width: 38px; height: 25px; border-radius: 5px; }
.moyen-zone { margin-top: -10px; padding: 16px; border: 1px solid var(--gold); border-top: 0; border-radius: 0 0 14px 14px; background: rgba(255, 201, 60, .06); }
.moyen-note { font-size: 14px; line-height: 1.5; color: #e6dcf7; }
.moyen-zone .petit { margin-top: 10px; text-align: left; }
.moyen-message { margin-top: 10px; }
/* L'e-mail du reçu (carte, Google Pay, Apple Pay), au-dessus du paiement */
.champ-recu { margin-bottom: 14px; }
.champ-recu-nom { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; color: var(--text); }
.champ-recu input { width: 100%; max-width: 420px; box-sizing: border-box; padding: 12px 14px; border: 1px solid #cfc9df; border-radius: 8px; background: #fff; font: 700 16px Nunito, Arial, sans-serif; color: #1a112f; }
.champ-recu input:focus { outline: none; border-color: #6a4ee0; box-shadow: 0 0 0 3px rgba(106, 78, 224, .22); }
.champ-recu-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.champ-recu-manque { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: #ffb3c5; }
.champ-recu.manque input { border-color: var(--red, #ff6b78); box-shadow: 0 0 0 3px rgba(255, 107, 120, .28); }
body.clair .champ-recu-manque { color: #c2255c; }
.etape-paiement.occupe .moyens, .etape-paiement.occupe .case-accord, .etape-paiement.occupe .moyen-action { opacity: .6; pointer-events: none; }
.etape-paiement .ensuite { margin-top: 14px; }
.etape-paiement .case-accord { margin-top: 16px; }
.moyen-action { margin-top: 14px; }
.moyen-action .petit { margin-top: 8px; }
.moyen-bouton { min-height: 52px; }
.moyen-bouton > * { width: 100%; }
.moyen-attente { margin: 0; padding: 12px 0; font-size: 13px; text-align: center; color: var(--muted); }
.moyen-erreur { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--pink); border-radius: 10px; background: rgba(255, 93, 143, .12); font-size: 13.5px; font-weight: 700; line-height: 1.45; color: #ffe1ea; }
.paiement-pied { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.paiement-pied .icone { margin-top: 2px; color: var(--green); }
/* La carte : un panneau clair, comme un formulaire de banque. Chaque champ est un cadre de PayPal, sous son libellé. */
.carte-panneau { padding: 16px 16px 14px; border-radius: 12px; background: #fff; color: #1a112f; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.carte-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e7e3f1; font-size: 14.5px; color: #1a112f; }
.carte-tete .icone { width: 18px; height: 18px; color: #1e9e52; }
.carte-tete b { font-weight: 900; }
.carte-tete .moyen-marques { margin-left: auto; }
.carte-tete .marque { box-shadow: 0 0 0 1px #dcd7ea; }
.carte-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.champ { min-width: 0; }
.champ.large { grid-column: 1 / -1; }
.champ-nom { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 800; color: #4a4263; }
/* Le cadre de PayPal garde 6 px de marge autour de son champ : on la reprend, pour aligner le champ sur son libellé */
.champ-cadre { min-height: 62px; margin: -6px; }
.champ-cadre:empty { min-height: 50px; margin: 0; border-radius: 8px; background: #f1eef8; }
/* Démo : la place des champs de carte, qui ne se remplissent pas */
.champ-faux { display: flex; align-items: center; height: 50px; padding: 0 14px; border: 1px solid #cfc9df; border-radius: 8px; background: #fff; font-size: 15px; font-weight: 700; color: #9a94ad; cursor: not-allowed; }
.carte-pied { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: #5a5273; }
.carte-pied .icone { width: 16px; height: 16px; margin-top: 1px; color: #1e9e52; }
.bouton-apple { display: block; width: 100%; height: 52px; border: 0; border-radius: 12px; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: white; }
.etape .store-form { margin-top: 12px; max-width: 420px; }
.etape .basket-items .basket-item:first-child { padding-top: 0; }
.recap { position: sticky; top: 96px; padding: 24px 24px 22px; }
.recap-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; color: #e6dcf7; }
.recap-ligne span:last-child { flex: none; font-weight: 900; color: var(--text); }
.recap-ligne.offert span { color: var(--green); }
.recap .btn-lg { margin-top: 16px; }
/* Le récapitulatif : les articles avec leur vignette, puis ce qui rassure */
.recap-articles { display: grid; gap: 12px; margin-bottom: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.recap-article { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.recap-article .vignette { position: relative; width: 52px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 0, 0, .28); }
.recap-article .vignette img { max-width: 86%; max-height: 84%; object-fit: contain; }
.recap-article .vignette i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 900; font-style: normal; }
.recap-article .nom { min-width: 0; font-weight: 800; line-height: 1.25; color: var(--text); }
.recap-article .nom small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.recap-article .prix { font-weight: 900; color: var(--text); }
.recap-modifier { margin-top: 10px; font-size: 13.5px; text-align: right; }
.recap-modifier a, .panier-retour a { font-weight: 800; color: var(--muted); text-decoration: underline; }
.recap-modifier a:hover, .panier-retour a:hover { color: var(--text); }
.quatre-fois { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 800; color: #e6dcf7; }
.quatre-fois .marque { width: 34px; height: 22px; border-radius: 4px; }
.garanties { display: grid; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.garanties li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.garanties .icone { width: 20px; height: 20px; margin-top: 1px; color: var(--green); }
.garanties b { display: block; font-size: 14px; font-weight: 900; color: var(--text); }
.garanties a { text-decoration: underline; }
.garanties-bas { display: none; padding: 0 6px; }
.garanties-bas .garanties { margin-top: 0; padding-top: 0; border-top: 0; }

/* La page du panier */
.achat-titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 14px; font-size: 36px; }
.achat-titre .muted { font-family: Nunito, system-ui, sans-serif; font-size: 15px; font-weight: 800; text-shadow: none; }
.panier-page .basket-item { grid-template-columns: 92px 1fr auto; gap: 16px; padding: 16px 0; }
.panier-page .basket-item .vignette { width: 92px; height: 72px; }
.panier-page .basket-item .title { font-size: 18px; }
.panier-page .basket-item .price strong { font-size: 22px; }
.panier-page .basket-item:last-child { border-bottom: 0; }
.panier-retour { margin-top: 16px; font-size: 14px; }
.panier-vide { margin-top: 18px; padding: 44px 26px; text-align: center; }
.panier-vide h1 { font-size: 40px; }
.panier-vide p { margin-top: 10px; color: #e6dcf7; }
.panier-vide .suite, .panier-vide .marques { justify-content: center; }
.panier-vide .marques { margin-top: 24px; }

/* Page de remerciement */
.merci { margin-top: 22px; padding: 36px 34px 30px; border-top: 5px solid var(--green); }
.merci h1 { font-size: clamp(40px, 6vw, 64px); color: var(--gold); }
.merci .lead { margin-top: 10px; font-size: 18px; color: #e6dcf7; }
.merci .livraison { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.merci .livraison li::before { flex: none; }
.note-demo { margin-top: 22px; padding: 12px 16px; border-radius: 12px; font-size: 14px; color: var(--muted); border: 1px dashed rgba(255, 255, 255, .22); }
.note-demo b { color: var(--pink); }

/* Mon compte */
.compte-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.compte-carte { padding: 24px 26px; }
.compte-carte.large { grid-column: 1 / -1; }
.compte-carte h2 { font-size: 28px; margin-bottom: 14px; }
.compte-carte .gros { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1.1; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.compte-carte .gros.grade { display: flex; align-items: center; gap: 12px; }
.compte-carte .gros.grade img { width: 56px; height: 56px; object-fit: contain; }
.compte-carte .muted { margin-top: 6px; }
.objets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.objet { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; text-align: center; font-size: 14px; line-height: 1.25; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.objet:hover { border-color: rgba(255, 201, 60, .5); }
.objet img { height: 64px; width: auto; object-fit: contain; }
.commande { display: grid; grid-template-columns: 110px 150px 1fr auto; gap: 6px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.commande:last-child { border-bottom: 0; }
.lien-recu { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.note-recu { margin-top: 10px; font-size: 13px; }
.recu-lignes { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 15px; }
.recu-lignes td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
.recu-lignes td.num { text-align: right; white-space: nowrap; padding-left: 16px; }
.recu-lignes .recu-total td { font-weight: 900; border-bottom-width: 2px; }
.commande > b:last-of-type { color: var(--gold); }
.commande .suivi { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.commande .suivi .icone { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--green); }
.commande .suivi b { color: var(--text); }
body.clair-partout #contenu .commande .suivi .icone { color: #0f766e; }
.popup-content h3.recu-titre { margin-top: 18px; font-size: 19px; }
.recu-livraison td.num { font-family: inherit; font-size: 14px; }

/* Pied de page : les moyens de paiement acceptés */
.pied-paiement { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pied-titre { margin: 0; font-weight: 800; }

@media (max-width: 960px) {
  .paiement { grid-template-columns: 1fr; }
  .recap { position: static; }
  /* Au paiement, la commande se lit avant de payer */
  .paiement:not(.panier-page) .recap { order: -1; }
  .paiement:not(.panier-page) .recap .garanties { display: none; }
  .garanties-bas { display: block; }
}
@media (max-width: 560px) {
  .parcours { margin-top: 18px; }
  .parcours li { gap: 8px; font-size: 14px; }
  .parcours a { gap: 8px; }
  .parcours li:not(.ici) .nom { display: none; }
  .parcours li:not(:last-child)::after { margin: 0 8px 0 0; }
  .parcours .ici:not(:last-child)::after { margin-left: 4px; }
  .etape-paiement h2 .sur { flex-basis: 100%; margin-left: 46px; margin-top: -8px; }
  .etape-paiement h2 { flex-wrap: wrap; }
  .moyen { padding: 10px 12px 10px 42px; gap: 8px; }
  .moyen::before { left: 13px; }
  .moyen-marques .marque { width: 34px; height: 22px; }
  .moyen-zone { padding: 12px; }
  .carte-panneau { padding: 14px 12px 12px; }
  .carte-tete .moyen-marques { display: none; }
  .achat-titre { font-size: 30px; }
  .panier-page .basket-item { grid-template-columns: 72px 1fr auto; gap: 12px; }
  .panier-page .basket-item .vignette { width: 72px; height: 58px; }
}
@media (max-width: 820px) {
  .demo-barre .reset { margin-left: 0; }
  .bienvenue { padding: 18px 16px; }
  .bienvenue h2 { font-size: 28px; }
  .offre-perso { flex-wrap: wrap; }
  .offre-perso .btn-primary { width: 100%; }
  .etape, .recap, .compte-carte { padding: 18px 16px; }
  .merci { padding: 26px 18px 22px; }
  .compte-grille { grid-template-columns: 1fr; }
  .commande { grid-template-columns: 1fr auto; }
  .commande > span:nth-of-type(2) { grid-column: 1 / -1; order: 3; }
  .commande .suivi { order: 4; }
  .suite > * { flex: 1 1 100%; }
  .user-actions .solde { padding: 7px 10px; font-size: 14px; }
}

/* ---- Tunnel d'achat : achat express, compte à rebours, preuve sociale, offre d'appoint, code promo, parrainage, pause ---- */
.buy .product-actions .express { flex: 1 1 200px; }
.fin-promo .rebours { display: inline-block; margin-left: 4px; padding: 2px 10px; border-radius: 99px; background: rgba(255, 201, 60, .14); border: 1px solid rgba(255, 201, 60, .5); white-space: nowrap; }
.fin-promo .rebours b { font-weight: 900; }
.fin-promo.court { margin-top: 4px; font-size: 12.5px; }
.preuve { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #e6dcf7; }
.preuve i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(124, 226, 92, .18); }
.preuve b { color: var(--text); font-weight: 900; }
.vip .preuve, .store-product-tiered .preuve { justify-content: center; margin-top: 12px; font-size: 13px; }

.etape.appoint { padding: 0; border-color: rgba(255, 201, 60, .45); }
.etape.appoint.pris { border-color: var(--green); }
.appoint-case { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.appoint-case input { width: 22px; height: 22px; flex: none; accent-color: var(--gold); }
.appoint-case .vignette { width: 84px; height: 66px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .28); }
.appoint-case .vignette img { max-width: 88%; max-height: 84%; object-fit: contain; }
.appoint-texte { flex: 1; min-width: 0; display: grid; gap: 3px; }
.appoint-texte b { font-size: 17px; }
.appoint-texte small { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.appoint-pastille { justify-self: start; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 900; color: var(--ink); background: var(--gold); }
.appoint-prix { flex: none; display: grid; justify-items: end; }
.appoint-prix s { font-size: 14px; color: var(--muted); }
.appoint-prix strong { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--gold); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.basket .basket-item .price s { margin-right: 4px; font-size: 13px; color: var(--muted); }

.code-promo { margin: 8px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.code-titre, .ami-titre { display: block; font-size: 13px; font-weight: 900; color: var(--text); }
.code-champ, .ami-champ { display: flex; gap: 8px; margin-top: 6px; }
.recap .code-champ.store-form, .etape .ami-champ.store-form { margin-top: 6px; max-width: none; }
.code-champ input, .ami-champ input { padding-top: 9px; padding-bottom: 9px; }
.code-champ input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-champ .btn-secondary { flex: none; }
.code-erreur { margin-top: 8px; font-size: 13.5px; font-weight: 800; color: var(--pink); }
.recap-ligne.code-pose a { flex: none; font-size: 13px; font-weight: 800; color: var(--muted); text-decoration: underline; }
.recap-ligne.code-pose a:hover { color: var(--gold); }
.recap-ligne.code-pose.seul { justify-content: flex-end; margin-top: -8px; padding-top: 0; }
.code-note { margin: -2px 0 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }

.parrainage > p { color: #e6dcf7; line-height: 1.5; }
.parrainage b { color: var(--gold); }
.parrain-lien { display: flex; gap: 10px; margin-top: 14px; }
.parrain-lien input { flex: 1; min-width: 0; font-size: 14px; }
.parrain-lien .btn-primary { flex: none; }
.parrainage .hero-chips { margin-top: 14px; }

.motifs { display: grid; gap: 8px; margin-top: 16px; }
.motif { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--text); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.motif:hover, .motif:focus-visible { border-color: var(--gold); background: rgba(255, 201, 60, .1); outline: 0; }
.toast-ajout .btn-sm { flex: none; }

@media (max-width: 640px) {
  .appoint-case { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .appoint-case .vignette { width: 64px; height: 52px; }
  .appoint-texte { flex: 1 1 60%; }
  .appoint-prix { flex: 1 1 100%; grid-auto-flow: column; justify-content: end; align-items: baseline; gap: 8px; }
  .parrain-lien { flex-wrap: wrap; }
  .parrain-lien .btn-primary { flex: 1 1 100%; }
}

/* Pack de bienvenue : le bandeau de l'accueil et du panier, et ses deux visuels (aussi sur sa fiche) */
.offre-bienvenue { margin-top: 22px; padding: 26px 30px; display: flex; align-items: center; gap: 22px 34px; flex-wrap: wrap; border-color: rgba(255, 201, 60, .55); background: radial-gradient(70% 120% at 100% 0%, rgba(255, 165, 36, .22), transparent 60%), linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.offre-bienvenue .ob-texte { flex: 1 1 340px; min-width: 0; }
.offre-bienvenue h2 { font-size: 40px; line-height: 1.05; }
.offre-bienvenue h2 a { color: inherit; text-decoration: none; }
.offre-bienvenue .lead { margin-top: 8px; font-size: 16px; }
.offre-bienvenue .product-actions { margin-top: 14px; display: flex; flex-flow: row wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; }
.offre-bienvenue .product-actions > * { flex: 0 0 100%; }
.offre-bienvenue .product-actions .price { font-size: 20px; }
.offre-bienvenue .product-actions .price strong { font-size: 40px; }
.offre-bienvenue .product-actions > .wide { flex: 0 1 auto; width: auto; min-width: min(100%, 300px); }
/* « Ajouter au panier » et « Achat rapide » : côte à côte, de la même largeur */
.offre-bienvenue .product-actions > .add, .offre-bienvenue .product-actions > .express, .offre-bienvenue .product-actions > .open-basket-cta { flex: 1 1 200px; min-width: 0; max-width: 300px; }
.offre-bienvenue .product-actions .express { margin-top: 0; }
.offre-bienvenue .fin-promo { margin-top: 0; }
/* Le compte à rebours, en haut à droite du bandeau (celui de la zone d'achat n'y est plus affiché en double) */
.offre-bienvenue.avec-chrono { padding-top: 64px; }
.ob-chrono { position: absolute; top: 16px; right: 18px; z-index: 1; margin: 0; padding: 7px 14px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 14.5px; font-weight: 900; white-space: nowrap; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.ob-chrono b { font-weight: 900; }
.offre-bienvenue .fin-promo .rebours { display: none; }
.ob-visuels { flex: 1 1 380px; min-width: 0; display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.ob-v { flex: 1 1 0; min-width: 0; max-width: 300px; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: rgba(18, 12, 32, .6); border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 6px 0 rgba(0, 0, 0, .3); color: inherit; text-decoration: none; transition: transform .12s; }
.ob-v:hover { transform: translateY(-3px); }
.ob-image { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(60% 55% at 50% 60%, rgba(255, 201, 60, .28), transparent 72%); }
.ob-image img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)); }
.ob-v.photo .ob-image { background: none; }
.ob-v.photo .ob-image img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.ob-nom { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 14px 12px; font-size: 15px; }
.ob-nom b { font-weight: 900; }
.ob-nom del { color: var(--muted, #b9b0d6); font-size: 13.5px; white-space: nowrap; }
.ob-plus { align-self: center; flex: 0 0 auto; font-family: 'Lilita One', sans-serif; font-size: 34px; color: var(--gold); }
.full-media.ob-media .media-tebex { width: 100%; padding: 22px; }
.full-media.ob-media .ob-visuels { flex-direction: column; align-items: center; }
.full-media.ob-media .ob-v { width: 100%; max-width: 420px; flex: 0 0 auto; }
@media (max-width: 700px) {
  .offre-bienvenue { padding: 20px 16px; }
  .offre-bienvenue.avec-chrono { padding-top: 58px; }
  .ob-chrono { top: 14px; right: 14px; font-size: 13.5px; padding: 6px 12px; }
  .offre-bienvenue h2 { font-size: 32px; }
  .offre-bienvenue .product-actions > .wide { flex: 1 1 100%; max-width: none; }
  .ob-nom { flex-direction: column; gap: 0; padding: 8px 10px 10px; font-size: 14px; }
  .ob-plus { font-size: 26px; }
}

/* Le cadeau : le compte de l'ami, vérifié avant de payer */
.ami { margin-top: 14px; }
.ami-champ input { flex: 1; min-width: 0; }
.ami-champ .btn-secondary { flex: none; }
.ami-aide { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ami-trouve { margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px solid rgba(124, 255, 107, .45); background: rgba(124, 255, 107, .07); }
.ami-qui { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 800; color: var(--muted); }
.ami-qui .icone { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green); }
.ami-qui b { display: block; font-size: 20px; line-height: 1.2; color: var(--text); }
.ami-qui small { display: block; font-size: 12.5px; font-weight: 700; }
.case-ami { align-items: flex-start; margin-top: 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font-weight: 700; font-size: 13.5px; line-height: 1.5; color: #e6dcf7; }
.case-ami input { flex: none; margin-top: 1px; }

/* Apple Pay hors Safari : le bouton fourni par le script d'Apple */
apple-pay-button { display: block; width: 100%; cursor: pointer; --apple-pay-button-width: 100%; --apple-pay-button-height: 52px; --apple-pay-button-border-radius: 12px; --apple-pay-button-padding: 0 0; --apple-pay-button-box-sizing: border-box; }

/* Le panier : à qui c'est livré, les Suncoins offerts, les idées (ses couleurs claires sont à la fin du fichier) */
.panier-compte { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; padding: 10px 14px; border-radius: 14px; background: rgba(124, 255, 107, .07); border: 1px solid rgba(124, 255, 107, .32); font-size: 14px; font-weight: 700; line-height: 1.4; color: #e6dcf7; }
.panier-compte img { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.panier-compte .icone { width: 22px; height: 22px; flex: none; color: var(--green); }
.panier-compte b { color: var(--text); font-weight: 900; }
.panier-compte .muted { font-size: 12.5px; white-space: nowrap; }
.basket .basket-item .rayon { margin-top: 2px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.recap-suite { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.offerts h2 { gap: 10px; }
.offerts h2 .coin { width: 30px; height: 30px; flex: none; }
.offerts-intro { font-size: 14.5px; line-height: 1.5; color: #e6dcf7; }
.offerts-etat { margin-top: 14px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--text); }
.offerts-etat b { color: var(--gold); font-weight: 900; }
.offerts-barre { position: relative; height: 10px; margin-top: 12px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.offerts-barre i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #ffd95f, #ff8a1f, #ff5d8f); transition: width .4s; }
.offerts-paliers { display: grid; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.offerts-paliers li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.offerts-paliers .rang { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; font-weight: 900; color: var(--muted); border: 2px solid var(--line); }
.offerts-paliers .quoi { flex: 1; min-width: 0; }
.offerts-paliers .quoi b { display: block; font-size: 16px; font-weight: 900; }
.offerts-paliers .quoi small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.offerts-paliers .ou { flex: none; font-size: 13px; font-weight: 900; color: var(--muted); white-space: nowrap; }
.offerts-paliers li.prochain { border-color: rgba(255, 201, 60, .55); background: rgba(255, 201, 60, .07); }
.offerts-paliers li.prochain .rang { color: var(--gold); border-color: var(--gold); }
.offerts-paliers li.prochain .ou { color: var(--gold); }
.offerts-paliers li.atteint { border-color: rgba(124, 255, 107, .5); background: rgba(124, 255, 107, .08); }
.offerts-paliers li.atteint .rang { color: #12330a; background: var(--green); border-color: var(--green); }
.offerts-paliers li.atteint .ou { color: var(--green); }
.offerts .suggestion { margin-top: 12px; }
.offerts-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.bienvenue-panier { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-color: rgba(255, 201, 60, .55); }
.bienvenue-panier .vignette { width: 92px; height: 64px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: rgba(0, 0, 0, .28); }
.bienvenue-panier .vignette img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bienvenue-panier .bp-texte { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; }
.bienvenue-panier .eyebrow { margin-bottom: 4px; font-size: 12px; }
.bienvenue-panier s { color: var(--muted); }
.bienvenue-panier .btn-primary { flex: none; }
.panier-idees { padding-top: 34px; }
.panier-idees .section-head h2 { font-size: 34px; }
/* Une rangée qui défile : 4 produits à la fois, une flèche de chaque côté */
.defile { position: relative; }
.defile-piste.store-products-images { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 18px; margin: -8px 0 -18px; }
.defile-piste::-webkit-scrollbar { display: none; }
.defile-piste > * { scroll-snap-align: start; min-width: 0; }
.defile-fleche { position: absolute; top: 34%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); background: #2c1d52; color: #fff; cursor: pointer; box-shadow: 0 6px 0 rgba(0, 0, 0, .35), 0 12px 24px rgba(0, 0, 0, .45); transition: opacity .2s, transform .12s, background .12s; }
.defile-fleche:hover { background: #3a2769; transform: scale(1.06); }
.defile-fleche.avant { left: -24px; }
.defile-fleche.apres { right: -24px; }
.defile-fleche[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1340px) {
  .defile-fleche.avant { left: 6px; }
  .defile-fleche.apres { right: 6px; }
}
@media (max-width: 1040px) { .defile-piste.store-products-images { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 820px) {
  .defile-piste.store-products-images { grid-auto-columns: calc((100% - 12px) / 2); }
  .defile-fleche { width: 40px; height: 40px; margin-top: -20px; }
}
@media (max-width: 960px) {
  /* Sur un petit écran : le panier, puis le total et le bouton, puis les Suncoins offerts */
  .panier-page .paiement-etapes { display: contents; }
  .panier-page .recap { order: 2; }
  .panier-page .bienvenue-panier { order: 1; }
  .panier-page .offerts { order: 3; }
}
@media (max-width: 560px) {
  .offerts-paliers li { flex-wrap: wrap; gap: 6px 12px; }
  .offerts-paliers .ou { width: 100%; padding-left: 42px; }
  .bienvenue-panier { flex-wrap: wrap; }
  .bienvenue-panier .btn-primary { width: 100%; }
  .panier-compte .muted { white-space: normal; }
  .ami-champ, .code-champ { flex-wrap: wrap; }
  .ami-champ input { flex: 1 1 100%; }
  .ami-champ .btn-secondary { width: 100%; }
}
.panier-page .basket-item .trial { border-radius: 10px; }

/* ------------------------------------------------------------------ Avis des joueurs */
.etoiles { position: relative; display: inline-block; flex: none; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; line-height: 1; letter-spacing: 1px; white-space: nowrap; vertical-align: middle; }
.etoiles::before { content: "★★★★★"; color: rgba(255, 255, 255, .2); }
.etoiles i { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.etoiles i::before { content: "★★★★★"; color: var(--gold); }
.note-produit { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--muted); }
.note-produit:hover span:last-child { color: var(--text); }
.note-fiche { margin-top: 8px; }
.note-fiche a { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: var(--muted); }
.note-fiche .etoiles { font-size: 20px; }
.note-fiche b { color: var(--text); }
.note-fiche a:hover span:last-child { text-decoration: underline; }
.pill-attente { background: rgba(255, 201, 60, .14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 201, 60, .45); }

/* En bas de la fiche d'un produit */
.avis-bloc { display: grid; grid-template-columns: 250px 1fr; gap: 12px 40px; padding: 26px 28px; }
.avis-bloc.vide { display: block; }
.avis-resume { align-self: start; }
.avis-moyenne { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.avis-moyenne b { font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; color: var(--gold); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.avis-moyenne span { color: var(--muted); font-weight: 800; }
.avis-resume .etoiles { font-size: 22px; }
.avis-resume > .muted { margin-top: 4px; font-size: 14px; }
.avis-barres { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 800; color: var(--muted); }
.avis-barres li { display: grid; grid-template-columns: 34px 1fr 22px; align-items: center; gap: 8px; }
.avis-barres .barre { height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.avis-barres .barre i { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.avis-barres li > span:last-child { text-align: right; }
.avis-inviter { display: grid; gap: 10px; justify-items: start; margin-top: 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 201, 60, .4); background: rgba(255, 201, 60, .08); font-size: 14px; }
.avis-bloc.vide .avis-inviter { margin-top: 12px; }
.avis-un { padding: 16px 0; border-bottom: 1px solid var(--line); }
.avis-un:first-child { padding-top: 0; }
.avis-un:last-of-type { border-bottom: 0; padding-bottom: 0; }
.avis-un header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.avis-un header b { font-size: 15px; }
.avis-un header .avis-steam { font-weight: 600; opacity: .7; }
.avis-un header .muted { margin-left: auto; font-size: 13px; }
.avis-un > p { margin-top: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.achat-verifie { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 99px; font-size: 12px; font-weight: 900; color: var(--green); background: rgba(150, 232, 106, .12); box-shadow: inset 0 0 0 1px rgba(150, 232, 106, .35); }
.achat-verifie .icone { width: 14px; height: 14px; }
.avis-fil > .suite { margin-top: 16px; }

/* Dans « Mon compte » */
.avis-compte h3 { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 12px; font-size: 20px; }
.avis-compte h3 .muted { margin: 0; font-family: Nunito, system-ui, sans-serif; font-size: 14px; font-weight: 800; text-shadow: none; }
.avis-compte .avis-rien { margin: 0; }
.avis-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.avis-cartes.a-donner { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.avis-carte { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.avis-carte .avis-ou { flex: 1; align-content: flex-start; }
.avis-carte .avis-ou .extrait { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow-wrap: anywhere; }
.avis-carte > .btn-sm { align-self: flex-start; }
/* Un avis à donner : toute la carte est le bouton */
button.avis-carte { align-items: center; text-align: center; font: inherit; color: inherit; cursor: pointer; border: 2px dashed rgba(255, 201, 60, .45); transition: border-color .12s, background-color .12s, transform .12s; }
button.avis-carte:hover, button.avis-carte:focus-visible { border-color: var(--gold); background: rgba(255, 201, 60, .08); transform: translateY(-2px); }
button.avis-carte img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: rgba(0, 0, 0, .25); }
button.avis-carte b { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
button.avis-carte .chip { font-size: 13px; padding: 5px 12px; }
.avis-donner { margin-top: auto; font-weight: 900; font-size: 14px; color: var(--gold); }
.avis-produit { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avis-produit img { width: 54px; height: 54px; flex: none; object-fit: contain; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.avis-ou { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; font-size: 14px; }
.avis-ou .muted { margin-top: 0; display: inline-flex; align-items: center; gap: 6px; }
.avis-ou .extrait { flex-basis: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.avis-ou .chip { font-size: 13px; padding: 5px 12px; }

/* La fenêtre d'écriture */
.fenetre-avis .popup-content { text-align: left; }
.fenetre-avis .avis-titre { display: block; margin: 16px 0 8px; font-size: 15px; font-weight: 900; }
.choix-etoiles { display: flex; align-items: center; gap: 2px; }
.choix-etoiles button { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: none; cursor: pointer; font-family: Arial, Helvetica, sans-serif; font-size: 38px; line-height: 1; color: rgba(255, 255, 255, .22); transition: transform .12s, color .12s; }
.choix-etoiles button.on { color: var(--gold); }
.choix-etoiles button:hover { transform: scale(1.12); }
.choix-etoiles span { margin-left: 10px; font-weight: 800; color: var(--muted); }
.fenetre-avis textarea { display: block; width: 100%; min-height: 128px; resize: vertical; line-height: 1.45; }
.fenetre-avis .avis-car { margin-top: 6px; font-size: 13px; text-align: right; }
.avis-regles { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.avis-regles b { color: var(--text); }
.avis-refus, .avis-erreur { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; background: rgba(255, 93, 143, .12); box-shadow: inset 0 0 0 1px rgba(255, 93, 143, .5); }
.avis-erreur { margin-top: 12px; }
.fenetre-avis .actions { margin-top: 16px; }
@media (max-width: 820px) {
  .avis-bloc { grid-template-columns: 1fr; padding: 20px 16px; }
  .avis-resume { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .avis-un:first-child { padding-top: 4px; }
  .avis-un header .muted { margin-left: 0; flex-basis: 100%; }
  .avis-cartes.a-donner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choix-etoiles button { width: 42px; }
  .choix-etoiles span { margin-left: 6px; font-size: 14px; }
}

/* ------------------------------------------------------------------ Le panier en clair
   Depuis le 27/11/2026, la page du panier a son propre style (maquette « B · Clair », choisie par le gérant) :
   fond clair, cartes blanches, texte sombre, boutons à plat. js/app.js pose « clair » sur <body> pour cette page
   seulement ; l'en-tête garde ses couleurs. Dans la page, les couleurs du thème sont redéfinies : ce qui était
   écrit en clair sur du sombre devient sombre sur du clair, et le doré des textes devient le violet d'accent. */
body.clair { background: #f4f3f8; }
body.clair .demo-barre { background: #1b1530; }
body.clair .panne-barre { background: #5a1626; }
body.clair .promo-barre { background: linear-gradient(90deg, rgba(126, 217, 87, .18), rgba(255, 201, 60, .14)), #1b1530; }
body.clair .site-header-inner { background: #1b1530; box-shadow: 0 6px 18px rgba(27, 21, 48, .22); }
body.clair #contenu, body.clair .site-footer {
  --text: #1b1530; --muted: #5d5674; --line: #e2dfec; --green: #15803d; --pink: #c2255c; --red: #c81e3a;
  --gold: #4a2fc0; --accent: #4a2fc0; --trait: #b9b2cf; --trait-champ: #8a83a6;
  color: var(--text);
}
body.clair #contenu h1, body.clair #contenu h2, body.clair #contenu h3 { font-family: Nunito, system-ui, sans-serif; font-weight: 900; letter-spacing: -.01em; text-shadow: none; }
body.clair .panel { border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(27, 21, 48, .05); }

/* Les boutons : le doré à plat pour l'action principale, un contour violet pour les autres */
body.clair #contenu .btn-primary, body.clair #contenu .btn-secondary, body.clair #contenu .btn-tertiary { font-family: Nunito, system-ui, sans-serif; font-weight: 900; letter-spacing: 0; text-shadow: none; box-shadow: none; transform: none; filter: none; transition: background-color .12s, border-color .12s; }
body.clair #contenu .btn-primary { color: #23180a; background: #ffc93c; border: 1px solid #ffc93c; border-radius: 10px; }
body.clair #contenu .btn-primary:hover { background: #f5b915; border-color: #f5b915; }
body.clair #contenu .btn-primary:active { background: #e6aa06; border-color: #e6aa06; }
body.clair #contenu .btn-secondary, body.clair #contenu .store-product .btn-primary, body.clair #contenu .suggestion .btn-primary, body.clair #contenu .bienvenue-panier .btn-primary { color: var(--accent); background: #fff; border: 1px solid var(--accent); border-radius: 8px; }
body.clair #contenu .btn-secondary:hover, body.clair #contenu .store-product .btn-primary:hover, body.clair #contenu .suggestion .btn-primary:hover, body.clair #contenu .bienvenue-panier .btn-primary:hover { background: #f1eefc; }
body.clair #contenu .btn-tertiary { color: var(--text); background: #fff; border: 1px solid var(--trait); border-radius: 8px; }
body.clair #contenu .btn-tertiary:disabled { color: var(--green); border-color: #9fd3ad; background: #eef8f0; }
body.clair #contenu .btn-sm { min-height: 40px; font-size: 14.5px; }
body.clair #contenu .pill-green, body.clair #contenu .pill-gold { color: #fff; }

/* La bande de repères, sous l'en-tête */
.reperes { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 18px; padding: 12px 20px; list-style: none; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 800; color: #3c3555; }
.reperes li { display: flex; align-items: center; gap: 8px; }
.reperes .icone { width: 18px; height: 18px; color: var(--green); }
.reperes a { text-decoration: underline; }

/* Le titre et les étapes de l'achat, sur une ligne */
.panier-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }
.panier-tete .achat-titre { margin: 0; font-size: 30px; }
.panier-tete .achat-titre .muted { font-size: 16px; }
.panier-tete .parcours { flex: 0 1 430px; max-width: none; margin: 0; }
body.clair .parcours li { font-size: 14px; font-weight: 800; }
body.clair .parcours li:not(:last-child)::after { height: 2px; margin: 0 12px 0 2px; background: #d5d0e3; }
body.clair .parcours .n { width: 26px; height: 26px; border-color: var(--trait); font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 13px; }
body.clair .parcours .ici .n { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Les deux colonnes */
body.clair .paiement.panier-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 18px; }
body.clair .panier-page .paiement-etapes { gap: 16px; }

/* Les articles : à qui c'est livré, puis une ligne par produit */
.panier-page .articles { padding: 0; }
.panier-page .etape > .panier-compte { margin: 0; padding: 14px 20px; border: 0; border-bottom: 1px solid #cfe8d5; border-radius: 0; background: #eef8f0; color: #14532d; }
.panier-page .panier-compte b { color: #14532d; }
.panier-page .panier-compte .muted { color: #2f6b45; }
.panier-page .panier-compte .icone { color: #15803d; }
.panier-page .etape > p { color: var(--text); }
.panier-page .articles .basket-item, .panier-page .articles .basket-items .basket-item:first-child { grid-template-columns: 76px 1fr auto; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panier-page .basket-item .vignette, .panier-page .bienvenue-panier .vignette, .panier-page .suggestion img { background: linear-gradient(160deg, #2f2257, #1b1530); }
.panier-page .basket-item .vignette { width: 76px; height: 76px; border-radius: 8px; }
.panier-page .basket-item .title { font-size: 17px; }
.panier-page .basket-item .rayon { font-size: 13px; font-weight: 700; }
.panier-page .basket-item .remove { font-size: 13px; color: var(--accent); }
.panier-page .basket-item .remove:hover { color: #2d1a85; }
.panier-page .basket-item .trial { color: #14532d; background: #dff2e4; }
.panier-page .basket-item .price strong, body.clair #contenu .price strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 18px; color: var(--text); text-shadow: none; }
.panier-page .quantity-field .adjust { border-color: var(--trait-champ); background: #fff; color: var(--text); }
.panier-page .quantity-field input.quantity { color: var(--text); }
.panier-page .panier-retour { margin: 0; padding: 14px 20px; }
.panier-page .panier-retour a { color: var(--accent); text-decoration: none; }
.panier-page .panier-retour a:hover { color: #2d1a85; text-decoration: underline; }

/* L'offre de bienvenue et les Suncoins offerts : deux cartes ambrées */
.panier-page .bienvenue-panier { border-color: #f0d98a; }
.panier-page .bienvenue-panier .vignette { border-radius: 8px; }
.panier-page .bienvenue-panier .eyebrow, .panier-page .bienvenue-panier .rebours b { color: #7a4b00; }
.panier-page .bienvenue-panier .eyebrow::before { background: #b77400; box-shadow: 0 0 0 4px rgba(183, 116, 0, .18); }
.panier-page .offerts { padding: 18px 20px; border-color: #f0d98a; background: #fff8e1; }
.panier-page .offerts h2 { margin-bottom: 8px; font-size: 17px; }
.panier-page .offerts h2 .coin { width: 22px; height: 22px; }
.panier-page .offerts-intro { font-size: 14px; color: #5c4a1a; }
.panier-page .offerts-etat { margin-top: 10px; font-size: 15px; }
.panier-page .offerts-etat b { color: #7a4b00; }
.panier-page .offerts-barre { height: 8px; background: #f0e2b0; }
.panier-page .offerts-barre i { background: #b77400; }
.panier-page .offerts-paliers li { padding: 10px 14px; border-radius: 10px; border-color: #f0d98a; background: #fffdf5; }
.panier-page .offerts-paliers .rang { width: 28px; height: 28px; color: #7a4b00; border-color: #e3c56a; }
.panier-page .offerts-paliers .quoi b { font-size: 15px; }
.panier-page .offerts-paliers .quoi small, .panier-page .offerts-note { color: #5c4a1a; }
.panier-page .offerts-paliers .ou { color: #7a4b00; }
.panier-page .offerts-paliers li.prochain { border-color: #b77400; background: #fff; }
.panier-page .offerts-paliers li.prochain .rang { color: #7a4b00; border-color: #b77400; }
.panier-page .offerts-paliers li.prochain .ou { color: #7a4b00; }
.panier-page .offerts-paliers li.atteint { border-color: #9fd3ad; background: #eef8f0; }
.panier-page .offerts-paliers li.atteint .rang { color: #fff; background: #15803d; border-color: #15803d; }
.panier-page .offerts-paliers li.atteint .ou { color: #15803d; }
.panier-page .suggestion { padding: 10px 12px; border-radius: 10px; border: 1px solid #f0d98a; background: #fff; }
.panier-page .suggestion img { width: 56px; height: 48px; padding: 4px; border-radius: 8px; }
.panier-page .suggestion p span { color: var(--muted); }

/* Le récapitulatif */
.panier-page .recap { padding: 24px; }
.panier-page .recap h2 { margin-bottom: 10px; font-size: 20px; }
.panier-page .recap-ligne { font-weight: 700; color: var(--muted); }
.panier-page .a-payer { font-size: 17px; }
.panier-page .a-payer strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 32px; color: var(--text); }
.panier-page .code-titre { color: var(--muted); }
body.clair #contenu .store-form input[type=text] { min-height: 44px; border-radius: 8px; border: 1px solid var(--trait-champ); background: #fff; color: var(--text); box-shadow: none; }
body.clair #contenu .store-form input[type=text]::placeholder { color: #6b6584; opacity: 1; }
body.clair #contenu .pill-pink { color: #fff; }
body.clair #contenu .store-form input[type=text]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 47, 192, .16); }
.panier-page .code-champ { align-items: center; }
.panier-page .code-champ input[type=text] { height: 44px; margin: 0; padding: 0 12px; }
.panier-page .code-champ .btn-secondary { height: 44px; min-height: 44px; padding: 0 16px; }
.panier-page .recap-ligne.code-pose a { color: var(--accent); }
.panier-page .quatre-fois { color: var(--muted); }
.panier-page .recap .btn-lg { min-height: 54px; gap: 10px; font-size: 18px; }
.panier-page .recap .btn-lg .icone { width: 20px; height: 20px; }
.panier-page .recap .marques { justify-content: center; margin-top: 16px; }
body.clair #contenu .marque, body.clair .site-footer .marque { box-shadow: 0 0 0 1px #d5d0e3; }
.recap-carte { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: center; }

/* « Complète ton panier » : des cartes blanches, l'image sur un fond sombre pour que chaque objet reste lisible */
body.clair .panier-idees { padding-top: 32px; }
body.clair .panier-idees .section-head { margin-bottom: 14px; }
body.clair .panier-idees .section-head h2 { font-size: 22px; }
body.clair .panier-idees .section-head p { margin-top: 2px; font-size: 14px; }
body.clair .store-product { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
body.clair .store-product:hover { transform: translateY(-2px); border-color: var(--trait); box-shadow: 0 8px 20px rgba(27, 21, 48, .1); }
body.clair .store-product::after { display: none; }
body.clair .store-product .image-link { border-radius: 0; background: radial-gradient(58% 46% at 50% 88%, color-mix(in srgb, var(--c, #ff8a1f) 45%, transparent), transparent 72%), linear-gradient(160deg, #2f2257, #1b1530); }
body.clair .store-product:hover .image, body.clair .store-product:hover .image.tilt { transform: scale(1.05); }
body.clair .store-product .body { padding: 14px 16px 16px; }
body.clair .store-product .product-title { font-size: 15px; font-weight: 900; line-height: 1.25; }
body.clair .etoiles::before { color: #d5d0e3; }
body.clair .etoiles i::before { color: #e09600; }
body.clair .defile-fleche { border: 1px solid var(--trait); background: #fff; color: var(--text); box-shadow: 0 4px 12px rgba(27, 21, 48, .14); }
body.clair .defile-fleche:hover { background: #f1eefc; transform: none; }

/* Le panier vide */
body.clair .panier-vide h1 { font-size: 30px; }
body.clair .panier-vide p { color: var(--muted); }

@media (max-width: 900px) {
  body.clair .paiement.panier-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reperes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.3; }
  .reperes li { align-items: flex-start; }
  .panier-tete { margin-top: 18px; }
  .panier-tete .achat-titre { font-size: 26px; }
  .panier-tete .parcours { flex-basis: 100%; }
  .panier-page .panier-compte { padding-left: 14px; padding-right: 14px; }
  .panier-page .articles .basket-item, .panier-page .articles .basket-items .basket-item:first-child { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px; }
  .panier-page .basket-item .vignette { width: 64px; height: 64px; }
  .panier-page .offerts, .panier-page .recap { padding: 16px 14px; }
}

/* ------------------------------------------------------------------ Le paiement en clair (28/11/2026)
   Même style que le panier (demande du gérant : « encore dans l'ancien style du panier, ça peut perdre des acheteurs »).
   js/app.js pose « clair » sur <body> pour le panier et le paiement ; « page-payer » marque la page de paiement. */
body.clair .page-payer { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 18px; }
body.clair .page-payer .paiement-etapes { gap: 16px; }
body.clair .page-payer .etape { padding: 22px 24px; }
body.clair #contenu .page-payer .etape h2, body.clair #contenu .page-payer .recap h2 { margin-bottom: 14px; font-size: 21px; }
body.clair .page-payer .etape h2 .n { width: 28px; height: 28px; font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 14px; color: #fff; background: var(--accent); }
body.clair .page-payer .etape > p, body.clair .page-payer .moyen-note { color: var(--text); }
/* Ton compte */
body.clair .page-payer .compte-ligne b { font-size: 17px; }
body.clair .page-payer .compte-ligne .chip { padding: 4px 10px; font-size: 13px; color: #14532d; background: #dff2e4; border-color: #9fd3ad; }
body.clair .page-payer .case input, body.clair .page-payer .appoint-case input { accent-color: var(--accent); }
body.clair .page-payer .case-accord, body.clair .page-payer .case-ami { border-color: var(--line); background: #faf9fd; color: #3c3555; }
body.clair .page-payer .case-accord.manque, body.clair .page-payer .case-ami.manque { border-color: var(--red); background: #fdecef; box-shadow: 0 0 0 3px rgba(200, 30, 58, .16); color: var(--text); }
body.clair .page-payer .case-suite a { color: var(--accent); }
body.clair .page-payer .ami-trouve { border-color: #9fd3ad; background: #eef8f0; }
body.clair .page-payer .ami-qui .icone { color: var(--green); }
/* L'offre du moment : une bande ambrée, comme les offres du panier */
body.clair .page-payer .etape.appoint { border-color: #f0d98a; background: #fff8e1; }
body.clair .page-payer .etape.appoint.pris { border-color: #9fd3ad; background: #eef8f0; }
body.clair .page-payer .appoint-case .vignette { border-radius: 8px; background: linear-gradient(160deg, #2f2257, #1b1530); }
body.clair .page-payer .appoint-texte small { color: #5c4a1a; }
body.clair .page-payer .appoint-pastille { color: #fff; background: #b77400; }
body.clair .page-payer .appoint-prix strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 22px; color: var(--text); text-shadow: none; }
/* Les moyens de paiement */
body.clair .page-payer .moyen { border-color: var(--trait); background: #fff; }
body.clair .page-payer .moyen:hover { border-color: var(--accent); }
body.clair .page-payer .moyen::before { border-color: var(--trait-champ); }
body.clair .page-payer .moyen.on { border-color: var(--accent); border-bottom-color: transparent; background: #f1eefc; }
body.clair .page-payer .moyen.on::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%); }
body.clair .page-payer .moyen:focus-within { outline-color: var(--accent); }
body.clair .page-payer .moyens.manque .moyen { border-color: var(--red); }
body.clair .page-payer .moyen-zone { border-color: var(--accent); background: #f8f6fe; }
body.clair .page-payer .carte-panneau { box-shadow: 0 0 0 1px var(--line); }
body.clair .page-payer .marque { box-shadow: 0 0 0 1px #d5d0e3; }
body.clair .page-payer .ensuite { color: var(--text); background: #eef8f0; border-color: #9fd3ad; }
body.clair .page-payer .moyen-erreur { border-color: var(--red); background: #fdecef; color: #7a1020; }
body.clair .page-payer .etape-paiement h2 .sur { color: var(--green); }
/* Le récapitulatif */
body.clair .page-payer .recap { padding: 24px; }
body.clair .page-payer .recap-article .vignette { border-radius: 8px; background: linear-gradient(160deg, #2f2257, #1b1530); }
body.clair .page-payer .recap-article .vignette i { color: #fff; background: var(--accent); }
body.clair .page-payer .recap-ligne { color: var(--muted); font-weight: 700; }
body.clair .page-payer .a-payer { font-size: 17px; }
body.clair .page-payer .a-payer strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 32px; color: var(--text); }
body.clair .page-payer .code-titre { color: var(--muted); }
body.clair .page-payer .code-champ { align-items: center; }
body.clair .page-payer .code-champ input[type=text] { height: 44px; margin: 0; padding: 0 12px; }
body.clair .page-payer .code-champ .btn-secondary { height: 44px; min-height: 44px; padding: 0 16px; }
body.clair .page-payer .recap-ligne.code-pose a, body.clair .page-payer .recap-modifier a { color: var(--accent); }
body.clair .page-payer .recap-modifier a:hover { color: #2d1a85; }

@media (max-width: 960px) {
  body.clair .page-payer { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  /* Téléphone : la commande sur une ligne, le bouton de paiement collé en bas, sur fond blanc */
  body.clair .page-payer .recap { padding: 0; }
  body.clair .page-payer .recap-resume strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 24px; color: var(--text); text-shadow: none; }
  body.clair .page-payer .etape-paiement .moyen-action { border-top-color: var(--line); background: #fff; box-shadow: 0 -8px 20px rgba(27, 21, 48, .12); }
}
@media (max-width: 640px) {
  body.clair .page-payer .etape { padding: 18px 14px; }
  body.clair .page-payer .appoint-case { padding: 14px; }
}

/* ------------------------------------------------------------------ Le remerciement en clair (28/11/2026)
   La page qui suit le paiement (pageMerci dans js/app.js), dans le même style que le panier et le paiement. */
body.clair .merci { margin-top: 18px; padding: 30px 32px 26px; border-top: 5px solid var(--green); }
body.clair #contenu .merci h1 { font-size: clamp(30px, 4.6vw, 44px); color: var(--text); }
body.clair .merci .eyebrow { color: var(--green); }
body.clair .merci .eyebrow::before { background: var(--green); box-shadow: 0 0 0 4px rgba(21, 128, 61, .16); }
body.clair .merci .lead { color: var(--text); font-size: 17px; }
body.clair .merci .livraison { border-radius: 10px; border-color: var(--line); background: #faf9fd; }
body.clair .merci .inside span { color: var(--text); }
body.clair .merci .chip { color: var(--text); background: #f4f3f8; border-color: var(--line); }
body.clair .merci .chip-gold { color: #6b4300; background: #fff8e1; border-color: #f0d98a; }
body.clair .note-demo { border-color: var(--trait); background: #fff; color: var(--muted); }
body.clair .note-demo b { color: var(--pink); }
/* L'offre pour aller plus loin, sous le remerciement */
body.clair .bienvenue .offre-perso { border-radius: 10px; border-color: #f0d98a; background: #fff8e1; }
body.clair .bienvenue .offre-perso img { filter: drop-shadow(0 4px 4px rgba(27, 21, 48, .25)); }
body.clair .bienvenue .offre-perso b { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 18px; color: var(--text); }
body.clair .bienvenue .offre-perso span { color: #5c4a1a; }
@media (max-width: 640px) {
  body.clair .merci { padding: 22px 16px 20px; }
}

/* ------------------------------------------------------------------ Mon compte : la fiche du joueur, « Tes achats »
   En haut du compte : la photo Steam, les noms, puis une case par chose que la base du jeu sait du joueur. */
.fiche-joueur { --c: var(--green); }
.fiche-tete { display: flex; align-items: center; gap: 22px; }
.fiche-photo { flex: none; width: 112px; height: 112px; border-radius: 24px; object-fit: cover; border: 3px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .3); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.fiche-photo.sans { display: grid; place-items: center; font-family: var(--display); font-size: 56px; color: var(--gold); }
.fiche-noms { min-width: 0; }
.fiche-noms .eyebrow { margin-bottom: 4px; }
.fiche-joueur h1 { font-size: 46px; line-height: 1.05; overflow-wrap: anywhere; }
.fiche-joueur .fiche-sous { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; max-width: none; font-size: 15px; color: var(--muted); }
.fiche-sous b { color: var(--text); }
.fiche-joueur .hero-chips { margin-top: 12px; max-width: none; }
.fiche-joueur .hero-chips .chip { margin-top: 0; }
.fiche-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 22px; list-style: none; }
.fiche-cases li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.fiche-cases li > span { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fiche-cases b { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--gold); overflow-wrap: anywhere; }
.fiche-cases b .coin { width: 22px; height: 22px; }
.fiche-cases b .serre { font-size: 22px; white-space: nowrap; }
.fiche-cases small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.compte-carte.achats h3 { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 12px; font-size: 20px; }
.compte-carte.achats h2 + h3 { margin-top: 0; }
.compte-carte.achats h3 .muted { margin: 0; font-family: Nunito, system-ui, sans-serif; font-size: 14px; font-weight: 800; text-shadow: none; }

/* Dans l'en-tête, le joueur connecté a un bouton vert « Mon compte » */
.user-actions .btn-compte { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: 12px; white-space: nowrap; font-family: var(--display); font-size: 15px; letter-spacing: .02em; color: #0d3200; background: linear-gradient(180deg, #b6f58b, #6ed13f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 4px 0 #2f8a12, 0 10px 18px rgba(0, 0, 0, .3); transition: transform .08s, box-shadow .08s, filter .12s; }
.user-actions .btn-compte:hover { filter: brightness(1.07); transform: translateY(-1px); }
.user-actions .btn-compte:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 1px 0 #2f8a12; }

@media (max-width: 820px) {
  .user-actions .btn-compte { min-height: 34px; padding: 0 9px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .fiche-tete { gap: 14px; }
  .fiche-photo { width: 76px; height: 76px; border-radius: 18px; }
  .fiche-photo.sans { font-size: 38px; }
  .fiche-joueur h1 { font-size: 32px; }
  .fiche-cases { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .fiche-cases li { padding: 10px 12px; }
  .fiche-cases b { font-size: 21px; }
  .fiche-cases b .serre { font-size: 17px; }
}

/* ------------------------------------------------------------------ Le panier : les articles d'abord
   (maquette « A », choisie le 27/11/2026). La carte « Tes articles » est la seule encadrée de violet, ses lignes
   sont grandes ; le compte Steam livré est en pied de carte. Les offres viennent après, sous « Offres pour toi »,
   chacune réduite à une bande. Les quatre repères sont en liste sous le bouton de paiement. */
body.clair .panier-page .articles { overflow: hidden; border: 2px solid var(--accent); }
.articles-titre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 22px; }
body.clair #contenu .articles-titre h2 { margin: 0; font-size: 22px; }
.articles-nombre { min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 99px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 900; }
.panier-page .articles-titre .panier-retour { margin: 0 0 0 auto; padding: 0; font-size: 14px; }
.panier-page .articles .basket-item, .panier-page .articles .basket-items .basket-item:first-child { grid-template-columns: 148px 1fr auto; gap: 20px; padding: 20px 22px; border-top: 1px solid var(--line); border-bottom: 0; }
.panier-page .articles .basket-item .vignette { width: 148px; height: 104px; border-radius: 10px; }
.panier-page .articles .basket-item .title { font-size: 21px; line-height: 1.2; }
.panier-page .articles .basket-item .title a { color: inherit; text-decoration: none; }
.panier-page .articles .basket-item .rayon { margin-top: 4px; font-size: 14px; }
.panier-page .articles .basket-item .remove { margin-top: 8px; font-size: 14px; }
body.clair #contenu .panier-page .articles .basket-item .price strong { font-size: 24px; }
.panier-page .etape > .panier-compte { padding: 12px 22px; border: 0; border-top: 1px solid var(--line); background: #f3faf5; font-size: 13.5px; }
.panier-page .panier-compte img { width: 22px; height: 22px; border-radius: 6px; }
.panier-page .panier-compte .icone { width: 18px; height: 18px; }

/* « Offres pour toi » : un petit titre, un trait, et le mot qui dit que rien n'est imposé */
.offres-titre { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
body.clair #contenu .offres-titre h2 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.offres-titre > span { flex: 1; height: 1px; background: #d5d0e3; }
.offres-titre small { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Le pack de bienvenue : une bande blanche, ses deux objets en vignettes */
.panier-page .bienvenue-panier { flex-wrap: wrap; gap: 12px 18px; padding: 14px 18px; border-color: var(--line); }
.bp-lots { display: flex; align-items: center; gap: 8px; flex: none; }
.bp-plus { font-size: 18px; font-weight: 900; color: var(--muted); }
.panier-page .bienvenue-panier .vignette { width: 64px; height: 64px; }
.panier-page .bienvenue-panier .bp-texte { flex: 1 1 240px; }
.panier-page .bienvenue-panier .eyebrow { margin-bottom: 2px; color: var(--accent); }
.panier-page .bienvenue-panier .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(74, 47, 192, .16); }
.bp-nom { font-size: 17px; font-weight: 900; line-height: 1.25; }
.bp-prix { font-size: 14px; font-weight: 700; color: var(--muted); }
.bp-prix > b { font-size: 17px; font-weight: 900; color: var(--text); }
.bp-prix .rebours { white-space: nowrap; }
body.clair #contenu .bienvenue-panier .btn-primary { min-height: 44px; padding: 0 18px; border-radius: 10px; }

/* Les Suncoins offerts : une ligne, et les paliers qui se déplient */
body.clair .panier-page .offerts { padding: 14px 18px; border-color: #f0d98a; background: #fff8e1; }
.offerts-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.offerts-ligne > .coin { width: 34px; height: 34px; flex: none; }
.offerts-ou { flex: 1 1 280px; min-width: 0; }
.panier-page .offerts-etat { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.4; color: #5c3a00; }
.panier-page .offerts-barre { margin-top: 8px; }
.offerts-voir { flex: none; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 900; color: #7a4b00; text-decoration: underline; cursor: pointer; }
.offerts-voir:hover { color: #4d2f00; }
.offerts-voir svg { transition: transform .15s; }
.offerts-voir[aria-expanded=true] svg { transform: rotate(180deg); }
.offerts-detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0d98a; }

/* Les repères, sous le bouton de paiement */
.panier-page .recap .reperes { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.panier-page .recap .reperes li { align-items: center; }

@media (max-width: 960px) {
  /* Sur un petit écran : les articles, le total et son bouton, puis les offres */
  .panier-page .offres-titre, .panier-page .bienvenue-panier, .panier-page .offerts { order: 3; }
  .panier-page .offres-titre { margin-top: 8px; }
}
@media (max-width: 640px) {
  .articles-titre { padding: 14px; }
  body.clair #contenu .articles-titre h2 { font-size: 19px; }
  .panier-page .articles-titre .panier-retour { flex-basis: 100%; margin-left: 0; }
  .panier-page .articles .basket-item, .panier-page .articles .basket-items .basket-item:first-child { grid-template-columns: 96px 1fr; gap: 6px 12px; padding: 14px; }
  .panier-page .articles .basket-item .vignette { width: 96px; height: 72px; }
  .panier-page .articles .basket-item .title { font-size: 17px; }
  .panier-page .articles .basket-item .price { grid-column: 1 / -1; justify-self: end; margin-top: -30px; }
  body.clair #contenu .panier-page .articles .basket-item .price strong { font-size: 20px; }
  .panier-page .bienvenue-panier, body.clair .panier-page .offerts { padding: 14px; }
  .panier-page .bienvenue-panier .vignette { width: 54px; height: 54px; }
  .panier-page .bienvenue-panier .bp-texte { flex-basis: 150px; }
  .panier-page .bienvenue-panier .eyebrow { font-size: 10.5px; letter-spacing: .03em; }
  body.clair #contenu .bienvenue-panier .btn-primary { width: 100%; }
}

/* ------------------------------------------------------------------ Le chargement « squelette »
   Tant qu'un contenu n'est pas arrivé, sa place est tenue par un bloc grisé qui scintille :
   - la page entière, le temps que les scripts arrivent (posée dans index.html) ou que le serveur retrouve le compte ;
   - chaque image, jusqu'à son arrivée (classes « attend » puis « arrive », posées par js/app.js). */
@keyframes sq-brille { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes sq-arrive { from { opacity: 0; } to { opacity: 1; } }
.sq, #contenu :has(> img.attend), .site-title:has(> img.attend) {
  background-color: rgba(255, 255, 255, .06);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, 0) 70%);
  background-size: 200% 100%; background-repeat: no-repeat;
  animation: sq-brille 1.4s linear infinite;
}
#contenu :has(> img.attend) { border-radius: 14px; }
img.attend { opacity: 0; }
img.arrive { animation: sq-arrive .35s ease; }
.squelette-page { padding: 18px 0 40px; }
.squelette-page .sq { display: block; border-radius: 18px; }
.sq-bandeau { height: 190px; }
.sq-rang { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 18px 0 26px; }
.sq-tuile { height: 150px; }
.sq-titre { width: 240px; max-width: 60%; height: 30px; margin-bottom: 16px; }
.sq-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sq-carte { height: 270px; }
.sq-mot { margin: 18px 0 0; color: var(--muted); font-weight: 800; }
.user-actions .log-in.sq { color: var(--muted); }
body.clair .sq, body.clair #contenu :has(> img.attend) {
  background-color: rgba(30, 20, 60, .06);
  background-image: linear-gradient(100deg, rgba(30, 20, 60, 0) 30%, rgba(30, 20, 60, .09) 50%, rgba(30, 20, 60, 0) 70%);
}
@media (max-width: 900px) {
  .sq-rang { grid-template-columns: repeat(3, 1fr); }
  .sq-grille { grid-template-columns: repeat(2, 1fr); }
  .sq-bandeau { height: 150px; }
  .sq-tuile { height: 110px; }
  .sq-carte { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .sq, #contenu :has(> img.attend), .site-title:has(> img.attend) { animation: none; }
  img.arrive { animation: none; }
}

/* ------------------------------------------------------------------
   Clavier et lecteurs d'écran (27/11/2026)
   ------------------------------------------------------------------ */
/* Lu à voix haute, pas affiché : annonces (page, total du panier), titre de la page de paiement */
.lu-seulement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* « Aller au contenu » : hors de l'écran, il n'apparaît que lorsque la touche Tab s'y arrête */
.evitement { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 10px 16px; border: 0; border-radius: 12px; background: var(--gold); color: #3b1a00; font: inherit; font-weight: 900; cursor: pointer; transform: translateY(-300%); }
.evitement:focus { transform: none; }
/* Le curseur du clavier se pose sur le contenu d'une page ou sur une fenêtre pour la lecture : pas de cadre autour */
#contenu:focus, .popup-content:focus { outline: 0; }
/* « Réduire les animations » coupe aussi les transitions et le défilement doux */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* =====================================================================
   TÉLÉPHONE : CONFORT AU DOIGT (27/11/2026)
   Ce qui se touche fait 40 à 44 px, ce qui se lit au moins 12 px, et les pages sont moins longues.
   Tout est sous 820 px ou 640 px de large : rien ne change sur ordinateur.
   ===================================================================== */

/* Page de paiement : la ligne de résumé de la commande n'existe que sur téléphone */
.recap-resume { display: none; }

@media (max-width: 820px) {
  /* --- En-tête : logo, solde, compte et panier sur une ligne ; les rayons dessous --- */
  .site-header { transition: transform .22s ease; }
  /* En descendant dans la page (js/app.js), l'en-tête glisse vers le haut : seule la ligne des rayons reste */
  body.tete-repliee .site-header { transform: translateY(calc(-1 * var(--replie, 0px))); }
  .site-title, .user-actions { transition: opacity .18s; }
  body.tete-repliee .site-title, body.tete-repliee .user-actions { opacity: 0; }
  .site-header-inner { flex-wrap: wrap; gap: 8px 10px; }
  /* Le logo part d'une largeur nulle puis prend la place qui reste : c'est lui qui rétrécit, pas les boutons qui passent à la ligne */
  .site-title { flex: 1 1 0; min-width: 56px; display: flex; align-items: center; min-height: 40px; }
  .site-title img { width: auto; height: auto; max-width: 100%; max-height: 26px; }
  .user-actions { flex: none; gap: 5px; }
  .user-actions .btn-sm { padding: 0 9px; }
  /* Joueur connecté : le bouton Discord laisse sa place (le lien reste en bas de page et dans le bloc d'aide) */
  .user-actions:has(.solde) .discord { display: none; }
  .user-actions .btn-compte .mon { display: none; }
  .user-actions .btn-compte .cpt { display: inline-block; }
  .user-actions .btn-compte .cpt::first-letter { text-transform: uppercase; }
  .user-actions .btn-sm, .user-actions .btn-compte, .user-actions .solde, .user-actions .log-in, .user-actions .discord { min-height: 40px; }
  .user-actions .btn-compte, .user-actions .solde, .user-actions .log-in { display: inline-flex; align-items: center; }
  .user-actions .solde { padding: 0 9px; }
  .navigation-list a { padding: 11px 12px; }
  /* Le menu et les familles d'un rayon défilent sur le côté : un fondu à droite le montre, le dernier lien s'arrête avant */
  .navigation-list, .subnav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .navigation-list { padding-right: 30px; }
  .subnav { padding-right: 34px; }
  .subnav a { padding: 11px 14px; }

  /* --- Paiement : la commande sur une ligne, le bouton de paiement collé en bas de l'écran --- */
  .paiement:not(.panier-page) .recap { padding: 0; }
  .paiement:not(.panier-page) .recap > h2 { display: none; }
  .paiement:not(.panier-page) .recap-resume { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 16px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .recap-resume .quoi { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .recap-resume .quoi b { font-size: 16px; font-weight: 900; }
  .recap-resume .quoi small { font-size: 13px; font-weight: 700; color: var(--muted); }
  .recap-resume .voir { text-decoration: underline; }
  .recap-resume strong { flex: none; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--gold); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
  .recap-resume::after { content: ""; flex: none; width: 9px; height: 9px; margin: -5px 4px 0 2px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
  .recap.ouvert .recap-resume::after { margin-top: 5px; transform: rotate(-135deg); }
  .paiement:not(.panier-page) .recap:not(.ouvert) .recap-corps { display: none; }
  .paiement:not(.panier-page) .recap-corps { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
  /* Le bouton de paiement reste en bas de l'écran du début à la fin de la page. Sans moyen choisi ou sans la case
     cochée, il y amène le joueur (js/app.js). La page gagne la hauteur de la barre, pour que rien ne reste caché dessous. */
  .etape-paiement .moyen-action { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #1c1233; box-shadow: 0 -10px 22px rgba(8, 4, 18, .6); }
  .etape-paiement .moyen-action:empty { display: none; }
  .etape-paiement .moyen-action .btn-lg { min-height: 54px; }

  body:has(.etape-paiement .moyen-action:not(:empty)) { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body:has(.etape-paiement .moyen-action:not(:empty)) .toast-ajout { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Écran étroit : avec la loupe de recherche, logo, solde, compte et panier ne tiennent plus sur une ligne.
   Le solde laisse sa place : il reste affiché sur l'accueil (« Ton compte ») et dans « Mon compte ». */
@media (max-width: 480px) {
  .user-actions:has(.chercher) .solde { display: none; }
}

@media (max-width: 640px) {
  /* --- Ce qui se touche --- */
  .btn-sm { min-height: 44px; }
  .user-actions .btn-sm { min-height: 40px; }
  .promo-fermer { width: 40px; height: 40px; }
  .promo-barre .wrap { padding-right: 46px; }
  /* « Tester » sur une carte : un vrai bouton, avec une zone de toucher plus large que son dessin */
  .product-actions:not([data-grand]) .price .sous-prix.essayable { align-items: center; min-height: 36px; }
  .product-actions:not([data-grand]) .tester { position: relative; min-height: 34px; padding: 0 9px; font-size: 12.5px; }
  /* Deux cartes par ligne : un peu moins de marge sur les côtés, pour que « TVA comprise » et « Tester » tiennent sur une ligne */
  .store-products-images .store-product .body { padding-left: 11px; padding-right: 11px; }
  .product-actions:not([data-grand]) .tester::after { content: ""; position: absolute; inset: -6px -5px; }
  .buy .tester { min-height: 44px; padding: 0 18px; }
  .note-produit { min-height: 36px; margin-top: 0; }
  /* Panier et compte : les liens fins gagnent une zone de toucher */
  .basket .basket-item .remove, .panier-page .articles .basket-item .remove { margin-top: 0; padding: 12px 12px 12px 0; }
  .changer-duree { min-height: 40px; }
  .panier-retour a, .recap-modifier a { display: inline-block; padding: 10px 0; }
  .lien-recu { position: relative; padding: 10px 4px; }
  .recap-ligne > a { padding: 9px 0; }
  /* Liens dans une ligne de texte : la zone de toucher dépasse du dessin, sans rien décaler */
  .crumb a { padding: 11px 3px; margin: 0 -3px; }
  .quantity-field .open-basket { padding: 10px 0; margin: -10px 0; }
  /* Quantité, durée d'un grade, fiche d'un pack */
  .quantity-field .adjust { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; }
  .buy .quantity-field .adjust { width: 44px; height: 44px; }
  .duree button { min-height: 44px; }
  .vip-price .vip-autre { padding: 12px 0 6px; }
  .show-buy .more { display: inline-block; padding: 12px 0 2px; }

  /* --- Ce qui se lit : 12 px au minimum --- */
  .product-actions:not([data-grand]) .price .ttc { font-size: 12px; }
  .store-product .neuf, .store-product .dmg, .dmg span { font-size: 12px; }

  /* Offre de bienvenue : sur un écran étroit, « TVA comprise » passe sous le prix au lieu de sortir du cadre */
  .ob-texte .price { white-space: normal; }

  /* --- Accueil : moins long --- */
  /* « Ton compte » : un titre court et les repères sur une seule ligne qui défile */
  .bienvenue { margin-top: 14px; padding: 14px 16px; }
  .bienvenue .eyebrow { margin-bottom: 2px; }
  .bienvenue h2 { font-size: 22px; line-height: 1.15; }
  .bienvenue .hero-chips { flex-wrap: nowrap; gap: 8px; margin: 10px -16px 0 0; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .bienvenue .hero-chips::-webkit-scrollbar { display: none; }
  .bienvenue .hero-chips .chip { flex: none; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
  /* Les packs de Suncoins : le dessin prend moins de hauteur */
  .coin-card .art { height: 88px; }
  .coin-card .art img, .page-head + .coin-row .art img { height: 82px; }
  /* Les rayons : deux tuiles par ligne au lieu d'une */
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 104px; padding: 12px 12px 12px 14px; border-radius: 16px; }
  .cat-tile h3 { position: relative; z-index: 1; font-size: 20px; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 0 10px rgba(0, 0, 0, .5); }
  .cat-tile .sub { display: none; }
  .cat-tile .from { position: relative; z-index: 1; margin-top: 30px; font-size: 12px; }
  .cat-tile .from b { display: block; font-size: 16px; white-space: nowrap; }
  .cat-tile .art, .cat-tile .art.photo { width: 50%; }
  /* Les packs à la une : une rangée qui défile sur le côté, le pack suivant dépasse pour le montrer */
  .spotlight-grid { display: flex; gap: 12px; margin: 0 -14px; padding: 0 14px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .spotlight-grid::-webkit-scrollbar { display: none; }
  .spotlight-grid > * { flex: 0 0 82%; scroll-snap-align: center; }
  .pack-card .media { height: 150px; padding: 12px; }
  .pack-card .media img { max-height: 126px; }
  /* Les grades VIP sur l'accueil : trois avantages par grade, le détail est sur la page VIP */
  .store-product-tiered:has(> a[href="#/categorie/vip"]) { padding: 20px 18px 18px; }
  .store-product-tiered:has(> a[href="#/categorie/vip"]) .perks li:nth-child(n+4) { display: none; }
  .store-product-tiered:has(> a[href="#/categorie/vip"]) .tier-note { display: none; }
}

/* ------------------------------------------------------------------
   Recherche, tri des rayons, tableau comparatif et page introuvable
   (js/app.js : « Recherche de produits », « Tri, filtre et tableau des rayons »)
------------------------------------------------------------------ */
.user-actions .chercher { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 0; border-radius: 12px; font: inherit; font-weight: 800; font-size: 15px; color: var(--text); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); cursor: pointer; }
.user-actions .chercher:hover { border-color: rgba(255, 201, 60, .5); color: var(--gold); }
.user-actions .chercher svg { flex: none; }
/* La loupe seule : le menu a besoin de la place (le nom du bouton reste lu par les lecteurs d'écran) */
.user-actions .chercher span { display: none; }

.popup.recherche .popup-scroll-cont { align-items: flex-start; padding-top: 8vh; }
.popup.recherche .popup-content { max-width: 620px; }
.recherche-champ { margin: 14px 0 0; }
.popup.recherche .recherche-champ input { width: 100%; font-size: 18px; }
.recherche-liste { margin-top: 14px; }
.recherche-sous { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.recherche-sous.suite { margin: 10px 0 0; }
.recherche-rayons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.recherche-rayons .chip:hover, .recherche-rayons .chip:focus-visible { border-color: rgba(255, 201, 60, .5); color: var(--gold); }
.trouves { display: grid; gap: 6px; }
.trouve { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 6px 14px 6px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.trouve:hover, .trouve:focus-visible { border-color: var(--gold); background: rgba(255, 201, 60, .08); }
.trouve img { width: 60px; height: 44px; object-fit: contain; }
.trouve-nom { display: grid; min-width: 0; }
.trouve-nom b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trouve-nom .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trouve-prix { white-space: nowrap; font-size: 15px; }
.trouve-prix strong { color: var(--gold); }
.trouve-prix del { color: var(--muted); font-size: 13px; }
.trouve-prix small { color: var(--muted); font-size: 12px; }

.barre-tri { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 18px; }
.barre-tri .tris, .barre-tri .tri-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.barre-tri .tris > .muted { flex: none; font-size: 14px; font-weight: 800; white-space: nowrap; }
.barre-tri .tri { min-height: 38px; padding: 0 13px; border-radius: 11px; font: inherit; font-weight: 800; font-size: 14px; color: var(--muted); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); cursor: pointer; white-space: nowrap; }
.barre-tri .tri:hover { color: var(--text); }
.barre-tri .tri.on { color: var(--gold); border-color: rgba(255, 201, 60, .55); background: rgba(255, 201, 60, .08); }
.tri-case { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; font-weight: 800; font-size: 14px; cursor: pointer; }
.tri-case input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.tri-compte { font-size: 14px; }
.tri-vide { margin: 34px 0; text-align: center; }

/* position : le titre caché de la dernière colonne (lu-seulement) reste dans le cadre qui défile, sinon il élargit la page */
.tableau-rayon { position: relative; overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-a), var(--card-b)); }
.tableau-rayon table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau-rayon th, .tableau-rayon td { padding: 9px 14px; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tableau-rayon tbody tr:last-child > * { border-bottom: 0; }
.tableau-rayon tbody tr:hover { background: rgba(255, 255, 255, .04); }
.tableau-rayon thead th { font-size: 13px; font-weight: 800; color: var(--muted); background: rgba(0, 0, 0, .22); }
.tableau-rayon .t-num { text-align: right; }
.tri-col { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0; font: inherit; font-weight: 800; color: inherit; background: none; border: 0; cursor: pointer; }
.tri-col:hover, .tri-col.on { color: var(--gold); }
.tri-col i { width: 10px; font-style: normal; font-size: 10px; }
.tableau-rayon th[scope=row] a { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.tableau-rayon th[scope=row] a:hover { color: var(--gold); }
.tableau-rayon th[scope=row] img { flex: none; width: 64px; height: 40px; object-fit: contain; }
.tableau-rayon td.meilleur { color: var(--gold); font-weight: 900; }
.tableau-rayon .t-prix strong { color: var(--gold); }
.tableau-rayon .t-action { text-align: right; }
@media (max-width: 900px) {
  .tableau-rayon .t-famille, .tableau-rayon .t-mode { display: none; }
  .tableau-rayon th, .tableau-rayon td { padding: 8px 10px; }
}
@media (max-width: 640px) {
  .barre-tri { margin-bottom: 14px; }
  .barre-tri .tris { flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .barre-tri .tris::-webkit-scrollbar { display: none; }
  .barre-tri .tri, .tri-case { min-height: 44px; }
  .tableau-rayon { font-size: 14px; }
  .tableau-rayon th[scope=row] img { display: none; }
  .tableau-rayon th[scope=row] { position: sticky; left: 0; max-width: 132px; overflow: hidden; text-overflow: ellipsis; background: #2a1d4f; }
  .popup.recherche .popup-scroll-cont { padding-top: 14px; }
  .trouve { min-height: 64px; }
}

.introuvable-liens { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

/* ------------------------------------------------------------------
   Accueil : le serveur en chiffres, « Comment ça marche », et les Suncoins en bandeau court quand une autre offre
   est en tête de page (js/app.js : pageAccueil)
------------------------------------------------------------------ */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.chiffres li { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 2px 10px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); text-align: center; }
.chiffres b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--gold); white-space: nowrap; }
.chiffres span { font-size: 14px; font-weight: 800; color: var(--muted); }

.hero.compact { padding: 24px 30px 22px; }
.hero.compact h1 { font-size: clamp(34px, 4.6vw, 50px); text-shadow: 0 3px 0 #a14d00, 0 8px 18px rgba(0, 0, 0, .4); }
.hero.compact .lead { margin-top: 6px; font-size: 16px; max-width: none; }
.hero.compact .hero-chips { margin-top: 12px; }

.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { position: relative; display: flex; gap: 14px; padding: 18px 18px 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-a), var(--card-b)); counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; top: -10px; left: 16px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-size: 16px; color: var(--ink); background: var(--gold); }
.etapes .icone { flex: none; width: 30px; height: 30px; margin-top: 6px; color: var(--gold); }
.etapes b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.etapes span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .chiffres { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .chiffres li { flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; }
  .chiffres b { font-size: 21px; }
  .chiffres span { font-size: 11.5px; line-height: 1.25; }
  .hero.compact { padding: 18px 16px 16px; }
  .hero.compact .lead { font-size: 15px; }
}

/* Partager un produit ou un rayon (le lien /p/<produit> ou /r/<rayon>, qui s'affiche sur Discord avec l'image et le prix) */
.partager { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 800;
  color: var(--muted); background: rgba(0, 0, 0, .28); border: 1px solid var(--line); cursor: pointer; }
.partager:hover, .partager:focus-visible { color: var(--text); border-color: rgba(255, 255, 255, .28); }
.page-head .partager { position: relative; z-index: 1; margin-top: 12px; }
.partage-ligne { margin-top: 12px; }

/* Objectif commun (accueil) : une barre en pourcentage, jamais en euros */
.objectif { margin-top: 22px; padding: 22px 26px; border-color: rgba(255, 201, 60, .45); }
.objectif h2 { font-size: 30px; }
.objectif-barre { position: relative; height: 30px; margin: 14px 0 16px; border-radius: 99px; overflow: hidden; background: rgba(0, 0, 0, .38); border: 1px solid var(--line); }
.objectif-barre span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff8a3c, #ffc93c); }
.objectif-barre b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 900; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.objectif.atteint .objectif-barre span { background: linear-gradient(90deg, #35c46a, #8be36a); }
.objectif-gain { margin-top: 12px; font-size: 16px; }
.objectif-note { margin-top: 4px; font-size: 14px; }

/* Accueil : « Les derniers achats » à gauche, « Les meilleurs soutiens » à droite (js/app.js, murHtml) */
.mur-grille { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
/* Le bandeau « Aperçu » : le gérant voit le bloc rempli d'exemples tant qu'il est vide (lui seul) */
.mur-apercu { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border: 1px dashed rgba(255, 201, 60, .55); border-radius: 14px; font-size: 14px; }
.mur-apercu .pill { flex: none; }
.mur-achats, .mur-tops { padding: 22px 24px 24px; }
.mur-achats h2, .mur-tops h2 { font-size: 26px; line-height: 1.1; }
.mur-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mur-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); color: var(--gold); }
.mur-direct { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; font-weight: 900; color: var(--green); }
.mur-direct i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: mur-pouls 2s infinite; }
@keyframes mur-pouls { 0% { box-shadow: 0 0 0 0 rgba(150, 232, 106, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(150, 232, 106, 0); } }
.mur-liste, .mur-rangs { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.mur-liste li, .mur-rangs li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.mur-photo { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(180deg, #5a3fa0, #33225a); font-family: var(--display); font-size: 20px; color: var(--text); }
.mur-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mur-qui { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mur-qui b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.mur-steam { font-weight: 600; opacity: .7; }
.mur-qui small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.mur-qui small em { font-style: normal; font-weight: 800; color: var(--gold); }
.mur-liste time { flex: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.mur-vide { padding: 8px 0; }
.mur-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.mur-onglets button { min-height: 34px; padding: 5px 14px; border: 0; border-radius: 99px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.mur-onglets button:hover { background: rgba(255, 255, 255, .08); }
.mur-onglets button.on { background: var(--gold); color: var(--ink); }
/* Les deux décors du panneau des soutiens : la pièce déborde du coin en haut à droite, le coffre du coin en bas à droite.
   Le panneau prend la hauteur de son voisin, et garde en bas la place du coffre : il ne passe jamais sur un nom. */
.mur-tops { position: relative; align-self: stretch; padding-bottom: 168px; }
.mur-tops h2 { padding-right: 84px; }
.mur-deco, .mur-coffre { position: absolute; height: auto; pointer-events: none; user-select: none; }
.mur-deco { top: -30px; right: -16px; width: 118px; transform: rotate(8deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.mur-coffre { right: -14px; bottom: -22px; width: 196px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .4)); }
.mur-rangs em { flex: none; min-width: 36px; text-align: center; font-style: normal; font-weight: 900; font-size: 17px; }
/* Les trois premiers : or, argent, bronze, avec le rang dans un macaron */
.mur-rangs .podium { border-width: 2px; padding: 11px 15px; }
.mur-rangs .podium em { width: 36px; height: 36px; display: grid; place-items: center; font-size: 15px; color: #23153f;
  clip-path: polygon(50% 0%, 61% 11%, 75% 7%, 79% 21%, 93% 25%, 89% 39%, 100% 50%, 89% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 89%, 50% 100%, 39% 89%, 25% 93%, 21% 79%, 7% 75%, 11% 61%, 0% 50%, 11% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 11%); }
.mur-rangs .rang-1 { border-color: #ffc93c; background: linear-gradient(90deg, rgba(255, 201, 60, .36), rgba(255, 201, 60, .05) 75%); box-shadow: 0 0 22px rgba(255, 201, 60, .22); }
.mur-rangs .rang-2 { border-color: #cfd6e6; background: linear-gradient(90deg, rgba(207, 214, 230, .3), rgba(207, 214, 230, .04) 75%); }
.mur-rangs .rang-3 { border-color: #e0935a; background: linear-gradient(90deg, rgba(224, 147, 90, .32), rgba(224, 147, 90, .04) 75%); }
.mur-rangs .rang-1 em { background: #ffc93c; }
.mur-rangs .rang-2 em { background: #dfe5f2; }
.mur-rangs .rang-3 em { background: #eba56e; }
@media (max-width: 820px) {
  .mur-grille { grid-template-columns: minmax(0, 1fr); }
  .mur-achats, .mur-tops { padding: 18px 16px 20px; }
  .mur-tops { margin-top: 14px; padding-bottom: 128px; }
  .mur-tops h2 { padding-right: 70px; }
  .mur-deco { top: -24px; right: -6px; width: 92px; }
  .mur-coffre { right: -4px; bottom: -14px; width: 150px; }
  .mur-liste li, .mur-rangs li { gap: 12px; padding: 10px 12px; }
  .mur-rangs .podium { padding: 9px 11px; }
}


/* ---- Éditions limitées (réglage « finVente » du catalogue) : le compte à rebours qui pousse à ne pas attendre ---- */
.product-actions:has(.urgence) { flex-wrap: wrap; }
.urgence { order: -1; flex: 0 0 100%; margin: 0 0 6px; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid rgba(255, 93, 110, .65);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 70, 90, .32), transparent 60%), linear-gradient(135deg, #3a0f24, #24102f);
  box-shadow: 0 0 0 0 rgba(255, 70, 90, .45), 0 10px 28px rgba(255, 50, 80, .18); color: #fff; animation: urgence-halo 2.4s ease-out infinite; }
.urgence-tete { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd0d6; }
.urgence-tete b { color: #ff5d6e; font-weight: 900; }
.urgence-point { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff3d55; animation: urgence-point 1.2s ease-out infinite; }
.urgence-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.urgence-cases span { display: flex; flex-direction: column; align-items: center; padding: 8px 4px 6px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.urgence-cases b { font-size: 34px; line-height: 1; font-weight: 900; color: #fff; text-shadow: 0 0 18px rgba(255, 80, 100, .55); }
.urgence-cases i { margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffb3bd; }
.urgence-pied { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #ffdfe3; }
.urgence-pied b { color: #fff; font-weight: 900; }
.urgence.imminent { border-color: #ff3d55; animation-duration: 1.2s; }
.urgence.imminent .urgence-cases b { color: #ff7a8a; }
.show-buy .urgence { max-width: 520px; }
/* Sur une carte : une pastille rouge qui bat */
.urgence-court { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 0; padding: 4px 11px 4px 9px; border-radius: 99px; border: 1px solid rgba(255, 93, 110, .7);
  background: rgba(255, 50, 80, .18); font-size: 12.5px; font-weight: 900; color: #ffd0d6; white-space: nowrap; }
.urgence-court .urgence-point { width: 8px; height: 8px; }
/* Le ruban posé sur l'image */
.image-link:has(.ruban-urgence) { position: relative; }
.cale-ruban { position: relative; display: grid; place-items: center; max-width: 100%; }
.cale-ruban .ruban-urgence { top: -10px; left: -10px; }
.ruban-urgence { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 6px 12px; border-radius: 8px; background: linear-gradient(135deg, #ff3d55, #c3123a);
  box-shadow: 0 6px 18px rgba(255, 40, 70, .45); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #fff; pointer-events: none;
  animation: urgence-ruban 2.4s ease-in-out infinite; }
.store-product .ruban-urgence { top: 8px; left: 8px; padding: 4px 9px; font-size: 10.5px; }
@keyframes urgence-point { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 85, .8); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 61, 85, 0); } }
@keyframes urgence-halo { 0% { box-shadow: 0 0 0 0 rgba(255, 70, 90, .4), 0 10px 28px rgba(255, 50, 80, .18); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 70, 90, 0), 0 10px 28px rgba(255, 50, 80, .18); } }
@keyframes urgence-ruban { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (max-width: 560px) {
  .urgence-cases b { font-size: 26px; }
  .urgence-cases i { font-size: 10px; }
}

/* Le premier contenu des adresses propres (serveur/referencement.js) : lisible sans JavaScript, remplacé par la vraie page
   dès que les scripts arrivent */
.fil.pre-rendu { margin: 16px 0 8px; font-size: 14px; opacity: .8; }
.fil.pre-rendu a { color: inherit; }
section.pre-rendu { padding: 20px 24px; margin-bottom: 24px; }
section.pre-rendu img { display: block; width: 100%; max-width: 320px; height: auto; border-radius: 12px; margin-bottom: 12px; }
section.pre-rendu ul { margin: 8px 0 16px 20px; }
section.pre-rendu li { margin: 4px 0; }
section.pre-rendu h2 { font-size: 20px; margin: 18px 0 6px; }
section.pre-rendu .prix { font-size: 22px; margin: 0 0 10px; }

/* ==========================================================================
   Le thème clair sur tout le site (28/11/2026)
   Au choix du joueur, par le bouton en bas de page (« Thème clair / Thème sombre ») ; le sombre reste celui par défaut.
   Le choix est gardé dans le navigateur (localStorage « sunset-theme ») et posé avant l'affichage par js/theme.js
   (classe « theme-clair » sur <html>). La navigation (23-navigation.js) met alors « clair » et « clair-partout » sur
   <body> : « clair » reprend le style du panier ci-dessus, « clair-partout » ajoute ce qu'il faut pour les autres pages.
   Le panier, le paiement et le remerciement restent clairs dans les deux thèmes, comme avant.
   ========================================================================== */
html.theme-clair body { background: #f4f3f8; }
.theme-bascule { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.theme-bascule:hover, .theme-bascule:focus-visible { color: var(--text); border-color: var(--text); }
.theme-bascule svg { flex: none; width: 16px; height: 16px; }
body.clair-partout #contenu, body.clair-partout .site-footer {
  --panel-a: #ffffff; --panel-b: #ffffff; --card-a: #ffffff; --card-b: #faf9fd;
  --teinte: #f3f0fb;            /* fond doux des zones d'image */
}

/* Titres : la police d'origine (Lilita One) garde l'esprit « jeu », en violet foncé, sans ombre lourde */
body.clair-partout #contenu h1, body.clair-partout #contenu h2, body.clair-partout #contenu h3,
body.clair-partout #contenu .product-title { font-family: var(--display); font-weight: 400; letter-spacing: 0; color: var(--text); text-shadow: none; }
body.clair-partout #contenu .hero h1 { color: #4a2fc0; text-shadow: none; }
body.clair-partout #contenu .eyebrow { color: var(--accent); }
body.clair-partout #contenu .lead { color: var(--muted); }
body.clair-partout #contenu .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(74, 47, 192, .15); }

/* Panneaux : blancs, bord fin, ombre légère */
body.clair-partout .panel { border-radius: 22px; box-shadow: 0 2px 0 #e2dfec, 0 14px 30px -18px rgba(27, 21, 48, .25); }

/* Pack de bienvenue */
body.clair-partout #contenu .offre-bienvenue { border-color: #ffd57a; background: radial-gradient(70% 120% at 100% 0%, #fff1cf, transparent 60%), #fff; }
body.clair-partout #contenu .ob-chrono { box-shadow: none; }
body.clair-partout #contenu .ob-v { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 #e2dfec; color: var(--text); }
body.clair-partout #contenu .ob-image { background: radial-gradient(60% 55% at 50% 60%, #ffe7a6, var(--teinte) 72%); }
body.clair-partout #contenu .ob-image img { filter: drop-shadow(0 8px 8px rgba(27, 21, 48, .25)); }

/* Tuiles des catégories : claires, la couleur de la catégorie en bandeau et en reflet */
body.clair-partout #contenu .cat-tile { background: linear-gradient(115deg, #fff 40%, color-mix(in srgb, var(--c) 18%, #fff)); border: 1px solid var(--line); border-top: 4px solid var(--c); box-shadow: 0 2px 0 #e2dfec; }
body.clair-partout #contenu .cat-tile h3 { color: var(--text); }
body.clair-partout #contenu .cat-tile .sub { color: var(--muted); }
body.clair-partout #contenu .cat-tile .from b { color: var(--accent); }
body.clair-partout #contenu .cat-tile .art img { filter: drop-shadow(0 6px 8px rgba(27, 21, 48, .3)); }
body.clair-partout #contenu .cat-tile:hover { box-shadow: 0 6px 0 #e2dfec, 0 22px 34px -18px color-mix(in srgb, var(--c) 60%, transparent); }

/* Les packs à la une */
body.clair-partout #contenu .spotlight { background: radial-gradient(80% 140% at 100% 0%, #ffe9cf, transparent 60%), #fff; }
body.clair-partout #contenu .spotlight-head p { color: var(--muted); }
body.clair-partout #contenu .pack-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 #e2dfec; }
body.clair-partout #contenu .pack-card .media { background: radial-gradient(60% 55% at 50% 60%, #ffe2a0, var(--teinte) 75%); }
body.clair-partout #contenu .pack-card .media img { filter: drop-shadow(0 10px 10px rgba(27, 21, 48, .3)); }

/* Cartes produit */
body.clair-partout #contenu .store-product { border: 1px solid var(--line); border-top: 4px solid var(--c, var(--orange)); box-shadow: 0 2px 0 #e2dfec; }
body.clair-partout #contenu .store-product .image-link,
body.clair-partout #contenu .store-product.wide-card .image-link { background: radial-gradient(58% 46% at 50% 88%, color-mix(in srgb, var(--c, var(--orange)) 30%, transparent), transparent 72%), var(--teinte); }
body.clair-partout #contenu .store-product.car .image-link { background: var(--teinte); }
body.clair-partout #contenu .store-product .image { filter: drop-shadow(0 8px 8px rgba(27, 21, 48, .28)); }
body.clair-partout #contenu .store-product .dmg { color: #fff; }
body.clair-partout #contenu .store-product:hover, body.clair-partout #contenu .pack-card:hover { box-shadow: 0 6px 0 #e2dfec, 0 24px 36px -18px color-mix(in srgb, var(--c, var(--gold)) 60%, transparent); }
body.clair-partout #contenu .store-product::after, body.clair-partout #contenu .pack-card::after { display: none; }

/* VIP */
body.clair-partout #contenu .store-product-tiered { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); box-shadow: 0 2px 0 #e2dfec; }
body.clair-partout #contenu .store-product-tiered.featured { border-color: #ffc93c; box-shadow: 0 2px 0 #e2dfec, 0 0 0 3px rgba(255, 201, 60, .35); }
body.clair-partout #contenu .tier-head img { filter: drop-shadow(0 4px 4px rgba(27, 21, 48, .25)); }
body.clair-partout #contenu .tier-price strong { color: var(--text); text-shadow: none; }

/* Barre de raccourcis des catégories */
body.clair-partout #contenu .subnav { background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px -10px rgba(27, 21, 48, .3); }

/* Page produit */
body.clair-partout #contenu .buy { background: #faf9fd; }
body.clair-partout #contenu .stat { background: #faf9fd; }
body.clair-partout #contenu .stat b { color: var(--accent); }
body.clair-partout #contenu .inside span { color: var(--muted); }
body.clair-partout #contenu .avec-carte { background: #fff; box-shadow: 0 2px 0 #e2dfec; }

/* Les petits fonds noirs transparents du thème sombre deviennent un violet très pâle */
body.clair-partout #contenu .chip, body.clair-partout #contenu .duree, body.clair-partout #contenu .vip-price, body.clair-partout #contenu .vip-list li,
body.clair-partout #contenu .essai-limites, body.clair-partout #contenu .step, body.clair-partout #contenu .mini-stats span,
body.clair-partout #contenu .objet, body.clair-partout #contenu .avis-carte, body.clair-partout #contenu .fiche-photo.sans { background: var(--teinte); }
body.clair-partout #contenu .step { box-shadow: none; }
body.clair-partout #contenu .chip, body.clair-partout #contenu .category-description p, body.clair-partout #contenu .essai-limites b { color: var(--text); }
body.clair-partout #contenu .chip-gold { background: #fff4d6; border-color: #ffd57a; color: #6b4a00; }
body.clair-partout #contenu .sous-prix .tester { color: #0f766e; }
body.clair-partout #contenu .vip-extra li { background: var(--teinte); }
body.clair-partout #contenu .vip-list .val { color: var(--accent); }
body.clair-partout #contenu .support p, body.clair-partout #contenu .parrainage p { color: var(--muted); }

/* Les textes pâles (#e6dcf7, #ffe9d2, #fff) écrits en dur dans le thème sombre */
body.clair-partout #contenu :is(.lettre-accord, .texte-legal p, .texte-legal li, .offre-perso span, .ensuite, .etape > p, .case-accord,
  .moyen-note, .recap-ligne, .quatre-fois, .panier-vide p, .merci .lead, .preuve, .parrainage > p, .case-ami, .panier-compte,
  .offerts-intro, .cross p, .page-head p, .page-head .category-description, .full-info .lead, .compare th:first-child,
  .compare td:first-child, .vip-top p, .show-body .pitch, .monte span, .tier-head p, .store-product-tiered .tier-head + p) { color: var(--muted); }
body.clair-partout #contenu :is(.regles-essai b, .vip-price .vip-autre:hover, .case-accord.manque, .case-ami.manque) { color: var(--text); }
body.clair-partout #contenu .page-head .partager { align-self: flex-start; }

/* Le jaune reste jaune là où il porte un texte foncé (chrono du pack, barre de l'objectif) */
body.clair-partout #contenu .ob-chrono { background: #ffc93c; color: #23180a; }
body.clair-partout #contenu .objectif-barre { background: #ece9f5; }
body.clair-partout #contenu .objectif-barre b.num { color: var(--text); }

/* Boutons de tri, partage, urgence */
body.clair-partout #contenu .barre-tri .tri { background: #fff; }
body.clair-partout #contenu .barre-tri .tri.on { color: var(--accent); border-color: var(--accent); background: #f1eefc; }
body.clair-partout #contenu .partager { background: #fff; }
body.clair-partout #contenu .partager:hover, body.clair-partout #contenu .partager:focus-visible { border-color: var(--accent); }
body.clair-partout #contenu .urgence-court { background: #ffe8ec; color: #b4162f; }

/* Mur des derniers achats et des soutiens */
body.clair-partout #contenu .mur-photo { background: linear-gradient(180deg, #e9e4fb, #d6cdf5); color: var(--accent); }
body.clair-partout #contenu .mur-liste li, body.clair-partout #contenu .mur-rangs li { background: #faf9fd; }
body.clair-partout #contenu .mur-ico { background: var(--teinte); color: var(--accent); }
body.clair-partout #contenu .mur-onglets button:hover { background: var(--teinte); }
body.clair-partout #contenu .mur-rangs .rang-1 { background: linear-gradient(90deg, #fff1c9, #fff 75%); box-shadow: none; }
body.clair-partout #contenu .mur-rangs .rang-2 { background: linear-gradient(90deg, #eef1f7, #fff 75%); }
body.clair-partout #contenu .mur-rangs .rang-3 { background: linear-gradient(90deg, #fbe6d6, #fff 75%); }

/* Les joueurs connectés en ce moment (28/11/2026) : un point vert qui pulse devant le chiffre. Quatre cases : deux par
   ligne sur téléphone. */
.chiffres .en-direct b { display: inline-flex; align-items: center; gap: 10px; color: #3ddc84; }
.chiffres .point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: point-direct 2s ease-out infinite; }
@keyframes point-direct { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .chiffres .point { animation: none; } }
body.clair-partout .chiffres .en-direct b { color: #138a4b; }
body.clair-partout .chiffres .point { background: #19a35a; }
body.clair-partout .chiffres li { background: var(--card-a); }
@media (max-width: 640px) {
  .chiffres.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres .en-direct b { gap: 7px; }
  .chiffres .point { width: 8px; height: 8px; }
}


/* ---------------------------------------------------------------- La page newsletter (refaite le 28/11/2026)
   Une seule carte en deux : à gauche l'enveloppe et le coupon sur un dégradé coucher de soleil, à droite ce qu'on
   reçoit et l'inscription. Sur téléphone, le coupon passe en bande au-dessus. */
.lettre-page { margin: 22px auto 0; max-width: 980px; display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); }
.lettre-cote { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 36px 24px;
  background: radial-gradient(90% 55% at 50% 0%, rgba(255, 201, 60, .45), transparent 70%), linear-gradient(180deg, #ff8a1f 0%, #e0487a 55%, #5b2a9c 100%); }
.lettre-cote::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: repeating-linear-gradient(0deg, rgba(18, 12, 32, .32) 0 6px, transparent 6px 15px);
  -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.lettre-env { position: relative; z-index: 1; width: 118px; height: 118px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .4), 0 12px 30px rgba(0, 0, 0, .25); }
.lettre-env .icone { width: 62px; height: 62px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.lettre-ticket { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 16px 26px 18px; border-radius: 16px; text-align: center;
  background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .3); outline: 2px dashed rgba(59, 26, 0, .35); outline-offset: -8px; transform: rotate(-3deg); }
.lettre-ticket b { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; }
.lettre-ticket span { max-width: 150px; margin-top: 4px; font-size: 14px; font-weight: 900; line-height: 1.2; }
.lettre-corps { min-width: 0; padding: 32px 34px 30px; }
.lettre-corps h1 { font-size: 40px; }
.lettre-intro { margin-top: 10px; font-size: 16px; color: var(--muted); }
.lettre-plus { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.lettre-plus li { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.lettre-plus li::before { content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(150, 232, 106, .16); color: var(--green); font-size: 13px; font-weight: 900; }
.lettre-page .lettre { max-width: none; margin-top: 22px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.lettre-page .lettre h2 { font-size: 24px; margin-bottom: 8px; }
.lettre-label { display: block; margin-bottom: 8px; font-weight: 900; }
.lettre-page .suite { margin-top: 16px; }
.lettre-page .suite .btn-lg { width: 100%; }
body.clair #contenu .lettre-page .store-form input[type=email] { min-height: 44px; border-radius: 8px; border: 1px solid var(--trait-champ); background: #fff; color: var(--text); box-shadow: none; }
@media (max-width: 760px) {
  .lettre-page { grid-template-columns: 1fr; }
  .lettre-cote { flex-direction: row; gap: 18px; padding: 22px 16px; }
  .lettre-cote::after { height: 50%; }
  .lettre-env { width: 72px; height: 72px; }
  .lettre-env .icone { width: 38px; height: 38px; }
  .lettre-ticket { padding: 12px 18px 14px; }
  .lettre-ticket b { font-size: 38px; }
  .lettre-ticket span { font-size: 12.5px; }
  .lettre-corps { padding: 22px 16px 20px; }
  .lettre-corps h1 { font-size: 30px; }
}

/* ---------------------------------------------------------------- Le bandeau « Nouveau » de l'accueil (28/11/2026)
   Même mise en page que le pack de bienvenue (classes offre-bienvenue et ob-texte) : le texte et les boutons à
   gauche, la grande image du pack à droite. Décor de Noël avec « vedette-noel » (réglage accueil.vedette). */
.vedette { border-color: rgba(255, 255, 255, .2); }
.vedette-contenu { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.vedette-contenu li { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1); }
.vedette-contenu b { font-weight: 900; }
.vedette-contenu span { font-size: 14px; color: var(--muted); }
.vedette-visuel { position: relative; flex: 1 1 340px; max-width: 440px; margin-inline: auto; display: block; overflow: hidden; border-radius: 22px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .3), 0 22px 44px rgba(0, 0, 0, .4); transition: transform .15s; }
.vedette-visuel:hover { transform: translateY(-3px) rotate(-.6deg); }
.vedette-visuel img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.vedette-pastille { position: absolute; top: 14px; left: 14px; }
.vedette-noel { border-color: rgba(255, 128, 128, .5);
  background: radial-gradient(60% 90% at 100% 0%, rgba(214, 40, 57, .42), transparent 65%), radial-gradient(55% 80% at 0% 100%, rgba(30, 158, 82, .26), transparent 65%),
    radial-gradient(circle, rgba(255, 255, 255, .5) 0 1.4px, transparent 2.4px) 0 0 / 92px 92px, radial-gradient(circle, rgba(255, 255, 255, .3) 0 1px, transparent 2px) 46px 30px / 64px 64px,
    linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.vedette-noel .eyebrow { color: #ff9aa5; }
body.clair-partout #contenu .vedette-noel { border-color: #f3b4bb; background: radial-gradient(60% 90% at 100% 0%, #ffe1e4, transparent 65%), radial-gradient(55% 80% at 0% 100%, #e1f5e8, transparent 65%), #fff; }
body.clair-partout #contenu .vedette-noel .eyebrow { color: #c81e3a; }
body.clair-partout #contenu .vedette-contenu li { background: var(--card-b); border-color: var(--line); }
@media (max-width: 640px) {
  .vedette .vedette-visuel { order: -1; flex-basis: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) { .vedette-visuel, .vedette-visuel:hover { transition: none; transform: none; } }

/* Les encadrés de la loi dans les conditions de vente (garantie légale, formulaire de rétractation) */
.texte-legal .encadre-legal { margin: 14px 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.texte-legal .encadre-legal p { margin: 0 0 8px; }
.texte-legal .encadre-legal p:last-child { margin-bottom: 0; }
body.clair-partout .texte-legal .encadre-legal { border-color: rgba(0, 0, 0, .16); background: rgba(0, 0, 0, .03); }
.avis-regles { margin: 12px 0 0; font-size: 13px; }
.avis-regles a { color: inherit; opacity: .75; text-decoration: underline; }
@media print { .texte-legal .encadre-legal { border-color: #999; background: none; } }

/* La page des données : le lien « Ne pas compter ma visite » et le tableau des services hors de l'UE */
.lien-texte { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.texte-legal .tableau-legal { overflow-x: auto; margin: 10px 0 14px; }
.texte-legal .tableau-legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.texte-legal .tableau-legal th, .texte-legal .tableau-legal td { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .16); text-align: left; vertical-align: top; }
body.clair-partout .texte-legal .tableau-legal th, body.clair-partout .texte-legal .tableau-legal td { border-color: rgba(0, 0, 0, .16); }
@media print { .texte-legal .tableau-legal th, .texte-legal .tableau-legal td { border-color: #999; } }


/* Les packs de Suncoins (28/11/2026) : le bonus en pourcentage sur la pastille, « dont 3 000 offerts » sous le total */
.coin-card .unit { margin-bottom: 0; }
.coin-card .dont { height: 20px; margin: 2px 0 10px; font-size: 14px; line-height: 20px; font-weight: 900; color: var(--green); }

/* Le panier, liste des articles (28/11/2026) : plus de fond derrière la photo, et la photo tient toujours dans son
   cadre (une image carrée, comme celle d'un pack, débordait par le bas : la hauteur en % ne tenait pas dans la grille) */
.panier-page .articles .basket-item .vignette { display: flex; align-items: center; justify-content: center; background: none; }
.panier-page .articles .basket-item .vignette img { width: auto; height: 100%; max-width: 100%; max-height: none; object-fit: contain; border-radius: 10px; }

/* Page de remerciement (28/11/2026) : le solde avant l'achat barré, puis le solde après */
.merci .chip-gold s { opacity: .7; font-weight: 700; }
.merci .chip-gold b { font-weight: 900; }

/* La page d'aide (#/aide, js/app/21-aide.js) : quatre repères qui rassurent, un sommaire, des questions dépliables */
.aide-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 860px; margin: 22px 0 0; padding: 0; list-style: none; }
.aide-points li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.aide-points .icone { width: 26px; height: 26px; color: var(--green); }
.aide-points b { font-size: 15px; color: var(--text); }
.aide-points span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.aide-sommaire { display: flex; flex-wrap: wrap; gap: 8px; max-width: 860px; margin-top: 18px; }
.aide-sommaire a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-size: 13.5px; font-weight: 800; color: var(--text); }
.aide-sommaire a:hover, .aide-sommaire a:focus-visible { border-color: var(--gold); color: var(--gold); }
.aide-theme { scroll-margin-top: 90px; }
.aide-q { border-top: 1px solid var(--line); }
.aide-q:last-child { border-bottom: 1px solid var(--line); }
.aide-q summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; color: var(--text); }
.aide-q summary::-webkit-details-marker { display: none; }
.aide-q summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; color: var(--gold); }
.aide-q[open] summary::after { content: '−'; }
.aide-q summary:hover, .aide-q summary:focus-visible { color: var(--gold); }
.aide-r { padding: 0 2px 16px; }
.aide-r > :first-child { margin-top: 0; }
.aide-contact { max-width: 860px; margin-top: 22px; padding: 24px 28px; }
.aide-contact h2 { font-size: 24px; }
.aide-contact p { margin-top: 8px; color: var(--muted); }
.aide-contact .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
body.clair-partout #contenu .aide-points li, body.clair-partout #contenu .aide-sommaire a { background: #fff; border-color: rgba(0, 0, 0, .12); }
body.clair-partout #contenu .aide-points .icone { color: #0f766e; }
body.clair-partout #contenu .aide-q, body.clair-partout #contenu .aide-q:last-child { border-color: rgba(0, 0, 0, .12); }
@media (max-width: 860px) { .aide-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .aide-points { grid-template-columns: 1fr; } .aide-contact { padding: 20px 18px; } .aide-q summary { font-size: 15px; } }
@media print { .aide-points, .aide-sommaire, .aide-contact { display: none; } .aide-q .aide-r { display: block; } }

/* « Préviens-moi quand c'est en promo », sous le bouton d'achat (js/app/15-produit.js, serveur/alertes.js) */
.alerte-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.alerte-promo .icone { width: 18px; height: 18px; flex: none; color: var(--gold); }
.alerte-promo .btn-tertiary { display: inline-flex; align-items: center; gap: 8px; }
.alerte-promo .lien-recu { margin-left: 0; }
.alerte-promo > span { flex: 1 1 220px; }
body.clair-partout #contenu .alerte-promo .icone { color: #b7791f; }

/* ---- Compose ton pack (#/composer, et le bandeau de l'accueil) ---- */
.compose-bandeau { margin-top: 22px; padding: 20px 26px; display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; color: var(--text); text-decoration: none;
  border-color: rgba(126, 217, 87, .45); background: radial-gradient(70% 120% at 0% 0%, rgba(126, 217, 87, .16), transparent 60%), linear-gradient(180deg, var(--panel-a), var(--panel-b)); }
.compose-bandeau:hover, .compose-bandeau:focus-visible { border-color: var(--green); }
.compose-images { display: flex; gap: 8px; }
.compose-images img { width: 68px; height: 68px; padding: 6px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); }
.compose-mots { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.compose-mots b { font-size: 19px; }
.compose-mots > span:last-child { color: var(--muted); font-size: 14px; }
.compose-suivi { margin-top: 18px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.compose-cases { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.compose-cases li { width: 92px; height: 92px; border-radius: 14px; border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; text-align: center; }
.compose-cases li.plein { position: relative; border-style: solid; border-color: var(--green); background: rgba(126, 217, 87, .08); }
.compose-retirer { position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #2a1d3d; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.compose-retirer:hover, .compose-retirer:focus-visible { background: #c0392b; border-color: #e74c3c; color: #fff; }
.compose-cases img { width: 56px; height: 48px; object-fit: contain; }
.compose-cases li span { font-size: 11px; line-height: 1.2; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.compose-cases li.vide b { font-size: 26px; color: var(--muted); }
.compose-texte { flex: 1 1 240px; margin: 0; font-size: 15px; }
.compose-suite { margin: 0; }
.compose-rayons button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font: inherit; font-size: 13.5px; font-weight: 800; color: var(--text); cursor: pointer; }
.compose-rayons button[aria-pressed="true"], .compose-rayons button:hover, .compose-rayons button:focus-visible { border-color: var(--gold); color: var(--gold); }
.compose-note { margin-top: 18px; font-size: 13.5px; max-width: 860px; }
@media (max-width: 560px) {
  .compose-cases li { width: 76px; height: 76px; }
  .compose-cases img { width: 44px; height: 38px; }
  .compose-suivi, .compose-bandeau { padding: 16px; }
}

/* Le reçu : « Télécharger le PDF » (js/pdf.js) et « Imprimer », côte à côte */
.recu-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.recu-boutons .icone { width: 18px; height: 18px; }

/* ==========================================================================
   Wiki « Bugs et solutions » (28/11/2026) : le menu déroulant de l'en-tête (#wiki-menu, posé dans <body>),
   la liste des bugs (#/wiki) et les tutos pas à pas (#/wiki/<tuto>). Les images sont des SVG de js/wiki.js.
   ========================================================================== */
.menu-haut .menu-deroulant button { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 800; font-size: 14px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.menu-haut .menu-deroulant button:hover, .menu-haut .menu-deroulant button[aria-expanded="true"] { color: var(--text); }
.menu-haut .menu-deroulant button.link-active { color: var(--text); background: rgba(255, 255, 255, .09); }
.menu-deroulant .chevron { width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.menu-deroulant button[aria-expanded="true"] .chevron { margin-top: 3px; transform: rotate(-135deg); }
.wiki-menu { position: fixed; z-index: 40; padding: 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: #17121f; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.wiki-menu[hidden] { display: none; }
.wiki-menu-titre { margin: 4px 10px 6px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.wiki-menu ul { margin: 0; padding: 0; list-style: none; }
.wiki-menu a { display: block; padding: 9px 10px; border-radius: 10px; font-weight: 800; font-size: 14.5px; color: #f1eef8; }
.wiki-menu a span { display: block; margin-top: 2px; font-weight: 600; font-size: 12.5px; color: #a79fb8; }
.wiki-menu a:hover, .wiki-menu a:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.wiki-menu-pied { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); }
.wiki-menu-pied a { font-weight: 700; font-size: 13.5px; color: #c8c0d8; }

.wiki-fil { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.wiki-fil a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.wiki-fil a:hover { color: var(--text); }
.wiki-recherche { display: block; max-width: 560px; margin-top: 16px; }
.wiki-recherche input { width: 100%; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); color: var(--text); font: inherit; font-size: 16px; }
.wiki-recherche input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.wiki-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wiki-filtres a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--muted); }
.wiki-filtres a span { font-size: 12px; opacity: .75; }
.wiki-filtres a:hover { color: var(--text); border-color: var(--text); }
.wiki-filtres a.on { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.wiki-ordre { margin: 18px 2px 10px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.wiki-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.wiki-carte { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-a, rgba(255, 255, 255, .05)), var(--card-b, rgba(255, 255, 255, .02))); color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.wiki-carte[hidden] { display: none; }
.wiki-carte:hover, .wiki-carte:focus-visible { transform: translateY(-2px); border-color: var(--gold); }
.wiki-vignette { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1118; }
.wiki-vignette .wiki-svg { display: block; width: 100%; height: 100%; }
.wiki-carte-corps { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.wiki-carte-corps b { font-size: 17px; line-height: 1.25; }
.wiki-symptome { font-size: 14px; color: var(--muted); }
.wiki-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.wiki-tete .wiki-tags { margin-top: 10px; }
.wiki-tag { padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .08); color: var(--text); }
.wiki-tag.f1 { background: rgba(255, 90, 90, .18); color: #ff9c9c; }
.wiki-tag.f2 { background: rgba(255, 201, 60, .16); color: var(--gold); }
.wiki-tag.f3 { background: rgba(126, 217, 87, .15); color: #9fe07f; }
.wiki-duree { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.wiki-vide { margin: 20px 2px; font-weight: 700; color: var(--muted); }
.wiki-aide { max-width: none; }

.wiki-tuto { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; margin-top: 18px; }
.wiki-article { min-width: 0; }
.wiki-pourquoi { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; }
.wiki-pourquoi-img .wiki-svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.wiki-pourquoi h2 { font-size: 18px; }
.wiki-pourquoi h2 + p { margin: 4px 0 12px; color: var(--muted); }
.wiki-astuce { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; background: rgba(255, 201, 60, .1); border-left: 3px solid var(--gold); }
.wiki-etapes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.wiki-etape { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: center; padding: 22px; scroll-margin-top: 150px; }
.wiki-etape-texte { position: relative; padding-left: 52px; }
.wiki-num { position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 900; font-size: 18px; color: var(--ink); background: var(--gold); }
.wiki-etape h2 { font-size: 19px; line-height: 1.25; }
.wiki-etape p { margin: 8px 0 0; line-height: 1.55; }
.wiki-etape p a { color: var(--gold); text-decoration: underline; }
.wiki-etape code, .wiki-etape kbd { padding: 1px 6px; border-radius: 6px; font-family: Consolas, Menlo, monospace; font-size: .92em; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.wiki-etape kbd { border-bottom-width: 2px; font-weight: 700; }
.wiki-etape pre { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; overflow-x: auto; font-family: Consolas, Menlo, monospace; font-size: 14px; line-height: 1.6; background: #0f1215; color: #e8e8e8; user-select: all; }
.wiki-figure { margin: 0; }
.wiki-figure .wiki-svg { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .6); }
.wiki-etape.sans-image { grid-template-columns: 1fr; }
.wiki-cote { position: sticky; top: 150px; display: grid; gap: 16px; }
.wiki-cote .panel { padding: 18px 20px; }
.wiki-cote h2 { font-size: 16px; }
.wiki-cote ol, .wiki-cote ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; }
.wiki-cote a { color: var(--muted); font-weight: 700; }
.wiki-cote a:hover { color: var(--text); text-decoration: underline; }

body.clair-partout #contenu .wiki-recherche input { background: #fff; }
body.clair-partout #contenu .wiki-tag { background: #efecf7; }
body.clair-partout #contenu .wiki-tag.f1 { background: #fde8e8; color: #b42323; }
body.clair-partout #contenu .wiki-tag.f2 { background: #fff2cc; color: #8a5a00; }
body.clair-partout #contenu .wiki-tag.f3 { background: #e5f6dc; color: #2f6b12; }
body.clair-partout #contenu .wiki-etape code, body.clair-partout #contenu .wiki-etape kbd { background: #f3f0fb; }
body.clair-partout #contenu .wiki-etape p a, body.clair-partout #contenu .wiki-fil a:hover { color: var(--accent); }
body.clair-partout #contenu .wiki-astuce { background: #fff6dc; }

@media (max-width: 980px) {
  .wiki-tuto { grid-template-columns: 1fr; }
  .wiki-cote { position: static; order: -1; }
  .wiki-cote .panel + .panel { display: none; }
  .wiki-etape { grid-template-columns: 1fr; }
}
@media (max-width: 820px) { .menu-haut .menu-deroulant button { padding: 6px 9px; font-size: 13.5px; } }
@media (max-width: 600px) {
  .wiki-pourquoi { grid-template-columns: 1fr; padding: 18px; }
  .wiki-etape { padding: 18px; gap: 14px; }
  .wiki-etape-texte { padding-left: 46px; }
  .wiki-num { width: 34px; height: 34px; font-size: 16px; }
  .wiki-grille { grid-template-columns: 1fr; }
}
@media print { .wiki-cote, .wiki-aide, .wiki-recherche, .wiki-filtres { display: none; } .wiki-etape { break-inside: avoid; } }

/* L'en-tête du wiki sur une photo de la ville prise en jeu (rp_rockford_v2b), sombre dans les deux thèmes */
body #contenu .wiki-tete.panel {
  --text: #f6f3fb; --muted: #d3cce0; --line: rgba(255, 255, 255, .24);
  color: var(--text);
  background: linear-gradient(100deg, rgba(12, 9, 20, .94) 0%, rgba(12, 9, 20, .82) 45%, rgba(12, 9, 20, .45) 100%),
    url(https://sunsetgames.fr/boutique-assets/wiki/ville-01.jpg) center 40% / cover no-repeat #120d1c;
}
body #contenu .wiki-tete h1 { color: #fff; }
body.clair-partout #contenu .wiki-tete .wiki-recherche input { background: rgba(0, 0, 0, .35); }
body.clair-partout #contenu .wiki-tete .wiki-fil a:hover { color: #fff; }
body #contenu .wiki-tete .wiki-filtres a.on { background: #f5b301; border-color: #f5b301; color: #1a1300; }
@media (max-width: 600px) { body #contenu .wiki-tete.panel { background: linear-gradient(180deg, rgba(12, 9, 20, .8), rgba(12, 9, 20, .93)), url(https://sunsetgames.fr/boutique-assets/wiki/ville-01.jpg) center / cover no-repeat #120d1c; } }
@media print { body #contenu .wiki-tete.panel { background: none; --text: #000; --muted: #333; } }

/* ==========================================================================
   Wiki : l'accueil (#/wiki, deux portes) et le guide du nouveau joueur (#/wiki/guide, #/wiki/<fiche>), 28/11/2026
   ========================================================================== */
body #contenu .wiki-tete.panel { background-image: linear-gradient(100deg, rgba(12, 9, 20, .94) 0%, rgba(12, 9, 20, .82) 45%, rgba(12, 9, 20, .45) 100%), var(--wiki-photo, url(https://sunsetgames.fr/boutique-assets/wiki/ville-01.jpg)); }
@media (max-width: 600px) { body #contenu .wiki-tete.panel { background-image: linear-gradient(180deg, rgba(12, 9, 20, .8), rgba(12, 9, 20, .93)), var(--wiki-photo, url(https://sunsetgames.fr/boutique-assets/wiki/ville-01.jpg)); } }
@media print { body #contenu .wiki-tete.panel { background: none; } }

.guide-connect { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 640px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.guide-connect-l { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.guide-connect code { flex: 1 1 200px; font-family: Consolas, Menlo, monospace; font-size: 16px; font-weight: 700; color: #fff; user-select: all; }
.guide-connect-b { display: flex; gap: 8px; }
.guide-connect-b .btn-primary, .guide-connect-b .btn-secondary { min-height: 38px; padding: 0 16px; font-size: 14px; }

.wiki-portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.wiki-porte { display: flex; flex-direction: column; padding: 0; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.wiki-porte:hover, .wiki-porte:focus-visible { transform: translateY(-3px); border-color: var(--gold); }
.wiki-porte-img { display: block; aspect-ratio: 16 / 7; background: #0b1118 center / cover no-repeat; }
.wiki-porte-corps { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.wiki-porte-corps b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.wiki-porte-corps span { color: var(--muted); line-height: 1.5; }
.wiki-porte-corps .wiki-porte-plus { margin-top: 4px; font-weight: 800; color: var(--gold); }

.guide-bloc { position: relative; margin-top: 18px; padding: 26px 28px 26px 92px; }
.guide-num { position: absolute; left: 26px; top: 24px; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--gold); }
.guide-bloc h2 { font-size: 24px; }
.guide-intro { margin: 6px 0 0; color: var(--muted); }
.guide-bloc .actions { margin: 16px 0 0; }
.guide-pas { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.guide-pas li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.guide-pas .wiki-num { position: static; }
.guide-pas b { display: block; font-size: 17px; }
.guide-pas p { margin: 4px 0 0; line-height: 1.55; color: var(--muted); }
.guide-pas a, .guide-partie p a, .guide-partie li a { color: var(--gold); text-decoration: underline; }
.guide-touches { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.guide-touches li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .18); border: 1px solid var(--line); }
.guide-touche { flex: none; display: inline-grid; place-items: center; min-width: 46px; height: 42px; padding: 0 10px; border-radius: 9px; font-family: Consolas, Menlo, monospace; font-weight: 800; font-size: 15px; color: #1a1300; background: linear-gradient(#ffd45c, #f5b301); box-shadow: 0 3px 0 #a87400; }
.guide-touches li span { font-weight: 700; line-height: 1.35; }
.guide-bloc-cartes { position: relative; margin-top: 26px; }
.guide-bloc-cartes h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 2px 14px; font-size: 24px; }
.guide-bloc-cartes .guide-num { position: static; font-size: 30px; }
.guide-vignette { background: #0b1118 center / cover no-repeat; }

.guide-partie { display: block; }
.guide-partie-texte h2 { font-size: 21px; }
.guide-partie p, .guide-partie li { line-height: 1.6; }
.guide-partie p { margin: 10px 0 0; }
.guide-partie ul, .guide-partie ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.guide-partie code, .guide-partie kbd { padding: 1px 6px; border-radius: 6px; font-family: Consolas, Menlo, monospace; font-size: .92em; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.guide-partie kbd { border-bottom-width: 2px; font-weight: 700; }
.guide-tableau { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.guide-tableau th, .guide-tableau td { padding: 9px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide-tableau th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.guide-tableau td:first-child { font-weight: 800; white-space: nowrap; }
.guide-tableau code { white-space: nowrap; }
.guide-defs { margin: 12px 0 0; display: grid; gap: 10px; }
.guide-defs dt { font-weight: 900; color: var(--gold); }
.guide-defs dd { margin: 2px 0 0; line-height: 1.55; }
.guide-note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 700; background: rgba(255, 201, 60, .1); border-left: 3px solid var(--gold); }

body.clair-partout #contenu .guide-touches li { background: #faf9fd; }
body.clair-partout #contenu .guide-partie code, body.clair-partout #contenu .guide-partie kbd { background: #f3f0fb; }
body.clair-partout #contenu .guide-pas a, body.clair-partout #contenu .guide-partie p a, body.clair-partout #contenu .guide-partie li a { color: var(--accent); }
body.clair-partout #contenu .guide-defs dt, body.clair-partout #contenu .guide-num, body.clair-partout #contenu .wiki-porte-plus { color: var(--accent); }
body.clair-partout #contenu .wiki-tete .guide-num { color: #f5b301; }
body.clair-partout #contenu .guide-note { background: #fff6dc; }

@media (max-width: 820px) { .wiki-portes { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .guide-bloc { padding: 20px 18px; }
  .guide-num { position: static; display: block; margin-bottom: 6px; font-size: 28px; }
  .guide-connect code { font-size: 14px; }
  .guide-tableau { font-size: 14px; }
  .guide-tableau td:first-child { white-space: normal; }
}
