/* =====================================================================
   V448 — LE HALL DE LA BOUTIQUE : « LA RUE DE NUIT » ET LA BARRE DE LIEUX
   (src/ui/boutique-hall.js pour le HTML, bloc V448 de game.js pour la logique)

   Tout est borné par #hallBoutiqueV448, #lieuxBoutiqueV448 et les classes .hl-* ; les trois lieux
   (« Vidéoclub » V444, « Télé-achat » V445, « Graveur » V446) ne sont pas touchés. Liée après eux,
   avant paysage-mobile.css.
     #shopModal[data-hall-v448="1"]    la rue est à l'écran : elle prend toute la coque sous l'en-tête
     #shopModal[data-visite-v448="1"]  on est entré par la rue : la barre de lieux remplace « ÉCRAN »
   La racine .hl-racine est son propre conteneur (container: hl / size) : la rue ne dépend ni de la
   grille de .shop-shell ni de la feuille du paysage. Tout se mesure avec --hl-u, une longueur qui
   suit le plus petit côté de la scène (enregistrée par @property pour valoir la même chose dans
   les conteneurs imbriqués).

   Palette : la nuit (#05060c), le mur (#14161f), le bitume (#090a10) et un néon par lieu, pris à
   l'intérieur du lieu — ampoule (#ffe39e) pour le cinéma, rouge d'antenne (#ff5a4f) pour le
   télé-achat, vert d'afficheur (#6ff7d8) pour le graveur, tungstène (#ffb23e) pour le vidéoclub.
   Polices : celles du jeu — « Press Start 2P » pour les enseignes seulement, « Barlow » pour le reste.
   ===================================================================== */

@property --hl-u {
  syntax: "<length>";
  inherits: true;
  initial-value: 8px;
}

#shopModal {
  --hl-nuit: #05060c;
  --hl-mur: #14161f;
  --hl-mur-2: #1d2030;
  --hl-bitume: #090a10;
  --hl-ampoule: #ffe39e;
  --hl-antenne: #ff5a4f;
  --hl-vfd: #6ff7d8;
  --hl-tungstene: #ffb23e;
  --hl-velours: #6a1626;
}

/* ------------------------------------------------- ce qui se montre, ce qui se cache */
#shopModal:not([data-hall-v448="1"]) .hl-racine { display: none !important; }
#shopModal[data-hall-v448="1"] .shop-shell > :not(.shop-header, .hl-racine) { display: none !important; }
#shopModal[data-hall-v448="1"] > .vc-caisse { display: none !important; }
#shopModal:not([data-visite-v448="1"]) .hl-lieux { display: none !important; }
#shopModal[data-visite-v448="1"] #styleBoutiqueV444 { display: none !important; }
/* La coque : l'en-tête, puis la rue (quel que soit le lieu retenu, à toutes les tailles). */
:root #shopModal.tl-chaine[data-hall-v448="1"] .shop-shell,
:root #shopModal.tl-chaine[data-hall-v448="1"][data-style-v444] .shop-shell {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "entete" "hall";
  background-image: none;
  background-color: var(--hl-nuit);
}
:root #shopModal.tl-chaine[data-hall-v448="1"] .shop-header { grid-area: entete; grid-column: auto; position: relative; z-index: 3; }

/* ------------------------------------------------- la barre de lieux (dans l'en-tête) */
/* V449 — Avec ses cinq segments (Rue, Plan, trois lieux), la barre prend la place qu'il lui faut :
   le titre se centre dans ce qui reste, entre elle et les crédits (au lieu du milieu de l'écran). */
:root #shopModal.tl-chaine[data-visite-v448="1"] .shop-header { grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; }
#shopModal .hl-gauche { justify-self: start; display: flex; align-items: center; gap: var(--tl-e-3, 12px); min-width: 0; }
#lieuxBoutiqueV448 {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--tl-ligne-forte, #3b4964);
  border-radius: var(--tl-r, 6px);
  background: var(--tl-verre-2, #11161f);
  overflow: hidden;
}
#lieuxBoutiqueV448 .hl-lieu {
  flex: 0 0 auto;
  min-height: var(--tl-cible, 44px);
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--tl-ligne, #263042);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--tl-texte-2, #b0b9c9);
  font: 600 14px/1 var(--tl-ui, "Barlow", "Segoe UI", system-ui, sans-serif);
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transform: none;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
#lieuxBoutiqueV448 .hl-lieu:first-child { border-left: 0; }
#lieuxBoutiqueV448 .hl-lieu:active { transform: none; box-shadow: none; }
#lieuxBoutiqueV448 .hl-lieu:hover { background: var(--tl-verre-3, #1a2130); color: var(--tl-texte, #eef1f6); }
#lieuxBoutiqueV448 .hl-lieu[aria-current] { background: var(--tl-chaine-fort, #ffe39e); color: #14100a; }
#lieuxBoutiqueV448 .hl-lieu:focus-visible { outline: 2px solid var(--tl-chaine-fort, #ffe39e); outline-offset: -4px; }
#lieuxBoutiqueV448 .hl-lieu[aria-current]:focus-visible { outline-color: #14100a; }
/* V449 — Les versions gardées pour comparer (« Vitrine » = la Boutique d'avant le hall, « Rue 1 » = la
   rue d'avant les images de Flow) : en bout de barre, après un trait double, d'une encre plus discrète. */
#lieuxBoutiqueV448 .hl-lieu[data-hl-ancien] { color: var(--tl-texte-3, #7f8aa0); font-style: italic; }
#lieuxBoutiqueV448 .hl-lieu[data-hl-ancien]:hover { color: var(--tl-texte, #eef1f6); }
#lieuxBoutiqueV448 .hl-lieu[data-hl-ancien][aria-current] { color: #14100a; }
#lieuxBoutiqueV448 .hl-lieu:not([data-hl-ancien]) + .hl-lieu[data-hl-ancien] { border-left: 3px double var(--tl-ligne-forte, #3b4964); }
/* Le titre vit dans ce qui reste : sa ligne de garantie passe à la ligne plutôt que de déborder. */
#shopModal[data-visite-v448="1"] .shop-heading { min-width: 0; }
#shopModal[data-visite-v448="1"] .shop-heading > :not(h1, h2, #shopTitle) { white-space: normal; text-wrap: balance; }
/* La barre ne pousse jamais les crédits : si la place manque, elle défile en largeur. */
#shopModal[data-visite-v448="1"] .hl-gauche { justify-self: stretch; }
#shopModal[data-visite-v448="1"] .hl-gauche > .shop-back-btn { flex: 0 0 auto; }
#lieuxBoutiqueV448 { flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
#lieuxBoutiqueV448::-webkit-scrollbar { display: none; }

/* Paysage de téléphone, fenêtre étroite : des segments plus serrés ; le titre laisse sa place à la barre,
   qui dit déjà où l'on est (il reste lu). */
@media (max-height: 500px), (max-width: 900px) {
  #lieuxBoutiqueV448 .hl-lieu { padding: 0 9px; font-size: 13px; }
  #shopModal .hl-gauche { gap: var(--tl-e-2, 8px); }
}
@media (max-width: 900px) {
  #shopModal[data-visite-v448="1"] .shop-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #shopModal[data-visite-v448="1"] .shop-header-right .tl-osd { display: none; }
  /* Au doigt : jamais moins de 44 px de large, même pour « Rue » et « Plan » ; les noms longs se serrent. */
  #lieuxBoutiqueV448 .hl-lieu { min-width: 44px; padding: 0 6px; font-size: 12.5px; }
}
/* Petit téléphone en paysage : « Coffret » se resserre, et si la place manque encore la barre défile
   en largeur au lieu de passer sous les crédits. */
@media (max-width: 760px) and (max-height: 500px) {
  :root #shopModal.tl-chaine[data-visite-v448="1"] .shop-header { grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; }
  :root #shopModal.tl-chaine[data-visite-v448="1"] .shop-coffret-btn { min-width: 0; padding: 0 var(--tl-e-2, 8px); }
  #shopModal[data-visite-v448="1"] .hl-gauche { justify-self: stretch; }
  #shopModal[data-visite-v448="1"] .hl-gauche > .shop-back-btn { flex: 0 0 auto; }
  #lieuxBoutiqueV448 { flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
  #lieuxBoutiqueV448::-webkit-scrollbar { display: none; }
}
/* Portrait : la barre prend sa propre rangée, sur toute la largeur. */
@media (max-width: 620px) and (min-height: 501px) {
  #shopModal[data-visite-v448="1"] .hl-gauche { display: contents; }
  #shopModal[data-visite-v448="1"] #lieuxBoutiqueV448 { grid-column: 1 / -1; grid-row: 2; }
  #shopModal[data-visite-v448="1"] #lieuxBoutiqueV448 .hl-lieu { flex: 1 0 auto; padding: 0 9px; }
}

/* ------------------------------------------------- la racine : la nuit */
#shopModal .hl-racine {
  grid-area: hall;
  position: relative;
  min-width: 0;
  min-height: 0;
  container: hl / size;
  overflow: hidden;
  color: var(--tl-texte, #eef1f6);
  font-family: var(--tl-ui, "Barlow", "Segoe UI", system-ui, sans-serif);
  /* Le haut du ciel : quelques étoiles, au-dessus de la bande de toits (image) qui se fond dedans. */
  background:
    radial-gradient(1.5px 1.5px at 8% 5%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(1px 1px at 19% 9%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 33% 3%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 47% 7%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 4%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 8%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 91% 3%, rgba(255, 255, 255, 0.6), transparent 60%),
    linear-gradient(180deg, var(--hl-nuit) 0%, #0d0f22 34%, #15132b 100%);
}
/* Hors de la télé (pas de grille dans la coque), la rue garde une hauteur. */
#shopModal:not(.tl-chaine) .hl-racine { min-height: min(72dvh, 560px); }

#hallBoutiqueV448 .hl-scene {
  --hl-u: min(1cqw, 1.9cqh);
  --hl-colonnes: 1.9fr 1fr 0.9fr 1.1fr;
  --hl-ecart: calc(var(--hl-u) * 1.4);
  --hl-marge: calc(var(--hl-u) * 2.4);
  --hl-chaussee: clamp(26px, 11cqh, 88px);
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) var(--hl-chaussee);
}
/* Au loin : les toits de la ville au crépuscule (pixel art de Google Flow, deux ciels : un par
   parité de jour). L'image est une bande, posée en haut et large comme la rue ; dessous, la
   couleur de son sol ; son bord haut se fond dans le ciel étoilé de la racine. Rien qui bouge. */
#hallBoutiqueV448 .hl-scene::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--hl-chaussee);
  pointer-events: none;
  background: url("../../assets/boutique-hall/ciel-a.webp") center top / 100% auto no-repeat, #0d0e18;
  image-rendering: pixelated;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5.5cqw);
  mask-image: linear-gradient(180deg, transparent 0, #000 5.5cqw);
}
#hallBoutiqueV448 .hl-scene[data-hl-ciel="b"]::before {
  background: url("../../assets/boutique-hall/ciel-b.webp") center top / 100% auto no-repeat, #050926;
}
/* La lune de chaque ciel, là où le ciel est le plus haut (au-dessus du télé-achat ou du graveur). */
#hallBoutiqueV448 .hl-scene::after {
  content: "";
  position: absolute;
  left: 47%;
  top: 2.5cqh;
  width: calc(var(--hl-u) * 5.5);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("../../assets/boutique-hall/lune-a.webp") center / contain no-repeat;
  image-rendering: pixelated;
}
#hallBoutiqueV448 .hl-scene[data-hl-ciel="b"]::after {
  left: 64%;
  background-image: url("../../assets/boutique-hall/lune-b.webp");
}
#hallBoutiqueV448 .hl-titre { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------- la rue : quatre façades posées sur le trottoir */
#hallBoutiqueV448 .hl-facades {
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--hl-colonnes);
  align-items: end;
  gap: var(--hl-ecart);
  min-height: 0;
  margin: 0;
  padding: var(--hl-u) var(--hl-marge) 0;
  list-style: none;
  overflow: hidden;
}
#hallBoutiqueV448 .hl-facade { --c: var(--hl-ampoule); display: grid; min-width: 0; margin: 0; padding: 0; }
#hallBoutiqueV448 .hl-teleachat { --c: var(--hl-antenne); }
#hallBoutiqueV448 .hl-graveur { --c: var(--hl-vfd); }
#hallBoutiqueV448 .hl-videoclub { --c: var(--hl-tungstene); }

/* Les boutons de la rue repartent de zéro (l'habillage arcade vise tous les boutons de la Boutique). */
#hallBoutiqueV448 :is(.hl-porte, .hl-affiche) {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  cursor: pointer;
  transform: none;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}
#hallBoutiqueV448 :is(.hl-porte, .hl-affiche):active { transform: none; }
#hallBoutiqueV448 :is(.hl-porte, .hl-affiche):focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

/* Le bâtiment : un mur de brique sombre, l'enseigne en haut, la vitrine, le seuil. */
#hallBoutiqueV448 .hl-batiment {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  width: 100%;
  min-width: 0;
  padding: calc(var(--hl-u) * 1.1) calc(var(--hl-u) * 1.1) 0;
  border: 1px solid #000;
  border-bottom: 0;
  border-radius: calc(var(--hl-u) * 0.5) calc(var(--hl-u) * 0.5) 0 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px calc(var(--hl-u) * 0.95)),
    linear-gradient(180deg, var(--hl-mur-2), var(--hl-mur));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#hallBoutiqueV448 .hl-porte.hl-batiment { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
#hallBoutiqueV448 .hl-teleachat .hl-batiment { --hl-mur: #121522; --hl-mur-2: #1a2036; }
#hallBoutiqueV448 .hl-graveur .hl-batiment { --hl-mur: #101416; --hl-mur-2: #1a2224; }
#hallBoutiqueV448 .hl-videoclub .hl-batiment { --hl-mur: #17120d; --hl-mur-2: #261c12; }
#hallBoutiqueV448 .hl-cinema .hl-batiment { --hl-mur: #15121a; --hl-mur-2: #221c2a; grid-template-rows: auto auto auto auto; }

/* L'enseigne au néon (la seule place de la police à pixels). */
#hallBoutiqueV448 .hl-enseigne {
  display: grid;
  justify-items: center;
  gap: calc(var(--hl-u) * 0.3);
  margin: 0;
  padding: calc(var(--hl-u) * 0.5) 0 calc(var(--hl-u) * 0.9);
  text-align: center;
}
#hallBoutiqueV448 .hl-enseigne b {
  font: 400 clamp(10px, calc(var(--hl-u) * 1.45), 20px)/1.25 var(--tl-pixel, "Press Start 2P", ui-monospace, monospace);
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--c) 24%, #ffffff);
  text-shadow: 0 0 0.25em var(--c), 0 0 0.9em var(--c), 0 0 2.1em color-mix(in srgb, var(--c) 62%, transparent);
}
#hallBoutiqueV448 .hl-enseigne small {
  font: 600 clamp(10px, calc(var(--hl-u) * 1.05), 14px)/1.2 var(--tl-ui, "Barlow", sans-serif);
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--c) 52%, #ffffff);
}
/* Le cinéma est fermé : son néon est éteint, il n'en reste que le verre. */
#hallBoutiqueV448 .hl-cinema .hl-enseigne b { color: #8a8170; text-shadow: 0 0 0.6em rgba(255, 227, 158, 0.16); }

/* La vitrine : la lumière du lieu sur le trottoir. */
#hallBoutiqueV448 .hl-vitrine {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: calc(var(--hl-u) * 0.9);
  border: calc(var(--hl-u) * 0.25) solid #07080c;
  border-radius: calc(var(--hl-u) * 0.3);
  background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--c) 24%, #10131c), #0a0c12 88%);
  box-shadow: 0 0 calc(var(--hl-u) * 2.6) color-mix(in srgb, var(--c) 26%, transparent), inset 0 0 calc(var(--hl-u) * 1.6) rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: filter 140ms ease-out;
}
#hallBoutiqueV448 .hl-porte:is(:hover, :focus-visible) .hl-vitrine { filter: brightness(1.16); }

/* Le seuil : ce qu'on fait ici, et la porte. */
#hallBoutiqueV448 .hl-seuil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--hl-u) * 0.6) calc(var(--hl-u) * 0.9);
  margin: 0;
  padding: calc(var(--hl-u) * 0.9) 0 calc(var(--hl-u) * 1.1);
}
#hallBoutiqueV448 .hl-quoi { flex: 1 1 9em; min-width: 0; font: 500 clamp(12px, calc(var(--hl-u) * 1.15), 16px)/1.3 var(--tl-ui, "Barlow", sans-serif); color: var(--tl-texte-2, #b0b9c9); }
#hallBoutiqueV448 .hl-entrer {
  flex: 0 0 auto;
  padding: 0.5em 1em;
  border: 1px solid color-mix(in srgb, var(--c) 72%, transparent);
  border-radius: 999px;
  font: 600 clamp(12px, calc(var(--hl-u) * 1.1), 15px)/1 var(--tl-ui, "Barlow", sans-serif);
  color: color-mix(in srgb, var(--c) 38%, #ffffff);
  transition: background-color 140ms ease-out, color 140ms ease-out;
}
#hallBoutiqueV448 .hl-porte:is(:hover, :focus-visible) .hl-entrer { background: var(--c); border-color: var(--c); color: #0b0b0d; }

/* ------------------------------------------------- le cinéma : la marquise, les affiches, le rideau */
#hallBoutiqueV448 .hl-marquise {
  margin: 0 0 var(--hl-u);
  padding: calc(var(--hl-u) * 0.35);
  border: calc(var(--hl-u) * 0.42) dotted color-mix(in srgb, var(--hl-ampoule) 58%, #3a3220);
  border-radius: 3px;
  background: #17130c;
}
#hallBoutiqueV448 .hl-marquise span {
  display: block;
  padding: calc(var(--hl-u) * 0.55) calc(var(--hl-u) * 0.4);
  background: linear-gradient(180deg, #e9dfc4, #c9bd9c);
  color: #1c140a;
  font: 400 clamp(8px, calc(var(--hl-u) * 1.1), 15px)/1.3 var(--tl-pixel, "Press Start 2P", ui-monospace, monospace);
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}
#hallBoutiqueV448 .hl-cinema .hl-vitrine {
  --hl-af-ecart: calc(var(--hl-u) * 0.7);
  container: hlv / inline-size;
  min-height: 42cqh;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 227, 158, 0.16), #0c0a10 85%);
}
#hallBoutiqueV448 .hl-cases {
  --hl-af-l: min(calc(var(--hl-u) * 9.1), calc((100cqw - 3 * var(--hl-af-ecart)) / 4));
  display: grid;
  grid-template-columns: repeat(4, var(--hl-af-l));
  justify-content: center;
  gap: var(--hl-af-ecart);
  margin: 0;
  padding: 0;
  list-style: none;
}
#hallBoutiqueV448 .hl-cases > li { display: grid; min-width: 0; }
#hallBoutiqueV448 .hl-affiche { display: grid; gap: calc(var(--hl-u) * 0.35); min-width: 0; }
#hallBoutiqueV448 .hl-cadre {
  display: block;
  aspect-ratio: 9 / 16;
  border: 2px solid #2b2417;
  background: #000;
  box-shadow: 0 0 calc(var(--hl-u) * 1.3) rgba(255, 227, 158, 0.22);
  overflow: hidden;
  transition: border-color 140ms ease-out;
}
#hallBoutiqueV448 .hl-cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
#hallBoutiqueV448 .hl-affiche:is(:hover, :focus-visible) .hl-cadre { border-color: var(--hl-ampoule); }
#hallBoutiqueV448 .hl-etiquette { font: 600 clamp(10px, calc(var(--hl-u) * 0.95), 13px)/1.2 var(--tl-ui, "Barlow", sans-serif); color: var(--hl-ampoule); text-align: center; white-space: nowrap; }
#hallBoutiqueV448 .hl-a-moi .hl-etiquette { color: #7df29a; }
#hallBoutiqueV448 .hl-legende { margin: calc(var(--hl-u) * 0.6) 0 0; font: 500 clamp(11px, calc(var(--hl-u) * 1.05), 15px)/1.3 var(--tl-ui, "Barlow", sans-serif); color: var(--tl-texte-2, #b0b9c9); text-align: center; }
/* Le rideau baissé. */
#hallBoutiqueV448 .hl-cinema .hl-seuil {
  margin: var(--hl-u) calc(var(--hl-u) * -1.1) 0;
  padding: calc(var(--hl-u) * 0.9) calc(var(--hl-u) * 1.1) calc(var(--hl-u) * 1.1);
  background: repeating-linear-gradient(90deg, #47101b 0 calc(var(--hl-u) * 1.1), var(--hl-velours) calc(var(--hl-u) * 1.1) calc(var(--hl-u) * 2.2));
  box-shadow: inset 0 calc(var(--hl-u) * 1.1) calc(var(--hl-u) * 1.4) rgba(0, 0, 0, 0.62);
}
#hallBoutiqueV448 .hl-cinema .hl-quoi { color: #f3e7cb; text-shadow: 0 1px 2px #000; }
#hallBoutiqueV448 .hl-ferme {
  flex: 0 0 auto;
  padding: 0.4em 0.8em;
  border: 1px solid #1c140a;
  border-radius: 2px;
  background: #e9dfc4;
  color: #1c140a;
  font: 700 clamp(11px, calc(var(--hl-u) * 1.05), 14px)/1 var(--tl-ui, "Barlow", sans-serif);
  rotate: -3deg;
}

/* ------------------------------------------------- le télé-achat : un téléviseur allumé sur le direct */
#hallBoutiqueV448 .hl-teleachat .hl-vitrine {
  min-height: 32cqh;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: 0 0 calc(var(--hl-u) * 3) rgba(70, 120, 255, 0.3);
  overflow: visible;
  align-content: stretch;
  justify-items: stretch;
}
#hallBoutiqueV448 .hl-tele {
  box-sizing: border-box;
  display: grid;
  padding: calc(var(--hl-u) * 0.7);
  border-radius: calc(var(--hl-u) * 0.9);
  background: linear-gradient(180deg, #2c2f39, #14161c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 calc(var(--hl-u) * 0.3) 0 #000;
}
#hallBoutiqueV448 .hl-ecran {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: calc(var(--hl-u) * 0.6);
  padding: calc(var(--hl-u) * 0.9);
  border-radius: calc(var(--hl-u) * 1.3) / calc(var(--hl-u) * 1);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 40%, #27459a, var(--ta-bleu, #0f1a3c) 78%);
  text-align: center;
}
#hallBoutiqueV448 .hl-direct {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.6em;
  border-radius: 3px;
  background: var(--ta-rouge, #e8342a);
  color: #ffffff;
  font: 700 clamp(10px, calc(var(--hl-u) * 0.95), 13px)/1 var(--tl-ui, "Barlow", sans-serif);
}
#hallBoutiqueV448 .hl-direct::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: #ffffff; }
#hallBoutiqueV448 .hl-ecran strong { font: 700 clamp(15px, calc(var(--hl-u) * 1.9), 28px)/1.15 var(--tl-ui, "Barlow", sans-serif); color: #ffffff; }
#hallBoutiqueV448 .hl-pied { font: 500 clamp(12px, calc(var(--hl-u) * 1.15), 16px)/1.2 var(--tl-ui, "Barlow", sans-serif); color: var(--ta-or, #ffcf5c); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- le graveur : l'afficheur, le disque du jour dans son tiroir */
#hallBoutiqueV448 .hl-graveur .hl-vitrine { min-height: 42cqh; align-content: stretch; justify-items: stretch; background: linear-gradient(180deg, #14181a, #0a0c0d); }
#hallBoutiqueV448 .hl-appareil { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: calc(var(--hl-u) * 0.8); min-height: 0; }
#hallBoutiqueV448 .hl-vfd {
  display: grid;
  gap: 0.3em;
  padding: calc(var(--hl-u) * 0.8);
  border: 1px solid #000;
  border-radius: 4px;
  background: var(--gv-vfd-fond, #03130f);
  box-shadow: inset 0 0 calc(var(--hl-u) * 1.2) rgba(0, 0, 0, 0.8);
  color: var(--hl-vfd);
  font-family: var(--gv-mono, ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace);
  text-shadow: 0 0 0.5em rgba(111, 247, 216, 0.55);
}
#hallBoutiqueV448 .hl-vfd span { font-size: clamp(10px, calc(var(--hl-u) * 1), 14px); line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.82; }
#hallBoutiqueV448 .hl-vfd strong { font-size: clamp(18px, calc(var(--hl-u) * 2.4), 34px); line-height: 1.1; font-weight: 700; letter-spacing: 0.04em; }
#hallBoutiqueV448 .hl-tiroir {
  position: relative;
  min-height: calc(var(--hl-u) * 6);
  border-radius: 4px;
  background: linear-gradient(180deg, #1a1c21, #0b0c0f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
#hallBoutiqueV448 .hl-disque {
  position: absolute;
  left: 50%;
  top: 16%;
  width: min(84%, calc(var(--hl-u) * 17));
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  /* Le disque de la rue illustrée (Flow), coupé rond ; le dégradé reste dessous si l'image manque. */
  background:
    url("../../assets/boutique-hall/disque.webp") center / 104% 104% no-repeat,
    conic-gradient(from 20deg, #cfd6e4, #f4f7ff 8%, #9fb4ff 14%, #e9d7ff 20%, #cfd6e4 28%, #aab3c8 50%, #f4f7ff 58%, #a8ffe6 64%, #ffe3b0 70%, #cfd6e4 78%, #aab3c8 92%, #cfd6e4);
  image-rendering: pixelated;
  box-shadow: 0 0 calc(var(--hl-u) * 1.6) rgba(111, 247, 216, 0.28);
}

/* ------------------------------------------------- le vidéoclub : l'auvent, les étagères, la pancarte */
#hallBoutiqueV448 .hl-videoclub .hl-enseigne::after {
  content: "";
  justify-self: stretch;
  height: calc(var(--hl-u) * 3);
  margin: calc(var(--hl-u) * 0.5) calc(var(--hl-u) * -0.5) calc(var(--hl-u) * -0.9);
  /* L'auvent rayé de la rue illustrée (Flow) ; les rayures en dégradé restent dessous si l'image manque. */
  background:
    url("../../assets/boutique-hall/auvent.webp") center / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--hl-tungstene) 0 calc(var(--hl-u) * 1.5), #3a240f calc(var(--hl-u) * 1.5) calc(var(--hl-u) * 3));
  box-shadow: 0 calc(var(--hl-u) * 0.4) calc(var(--hl-u) * 0.8) rgba(0, 0, 0, 0.5);
}
#hallBoutiqueV448 .hl-videoclub .hl-vitrine { min-height: 34cqh; gap: calc(var(--hl-u) * 0.7); }
#hallBoutiqueV448 .hl-etageres {
  position: absolute;
  inset: 0;
  /* Les rayons de la rue illustrée (Flow) : l'image se répète en largeur, ses tablettes se suivent. */
  background: #1b141c url("../../assets/boutique-hall/etageres.webp") left top / auto 100% repeat-x;
  image-rendering: pixelated;
  filter: saturate(0.85) brightness(0.72);
}
#hallBoutiqueV448 .hl-etageres i { display: none; }
#hallBoutiqueV448 .hl-pancarte {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.2em;
  max-width: 100%;
  box-sizing: border-box;
  padding: calc(var(--hl-u) * 0.8) calc(var(--hl-u) * 1.1);
  border-radius: 2px;
  background: var(--vc-papier, #f3ecd9);
  color: var(--vc-encre, #1c140a);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 calc(var(--hl-u) * 1.4) rgba(0, 0, 0, 0.45);
  rotate: -2deg;
  text-align: center;
}
#hallBoutiqueV448 .hl-pancarte strong { font: 700 clamp(13px, calc(var(--hl-u) * 1.45), 21px)/1.15 var(--tl-ui, "Barlow", sans-serif); }
#hallBoutiqueV448 .hl-pancarte span { font: 600 clamp(11px, calc(var(--hl-u) * 1.05), 15px)/1.2 var(--tl-ui, "Barlow", sans-serif); }
#hallBoutiqueV448 .hl-reserve {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.35em 0.7em;
  border: 1px dashed var(--hl-tungstene);
  border-radius: 2px;
  background: #0c0703;
  color: var(--vc-or-fort, #ffe39e);
  font: 600 clamp(11px, calc(var(--hl-u) * 1), 14px)/1.25 var(--tl-ui, "Barlow", sans-serif);
  text-align: center;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------- la chaussée mouillée : les néons s'y reflètent */
#hallBoutiqueV448 .hl-chaussee {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--hl-colonnes);
  gap: var(--hl-ecart);
  padding: 0 var(--hl-marge);
  border-top: calc(var(--hl-u) * 0.45) solid #23262f;
  background: linear-gradient(180deg, #0d0e15, var(--hl-bitume));
  overflow: hidden;
}
#hallBoutiqueV448 .hl-chaussee i {
  --c: var(--hl-ampoule);
  display: block;
  opacity: 0.4;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 58%, transparent), transparent 92%);
  filter: blur(calc(var(--hl-u) * 0.5));
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 2px, rgba(0, 0, 0, 0.3) 2px 5px);
  mask-image: repeating-linear-gradient(180deg, #000 0 2px, rgba(0, 0, 0, 0.3) 2px 5px);
}
#hallBoutiqueV448 .hl-chaussee i:nth-child(2) { --c: #6f9bff; opacity: 0.8; }
#hallBoutiqueV448 .hl-chaussee i:nth-child(3) { --c: var(--hl-vfd); opacity: 0.7; }
#hallBoutiqueV448 .hl-chaussee i:nth-child(4) { --c: var(--hl-tungstene); opacity: 0.8; }
/* Le cadeau du jour, écrit sur le trottoir tant qu'il est à prendre. */
#hallBoutiqueV448 .hl-note {
  grid-row: 2;
  grid-column: 1;
  z-index: 2;
  align-self: center;
  justify-self: center;
  max-width: calc(100% - 2 * var(--hl-marge));
  margin: 0;
  padding: 0.35em 0.95em;
  border: 1px solid rgba(255, 227, 158, 0.36);
  border-radius: 999px;
  background: rgba(5, 6, 12, 0.82);
  color: var(--hl-ampoule);
  font: 600 clamp(12px, calc(var(--hl-u) * 1.15), 15px)/1.25 var(--tl-ui, "Barlow", sans-serif);
  text-align: center;
}

/* ================================================= « RUE 1 » — LE DÉCOR D'AVANT LES IMAGES DE FLOW
   Gardé pour comparer (sa demande du 3 décembre) : la même rue, avec le décor dessiné en code de la
   première version — immeubles en dégradés, disque en dégradé conique, rayons et auvent en rayures. */
#shopModal .hl-racine:has(.hl-scene[data-hl-decor="code"]) {
  background:
    radial-gradient(1.5px 1.5px at 8% 14%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(1px 1px at 19% 31%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 33% 9%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 47% 22%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 12%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 76% 27%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 91% 8%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(255, 178, 62, 0.09), transparent 70%),
    linear-gradient(180deg, var(--hl-nuit) 0%, #0a0e21 58%, #15132b 100%);
}
#hallBoutiqueV448 .hl-scene[data-hl-decor="code"]::before {
  top: auto;
  height: 88cqh;
  image-rendering: auto;
  -webkit-mask-image: none;
  mask-image: none;
  background:
    /* quelques fenêtres encore allumées */
    linear-gradient(#ffcf5c, #ffcf5c) 44.2% 16% / 0.35% 1.4% no-repeat,
    linear-gradient(#ffcf5c, #ffcf5c) 45.4% 24% / 0.35% 1.4% no-repeat,
    linear-gradient(#9fd8ff, #9fd8ff) 62.6% 30% / 0.35% 1.4% no-repeat,
    linear-gradient(#ffcf5c, #ffcf5c) 90.8% 22% / 0.35% 1.4% no-repeat,
    linear-gradient(#ffcf5c, #ffcf5c) 92.4% 34% / 0.35% 1.4% no-repeat,
    linear-gradient(#9fd8ff, #9fd8ff) 77.6% 40% / 0.35% 1.4% no-repeat,
    /* les immeubles */
    linear-gradient(#141a36, #10142a) 43% 100% / 5% 94% no-repeat,
    linear-gradient(#121733, #0f1328) 61% 100% / 7% 78% no-repeat,
    linear-gradient(#141a36, #10142a) 92% 100% / 6% 86% no-repeat,
    linear-gradient(#10152d, #0d1124) 77% 100% / 9% 66% no-repeat,
    linear-gradient(#10152d, #0d1124) 52% 100% / 9% 58% no-repeat,
    linear-gradient(#10152d, #0d1124) 68% 100% / 5% 62% no-repeat,
    linear-gradient(#0e1228, #0c1022) 100% 100% / 12% 50% no-repeat,
    linear-gradient(#0e1228, #0c1022) 38% 100% / 6% 70% no-repeat;
}
#hallBoutiqueV448 .hl-scene[data-hl-decor="code"]::after { display: none; }
#hallBoutiqueV448 [data-hl-decor="code"] .hl-disque {
  image-rendering: auto;
  background:
    radial-gradient(circle, #0b0c0f 0 8%, #dfe5f1 8% 10.5%, rgba(255, 255, 255, 0.5) 10.5% 16%, transparent 16.5%),
    conic-gradient(from 20deg, #cfd6e4, #f4f7ff 8%, #9fb4ff 14%, #e9d7ff 20%, #cfd6e4 28%, #aab3c8 50%, #f4f7ff 58%, #a8ffe6 64%, #ffe3b0 70%, #cfd6e4 78%, #aab3c8 92%, #cfd6e4);
}
#hallBoutiqueV448 [data-hl-decor="code"] .hl-videoclub .hl-enseigne::after {
  height: calc(var(--hl-u) * 1.2);
  border-radius: 0 0 calc(var(--hl-u) * 0.4) calc(var(--hl-u) * 0.4);
  background: repeating-linear-gradient(90deg, var(--hl-tungstene) 0 calc(var(--hl-u) * 1.5), #3a240f calc(var(--hl-u) * 1.5) calc(var(--hl-u) * 3));
}
#hallBoutiqueV448 [data-hl-decor="code"] .hl-etageres {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: calc(var(--hl-u) * 0.5);
  padding: calc(var(--hl-u) * 0.6) calc(var(--hl-u) * 0.6) 0;
  background: none;
  image-rendering: auto;
  filter: saturate(0.7) brightness(0.62);
}
#hallBoutiqueV448 [data-hl-decor="code"] .hl-etageres i {
  --j: calc(var(--hl-u) * 1.25);
  display: block;
  border-bottom: calc(var(--hl-u) * 0.35) solid #4a2e14;
  background: repeating-linear-gradient(90deg,
    #b8342c 0 var(--j), #120c06 var(--j) calc(var(--j) * 1.12),
    #2f6fb0 calc(var(--j) * 1.12) calc(var(--j) * 2), #120c06 calc(var(--j) * 2) calc(var(--j) * 2.12),
    #d9a53a calc(var(--j) * 2.12) calc(var(--j) * 3.3), #120c06 calc(var(--j) * 3.3) calc(var(--j) * 3.42),
    #3f8f5a calc(var(--j) * 3.42) calc(var(--j) * 4.2), #120c06 calc(var(--j) * 4.2) calc(var(--j) * 4.32),
    #7a3fa0 calc(var(--j) * 4.32) calc(var(--j) * 5.4), #120c06 calc(var(--j) * 5.4) calc(var(--j) * 5.52),
    #c9c2ad calc(var(--j) * 5.52) calc(var(--j) * 6.3), #120c06 calc(var(--j) * 6.3) calc(var(--j) * 6.42));
}
#hallBoutiqueV448 [data-hl-decor="code"] .hl-etageres i:nth-child(2) { background-position: calc(var(--hl-u) * -2.6) 0; }
#hallBoutiqueV448 [data-hl-decor="code"] .hl-etageres i:nth-child(3) { background-position: calc(var(--hl-u) * -4.9) 0; }

/* ================================================= V449 — LE PLAN DU TRAJET (la seconde vue du hall)
   Le quartier vu de haut : une image (pixel art de Google Flow) qui couvre la scène, le pointillé
   du trajet par-dessus, et une bande par arrêt, posée sur son bâtiment d'après ses coordonnées
   dans l'image. --hl-s = la taille à l'écran d'un pixel de l'image (elle couvre la scène, centrée :
   le même calcul que « slice » dans le SVG). La fiche de chaque arrêt est au pied de sa bande. */
#hallBoutiqueV448 .hl-plan {
  --hl-s: max(100cqw / 1376, 100cqh / 768);
  display: block;
  background: #07100f;
}
#hallBoutiqueV448 .hl-plan::before,
#hallBoutiqueV448 .hl-plan::after { display: none; }
#hallBoutiqueV448 .hl-carte { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#hallBoutiqueV448 .hl-carte image { image-rendering: pixelated; }
#hallBoutiqueV448 .hl-trajet-fond { fill: none; stroke: rgba(5, 6, 12, 0.5); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
#hallBoutiqueV448 .hl-trajet {
  fill: none;
  stroke: var(--hl-ampoule);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 0.1 19;
  filter: drop-shadow(0 0 5px rgba(255, 227, 158, 0.85));
}
#hallBoutiqueV448 .hl-arrets { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
#hallBoutiqueV448 .hl-plan .hl-cinema { --c: var(--hl-ampoule); }
/* La bande d'un arrêt : du haut de son bâtiment au bas de la scène (un seul bouton, une grande cible). */
#hallBoutiqueV448 .hl-etape {
  position: absolute;
  left: calc(50cqw + (var(--x) - 688) * var(--hl-s));
  top: calc(50cqh + (var(--y) - 384) * var(--hl-s));
  bottom: calc(var(--hl-u) * 1.4);
  width: calc(var(--l) * var(--hl-s));
  translate: -50% 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
#hallBoutiqueV448 button.hl-etape { cursor: pointer; }
#hallBoutiqueV448 button.hl-etape:active { transform: none; }
#hallBoutiqueV448 .hl-etape:focus-visible { outline: none; }
/* Le fil pointillé qui descend du bâtiment à sa fiche. */
#hallBoutiqueV448 .hl-etape::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: calc(var(--h) * var(--hl-s));
  bottom: 0;
  border-left: 2px dotted color-mix(in srgb, var(--c) 78%, transparent);
}
#hallBoutiqueV448 .hl-batisse {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--h) * var(--hl-s));
  border: 2px solid transparent;
  border-radius: calc(var(--hl-u) * 0.9);
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
#hallBoutiqueV448 button.hl-etape:is(:hover, :focus-visible) .hl-batisse {
  border-color: var(--c);
  background-color: color-mix(in srgb, var(--c) 12%, transparent);
  box-shadow: 0 0 calc(var(--hl-u) * 1.8) color-mix(in srgb, var(--c) 55%, transparent);
}
#hallBoutiqueV448 .hl-fiche {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  display: grid;
  justify-items: start;
  gap: calc(var(--hl-u) * 0.25);
  box-sizing: border-box;
  width: max-content;
  min-width: min(100%, 21cqw);
  max-width: 21.5cqw;
  padding: calc(var(--hl-u) * 0.8) calc(var(--hl-u) * 1);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  border-radius: calc(var(--hl-u) * 0.8);
  background: rgba(6, 8, 14, 0.92);
  box-shadow: 0 calc(var(--hl-u) * 0.5) calc(var(--hl-u) * 1.4) rgba(0, 0, 0, 0.55);
}
#hallBoutiqueV448 .hl-etape:focus-visible .hl-fiche { outline: 3px solid #ffffff; outline-offset: 2px; }
#hallBoutiqueV448 .hl-pl-nom {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font: 400 clamp(9px, calc(var(--hl-u) * 1.05), 14px)/1.3 var(--tl-pixel, "Press Start 2P", ui-monospace, monospace);
  color: color-mix(in srgb, var(--c) 30%, #ffffff);
}
#hallBoutiqueV448 .hl-pl-nom i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.9em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  color: #0b0b0d;
  font-style: normal;
}
#hallBoutiqueV448 .hl-pl-nom b { font-weight: 400; }
#hallBoutiqueV448 .hl-pl-fait { font: 700 clamp(13px, calc(var(--hl-u) * 1.5), 20px)/1.2 var(--tl-ui, "Barlow", sans-serif); color: #ffffff; }
#hallBoutiqueV448 .hl-pl-detail { font: 600 clamp(11px, calc(var(--hl-u) * 1.1), 15px)/1.25 var(--tl-ui, "Barlow", sans-serif); color: var(--hl-ampoule); font-variant-numeric: tabular-nums; }
#hallBoutiqueV448 .hl-pl-plus { font: 500 clamp(11px, calc(var(--hl-u) * 1), 14px)/1.25 var(--tl-ui, "Barlow", sans-serif); color: var(--tl-texte-2, #b0b9c9); overflow-wrap: anywhere; }
#hallBoutiqueV448 .hl-pl-entrer {
  margin-top: calc(var(--hl-u) * 0.35);
  padding: 0.4em 0.95em;
  border: 1px solid color-mix(in srgb, var(--c) 72%, transparent);
  border-radius: 999px;
  font: 600 clamp(11px, calc(var(--hl-u) * 1.1), 15px)/1.2 var(--tl-ui, "Barlow", sans-serif);
  color: color-mix(in srgb, var(--c) 40%, #ffffff);
  transition: background-color 140ms ease, color 140ms ease;
}
#hallBoutiqueV448 button.hl-etape:is(:hover, :focus-visible) .hl-pl-entrer { background: var(--c); border-color: var(--c); color: #0b0b0d; }
/* Sur le plan, le cadeau du jour se lit en haut (le bas est aux fiches). */
#hallBoutiqueV448 .hl-plan .hl-note { position: absolute; left: 50%; top: calc(var(--hl-u) * 1.2); translate: -50% 0; width: max-content; max-width: calc(100% - 4 * var(--hl-u)); }
/* L'arrivée sur le plan : le pointillé avance le long de la route, les fiches se posent l'une après l'autre. */
@keyframes hl-marche { from { stroke-dashoffset: 190; opacity: 0.25; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes hl-fiche { from { opacity: 0; } to { opacity: 1; } }
#hallBoutiqueV448.hl-allumage:not(.hl-calme) .hl-trajet { animation: hl-marche 1500ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
#hallBoutiqueV448.hl-allumage:not(.hl-calme) .hl-fiche { animation: hl-fiche 360ms ease-out both; animation-delay: calc(var(--hl-rang, 0) * 170ms + 160ms); }

/* ------------------------------------------------- l'arrivée dans la rue : les enseignes s'allument l'une après l'autre */
@keyframes hl-neon { 0% { opacity: 0.12; } 18% { opacity: 1; } 27% { opacity: 0.2; } 41% { opacity: 1; } 52% { opacity: 0.4; } 62%, 100% { opacity: 1; } }
@keyframes hl-vitrine { from { filter: brightness(0.3); } to { filter: brightness(1); } }
#hallBoutiqueV448.hl-allumage:not(.hl-calme) .hl-enseigne b { animation: hl-neon 640ms steps(1, end) both; animation-delay: calc(var(--hl-rang, 0) * 150ms + 100ms); }
#hallBoutiqueV448.hl-allumage:not(.hl-calme) .hl-vitrine { animation: hl-vitrine 480ms ease-out both; animation-delay: calc(var(--hl-rang, 0) * 150ms + 240ms); }
@media (prefers-reduced-motion: reduce) {
  #hallBoutiqueV448.hl-allumage .hl-enseigne b,
  #hallBoutiqueV448.hl-allumage .hl-vitrine,
  #hallBoutiqueV448.hl-allumage .hl-trajet,
  #hallBoutiqueV448.hl-allumage .hl-fiche { animation: none; }
  #hallBoutiqueV448 .hl-vitrine, #hallBoutiqueV448 .hl-entrer, #hallBoutiqueV448 .hl-cadre, #hallBoutiqueV448 .hl-batisse, #hallBoutiqueV448 .hl-pl-entrer, #lieuxBoutiqueV448 .hl-lieu { transition: none; }
}

/* ------------------------------------------------- scène basse (paysage de petit téléphone) : des vitrines moins hautes */
@container hl (max-height: 300px) {
  #hallBoutiqueV448 .hl-cinema .hl-vitrine { min-height: 0; }
  #hallBoutiqueV448 .hl-teleachat .hl-vitrine { min-height: 26cqh; }
  #hallBoutiqueV448 .hl-graveur .hl-vitrine { min-height: 34cqh; }
  #hallBoutiqueV448 .hl-videoclub .hl-vitrine { min-height: 28cqh; }
  /* Le plan : des fiches de deux lignes et demie (le nom, le fait, le détail), sans le bouton dessiné. */
  #hallBoutiqueV448 .hl-pl-entrer,
  #hallBoutiqueV448 .hl-pl-plus { display: none; }
  #hallBoutiqueV448 .hl-fiche { gap: 1px; padding: calc(var(--hl-u) * 0.7) calc(var(--hl-u) * 1.1); }
  #hallBoutiqueV448 .hl-etape { bottom: calc(var(--hl-u) * 0.8); }
}

/* ------------------------------------------------- portrait : la rue se plie en deux rangées et défile */
@container hl (max-width: 620px) {
  #hallBoutiqueV448 .hl-scene {
    --hl-u: 2.1cqw;
    --hl-chaussee: auto;
    display: block;
    overflow-y: auto;
  }
  #hallBoutiqueV448 .hl-scene::before,
  #hallBoutiqueV448 .hl-scene[data-hl-decor="code"]::before,
  #hallBoutiqueV448 .hl-scene::after { display: none; }
  #hallBoutiqueV448 .hl-facades { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: calc(var(--hl-u) * 2.4); padding-top: calc(var(--hl-u) * 2); overflow: visible; }
  #hallBoutiqueV448 .hl-cinema { grid-column: 1 / -1; }
  #hallBoutiqueV448 .hl-videoclub { grid-column: 1 / -1; }
  #hallBoutiqueV448 .hl-cinema .hl-vitrine { min-height: 0; }
  #hallBoutiqueV448 :is(.hl-teleachat, .hl-graveur, .hl-videoclub) .hl-vitrine { min-height: calc(var(--hl-u) * 16); }
  #hallBoutiqueV448 .hl-chaussee { display: block; height: calc(var(--hl-u) * 5); }
  #hallBoutiqueV448 .hl-chaussee i { display: none; }
  #hallBoutiqueV448 .hl-note { position: relative; display: block; margin: calc(var(--hl-u) * -4.2) auto calc(var(--hl-u) * 1.2); width: fit-content; }
  /* Le plan : la carte entière en haut, puis les quatre arrêts en liste, dans l'ordre du trajet. */
  #hallBoutiqueV448 .hl-plan .hl-carte { position: static; height: auto; aspect-ratio: 1376 / 768; }
  #hallBoutiqueV448 .hl-plan .hl-arrets { position: static; display: grid; gap: calc(var(--hl-u) * 1.6); padding: calc(var(--hl-u) * 2) calc(var(--hl-u) * 2.4) calc(var(--hl-u) * 3); pointer-events: auto; }
  #hallBoutiqueV448 .hl-plan .hl-etape { position: static; display: block; width: 100%; translate: none; }
  #hallBoutiqueV448 .hl-plan .hl-etape::before,
  #hallBoutiqueV448 .hl-plan .hl-batisse { display: none; }
  #hallBoutiqueV448 .hl-plan .hl-fiche { position: static; translate: none; width: auto; min-width: 0; max-width: none; padding: calc(var(--hl-u) * 1.6) calc(var(--hl-u) * 2); }
  #hallBoutiqueV448 .hl-plan .hl-note { position: static; translate: none; display: block; width: fit-content; max-width: none; margin: calc(var(--hl-u) * 1.6) auto 0; }
}
