/* =====================================================================
   V444 — LA BOUTIQUE, DIRECTION A : « LE VIDÉOCLUB DE NUIT »
   (src/ui/boutique-videoclub.js pour le HTML, bloc V444 de game.js pour la logique)

   Tout est borné par #shopModal[data-style-v444="videoclub"] : l'autre écran (« Vitrine »,
   V327) reste intact. Liée après tele.css et chaos-guide.css, avant paysage-mobile.css.
   Écrans (data-vc-ecran) : hall · jour (le comptoir) · rayons (+ data-vc-cabine="1").
   ===================================================================== */

#shopModal {
  --vc-or: #ffcf5c;
  --vc-or-fort: #ffe39e;
  --vc-bois: #2c1a0c;
  --vc-bois-clair: #5b3a1c;
  --vc-nuit: #0c0703;
  --vc-papier: #f3ecd9;
  --vc-encre: #1c140a;
  --vc-neon-don: #ffcf5c;
  --vc-neon-vhs: #59ecff;
  --vc-neon-funky: #ff9b3d;
  --vc-fond: var(--tl-fond-v316, url("../../assets/chargement/menu-boutique.jpg"));
}

/* ------------------------------------------------- ce qui se montre, ce qui se cache */
#shopModal:not([data-style-v444="videoclub"]) :is(.vc-racine, .vc-nav, .vc-barre, .vc-caisse) { display: none !important; }
#shopModal[data-style-v444="videoclub"] :is(#boutiqueGuideV327, #shopTabs, .tl-raretes) { display: none !important; }
#shopModal[data-style-v444="videoclub"]:not([data-vc-ecran="rayons"]) :is(.vc-nav, .vc-barre) { display: none !important; }
#shopModal[data-style-v444="videoclub"][data-vc-ecran="rayons"] .vc-racine { display: none !important; }
#shopModal .vc-style { display: grid; justify-items: start; gap: 1px; padding: 0 var(--tl-e-3); white-space: nowrap; text-align: left; }
#shopModal .vc-style small { font: 600 10px/1.1 var(--tl-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tl-texte-3); }
#shopModal .vc-style b { font: 600 var(--tl-t-2)/1.1 var(--tl-ui); }

/* ------------------------------------------------- la coque */
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-shell {
  grid-template-columns: 248px minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "entete entete entete"
    "rayons barre equiper"
    "rayons grille grille"
    "pied pied pied";
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-header { grid-column: 1 / -1; position: relative; z-index: 3; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-footer { grid-column: 1 / -1; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-player-picker { padding: var(--tl-e-3) var(--tl-e-5) 0 0; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-player-picker select { width: 150px; }
/* Le hall et le comptoir : le lieu remplace le fond « couverture » de la vitrine. */
#shopModal.tl-chaine.fond-v316[data-style-v444="videoclub"][data-vitrine="1"] .shop-shell,
#shopModal.tl-chaine[data-style-v444="videoclub"][data-vitrine="1"] .shop-shell {
  background-image: radial-gradient(ellipse 80% 70% at 50% 45%, #1d1108, var(--vc-nuit) 78%);
  background-size: auto;
}
#shopModal.tl-chaine[data-style-v444="videoclub"][data-vc-ecran="rayons"] .shop-shell {
  background-image:
    linear-gradient(180deg, rgba(12, 7, 3, 0.93), rgba(12, 7, 3, 0.97)),
    var(--vc-fond);
  background-size: auto, cover;
  background-position: 0 0, 50% 40%;
}

#shopModal .vc-racine {
  grid-column: 1 / -1;
  grid-row: 2 / -1;
  position: relative;
  display: grid;
  /* Une piste bornée : sans elle, la piste « auto » prend la hauteur du contenu et le comptoir déborde. */
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  min-height: 0;
  container-type: size;
  overflow: hidden;
}
#shopModal[data-vc-ecran="hall"] .vc-racine { grid-row: 1 / -1; }

/* ------------------------------------------------- le hall : l'image du magasin et ses enseignes */
#shopModal .vc-scene {
  position: relative;
  width: min(100cqw, 100cqh * 16 / 9);
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  background: var(--vc-fond) center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 207, 92, 0.18), inset 0 0 120px rgba(5, 3, 1, 0.75);
}
#shopModal .vc-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(10, 6, 1, 0.82) 0%, rgba(10, 6, 1, 0.1) 22%, rgba(10, 6, 1, 0) 70%, rgba(10, 6, 1, 0.5) 100%);
  pointer-events: none;
}
/* Le paillasson : l'image vient de l'écran de chargement, il couvre l'emplacement de sa jauge. */
#shopModal .vc-scene::after {
  content: "MERCI DE REMBOBINER · OUVERT TOUTE LA NUIT";
  position: absolute;
  left: 32.6%;
  top: 90.4%;
  width: 34.8%;
  height: 5%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 207, 92, 0.35);
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #2a1608 0 3px, #241206 3px 6px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  color: rgba(255, 207, 92, 0.78);
  font: 400 clamp(5px, 0.72cqi, 9px)/1 var(--tl-pixel);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}
#shopModal .vc-zone {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms, background-color 160ms, box-shadow 160ms;
}
#shopModal .vc-zone-jour { left: 3%; top: 15%; width: 31%; height: 45%; --vc-neon: var(--vc-neon-don); }
#shopModal .vc-zone-coffret { left: 10.5%; top: 61.5%; width: 26.5%; height: 27%; --vc-neon: #f1e6c8; }
#shopModal .vc-zone-rayons { left: 60.5%; top: 15%; width: 13%; height: 53%; --vc-neon: var(--vc-neon-vhs); }
#shopModal .vc-zone-cabine { left: 74.5%; top: 24%; width: 24.5%; height: 62%; --vc-neon: var(--vc-neon-funky); }
#shopModal .vc-zone:is(:hover, :focus-visible) {
  border-color: var(--vc-neon);
  background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--vc-neon) 16%, transparent), transparent 72%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--vc-neon) 45%, transparent), inset 0 0 22px color-mix(in srgb, var(--vc-neon) 18%, transparent);
  outline: none;
}
#shopModal .vc-enseigne {
  position: absolute;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 0.35em;
  width: max-content;
  max-width: 150%;
  padding: 0.7em 0.9em 0.6em;
  border: 2px solid var(--vc-neon);
  border-radius: 8px;
  background: rgba(8, 5, 2, 0.88);
  box-shadow: 0 0 14px color-mix(in srgb, var(--vc-neon) 55%, transparent), inset 0 0 10px color-mix(in srgb, var(--vc-neon) 22%, transparent);
  font-size: clamp(7px, 1.02cqi, 12px);
  text-align: center;
  transform: translateX(-50%);
}
#shopModal .vc-enseigne b { font: 400 1em/1.25 var(--tl-pixel); letter-spacing: 0.04em; color: var(--vc-neon); text-shadow: 0 0 8px color-mix(in srgb, var(--vc-neon) 70%, transparent); }
#shopModal .vc-enseigne small { font: 600 1.05em/1.2 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-zone-jour .vc-enseigne { top: 4%; left: 78%; }
#shopModal .vc-zone-coffret .vc-enseigne { top: 34%; }
#shopModal .vc-zone-rayons .vc-enseigne { top: -2%; left: 46%; }
#shopModal .vc-zone-cabine .vc-enseigne { bottom: 1%; }
#shopModal .vc-pastille {
  position: absolute;
  top: -0.9em;
  right: -0.9em;
  min-width: 1.9em;
  padding: 0.25em 0.5em;
  border-radius: 999px;
  background: #ff4f6d;
  color: #fff;
  font: 700 1em/1.3 var(--tl-ui);
  font-style: normal;
  box-shadow: 0 0 10px rgba(255, 79, 109, 0.8);
}
#shopModal .vc-allee {
  position: absolute;
  left: 36.5%;
  top: 17%;
  width: 23.5%;
  bottom: 5%;
  display: grid;
  align-content: start;
  gap: clamp(4px, 0.9cqi, 12px);
  font-size: clamp(8px, 1.05cqi, 13px);
}

/* ------------------------------------------------- la bulle d'un marchand */
#shopModal .vc-bulle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8em;
  align-items: center;
  padding: 0.8em 0.9em;
  border: 1px solid rgba(255, 207, 92, 0.45);
  border-radius: 10px;
  background: rgba(14, 9, 2, 0.9);
}
#shopModal .vc-portrait {
  width: 48px;
  height: 48px;
  border: 2px solid var(--vc-or);
  border-radius: 50%;
  background: var(--vc-fond) no-repeat;
  background-size: 370px auto;
  background-position: -38px -39px;
}
#shopModal .vc-bulle[data-vc-bulle="vhs"] .vc-portrait { border-color: var(--vc-neon-vhs); background-size: 640px auto; background-position: -409px -115px; }
#shopModal .vc-bulle[data-vc-bulle="funky"] .vc-portrait { border-color: var(--vc-neon-funky); background-size: 343px auto; background-position: -266px -69px; }
#shopModal .vc-bulle-nom { display: block; font: 400 0.72em/1.3 var(--tl-pixel); color: var(--vc-or); }
#shopModal .vc-bulle[data-vc-bulle="vhs"] .vc-bulle-nom { color: var(--vc-neon-vhs); }
#shopModal .vc-bulle[data-vc-bulle="funky"] .vc-bulle-nom { color: var(--vc-neon-funky); }
#shopModal .vc-bulle-texte { margin: 0.35em 0 0; font: 500 1.05em/1.35 var(--tl-ui); color: var(--tl-texte); }

/* ------------------------------------------------- la réservation et la carte de membre */
#shopModal .vc-reservation {
  position: relative;
  display: grid;
  gap: 0.25em;
  padding: 0.75em 0.9em 0.9em;
  border-radius: 4px;
  background: #f7e58a;
  color: var(--vc-encre);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.2deg);
}
#shopModal .vc-reservation.vide { background: rgba(14, 9, 4, 0.9); color: var(--tl-texte-2); box-shadow: none; border: 1px dashed rgba(247, 229, 138, 0.5); transform: none; }
#shopModal .vc-reservation > span { font: 400 0.68em/1.3 var(--tl-pixel); letter-spacing: 0.05em; }
#shopModal .vc-reservation strong { font: 700 1.2em/1.2 var(--tl-ui); }
#shopModal .vc-reservation small { font: 500 0.98em/1.3 var(--tl-ui); }
#shopModal .vc-reservation.pret { background: #b7f59a; }
#shopModal .vc-reservation button {
  justify-self: start;
  min-height: 30px;
  margin: 0.3em 0 0;
  padding: 0 1em;
  border: 1px solid var(--vc-encre);
  border-radius: 4px;
  background: var(--vc-encre);
  color: #fff;
  font: 600 1em/1 var(--tl-ui);
  box-shadow: none;
  cursor: pointer;
}
#shopModal .vc-jauge { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.28); overflow: hidden; }
#shopModal .vc-jauge::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--vc-part, 0%); background: currentColor; }
#shopModal .vc-carte {
  display: grid;
  gap: 0.45em;
  padding: 0.7em 0.9em;
  border: 1px solid rgba(255, 207, 92, 0.4);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(60, 36, 14, 0.92), rgba(24, 14, 5, 0.94));
}
#shopModal .vc-carte b { font: 400 0.68em/1.3 var(--tl-pixel); color: var(--vc-or); letter-spacing: 0.05em; }
#shopModal .vc-carte ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35em; margin: 0; padding: 0; list-style: none; }
#shopModal .vc-carte li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 227, 158, 0.5);
  border-radius: 50%;
  color: rgba(255, 227, 158, 0.55);
  font: 600 0.8em/1 var(--tl-ui);
}
#shopModal .vc-carte li.tamponnee { border: 2px solid #ff6a55; color: #ff6a55; font: 400 0.5em/1 var(--tl-pixel); transform: rotate(-14deg); }
#shopModal .vc-carte small { font: 500 0.92em/1.3 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-carte small i { font-style: normal; color: var(--vc-or); }

/* ------------------------------------------------- les rayons : la colonne de Mister VHS */
#shopModal .vc-nav {
  grid-area: rayons;
  display: grid;
  align-content: start;
  gap: var(--tl-e-2);
  min-height: 0;
  padding: var(--tl-e-3);
  border-right: 1px solid rgba(255, 207, 92, 0.22);
  overflow-y: auto;
  scrollbar-width: thin;
}
#shopModal .vc-nav button, #shopModal .vc-jour .vc-retour-hall {
  margin: 0;
  border: 1px solid transparent;
  border-radius: var(--tl-r);
  background: none;
  box-shadow: none;
  color: var(--tl-texte-2);
  font: 600 var(--tl-t-2)/1.2 var(--tl-ui);
  text-align: left;
  cursor: pointer;
}
#shopModal .vc-retour-hall { min-height: 36px; padding: 0 var(--tl-e-3); color: var(--vc-or) !important; border-color: rgba(255, 207, 92, 0.35) !important; }
#shopModal .vc-retour-hall:is(:hover, :focus-visible) { background: rgba(255, 207, 92, 0.14); }
#shopModal .vc-rayon { border-radius: var(--tl-r); }
#shopModal .vc-rayon.ouvert { background: rgba(255, 207, 92, 0.06); }
#shopModal .vc-rayon-titre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px var(--tl-e-2);
  align-items: baseline;
  width: 100%;
  min-height: 46px;
  padding: var(--tl-e-2) var(--tl-e-3);
}
#shopModal .vc-rayon-titre span { font: 400 11px/1.3 var(--tl-pixel); color: var(--tl-texte); text-transform: uppercase; }
#shopModal .vc-rayon.ouvert .vc-rayon-titre span { color: var(--vc-or); }
#shopModal .vc-rayon-titre small { font: 600 12px/1 var(--tl-ui); color: var(--tl-texte-3); font-variant-numeric: tabular-nums; }
#shopModal .vc-rayon-titre .vc-jauge { grid-column: 1 / -1; height: 3px; background: rgba(255, 255, 255, 0.1); color: var(--vc-or); }
#shopModal .vc-rayon-titre:is(:hover, :focus-visible) { background: rgba(255, 207, 92, 0.12); }
#shopModal .vc-rayon ul { display: grid; gap: 2px; margin: 0; padding: 0 var(--tl-e-2) var(--tl-e-2); list-style: none; }
#shopModal .vc-categorie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tl-e-2);
  width: 100%;
  min-height: 36px;
  padding: 0 var(--tl-e-3);
}
#shopModal .vc-categorie small { font: 600 12px/1 var(--tl-ui); color: var(--tl-texte-3); font-variant-numeric: tabular-nums; }
#shopModal .vc-categorie:is(:hover, :focus-visible) { background: var(--tl-verre-2); color: var(--tl-texte); }
#shopModal .vc-categorie.actif { border-color: rgba(255, 207, 92, 0.55); background: rgba(255, 207, 92, 0.14); color: var(--tl-texte); }
#shopModal .vc-cabine { display: grid; gap: var(--tl-e-2); justify-items: stretch; }
#shopModal .vc-cabine > b { font: 400 11px/1.3 var(--tl-pixel); color: var(--vc-neon-funky); }
#shopModal .vc-cabine small { font: 500 var(--tl-t-1)/1.35 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-miroir {
  width: 100%;
  max-width: 220px;
  height: auto;
  justify-self: center;
  border: 3px solid #c58a3a;
  border-radius: 46% 46% 8px 8px / 30% 30% 8px 8px;
  background: linear-gradient(160deg, #26384a, #101821 60%, #1c2a38) !important;
  box-shadow: inset 0 0 26px rgba(160, 220, 255, 0.18), 0 6px 16px rgba(0, 0, 0, 0.5);
  image-rendering: pixelated;
}

/* ------------------------------------------------- la barre : recherche et filtres */
#shopModal .vc-barre {
  grid-area: barre;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tl-e-3);
  min-width: 0;
  padding: var(--tl-e-3) var(--tl-e-4) 0 var(--tl-e-5);
}
#shopModal .vc-recherche { display: flex; align-items: center; gap: var(--tl-e-2); flex: 1 1 220px; min-width: 0; margin: 0; font: 600 var(--tl-t-2)/1.2 var(--tl-ui); color: var(--tl-texte); letter-spacing: 0; text-transform: none; }
#shopModal .vc-recherche input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 var(--tl-e-3);
  border: 1px solid var(--tl-ligne-forte);
  border-radius: var(--tl-r);
  background: var(--tl-verre);
  color: var(--tl-texte);
  font: 500 var(--tl-t-2)/1.2 var(--tl-ui);
}
#shopModal .vc-recherche input:focus-visible { border-color: var(--vc-or); outline: none; }
#shopModal .vc-filtres { display: flex; flex-wrap: wrap; gap: var(--tl-e-1); }
#shopModal .vc-filtres button {
  min-height: 36px;
  margin: 0;
  padding: 0 var(--tl-e-3);
  border: 1px solid var(--tl-ligne-forte);
  border-radius: 999px;
  background: none;
  box-shadow: none;
  color: var(--tl-texte-2);
  font: 600 var(--tl-t-1)/1 var(--tl-ui);
  cursor: pointer;
}
#shopModal .vc-filtres button[aria-pressed="true"] { border-color: var(--vc-or); background: rgba(255, 207, 92, 0.18); color: var(--tl-texte); }

/* ------------------------------------------------- l'étagère : chaque article est une jaquette */
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 26px 14px;
  padding: var(--tl-e-4) var(--tl-e-5) var(--tl-e-6);
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-grid.vc-resultats > :is(.supplement-band, .domain-shop-panel, .domain-shop-section) { display: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-grid > :not(.shop-item-card) { grid-column: 1 / -1; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card {
  overflow: visible;
  border: 1px solid #000;
  border-left: 9px solid var(--rarete, #6b7385);
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(160deg, #1b1622, #0d0b12);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 180ms var(--tl-sortie), box-shadow 180ms;
}
/* La planche de l'étagère sous chaque jaquette (les voisines se rejoignent). */
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card::after {
  content: "";
  position: absolute;
  left: -17px;
  right: -8px;
  bottom: -15px;
  height: 9px;
  background: linear-gradient(180deg, var(--vc-bois-clair), var(--vc-bois));
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte):is(:hover, :focus-visible) {
  transform: translateY(-7px) rotate(-1.2deg);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--rarete, var(--vc-or));
  outline: none;
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.equipped { border-color: #000; border-left-color: var(--rarete, #6b7385); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--vc-or); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-art { position: relative; min-height: 104px; overflow: hidden; border-radius: 0 6px 0 0; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}
/* Rangée : la face seule (nom, étiquette de prix). Le dos se lit quand on sort la jaquette. */
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte) .shop-item-copy > :not(strong) { display: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte) .shop-item-copy { padding: var(--tl-e-2) var(--tl-e-3) 0; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte) .shop-item-copy strong { display: block; font: 600 var(--tl-t-1)/1.25 var(--tl-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte) .shop-item-bottom { padding: var(--tl-e-1) var(--tl-e-3) var(--tl-e-2); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card:not(.vc-ouverte) .shop-item-bottom > :not(.shop-item-price) { display: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-price { display: block; font: 700 var(--tl-t-1)/1.2 var(--tl-ui); color: var(--vc-or); font-variant-numeric: tabular-nums; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.owned .shop-item-price:not(.quest) { visibility: hidden; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.owned:not(.vc-ouverte) .shop-item-bottom::before { content: "À vous"; font: 700 var(--tl-t-1)/1.2 var(--tl-ui); color: #8fe6a6; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.owned.equipped:not(.vc-ouverte) .shop-item-bottom::before { content: "✓ Porté"; color: var(--vc-or); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.owned:not(.vc-ouverte) .shop-item-bottom { display: flex; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.owned:not(.vc-ouverte) .shop-item-price:not(.quest) { display: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-rarity { top: 6px; left: 6px; font-size: 11px; }
#shopModal .vc-vide { margin: var(--tl-e-5) 0; padding: var(--tl-e-4); border: 1px dashed var(--tl-ligne-forte); border-radius: var(--tl-r-2); font: 500 var(--tl-t-2)/1.4 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-vide b { color: var(--vc-neon-vhs); margin-right: var(--tl-e-2); }
#shopModal .shop-item-card.vc-refus { animation: vc-refus 320ms; }

/* ------------------------------------------------- la fiche : la jaquette sortie et retournée */
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(200px, 42%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(780px, 92vw);
  max-height: min(600px, 86dvh);
  overflow: auto;
  border-left-width: 14px;
  box-shadow: 0 0 0 200vmax rgba(5, 3, 1, 0.82), 0 30px 80px #000, 0 0 0 1px var(--rarete, var(--vc-or));
  transform: translate(-50%, -50%);
  cursor: default;
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte::after { display: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-art {
  grid-row: 1 / -1;
  min-height: 260px;
  border-bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-art > :is(canvas, img) { width: 86%; height: auto; max-height: 320px; object-fit: contain; image-rendering: pixelated; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-rarity { font-size: 13px; padding: 4px 10px; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy { padding: var(--tl-e-5) var(--tl-e-5) var(--tl-e-2); overflow-y: auto; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy > strong { display: block; font: 700 var(--tl-t-5)/1.15 var(--tl-ui); color: var(--tl-texte); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy > p { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: var(--tl-t-2); line-height: 1.45; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-bottom { padding: var(--tl-e-3) var(--tl-e-5) var(--tl-e-5); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-bottom button[data-shop-action] { min-height: 48px; font-size: var(--tl-t-3); }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-price:not(.quest) { display: none; }
/* La croix du coin : toujours en vue, même quand le dos de la jaquette défile (indispensable au doigt). */
#shopModal .vc-fermer-coin {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--tl-ligne-forte);
  border-radius: 50%;
  background: rgba(8, 5, 2, 0.85);
  box-shadow: none;
  color: var(--tl-texte);
  font: 600 18px/1 var(--tl-ui);
  cursor: pointer;
}
#shopModal .vc-fermer-coin:is(:hover, :focus-visible) { border-color: var(--vc-or); color: var(--vc-or); outline: none; }
#shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy > strong { padding-right: 44px; }
#shopModal .vc-fiche-plus { display: grid; gap: var(--tl-e-3); margin-top: var(--tl-e-4); padding-top: var(--tl-e-3); border-top: 1px dashed var(--tl-ligne-forte); }
#shopModal .vc-essai { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: var(--tl-e-3); }
#shopModal .vc-essai small { font: 500 var(--tl-t-1)/1.3 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-manque { margin: 0; font: 500 var(--tl-t-2)/1.35 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-manque b { color: var(--vc-or); }
#shopModal .vc-manque.ok { color: #8fe6a6; }
#shopModal .vc-fiche-outils { display: flex; flex-wrap: wrap; gap: var(--tl-e-2); }
#shopModal .vc-fiche-outils button {
  min-height: 40px;
  margin: 0;
  padding: 0 var(--tl-e-4);
  border: 1px solid var(--tl-ligne-forte);
  border-radius: var(--tl-r);
  background: none;
  box-shadow: none;
  color: var(--tl-texte);
  font: 600 var(--tl-t-2)/1 var(--tl-ui);
  cursor: pointer;
}
#shopModal .vc-fiche-outils button:is(:hover, :focus-visible) { border-color: var(--vc-or); background: rgba(255, 207, 92, 0.14); }
#shopModal .vc-epingler[aria-pressed="true"] { border-color: #f7e58a; background: rgba(247, 229, 138, 0.2); color: #f7e58a; }
#shopModal .vc-dit { margin: 0; font: 500 var(--tl-t-1)/1.35 var(--tl-ui); font-style: italic; color: var(--tl-texte-3); }
#shopModal .vc-dit b { font-style: normal; color: var(--vc-neon-vhs); margin-right: 6px; }

/* ------------------------------------------------- le comptoir : les sorties du jour */
#shopModal .vc-jour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--tl-e-3) var(--tl-e-4);
  width: 100%;
  height: 100%;
  padding: var(--tl-e-3) var(--tl-e-5) var(--tl-e-4);
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(12, 7, 3, 0.86), rgba(12, 7, 3, 0.94)),
    var(--vc-fond) 0% 55% / 190% auto no-repeat;
}
#shopModal .vc-jour-tete { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--tl-e-2) var(--tl-e-4); }
#shopModal .vc-jour-tete h3 { margin: 0; font: 400 15px/1.3 var(--tl-pixel); color: var(--vc-or); text-shadow: 0 0 10px rgba(255, 207, 92, 0.5); }
#shopModal .vc-jour-tete p { flex: 1 1 320px; margin: 0; font: 500 var(--tl-t-1)/1.35 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-jour-tete p b { color: var(--vc-or); font-variant-numeric: tabular-nums; }
#shopModal .vc-presentoir {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--tl-e-3);
  min-height: 0;
}
#shopModal .vc-presentoir.vide { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; font: 500 var(--tl-t-3)/1.4 var(--tl-ui); color: var(--tl-texte-2); text-align: center; }
#shopModal .vc-offre { position: relative; min-width: 0; min-height: 0; perspective: 900px; }
#shopModal .vc-offre.vedette { grid-row: 1 / -1; }
#shopModal .vc-offre-dos, #shopModal .vc-offre-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 4px 9px 9px 4px;
  border: 1px solid #000;
  border-left: 10px solid var(--rarete, #6b7385);
  box-sizing: border-box;
  transition: transform 520ms var(--tl-sortie);
}
#shopModal .vc-offre-dos {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--tl-e-2);
  width: 100%;
  margin: 0;
  padding: 0;
  border-left-color: #2a2f3c;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 6px, transparent 6px 12px),
    linear-gradient(160deg, #241a2c, #0f0c14);
  color: var(--tl-texte-2);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
#shopModal .vc-offre-dos span { font: 400 20px/1 var(--tl-pixel); color: var(--vc-or); letter-spacing: 0.08em; text-shadow: 0 0 12px rgba(255, 207, 92, 0.6); }
#shopModal .vc-offre.vedette .vc-offre-dos span { font-size: 30px; }
#shopModal .vc-offre-dos small { font: 400 8px/1.3 var(--tl-pixel); color: var(--tl-texte-2); }
#shopModal .vc-offre-dos i { padding: 4px 12px; border: 1px solid rgba(255, 207, 92, 0.6); border-radius: 999px; font: 600 var(--tl-t-1)/1.2 var(--tl-ui); font-style: normal; color: var(--vc-or); }
#shopModal .vc-offre-dos:is(:hover, :focus-visible) { box-shadow: 0 0 0 2px var(--vc-or), 0 0 22px rgba(255, 207, 92, 0.45); outline: none; }
#shopModal .vc-offre.vedette .vc-offre-dos { border-left-color: var(--vc-or); box-shadow: 0 0 0 1px rgba(255, 207, 92, 0.5), 0 0 26px rgba(255, 207, 92, 0.25); }
#shopModal .vc-offre-face {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  gap: var(--tl-e-1);
  height: 100%;
  padding: 0 0 var(--tl-e-2);
  background: linear-gradient(160deg, #1b1622, #0d0b12);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.55);
  transform: rotateY(180deg);
  overflow: hidden;
}
#shopModal .vc-offre.revelee .vc-offre-dos { transform: rotateY(-180deg); pointer-events: none; }
#shopModal .vc-offre.revelee .vc-offre-face { transform: rotateY(0deg); }
#shopModal .vc-offre.vedette.revelee .vc-offre-face { box-shadow: 0 0 0 1px var(--rarete), 0 0 30px color-mix(in srgb, var(--rarete) 35%, transparent); }
#shopModal .vc-offre-art { display: grid; place-items: center; min-height: 0; background: #030406; overflow: hidden; }
#shopModal .vc-offre-art > * { max-width: 88%; max-height: 92%; }
#shopModal .vc-offre-art :is(canvas, img) { width: auto; height: 86%; object-fit: contain; image-rendering: pixelated; background: none !important; }
#shopModal .vc-etiquette {
  position: absolute;
  top: 8px;
  right: -4px;
  z-index: 2;
  padding: 4px 10px 4px 12px;
  background: #e8342a;
  color: #fff;
  font: 700 var(--tl-t-2)/1.1 var(--tl-ui);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
  transform: rotate(4deg);
}
#shopModal .vc-etiquette.affaire { top: 34px; background: #f7e58a; color: var(--vc-encre); font-size: var(--tl-t-1); }
#shopModal .vc-offre-rarete { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 8px; border: 1px solid var(--rarete); border-radius: 4px; background: rgba(3, 4, 6, 0.85); color: var(--rarete); font: 600 11px/1.4 var(--tl-ui); }
#shopModal .vc-offre-face strong { padding: 0 var(--tl-e-3); font: 700 var(--tl-t-2)/1.2 var(--tl-ui); color: var(--tl-texte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#shopModal .vc-offre.vedette .vc-offre-face strong { font-size: var(--tl-t-4); white-space: normal; }
#shopModal .vc-prix { display: flex; align-items: baseline; gap: var(--tl-e-2); margin: 0; padding: 0 var(--tl-e-3); }
#shopModal .vc-prix s { font: 500 var(--tl-t-1)/1 var(--tl-ui); color: var(--tl-texte-3); }
#shopModal .vc-prix b { font: 700 var(--tl-t-3)/1 var(--tl-ui); color: var(--vc-or); font-variant-numeric: tabular-nums; }
#shopModal .vc-offre.vedette .vc-prix b { font-size: var(--tl-t-5); }
#shopModal .vc-offre-actions { display: flex; flex-wrap: wrap; gap: var(--tl-e-1); padding: 0 var(--tl-e-2); }
#shopModal .vc-offre-actions button, #shopModal .vc-cadeau button {
  flex: 1 1 auto;
  min-height: 34px;
  margin: 0;
  padding: 0 var(--tl-e-2);
  border: 1px solid var(--tl-ligne-forte);
  border-radius: var(--tl-r);
  background: none;
  box-shadow: none;
  color: var(--tl-texte-2);
  font: 600 var(--tl-t-1)/1 var(--tl-ui);
  cursor: pointer;
}
#shopModal .vc-offre-actions .vc-acheter, #shopModal .vc-cadeau button { flex-basis: 100%; border-color: var(--vc-or); background: rgba(255, 207, 92, 0.2); color: var(--tl-texte); font-size: var(--tl-t-2); }
#shopModal .vc-offre-actions .vc-acheter:hover:not(:disabled), #shopModal .vc-cadeau button:hover { background: rgba(255, 207, 92, 0.36); }
#shopModal .vc-offre-actions button:disabled { border-color: var(--tl-ligne); background: none; color: var(--tl-texte-3); cursor: default; }
#shopModal .vc-avous { flex: 1 1 100%; display: grid; place-items: center; min-height: 34px; border: 2px solid #8fe6a6; border-radius: var(--tl-r); color: #8fe6a6; font: 400 10px/1 var(--tl-pixel); transform: rotate(-2deg); }
#shopModal .vc-offre.possedee .vc-etiquette { display: none; }
#shopModal .vc-cadeau {
  display: grid;
  align-content: center;
  gap: var(--tl-e-2);
  min-height: 0;
  padding: var(--tl-e-3);
  border: 2px dashed rgba(255, 207, 92, 0.6);
  border-radius: 9px;
  background: rgba(40, 24, 8, 0.82);
  text-align: center;
}
#shopModal .vc-cadeau b { font: 400 9px/1.4 var(--tl-pixel); color: var(--vc-or); }
#shopModal .vc-cadeau p { margin: 0; font: 500 var(--tl-t-1)/1.3 var(--tl-ui); color: var(--tl-texte); }
#shopModal .vc-cadeau small { font: 500 var(--tl-t-1)/1.3 var(--tl-ui); color: var(--tl-texte-2); }
#shopModal .vc-cadeau small i { font-style: normal; color: var(--vc-or); }
#shopModal .vc-cadeau.pris { border-style: solid; border-color: var(--tl-ligne-forte); background: rgba(20, 14, 8, 0.7); }
#shopModal .vc-comptoir { display: grid; align-content: start; gap: var(--tl-e-3); min-height: 0; overflow-y: auto; font-size: 13px; }

/* ------------------------------------------------- la caisse : le ticket et le tampon */
#shopModal .vc-caisse { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; pointer-events: none; }
#shopModal .vc-caisse.visible { display: grid; }
#shopModal .vc-ticket { pointer-events: auto; cursor: pointer; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7)); animation: vc-ticket-sort 460ms var(--tl-sortie) both, vc-secousse 200ms 520ms; }
#shopModal .vc-ticket-papier {
  position: relative;
  display: grid;
  gap: 6px;
  width: 290px;
  padding: 18px 18px 66px;
  background: var(--vc-papier);
  color: var(--vc-encre);
  font: 500 14px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 95% 100%, 90% calc(100% - 9px), 85% 100%, 80% calc(100% - 9px), 75% 100%, 70% calc(100% - 9px), 65% 100%, 60% calc(100% - 9px), 55% 100%, 50% calc(100% - 9px), 45% 100%, 40% calc(100% - 9px), 35% 100%, 30% calc(100% - 9px), 25% 100%, 20% calc(100% - 9px), 15% 100%, 10% calc(100% - 9px), 5% 100%, 0 calc(100% - 9px));
}
#shopModal .vc-ticket-papier > b { font: 400 10px/1.4 var(--tl-pixel); text-align: center; }
#shopModal .vc-ticket-papier > small { font-size: 12px; text-align: center; color: #5a4d38; }
#shopModal .vc-ticket-papier p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 6px; border-top: 1px dashed #b3a787; }
#shopModal .vc-ticket-papier p span:first-child { min-width: 0; }
#shopModal .vc-ticket-papier p em { display: block; font-style: normal; font-size: 11px; color: #5a4d38; }
#shopModal .vc-ticket-papier p.remise { color: #b02a1f; }
#shopModal .vc-ticket-papier p.total { font-weight: 800; font-size: 17px; border-top: 2px solid var(--vc-encre); }
#shopModal .vc-tampon {
  position: absolute;
  /* Sous les lignes du ticket, dans sa marge : le tampon ne cache ni le total ni le solde. */
  right: 22px;
  bottom: 24px;
  padding: 6px 10px;
  border: 3px solid #c2261c;
  border-radius: 6px;
  color: #c2261c;
  font: 400 15px/1 var(--tl-pixel);
  font-style: normal;
  opacity: 0.88;
  transform: rotate(-13deg);
  animation: vc-tampon 300ms 480ms cubic-bezier(0.2, 1.9, 0.4, 1) both;
}

@keyframes vc-ticket-sort { from { transform: translateY(70px) scaleY(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vc-tampon { from { transform: rotate(-13deg) scale(3.2); opacity: 0; } to { transform: rotate(-13deg) scale(1); opacity: 0.88; } }
@keyframes vc-secousse { 0%, 100% { translate: 0 0; } 25% { translate: -5px 3px; } 50% { translate: 4px -2px; } 75% { translate: -2px 1px; } }
@keyframes vc-refus { 0%, 100% { translate: 0 0; } 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 2px 0; } }
@keyframes vc-tampon-carte { from { scale: 2.6; opacity: 0; } to { scale: 1; opacity: 1; } }
#shopModal .vc-carte li.fraiche { animation: vc-tampon-carte 320ms 300ms cubic-bezier(0.2, 1.9, 0.4, 1) both; }

/* Mouvements réduits : rien ne glisse ni ne tourne, tout s'affiche. */
html.mfx-calme #shopModal :is(.vc-offre-dos, .vc-offre-face, .shop-item-card) { transition: none !important; }
html.mfx-calme #shopModal :is(.vc-ticket, .vc-tampon, .vc-carte li.fraiche, .shop-item-card.vc-refus) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  #shopModal :is(.vc-offre-dos, .vc-offre-face, .shop-item-card) { transition: none !important; }
  #shopModal :is(.vc-ticket, .vc-tampon, .vc-carte li.fraiche, .shop-item-card.vc-refus) { animation: none !important; }
}

/* ------------------------------------------------- petits écrans */
@container (max-width: 820px) {
  #shopModal .vc-allee .vc-carte { display: none; }
  #shopModal .vc-portrait { width: 34px; height: 34px; background-size: 262px auto; background-position: -27px -28px; }
  #shopModal .vc-bulle[data-vc-bulle="vhs"] .vc-portrait { background-size: 453px auto; background-position: -289px -81px; }
  #shopModal .vc-bulle[data-vc-bulle="funky"] .vc-portrait { background-size: 243px auto; background-position: -188px -49px; }
}
@media (max-width: 900px) {
  #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-shell {
    grid-template-columns: 176px minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    grid-template-areas: "entete entete" "rayons barre" "rayons equiper" "rayons grille" "pied pied";
  }
  #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-player-picker { padding: var(--tl-e-2) var(--tl-e-4) 0 var(--tl-e-5); }
  #shopModal .vc-jour { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  #shopModal .vc-comptoir { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; }
  #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte { grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); }
}

/* ------------------------------------------------- paysage téléphone (la feuille paysage-mobile.css passe après :
   mêmes sélecteurs « :root », un attribut de plus) */
@media (orientation: landscape) and (max-height: 500px) {
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-shell {
    grid-template-columns: 164px minmax(0, 1fr) auto;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "entete entete equiper"
      "rayons barre barre"
      "rayons grille grille"
      "rayons pied pied";
  }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-header { grid-column: auto; grid-area: entete; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"][data-vitrine="1"] .shop-header { grid-column: 1 / -1; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-footer { grid-column: auto; grid-area: pied; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-player-picker { grid-area: equiper; padding: 0 var(--tl-e-3) 0 0; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-player-picker select { width: 118px; }
  :root #shopModal .vc-style { min-height: var(--tl-cible); }
  /* Les rayons : une colonne serrée, des titres qui tiennent. */
  :root #shopModal .vc-nav { gap: 2px; padding: var(--tl-e-2); }
  :root #shopModal .vc-rayon-titre { min-height: 40px; padding: var(--tl-e-1) var(--tl-e-2); }
  :root #shopModal .vc-rayon-titre span { font-size: 8px; }
  :root #shopModal .vc-rayon-titre small, :root #shopModal .vc-categorie small { font-size: 11px; }
  :root #shopModal .vc-categorie { min-height: 40px; padding: 0 var(--tl-e-2); font-size: var(--tl-t-1); }
  :root #shopModal .vc-miroir { max-width: 110px; }
  :root #shopModal .vc-cabine small { display: none; }
  /* La barre : le champ et les filtres sur une ligne. */
  :root #shopModal .vc-barre { flex-wrap: nowrap; gap: var(--tl-e-2); padding: var(--tl-e-2) var(--tl-e-3) 0; }
  :root #shopModal .vc-recherche { flex: 1 1 120px; font-size: 0; gap: 0; }
  :root #shopModal .vc-recherche input { min-height: 40px; font-size: var(--tl-t-1); }
  :root #shopModal .vc-filtres { flex-wrap: nowrap; }
  :root #shopModal .vc-filtres button { min-height: 40px; padding: 0 var(--tl-e-2); white-space: nowrap; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 22px 10px;
    padding: var(--tl-e-3) var(--tl-e-3) var(--tl-e-5);
  }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-art { min-height: 78px; }
  /* La fiche : presque tout l'écran, le dos défile, le bouton d'achat reste en vue. */
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte { width: min(780px, 94vw); max-height: 94dvh; grid-template-columns: minmax(120px, 32%) minmax(0, 1fr); }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-art { min-height: 0; }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy { padding: var(--tl-e-3) 52px var(--tl-e-1) var(--tl-e-4); }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-copy > strong { font-size: var(--tl-t-4); }
  :root #shopModal.tl-chaine[data-style-v444="videoclub"] .shop-item-card.vc-ouverte .shop-item-bottom { padding: var(--tl-e-2) var(--tl-e-4) var(--tl-e-3); }
  :root #shopModal .vc-fiche-plus { gap: var(--tl-e-2); margin-top: var(--tl-e-2); padding-top: var(--tl-e-2); }
  :root #shopModal .vc-essai { grid-template-columns: 64px minmax(0, 1fr); }
  :root #shopModal .vc-dit, :root #shopModal .vc-fiche-outils .vc-fermer { display: none; }
  /* Le comptoir : les jaquettes en rang, on fait défiler ; le marchand se tait, la carte reste dans le hall. */
  :root #shopModal .vc-jour { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: var(--tl-e-2); padding: var(--tl-e-2) var(--tl-e-3) var(--tl-e-2); }
  :root #shopModal .vc-jour-tete { flex-wrap: nowrap; gap: var(--tl-e-3); }
  :root #shopModal .vc-jour-tete h3 { font-size: 11px; white-space: nowrap; }
  :root #shopModal .vc-jour-tete p { flex: 1 1 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  :root #shopModal .vc-comptoir { display: none; }
  :root #shopModal .vc-presentoir {
    grid-template-columns: none;
    grid-template-rows: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: var(--tl-e-2);
    padding-bottom: var(--tl-e-1);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  :root #shopModal .vc-presentoir > * { scroll-snap-align: start; }
  :root #shopModal .vc-offre, :root #shopModal .vc-cadeau { width: 164px; }
  :root #shopModal .vc-offre.vedette { grid-row: auto; width: 204px; }
  :root #shopModal .vc-offre.vedette .vc-offre-face strong { font-size: var(--tl-t-2); white-space: nowrap; }
  :root #shopModal .vc-offre.vedette .vc-prix b { font-size: var(--tl-t-4); }
  :root #shopModal .vc-offre-actions button, :root #shopModal .vc-cadeau button { min-height: 40px; }
  :root #shopModal .vc-etiquette.affaire { top: 30px; }
}
@container (max-height: 420px) {
  /* Hall en paysage téléphone : la carte de membre remplace la note de réservation vide. */
  #shopModal .vc-allee .vc-reservation.vide { display: none; }
  #shopModal .vc-allee .vc-carte { display: grid; }
}
