/* Festival démo — app.css
 * Responsive premium, mobile-first. Fond holo BOLD (4 couches).
 * Tokens et utilitaires viennent de tokens.css.
 */

/* ── Variables du fond holo (preset BOLD) ────────── */
:root {
  --holo-bg-url: url("../assets/da/holo-texture.jpg");
  --holo-bg-opacity: 0.65;
  --holo-bg-blur: 0px;
  --holo-bg-saturate: 1.1;
  --veil-top: 0.10;
  --veil-bot: 0.35;
  --dots-opacity: 0.30;
  --base-color: #d4bff0;

  --nav-h: 72px;
  --shell-max: 720px;
  --shell-max-wide: 880px;
}

/* ── Base ────────────────────────────────────────── */
html, body {
  min-height: 100%;
  min-height: 100dvh;
}
body {
  margin: 0;
  background: var(--base-color);
  font-family: var(--ff-body);
  color: var(--ink);
  overscroll-behavior-y: contain;
  -webkit-font-smoothing: antialiased;
}

/* ── Fond holo : 4 couches empilées (fixed)
 *  Ancrées sur 100lvh (large viewport height) pour ne pas re-scaler quand
 *  la barre d'URL iOS apparaît/disparaît au scroll (anti-"mini bounce"). ───── */
/* iOS Safari hotfix v26 — cluster fond aplati en 1 seule image bakée (holo-baked.jpg) :
   contient déjà saturate(1.1) + opacity 0.65 mixée à blanc + veil gradient + halftone multiply.
   Avant : 3 couches fixed (holo-texture-bg + holo-veil + body::before) avec filter + mix-blend.
   Après : 1 couche fixed simple image. Élimine le mix-blend-mode multiply fullscreen qui causait
   le crash OOM iPhone iOS 18.5 en mode PWA standalone. */
.holo-texture-bg {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;          /* fallback */
  height: 100lvh;         /* viewport max stable */
  z-index: 0;
  background-image: url("../assets/da/holo-baked.jpg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
/* .holo-veil + body::before supprimés (bakés dans holo-baked.jpg). Le DOM contient encore une
   div .holo-veil vide — laissée car inoffensive (pas de styling = display inline ignorable). */

/* ── App shell : mobile-first, scale fluide ──────── */
.app-shell {
  position: relative;
  z-index: 3;                         /* AU-DESSUS des couches fond */
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Tablet : on s'élargit, on laisse respirer */
@media (min-width: 600px) {
  .app-shell {
    max-width: var(--shell-max);
  }
}
/* Desktop : confort sans tomber dans le SaaS */
@media (min-width: 1024px) {
  :root { --nav-h: 76px; }
  .app-shell {
    max-width: var(--shell-max-wide);
  }
}

/* ── Main : padding adaptatif + room pour la navbar */
.app-main {
  position: relative;
  flex: 1 1 auto;
  padding: 14px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
@media (min-width: 600px) {
  .app-main { padding: 22px 28px calc(var(--nav-h) + 36px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1024px) {
  .app-main { padding: 28px 40px calc(var(--nav-h) + 48px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Panels (onglets) ────────────────────────────── */
.tab-panel {
  min-height: 60vh;
  animation: tab-fade .25s ease-out;
}
.tab-panel[hidden] { display: none; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* placeholder (étape 1) */
.placeholder {
  margin-top: 35vh;
  text-align: center;
  color: var(--ink-soft, #6b5a8e);
  opacity: .75;
  font-size: 12px;
}

/* ── NavBar basse fixe — adaptive ────────────────── */
.navbar {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;

  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 6px;
  align-items: stretch;
  padding-left: 6px;
  padding-right: 6px;

  background: rgba(255, 255, 255, .82);
  border-top: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 -6px 20px rgba(58, 46, 94, .08);
}

/* Tablet/Desktop : navbar = floating pill centrée */
@media (min-width: 600px) {
  .navbar {
    bottom: 18px;
    width: min(calc(100% - 36px), var(--shell-max));
    max-width: var(--shell-max);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 28px;
    height: calc(var(--nav-h) + 4px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow:
      0 12px 32px rgba(58, 46, 94, .18),
      0 2px 6px rgba(74, 168, 224, .12);
  }
}
@media (min-width: 1024px) {
  .navbar {
    bottom: 28px;
    max-width: var(--shell-max-wide);
    width: min(calc(100% - 80px), var(--shell-max-wide));
  }
}

/* Fallback opaque si pas de backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar { background: rgba(255, 246, 232, .98); }
}

.navbar-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 10px;
  min-width: 0;                 /* indispensable : sinon grid item étire selon le contenu */
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease;
}
.navbar-btn:active { transform: scale(.96); }

.navbar-emoji {
  font-size: 22px;
  line-height: 1;
  transition: transform .22s ease;
  display: inline-block;
}
.navbar-label {
  display: block;
  width: 100%;
  font-size: 8.5px;
  letter-spacing: 0;
  color: var(--ink-soft, #6b5a8e);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
/* Très petits écrans (iPhone SE 375px et moins) : on tasse un poil de plus */
@media (max-width: 374px) {
  .navbar-label { font-size: 8px; }
  .navbar-emoji { font-size: 20px; }
}
@media (min-width: 600px) {
  .navbar-label { font-size: 10.5px; letter-spacing: .04em; }
  .navbar-emoji { font-size: 24px; }
}

/* Indicateur actif */
.navbar-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--rose-deep, #d98fe0), var(--bleu-ciel, #4aa8e0));
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .25s ease;
}
.navbar-btn.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}
.navbar-btn.is-active .navbar-emoji { transform: scale(1.1); }
.navbar-btn.is-active .navbar-label { color: var(--ink); }

@media (min-width: 600px) {
  /* En mode pill, indicateur arrondi en bas plutôt qu'en haut tronqué */
  .navbar-btn::before {
    top: auto; bottom: 4px;
    left: 28%; right: 28%;
    height: 3px;
    border-radius: 4px;
  }
}

/* ── Focus visible (a11y) ────────────────────────── */
.navbar-btn:focus-visible {
  outline: 2px solid var(--bleu-ciel, #4aa8e0);
  outline-offset: -3px;
  border-radius: 12px;
}

/* ══════════════════════════════════════════════════
   ACCUEIL — Home C
   ══════════════════════════════════════════════════ */

.ls-home {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .ls-home { max-width: 460px; gap: 22px; }
}

/* ── Logo (texte, version démo) ─── */
.ls-home-logos {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1.5 / 1;
  margin: 0 auto;
}
.ls-home-logos img {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
/* Logos — iOS hotfix v27 : filter simplifié à 1 halo blanc subtil sous le logo.
   Avant : 5 drop-shadow empilés (blur jusqu'à 50px) × 2 logos = ~60-100 MB textures GPU.
   Après : 1 drop-shadow simple × 2 logos = ~5-10 MB. Retire aussi `contain: paint` + `will-change`
   (le browser décide auto de la couche GPU pour le transform: scale, plus léger). */
.ls-logo-bracket {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 3px 12px rgba(255,255,255,.75));
  animation: lesGlow 3.4s ease-in-out infinite;
}
.ls-logo-main {
  top: 44%;
  left: 50%;
  width: 112%;
  height: auto;
  /* v27.1 hotfix : retour à transform: translate() intégré dans les keyframes.
     `translate: -50% -50%` individual property était ignoré par certains iOS 18.5
     Safari quand `transform:` est animé en parallèle → logo décentré vers le bas. */
  transform: translate(-50%, -50%);
  transform-origin: center;
  z-index: 2;
  filter: drop-shadow(0 3px 14px rgba(255,255,255,.85));
  animation: logoPulse 2.8s ease-in-out infinite;
}
/* Animations transform-only : le translate(-50%, -50%) est REPÉTÉ dans chaque keyframe
   du logoPulse pour préserver le centrage même avec l'animation transform */
@keyframes logoPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes lesGlow {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.015); }
}

/* Reduced motion — opt-out total des animations logo */
@media (prefers-reduced-motion: reduce) {
  .ls-logo-bracket, .ls-logo-main { animation: none; }
}

/* ── Date pill ───────────────────────────────────── */
.ls-date-pill {
  align-self: center;
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .08em;
  background: rgba(255,255,255,.92);
  border: 1.5px solid #fff;
  border-radius: 100px;
  padding: 7px 16px;
  box-shadow: 0 6px 18px rgba(90,50,130,.22), 0 0 0 4px rgba(255,255,255,.45);
  white-space: nowrap;
}

/* ── Polaroïd hologramme ─────────────────────────── */
.ls-polaroid-wrap {
  position: relative;
  width: 210px;
  margin: 0 auto;
  transform: rotate(-3deg);
  filter:
    drop-shadow(0 10px 24px rgba(90,50,130,.38))
    drop-shadow(0 4px 8px rgba(217,143,224,.4))
    drop-shadow(0 0 2px #fff);
}
.ls-polaroid {
  position: relative;
  padding: 10px 10px 36px;
  background: linear-gradient(135deg,#fff 0%,#f5d4f7 25%,#b8dcf0 55%,#fff 80%,#f5e0a8 100%);
  border-radius: 6px;
}
.ls-polaroid-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--rose-bulle, #e9b8ee);
}
.ls-polaroid-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease-in-out;
  filter: saturate(1.05) contrast(1.02);
}
.ls-polaroid-img.is-on { opacity: 1; }
.ls-polaroid-halftone {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><circle cx='1.5' cy='1.5' r='.6' fill='%238a6ab8' opacity='.35'/></svg>");
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: .55;
  pointer-events: none;
}
.ls-polaroid-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,212,247,.2), transparent 40%, transparent 70%, rgba(184,220,240,.25));
  mix-blend-mode: screen;
  pointer-events: none;
}
.ls-polaroid-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  font-family: var(--ff-pixel);
  font-size: 8px;
  color: var(--ink-soft, #6b5a8e);
  letter-spacing: .06em;
  text-transform: lowercase;
}
.ls-polaroid-star {
  position: absolute;
  pointer-events: none;
  animation: twinkle 2.1s ease-in-out infinite;
}
.ls-polaroid-star.s1 { top: -14px; left: -16px; transform: rotate(-18deg); animation-duration: 2.1s; }
.ls-polaroid-star.s2 { top: 20px;  left: -22px; transform: rotate(8deg);   animation-duration: 2.6s; animation-delay: .4s; }
.ls-polaroid-star.s3 { bottom: 22px; right: -18px; transform: rotate(-12deg); animation-duration: 1.8s; animation-delay: .9s; }
.ls-polaroid-star.s4 { top: 60px; right: -18px; transform: rotate(20deg); animation-duration: 2.3s; animation-delay: 1.3s; }
.ls-polaroid-alien {
  position: absolute;
  bottom: -8px; right: -8px;
  font-size: 24px;
  transform: rotate(12deg);
  filter: drop-shadow(0 1px 2px rgba(217,143,224,.4));
  animation: wiggle 2.2s ease-in-out infinite;
  transform-origin: center;
}

/* ── Hero — before (gros countdown) ──────────────── */
.ls-hero { text-align: center; }
.ls-hero-label {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 6px;
  text-shadow: 0 0 6px #fff;
}
.ls-countdown-pill {
  display: inline-block;
  padding: 10px 26px;
  background: rgba(255,255,255,.95);
  border: 2px solid #fff;
  border-radius: 28px;
  box-shadow:
    0 8px 24px rgba(90,50,130,.28),
    0 0 0 4px rgba(255,255,255,.5),
    inset 0 0 0 1px rgba(217,143,224,.3);
}
.ls-countdown-num {
  font-family: var(--ff-mono);
  font-size: 58px;
  color: #d83fd0;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(217,143,224,.3);
}
.ls-countdown-unit {
  font-family: var(--ff-pixel);
  font-size: 11px;
  color: var(--ink);
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ls-countdown-sub {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink);
  margin-top: 8px;
  font-weight: 600;
  text-shadow: 0 0 8px #fff, 0 0 4px #fff;
}

/* ── Hero — during (En ce moment / Ça arrive) ───── */
.ls-during {
  display: grid;
  gap: 10px;
}
.ls-during-card {
  position: relative;
  padding: 14px 16px;
  border-radius: var(--r-card, 22px);
  background: rgba(255,255,255,.92);
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(90,50,130,.22), 0 0 0 3px rgba(255,255,255,.4);
}
.ls-during-card.is-now {
  background: linear-gradient(135deg, rgba(245,212,247,.95), rgba(184,220,240,.92));
}
.ls-during-tag {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.ls-during-title {
  font-family: var(--ff-bubble);
  color: var(--rose-deep, #d98fe0);
  font-size: 28px;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(217,143,224,.4),
    3px 4px 8px rgba(217,143,224,.35);
  -webkit-text-stroke: .5px #fff;
}
.ls-during-meta {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--ink-soft, #6b5a8e);
  margin-top: 6px;
  letter-spacing: .02em;
}
.ls-during-empty {
  text-align: center;
  color: var(--ink-soft, #6b5a8e);
  font-style: italic;
  padding: 8px 0;
}

/* ── Hero — during (titre atterrissage vendredi + live/next timeline) ───────────── */
.ls-atterrissage-title-standalone {
  padding: 6px 8px 2px;
  text-align: center;
}
.ls-atterrissage-title-standalone .ls-atterrissage-title {
  margin-bottom: 0;
}
.ls-atterrissage {
  padding: 14px 14px 10px;
  border-radius: var(--r-card, 22px);
  background: rgba(255,255,255,.55);
  border: 1.5px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(90,50,130,.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-atterrissage-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  padding: 4px 10px 5px;
  border-radius: 100px;
  background: rgba(217,143,224,.18);
  font-family: var(--ff-pixel);
  font-size: 11px;
  color: var(--rose-deep, #d98fe0);
  letter-spacing: .08em;
  text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.ls-atterrissage-title {
  font-family: var(--ff-bubble);
  color: var(--ink, #3a2e5e);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  margin-bottom: 4px;
  animation: atterrissage-title-bounce 2.4s cubic-bezier(.45, .05, .55, .95) infinite;
  transform-origin: 50% 90%;
}
@keyframes atterrissage-title-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.ls-atterrissage-hl {
  display: inline-block;
  color: #7bff6b;
  -webkit-text-stroke: 1.5px #d98fe0;
  text-shadow:
    0 0 6px rgba(123,255,107,.5),
    0 0 12px rgba(217,143,224,.35),
    0 2px 0 rgba(0,0,0,.15);
}

/* Variant "live" du tag : aligné à gauche, bullet entre "//" et le label,
   fond peach pour se démarquer du variant atterrissage (rose) */
.ls-atterrissage-tag-live {
  align-self: flex-start;
  background: rgba(255,199,176,.28);
  color: #c97a4a;
  text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.ls-live-bullet {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4757;
  box-shadow: 0 0 6px rgba(255,71,87,.75);
  animation: live-bullet-pulse 1.1s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes live-bullet-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); box-shadow: 0 0 6px rgba(255,71,87,.7); }
  50%      { opacity: .5;  transform: scale(1.35); box-shadow: 0 0 14px rgba(255,71,87,1); }
}

.ls-atterrissage-next-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 10px 4px;
  border-radius: 100px;
  background: rgba(74,168,224,.18);
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--bleu-deep, #2e7bbd);
  letter-spacing: .08em;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.ls-atterrissage > .ls-set {
  text-align: left;
}

/* ── Hero — after (merci + sondage) ───────────── */
.ls-after {
  text-align: center;
  padding: 20px 14px 22px;
  border-radius: var(--r-card, 22px);
  background: rgba(255,255,255,.55);
  border: 1.5px solid rgba(255,255,255,.75);
  box-shadow: 0 6px 18px rgba(90,50,130,.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-after-title {
  font-family: var(--ff-bubble);
  color: var(--rose-deep, #d98fe0);
  font-size: 32px;
  line-height: 1;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(217,143,224,.4),
    3px 4px 8px rgba(217,143,224,.35);
  -webkit-text-stroke: .5px #fff;
  animation: atterrissage-title-bounce 2.4s cubic-bezier(.45, .05, .55, .95) infinite;
  transform-origin: 50% 90%;
}
.ls-after-sub {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--ink);
  text-shadow: 0 0 6px #fff;
  margin-bottom: 10px;
}
.ls-after-survey {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(217,143,224,.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-after-survey-sub {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--lilas-deep, #a98ed9);
  letter-spacing: .08em;
}
.ls-after-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--rose-deep, #d98fe0), var(--bleu-ciel, #4aa8e0));
  color: #fff;
  text-decoration: none;
  font-family: var(--ff-bubble);
  font-size: 18px;
  letter-spacing: .02em;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(217,143,224,.4), 0 0 0 3px rgba(255,255,255,.4);
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-after-cta:active { transform: scale(.97); }
.ls-after-cta.is-disabled {
  background: rgba(217,143,224,.28);
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 2px 6px rgba(217,143,224,.2);
  color: var(--ink-soft, #6b5a8e);
  cursor: not-allowed;
  font: inherit;
  font-family: var(--ff-bubble);
}
.ls-after-cta-ico { font-size: 20px; line-height: 1; }
.ls-after-cta-arr { font-family: var(--ff-mono); font-size: 22px; opacity: .8; }

/* ── Hype meter ──────────────────────────────────── */
.ls-hype {
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 10px 12px;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(90,50,130,.22), 0 0 0 3px rgba(255,255,255,.4);
}
.ls-hype-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.ls-hype-label {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ls-hype-val {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: #d83fd0;
  font-weight: 700;
}
.ls-hype-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(180,140,220,.25);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
}
.ls-hype-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg,#ff6be0,#ffe066,#7bff6b,#6beaff,#c9b8e9,#ff6be0);
  background-size: 200% 100%;
  animation: rainbow-shift 3.5s linear infinite;
  width: 0;
  transition: width .8s ease-out;
}

/* ── Hype boost interactif (vendredi during — tap → sparkles → 100%) ─── */
.ls-hype-boost {
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 10px 12px 12px;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(90,50,130,.22), 0 0 0 3px rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.ls-hype-boost-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.ls-hype-boost-label {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink);
  letter-spacing: .06em;
  text-transform: lowercase;
}
.ls-hype-boost-val {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: #d83fd0;
  font-weight: 700;
}
.ls-hype-boost-bar {
  display: block;
  width: 100%;
  height: 22px;
  border-radius: 100px;
  background: rgba(180,140,220,.25);
  border: 1.5px solid rgba(255,255,255,.7);
  cursor: grab;
  padding: 3px;
  transition: transform .1s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: none; /* évite le scroll de la page pendant le drag horizontal */
  user-select: none;
}
.ls-hype-boost-bar:active { cursor: grabbing; }
.ls-hype-boost-bar:active { transform: scale(.98); }
.ls-hype-boost-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg,#ff6be0,#ffe066,#7bff6b,#6beaff,#c9b8e9,#ff6be0);
  background-size: 200% 100%;
  animation: rainbow-shift 3.5s linear infinite;
  transition: width .35s cubic-bezier(.4, 1.4, .5, 1);
  box-shadow: 0 0 8px rgba(255,107,224,.45);
}
.ls-hype-boost-msg {
  font-family: var(--ff-body);
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft, #6b5a8e);
  text-align: center;
  margin-top: 8px;
  min-height: 16px;
  transition: color .3s ease;
}
.ls-hype-boost-msg.is-final { font-style: normal; }
.ls-hype-boost.is-boosted .ls-hype-boost-bar {
  cursor: default;
  animation: hype-boosted-pulse 2.2s ease-in-out infinite;
}
.ls-hype-boost.is-boosted .ls-hype-boost-label {
  color: var(--rose-deep, #d98fe0);
  text-shadow: 0 0 4px rgba(217,143,224,.6);
}
.ls-hype-boost-msg.is-final {
  font-family: var(--ff-bubble);
  font-size: 15px;
  color: var(--rose-deep, #d98fe0);
  text-shadow: 0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff;
  animation: hype-msg-bounce .8s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes hype-boosted-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255,107,224,0), inset 0 0 4px rgba(255,255,255,.4); }
  50%      { box-shadow: 0 0 14px rgba(255,107,224,.6), inset 0 0 4px rgba(255,255,255,.4); }
}
@keyframes hype-msg-bounce {
  0%   { opacity: 0; transform: scale(.5) translateY(6px); }
  60%  { opacity: 1; transform: scale(1.1) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Tips "à tout moment" (remplace hype pendant during sam/dim) ─── */
.ls-tip {
  position: relative;
  border-radius: 18px;
  padding: 18px 16px 14px;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(217,143,224,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(74,168,224,.18) 0%, transparent 55%),
    rgba(255,255,255,.92);
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(90,50,130,.22), 0 0 0 3px rgba(255,255,255,.4);
  overflow: hidden;
}
.ls-tip::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6be0, #ffe066, #7bff6b, #6beaff, #c9b8e9, #ff6be0);
  background-size: 200% 100%;
  animation: rainbow-shift 5s linear infinite;
}
.ls-tip-tag {
  display: inline-block;
  padding: 3px 10px 4px;
  border-radius: 100px;
  background: rgba(217,143,224,.18);
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--rose-deep, #d98fe0);
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.ls-tip-slot {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-tip-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.ls-tip-item.is-active {
  opacity: 1;
  transform: translateY(0);
}
.ls-tip-ico {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}
.ls-tip-txt {
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-soft, #6b5a8e);
  text-align: left;
}

/* ── Valeurs (chips) ─────────────────────────────── */
.ls-values {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}
.ls-values .chip {
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1);
  user-select: none;
}
.ls-values .chip.is-poked {
  transform: scale(1.12);
}

/* Burst d'étincelles au clic sur une chip */
.ls-sparkle-burst {
  position: fixed;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 9999;
}
.ls-sparkle {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffe066 40%, rgba(255,220,120,0) 75%);
  filter: drop-shadow(0 0 5px rgba(255,220,120,.9)) drop-shadow(0 0 10px rgba(255,180,80,.5));
  transform: translate(-50%, -50%) scale(0);
  animation: sparkle-fly .75s cubic-bezier(.2, .8, .3, 1) forwards;
  will-change: transform, opacity;
}
@keyframes sparkle-fly {
  0%   { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 1; }
  25%  { transform: translate(calc(-50% + var(--tx) * .35), calc(-50% + var(--ty) * .35)) scale(1.2) rotate(calc(var(--rot) * .25)); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty) - 6px)) scale(.3) rotate(var(--rot)); opacity: 0; }
}

/* ── Social — avatar stack ───────────────────────── */
.ls-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(90,50,130,.14);
  align-self: center;
}
.ls-avatar-stack {
  display: flex;
}
.ls-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.ls-avatar + .ls-avatar { margin-left: -8px; }
.ls-social-text {
  font-size: 12px;
  color: var(--ink);
}
.ls-social-count {
  font-family: var(--ff-mono);
  color: var(--rose-deep, #d98fe0);
  font-size: 15px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   PROGRAMME — Programme B
   ══════════════════════════════════════════════════ */

.ls-section-head { text-align: center; margin-bottom: 14px; }
.ls-section-kicker {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .05em;
}
.ls-section-title {
  font-family: var(--ff-bubble);
  color: var(--rose-deep, #d98fe0);
  font-size: 32px;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(217,143,224,.4),
    3px 4px 8px rgba(217,143,224,.35);
  -webkit-text-stroke: .5px #fff;
  margin-top: 2px;
}

/* DayTabs */
.ls-day-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.ls-prog-tab {
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 8px 0;
  border-radius: 100px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);
  font-family: var(--ff-pixel);
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--ink-soft, #6b5a8e);
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-prog-tab.is-active {
  background: linear-gradient(135deg, var(--rose-bulle, #e9b8ee), var(--rose-deep, #d98fe0));
  border: 1.5px solid #fff;
  color: #fff;
  box-shadow: 0 3px 10px rgba(217,143,224,.35);
}
.ls-prog-tab:active { transform: scale(.97); }

/* Set cards (lignes du programme) */
.ls-prog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-set {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-card, 22px);
  /* Par défaut = sets musique (teinte rose pâle pour lier visuellement avec le filtre rose 🎧 sets) */
  background: linear-gradient(135deg, rgba(245,212,247,.6), rgba(255,255,255,.85));
  border: 1.5px solid rgba(217,143,224,.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(217,143,224,.18);
  overflow: hidden;
}
.ls-set.is-clickable { cursor: pointer; transition: transform .15s ease; }
.ls-set.is-clickable:active { transform: scale(.99); }

.ls-set-venue-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--venue-color, var(--rose-deep, #d98fe0));
  border-top-left-radius: var(--r-card, 22px);
  border-bottom-left-radius: var(--r-card, 22px);
}
.ls-set-time {
  text-align: center;
  min-width: 52px;
  padding-left: 6px;
}
.ls-set-time-h {
  font-family: var(--ff-mono);
  font-size: 18px;
  color: var(--ink-soft, #6b5a8e);
  line-height: 1;
  font-weight: 700;
}
.ls-set-time-end {
  font-family: var(--ff-pixel);
  font-size: 7px;
  color: var(--ink-soft, #8a7aa8);
  margin-top: 3px;
  letter-spacing: .04em;
}
.ls-set-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(217,143,224,.3);
}
.ls-set-body { flex: 1; min-width: 0; }
.ls-set-title {
  font-family: var(--ff-bubble);
  font-size: 15px;
  color: var(--rose-deep, #d98fe0);
  line-height: 1.15;
  letter-spacing: .01em;
}
.ls-set-ico {
  display: inline-block;
  font-family: var(--ff-body);  /* l'emoji n'utilise pas Bungee */
  font-size: 18px;
  line-height: 1;
  margin-right: 6px;
  vertical-align: -2px;
}
.ls-set-meta {
  font-family: var(--ff-pixel);
  font-size: 8px;
  color: var(--ink-soft, #8a7aa8);
  margin-top: 3px;
  letter-spacing: .04em;
  text-transform: lowercase;
}

/* Special set */
.ls-set.is-special {
  background: linear-gradient(135deg, #c9b8e9, #4aa8e0);
  border: 1.5px solid #fff;
  box-shadow: 0 6px 18px rgba(74,168,224,.3);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ls-set.is-special .ls-set-venue-bar { display: none; }
.ls-set.is-special .ls-set-time-h,
.ls-set.is-special .ls-set-time-end,
.ls-set.is-special .ls-set-title,
.ls-set.is-special .ls-set-meta {
  color: #fff;
}
.ls-set.is-special .ls-set-meta { opacity: .9; }
.ls-set.is-special .ls-set-title {
  font-family: var(--ff-bubble);
  font-size: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.ls-set.is-special .ls-set-sep { background: rgba(255,255,255,.4); }
.ls-set.is-special .ls-set-ico { font-size: 20px; }

/* Repas — lilas (distinct de musique/atelier/special, toujours visible) */
.ls-set.is-repas {
  background: linear-gradient(135deg, rgba(201,184,233,.55), rgba(245,236,255,.85));
  border: 1.5px solid rgba(169,142,217,.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(169,142,217,.2);
  padding: 8px 10px;
}
.ls-set.is-repas .ls-set-venue-bar { display: none; }
.ls-set.is-repas .ls-set-title {
  font-size: 14px;
  color: var(--ink, #3a2e5e);
}
.ls-set.is-repas .ls-set-time-h {
  color: var(--lilas-deep, #a98ed9);
  font-size: 16px;
}
.ls-set.is-repas .ls-set-sep {
  background: rgba(169,142,217,.35);
}
.ls-set.is-repas .ls-set-meta {
  color: var(--lilas-deep, #a98ed9);
}

/* Atelier — warm cream/peach (distinct mais plus doux que musique) */
.ls-set.is-atelier {
  /* backdrop-filter retiré (iOS Safari memory hotfix v25) — bg passé à .92/.7 alpha pour compenser */
  background: linear-gradient(135deg, rgba(255,246,232,.92), rgba(245,224,168,.7));
  border: 1.5px solid rgba(245,199,176,.6);
  box-shadow: 0 4px 12px rgba(245,199,176,.22);
  padding: 8px 10px;
}
.ls-set.is-atelier .ls-set-venue-bar { display: none; }
.ls-set.is-atelier .ls-set-title {
  font-size: 14px;
  color: var(--ink, #3a2e5e);
}
.ls-set.is-atelier .ls-set-time-h {
  color: #c97a4a;
  font-size: 16px;
}
.ls-set.is-atelier .ls-set-sep {
  background: rgba(201,122,74,.25);
}
.ls-set.is-atelier .ls-set-meta {
  color: #c97a4a;
}
/* ── Filtres programme ───────────────────────────── */
.ls-prog-filters {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ls-prog-filter {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.55);
  padding: 3px 9px;
  border-radius: 100px;
  cursor: pointer;
  font: inherit;
  color: var(--ink-soft, #6b5a8e);
  opacity: .55;
  transition: opacity .15s ease, transform .15s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
}
.ls-prog-filter:active { transform: scale(.96); }
.ls-prog-filter.is-active { opacity: 1; }
.ls-prog-filter-ico { font-size: 11px; line-height: 1; }
.ls-prog-filter-lbl {
  font-family: var(--ff-pixel);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: lowercase;
}

.ls-prog-filter[data-filter="musique"].is-active {
  background: linear-gradient(135deg, rgba(233,184,238,.85), rgba(217,143,224,.95));
  color: #fff;
  border-color: #fff;
  box-shadow: 0 3px 10px rgba(217,143,224,.35);
}
.ls-prog-filter[data-filter="atelier"].is-active {
  background: linear-gradient(135deg, rgba(255,246,232,.95), rgba(245,199,176,.95));
  color: #c97a4a;
  border-color: #fff;
  box-shadow: 0 3px 10px rgba(245,199,176,.4);
}
.ls-prog-filter[data-filter="special"].is-active {
  background: linear-gradient(135deg, rgba(201,184,233,.85), rgba(74,168,224,.95));
  color: #fff;
  border-color: #fff;
  box-shadow: 0 3px 10px rgba(74,168,224,.35);
}

/* Soon set (mystère verrouillé) */
.ls-set.is-soon {
  background: rgba(255,255,255,.4);
  border: 1.5px dashed var(--rose-deep, #d98fe0);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.ls-set.is-soon .ls-set-venue-bar { display: none; }
.ls-set.is-soon .ls-set-title {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--bleu-deep, #4aa8e0);
  text-transform: none;
  letter-spacing: 0;
}
.ls-set.is-soon .ls-set-time-h { color: var(--bleu-deep, #4aa8e0); }
.ls-set.is-soon .ls-set-meta { color: var(--bleu-deep, #4aa8e0); }

/* ══════════════════════════════════════════════════
   ARTISTES — grid 2 cols
   ══════════════════════════════════════════════════ */

.ls-artists-meta {
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.ls-artists-meta .chip { font-size: 9px; }

.ls-artists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .ls-artists-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 1024px) {
  .ls-artists-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

/* Cards artistes — vignette type-forward, taille fixe carrée */
.ls-art-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  padding: 10px;
  border: 1.5px solid rgba(255,255,255,.75);
  box-shadow: 0 4px 14px rgba(217,143,224,.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: var(--art-grad, linear-gradient(135deg, #d98fe0, #4aa8e0));
  font: inherit;
  color: inherit;
  text-align: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-art-card:active { transform: scale(.98); }
.ls-art-card:focus-visible { outline: 2px solid var(--bleu-ciel, #4aa8e0); outline-offset: 2px; }

/* Halftone overlay (texture pastel) — iOS hotfix v26 : mix-blend-mode: overlay retiré
   (× 15 cards = killer iOS). Opacité dot baissée 0.28 → 0.18 pour compenser le passage
   overlay → alpha blend (l'alpha blend brightens plus que l'overlay sur couleurs vives) */
.ls-art-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='2' cy='2' r='.75' fill='%23ffffff' opacity='0.18'/></svg>");
  background-size: 12px 12px;
  pointer-events: none;
}

/* Head : badge NEW si applicable (alignement top-left, hauteur fixe) */
.ls-art-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 22px;
  flex: 0 0 auto;
}
.ls-art-new {
  font-family: var(--ff-pixel);
  font-size: 8px;
  background: linear-gradient(135deg, #ff6be0, #d98fe0);
  color: #fff;
  padding: 3px 7px;
  border-radius: 100px;
  letter-spacing: .1em;
  box-shadow: 0 2px 6px rgba(217,143,224,.5);
  border: 1px solid #fff;
}

/* Body : nom au centre + kind dessous, vertically centered */
.ls-art-card-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  min-height: 0;
}
.ls-art-name {
  font-family: var(--ff-bubble);
  color: #fff;
  text-shadow:
    0 2px 0 rgba(217,143,224,.45),
    0 4px 8px rgba(217,143,224,.4),
    0 0 14px rgba(255,255,255,.55),
    -1px -1px 0 rgba(255,255,255,.7);
  -webkit-text-stroke: .5px rgba(255,255,255,.4);
  letter-spacing: .02em;
  line-height: 1;
  max-width: 100%;
  word-break: break-word;
}
.ls-art-name.sz-lg { font-size: 26px; }
.ls-art-name.sz-md { font-size: 20px; }
.ls-art-name.sz-sm { font-size: 14px; }

.ls-art-kind {
  font-family: var(--ff-pixel);
  font-size: 7.5px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 2px rgba(58,46,94,.3);
  letter-spacing: .04em;
  text-transform: lowercase;
  line-height: 1.3;
  max-width: 95%;
  /* Max 2 lignes pour les kinds longs (italo disco synthwave techno…) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* 12 dégradés cyclés */
.ls-art-grad-0  { --art-grad: linear-gradient(135deg, #d98fe0, #4aa8e0); }
.ls-art-grad-1  { --art-grad: linear-gradient(135deg, #f5c7b0, #d98fe0); }
.ls-art-grad-2  { --art-grad: linear-gradient(135deg, #b8dcf0, #c9b8e9); }
.ls-art-grad-3  { --art-grad: linear-gradient(135deg, #c9b8e9, #4aa8e0); }
.ls-art-grad-4  { --art-grad: linear-gradient(135deg, #f5d4f7, #c9b8e9); }
.ls-art-grad-5  { --art-grad: linear-gradient(135deg, #b8efd9, #4aa8e0); }
.ls-art-grad-6  { --art-grad: linear-gradient(135deg, #e9b8ee, #f5c7b0); }
.ls-art-grad-7  { --art-grad: linear-gradient(135deg, #4aa8e0, #c9b8e9); }
.ls-art-grad-8  { --art-grad: linear-gradient(135deg, #d98fe0, #c9b8e9); }
.ls-art-grad-9  { --art-grad: linear-gradient(135deg, #f5c7b0, #b8efd9); }
.ls-art-grad-10 { --art-grad: linear-gradient(135deg, #c9b8e9, #d98fe0); }
.ls-art-grad-11 { --art-grad: linear-gradient(135deg, #b8dcf0, #e9b8ee); }

/* ══════════════════════════════════════════════════
   MODAL — Fiche artiste
   ══════════════════════════════════════════════════ */

.ls-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.ls-modal.is-open { display: flex; }
@media (min-width: 600px) {
  .ls-modal { align-items: center; }
}

.ls-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 94, .55);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  animation: modal-fade .25s ease-out;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ls-modal-backdrop { background: rgba(58, 46, 94, .8); }
}

.ls-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  max-height: 92vh;
  background: var(--cream, #fff6e8);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(245,212,247,.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(184,220,240,.7) 0%, transparent 60%);
  border-top: 1.5px solid #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -16px 40px rgba(58,46,94,.32);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px calc(28px + env(safe-area-inset-bottom, 0px));
  animation: modal-slide-up .35s cubic-bezier(.22,.9,.3,1);
}
@media (min-width: 600px) {
  .ls-modal-card {
    border-radius: 28px;
    border: 1.5px solid #fff;
    max-width: 540px;
    box-shadow: 0 24px 60px rgba(58,46,94,.32);
    animation: modal-pop .3s cubic-bezier(.22,.9,.3,1);
  }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes modal-pop {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.ls-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: linear-gradient(135deg, #f5d4f7, #d98fe0);
  color: #fff;
  font-family: var(--ff-bubble);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217,143,224,.4);
  display: grid;
  place-items: center;
  z-index: 2;
  padding: 0;
}
.ls-modal-close:active { transform: scale(.94); }

.ls-modal-body { padding-top: 6px; }

/* Fiche artiste contenu */
.ls-fiche-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto 16px;
  border-radius: 24px;
  /* overflow visible : les décors animés (soucoupes/aliens) peuvent déborder */
  border: 2px solid #fff;
  box-shadow: 0 6px 22px rgba(58,46,94,.25);
}
.ls-fiche-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.ls-fiche-photo-ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-family: var(--ff-bubble);
  color: #fff;
  text-shadow: 0 2px 6px rgba(58,46,94,.3);
  border-radius: inherit;
  overflow: hidden;
}
.ls-fiche-photo-ph.is-alien {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: inherit;
  background: #050505;
  box-shadow: inset 0 0 40px rgba(123,255,107,.08), inset 0 0 0 1px rgba(123,255,107,.18);
}
.ls-fiche-photo-ph-emo {
  font-size: 64px;
  line-height: 1;
  display: inline-block;
  transform-origin: center 60%;
  animation:
    alien-search 3.6s ease-in-out infinite,
    alien-glow 2.2s ease-in-out infinite;
}
@keyframes alien-search {
  0%   { transform: translate(0, 0) rotate(-4deg); }
  20%  { transform: translate(-4px, -7px) rotate(4deg); }
  40%  { transform: translate(5px, -3px) rotate(-3deg); }
  60%  { transform: translate(-3px, -9px) rotate(6deg); }
  80%  { transform: translate(4px, -2px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(-4deg); }
}
@keyframes alien-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 8px rgba(123,255,107,.55))
      drop-shadow(0 0 18px rgba(123,255,107,.3));
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(123,255,107,.85))
      drop-shadow(0 0 30px rgba(123,255,107,.5))
      drop-shadow(0 0 50px rgba(123,255,107,.25));
  }
}
.ls-fiche-photo-ph-lbl {
  font-family: var(--ff-pixel);
  font-size: 11px;
  color: var(--glitch-green, #7bff6b);
  letter-spacing: .05em;
  text-transform: lowercase;
  text-shadow:
    0 0 4px rgba(123,255,107,.85),
    0 0 10px rgba(123,255,107,.5),
    0 1px 0 rgba(0,0,0,.35);
  animation: alien-flicker 4s steps(1) infinite;
  position: relative;
}
.ls-fiche-photo-ph-lbl::after {
  content: '▌';
  margin-left: 3px;
  color: var(--glitch-green, #7bff6b);
  text-shadow: 0 0 6px rgba(123,255,107,.8);
  animation: alien-cursor 1.1s steps(1) infinite;
}
@keyframes alien-flicker {
  0%, 91%, 100% { opacity: 1; }
  92%  { opacity: .25; }
  93%  { opacity: 1; }
  95%  { opacity: .35; transform: translateX(1px); }
  96%  { opacity: 1; transform: translateX(0); }
  97%  { opacity: .6; transform: translateX(-1px); }
  98%  { opacity: 1; transform: translateX(0); }
}
@keyframes alien-cursor {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.ls-fiche-name {
  font-family: var(--ff-bubble);
  color: var(--rose-deep, #d98fe0);
  font-size: 30px;
  line-height: 1;
  text-align: center;
  letter-spacing: .01em;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(217,143,224,.4),
    3px 4px 8px rgba(217,143,224,.35);
  -webkit-text-stroke: .5px #fff;
  margin-bottom: 10px;
}
.ls-fiche-name.is-atelier {
  color: #c97a4a;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(201,122,74,.35),
    3px 4px 8px rgba(245,199,176,.45);
}
.ls-fiche-photo-wrap.is-atelier-header {
  background: linear-gradient(135deg, #fff6e8, #f5c7b0);
}
/* Variante cosmique quand pas de photo (réutilise la scène des menus) */
.ls-fiche-photo-wrap.is-atelier-header.is-cosmic {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(245,199,176,.18) 0%, transparent 70%),
    radial-gradient(circle at 25% 25%, rgba(74,168,224,.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(217,143,224,.2) 0%, transparent 45%),
    linear-gradient(135deg, #2a1f4f 0%, #1a1535 50%, #0f0c20 100%);
}
.ls-fiche-photo-wrap.is-event-header {
  background: linear-gradient(135deg, #c9b8e9 0%, #8b9ee0 50%, #4aa8e0 100%);
}
.ls-fiche-name.is-event {
  color: var(--bleu-deep, #2e7bbd);
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(46,123,189,.3),
    3px 4px 8px rgba(74,168,224,.35);
}
.ls-fiche-contacts {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft, #6b5a8e);
  font-family: var(--ff-body);
  margin-top: 6px;
}
.ls-fiche-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.ls-fiche-kind {
  display: inline-block;
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #6b5a8e);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: .05em;
}
.ls-fiche-bio {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(255,255,255,.6);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.85);
}
.ls-fiche-bio.is-empty {
  font-style: italic;
  color: var(--ink-soft, #8a7aa8);
  text-align: center;
}
.ls-fiche-section-title {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink);
  letter-spacing: .06em;
  margin: 0 0 8px;
  text-transform: lowercase;
}
.ls-fiche-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 6px 0 18px;
}
.ls-fiche-social {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,.85);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 6px 16px rgba(58,46,94,.22),
    0 0 0 1px rgba(255,255,255,.4) inset;
  transition: transform .15s ease, box-shadow .25s ease;
  overflow: hidden;
}
.ls-fiche-social:active {
  transform: scale(.92);
  box-shadow: 0 2px 8px rgba(58,46,94,.2), 0 0 0 1px rgba(255,255,255,.4) inset;
}
/* Reflet brillant en haut (effet bouton vitrifié) */
.ls-fiche-social::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.ls-fiche-social svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}

/* Couleurs par brand (gradients adaptés à la palette holo) */
.ls-fiche-social[aria-label="instagram"] {
  background: linear-gradient(135deg, #f5d4f7 0%, #d98fe0 30%, #ff6b9d 65%, #ffa657 100%);
}
.ls-fiche-social[aria-label="soundcloud"] {
  background: linear-gradient(135deg, #ffa872 0%, #ff5500 100%);
}
.ls-fiche-social[aria-label="spotify"] {
  background: linear-gradient(135deg, #6cd087 0%, #1db954 100%);
}
.ls-fiche-social[aria-label="website"] {
  background: linear-gradient(135deg, #b8dcf0 0%, #4aa8e0 100%);
}
.ls-fiche-music {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ls-fiche-music-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(217,143,224,.4);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: transform .15s ease;
}
.ls-fiche-music-link:active { transform: scale(.99); }
.ls-fiche-music-link::after {
  content: "↗";
  margin-left: auto;
  color: var(--rose-deep, #d98fe0);
  font-family: var(--ff-mono);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════
   INFO — plan, menus, infos, sécurité
   ══════════════════════════════════════════════════ */

.ls-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ls-info-section { }
.ls-info-kicker {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink, #3a2e5e);
  letter-spacing: .06em;
  text-transform: lowercase;
  margin: 0 0 10px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255,255,255,.85);
}
/* Row du kicker + lien lat (localisation à côté de "// le site") */
.ls-info-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}
.ls-info-section-head .ls-info-kicker { margin: 0; }
.ls-info-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 5px;
  border-radius: 100px;
  background: rgba(74,168,224,.18);
  color: var(--bleu-deep, #2e7bbd);
  font-family: var(--ff-pixel);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: lowercase;
  text-decoration: none;
  border: 1px solid rgba(74,168,224,.25);
  transition: transform .15s ease, background .2s ease;
}
.ls-info-map-link:active { transform: scale(.97); }
.ls-info-map-ico { font-size: 12px; line-height: 1; }
/* Card sans head : pas de gap/padding-top inutile */
.ls-info-card.is-headless > .ls-info-card-links { margin-top: 0; }

/* Plan */
.ls-plan-frame {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255,255,255,.55);
  border: 1.5px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(180,140,220,.22);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-plan-frame:active { transform: scale(.99); }
.ls-plan-frame:focus-visible { outline: 2px solid var(--bleu-ciel, #4aa8e0); outline-offset: 2px; }
.ls-plan-frame::before {
  content: "";
  position: absolute; inset: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><circle cx='1.5' cy='1.5' r='.6' fill='%23c9b8e9' opacity='0.4'/></svg>");
  background-size: 10px 10px;
  border-radius: 12px;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .35;
  z-index: 1;
}
.ls-plan-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 0;
}
.ls-plan-expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1.5px solid #fff;
  box-shadow: 0 3px 10px rgba(58,46,94,.25);
  display: grid;
  place-items: center;
  color: var(--rose-deep, #d98fe0);
  z-index: 2;
  pointer-events: none;
}
.ls-plan-expand svg { display: block; }

/* Charte — vignette compacte (glass white harmonisée) */
.ls-charte-vignette {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(180,140,220,.18);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-charte-vignette:active { transform: scale(.99); }
.ls-charte-vignette-ico {
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Duck qui gigote (dandinement doux) */
.ls-charte-vignette-ico-img {
  height: 44px;
  width: auto;
  display: block;
  animation: duck-gigote 2.2s ease-in-out infinite;
  transform-origin: 50% 85%;
  filter: drop-shadow(0 2px 3px rgba(58,46,94,.2));
}
@keyframes duck-gigote {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(3deg)  translateY(-1px); }
}
.ls-charte-vignette-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ls-charte-vignette-title {
  font-family: var(--ff-bubble);
  font-size: 16px;
  color: var(--rose-deep, #d98fe0);
  letter-spacing: .01em;
}
.ls-charte-vignette-sub {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .05em;
  text-transform: lowercase;
}
.ls-charte-vignette-arr {
  font-size: 22px;
  color: var(--rose-deep, #d98fe0);
  font-family: var(--ff-mono);
  line-height: 1;
}

/* Charte — modal content */
.ls-fiche-photo-wrap.is-charte-header {
  background: linear-gradient(135deg, #f5d4f7, #b8dcf0);
}
.ls-fiche-name.is-charte {
  color: var(--rose-deep, #d98fe0);
  font-size: 26px;
}
.ls-charte-intro {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink, #3a2e5e);
  margin: 0 0 18px;
  padding: 0 4px;
  font-style: italic;
}
.ls-charte-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ls-charte-rule {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 3px 10px rgba(180,140,220,.15);
}
.ls-charte-rule-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ls-charte-rule-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-bulle, #e9b8ee), var(--rose-deep, #d98fe0));
  color: #fff;
  font-family: var(--ff-bubble);
  font-size: 14px;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(217,143,224,.35);
  flex: 0 0 auto;
}
.ls-charte-rule-ico {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}
.ls-charte-rule-title {
  font-family: var(--ff-bubble);
  font-size: 15px;
  color: var(--ink, #3a2e5e);
  margin: 0;
  line-height: 1.1;
  letter-spacing: .01em;
}
.ls-charte-rule-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft, #6b5a8e);
  margin: 0;
}

/* Menus — vignette compacte (glass white harmonisée) */
.ls-menus-vignette {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(180,140,220,.18);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-menus-vignette:active { transform: scale(.99); }
.ls-menus-vignette-ico {
  font-size: 28px;
  line-height: 1;
}
.ls-menus-vignette-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ls-menus-vignette-title {
  font-family: var(--ff-bubble);
  font-size: 16px;
  color: #c97a4a;
  letter-spacing: .01em;
}
.ls-menus-vignette-sub {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: #c97a4a;
  letter-spacing: .05em;
  text-transform: lowercase;
}
.ls-menus-vignette-arr {
  font-size: 22px;
  color: #c97a4a;
  font-family: var(--ff-mono);
  line-height: 1;
}

/* Menus — modal */
.ls-fiche-photo-wrap.is-menus-header {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(245,199,176,.18) 0%, transparent 70%),
    radial-gradient(circle at 25% 25%, rgba(74,168,224,.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(217,143,224,.2) 0%, transparent 45%),
    linear-gradient(135deg, #2a1f4f 0%, #1a1535 50%, #0f0c20 100%);
}

/* ── Scène cosmique menu intergalactique ─────────── */
.ls-menus-cosmic-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.ls-menus-dish {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  font-size: 76px;
  line-height: 1;
  animation:
    menus-dish-breathe 4.2s cubic-bezier(.45,.05,.55,.95) infinite,
    menus-dish-glow    4.2s ease-in-out infinite;
  z-index: 3;
  will-change: transform, filter;
}
/* Icône custom PNG (chili) → 2em de hauteur (2× l'emoji), ratio préservé */
.ls-menus-dish-img {
  height: 2em;
  width: auto;
  display: block;
  vertical-align: middle;
}
@keyframes menus-dish-breathe {
  0%   { transform: scale(1.00) rotate(-1.5deg) translateY(0); }
  25%  { transform: scale(1.04) rotate(0deg)    translateY(-2px); }
  50%  { transform: scale(1.08) rotate(1.5deg)  translateY(-4px); }
  75%  { transform: scale(1.04) rotate(0deg)    translateY(-2px); }
  100% { transform: scale(1.00) rotate(-1.5deg) translateY(0); }
}
@keyframes menus-dish-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 10px rgba(245,199,176,.55))
      drop-shadow(0 0 22px rgba(245,199,176,.3));
  }
  50% {
    filter:
      drop-shadow(0 0 18px rgba(245,199,176,.85))
      drop-shadow(0 0 38px rgba(245,199,176,.5));
  }
}
.ls-menus-saucer {
  position: absolute;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(123,255,107,.55));
  animation-name: saucer-orbit;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  z-index: 2;
}
@keyframes saucer-orbit {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25%      { transform: translate(8px, -6px) rotate(6deg); }
  50%      { transform: translate(-4px, -10px) rotate(-4deg); }
  75%      { transform: translate(-8px, -2px) rotate(10deg); }
}
.ls-menus-alien {
  position: absolute;
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(217,143,224,.55));
  animation: alien-bob 3.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes alien-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-5px) rotate(3deg); }
}
.ls-menus-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.5);
  animation-name: star-twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  z-index: 1;
}
@keyframes star-twinkle {
  0%, 100% { opacity: .25; transform: scale(.7); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

/* ── Décorations animées autour des photos de fiches (artiste / atelier / event) ── */
.ls-photo-deco-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px rgba(255,255,255,1), 0 0 10px rgba(255,255,255,.6);
  animation-name: star-twinkle;
  animation-timing-function: cubic-bezier(.5, 0, .5, 1);
  animation-iteration-count: infinite;
  z-index: 2;
  pointer-events: none;
}
.ls-photo-deco-saucer {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(123,255,107,.85)) drop-shadow(0 0 8px rgba(123,255,107,.4));
  animation: saucer-orbit 3.5s cubic-bezier(.4, 0, .2, 1) infinite;
  z-index: 2;
  pointer-events: none;
}
.ls-photo-deco-alien {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(217,143,224,.85)) drop-shadow(0 0 8px rgba(217,143,224,.4));
  animation: alien-bob 2.2s cubic-bezier(.45, .05, .55, .95) infinite;
  z-index: 2;
  pointer-events: none;
}
.ls-fiche-name.is-menus {
  color: #c97a4a;
  font-size: 26px;
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(201,122,74,.3),
    3px 4px 8px rgba(245,224,168,.5);
}
.ls-menus-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ls-menus-tab {
  border: 1px solid rgba(245,199,176,.6);
  background: rgba(255,255,255,.6);
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--ff-pixel);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: var(--ink-soft, #6b5a8e);
  transition: all .15s ease;
}
.ls-menus-tab.is-active {
  background: linear-gradient(135deg, #fff6e8, #f5c7b0);
  color: #c97a4a;
  border-color: #fff;
  box-shadow: 0 3px 8px rgba(245,199,176,.35);
}
.ls-menus-modal-meta {
  text-align: center;
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: #c97a4a;
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.ls-menus-modal-body {
  padding: 14px;
  background: rgba(255,255,255,.6);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.85);
}
.ls-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink, #3a2e5e);
}
.ls-menu-items li {
  padding-left: 14px;
  position: relative;
}
.ls-menu-items li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #c97a4a;
  font-weight: 700;
}
.ls-menu-empty {
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft, #8a7aa8);
  text-align: center;
}

/* Infos cards */
.ls-info-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-info-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(180,140,220,.18);
}
.ls-info-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ls-info-card-ico {
  font-size: 28px;
  line-height: 1;
  flex: 0 0 auto;
}
.ls-info-card-body-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ls-info-card-title {
  font-family: var(--ff-bubble);
  font-size: 16px;
  color: var(--lilas-deep, #a98ed9);
  line-height: 1.1;
  letter-spacing: .01em;
}
.ls-info-card-sub {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .05em;
  text-transform: lowercase;
}
.ls-info-card-body {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink, #3a2e5e);
}
.ls-info-card.is-locked {
  background: rgba(255,255,255,.4);
  border: 1.5px dashed var(--bleu-ciel, #4aa8e0);
}
.ls-info-card.is-locked .ls-info-card-title {
  color: var(--bleu-deep, #2e7bbd);
}
.ls-info-card.is-locked .ls-info-card-sub {
  color: var(--bleu-deep, #2e7bbd);
}

/* Liens externes dans une card info (covoit, etc.) */
.ls-info-card-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.ls-info-card-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(169,142,217,.4);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-info-card-link:active { transform: scale(.99); }
.ls-info-card-link-ico {
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  width: 24px;
  display: grid;
  place-items: center;
}
.ls-info-card-link-ico.is-social {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
}
.ls-info-card-link-ico.is-social svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  display: block;
}
.ls-info-card-link-ico.is-social.is-instagram {
  background: linear-gradient(135deg, #f5d4f7 0%, #d98fe0 30%, #ff6b9d 65%, #ffa657 100%);
}
.ls-info-card-link-ico.is-social.is-soundcloud {
  background: linear-gradient(135deg, #ffa872 0%, #ff5500 100%);
}
.ls-info-card-link-ico.is-social.is-spotify {
  background: linear-gradient(135deg, #6cd087 0%, #1db954 100%);
}
.ls-info-card-link-ico.is-social.is-website {
  background: linear-gradient(135deg, #b8dcf0 0%, #4aa8e0 100%);
}
.ls-info-card-link-lbl {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}
.ls-info-card-link-arr {
  font-family: var(--ff-mono);
  font-size: 16px;
  color: var(--lilas-deep, #a98ed9);
  flex: 0 0 auto;
}

/* Description du menu dans la modal (legacy, conservé pour compat) */
.ls-menus-modal-desc {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--ink, #3a2e5e);
  margin: 4px 0 12px;
  padding: 0 8px;
  line-height: 1.45;
}

/* Menu intergalactique — nom cosmique du plat (hero) */
.ls-menus-modal-cosmic {
  font-family: var(--ff-bubble);
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  color: var(--rose-deep, #d98fe0);
  text-shadow:
    0 1px 0 #ffffff,
    -1px -1px 0 #ffffff,
    1px -1px 0 #ffffff,
    2px 2px 0 rgba(217,143,224,.35),
    0 0 14px rgba(255,255,255,.85);
  letter-spacing: .01em;
  margin: 14px 8px 6px;
}

/* Tagline cosmique sous le nom */
.ls-menus-modal-tagline {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft, #6b5a8e);
  margin: 0 8px 14px;
  padding: 0 4px;
  line-height: 1.45;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer modal menus (note végé + disclaimer) */
.ls-menus-modal-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(217,143,224,.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.ls-menus-modal-note {
  font-size: 13px;
  color: var(--ink, #3a2e5e);
  line-height: 1.45;
  padding: 0 8px;
}
.ls-menus-modal-disclaimer {
  font-family: var(--ff-pixel);
  font-size: 9px;
  letter-spacing: .05em;
  color: var(--lilas-deep, #a98ed9);
  opacity: .85;
  text-transform: lowercase;
  padding: 0 8px;
}

/* Safety */
.ls-info-safety .ls-info-kicker {
  color: #c97a4a;
}
.ls-safety-card {
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,228,228,.7), rgba(255,246,232,.85));
  border: 1.5px solid rgba(255,180,180,.6);
  box-shadow: 0 6px 16px rgba(217,143,143,.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-safety-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid #fff;
  background: #fff;
  color: var(--ink, #3a2e5e);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  min-height: 56px;
  box-shadow: 0 3px 10px rgba(217,143,143,.15);
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-safety-btn:active { transform: scale(.98); }
.ls-safety-btn-ico {
  font-size: 26px;
  line-height: 1;
  display: inline-block;
}
.ls-safety-btn-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.ls-safety-btn-lbl {
  font-family: var(--ff-bubble);
  font-size: 14px;
  color: var(--ink, #3a2e5e);
  letter-spacing: .01em;
  line-height: 1.1;
}
.ls-safety-btn-sub {
  font-family: var(--ff-pixel);
  font-size: 8px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .04em;
  text-transform: lowercase;
}
.ls-safety-btn.is-primary {
  background: linear-gradient(135deg, #ff8a8a, #d96b6b);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(217,107,107,.35);
}
.ls-safety-btn.is-primary .ls-safety-btn-lbl,
.ls-safety-btn.is-primary .ls-safety-btn-sub {
  color: #fff;
}
.ls-safety-btn.is-112 {
  background: linear-gradient(135deg, #fff, #ffe8e8);
  border-color: rgba(217,107,107,.4);
}
.ls-safety-btn.is-112 .ls-safety-btn-lbl { color: #c92e2e; }
.ls-safety-btn.is-112 .ls-safety-btn-sub { color: #a06363; }
.ls-safety-btn.ls-safety-btn-incident {
  background: linear-gradient(135deg, #fff, rgba(245,212,247,.5));
  border-color: rgba(217,143,224,.4);
}
.ls-safety-btn.ls-safety-btn-incident .ls-safety-btn-lbl { color: var(--rose-deep, #d98fe0); }
/* État "à configurer" — on garde le visuel coloré (halo orange du parent ressort) */
.ls-safety-btn.is-disabled { cursor: not-allowed; }
.ls-safety-btn.is-disabled:active { transform: none; }
/* Quand un bouton SOS est disabled, il garde quand même son style "primary" rouge */
.ls-safety-btn.is-disabled.ls-safety-btn-incident,
.ls-safety-btn[disabled]:not(.is-primary) {
  background: linear-gradient(135deg, #fff, rgba(245,212,247,.5));
  border-color: rgba(217,143,224,.4);
}
.ls-safety-btn.is-disabled.ls-safety-btn-incident .ls-safety-btn-lbl,
.ls-safety-btn[disabled]:not(.is-primary) .ls-safety-btn-lbl {
  color: var(--rose-deep, #d98fe0);
}
/* SOS Équipe sécu disabled : on lui donne le look red primary directement */
button.ls-safety-btn.is-disabled[type="button"]:not(.ls-safety-btn-incident) {
  background: linear-gradient(135deg, #ff8a8a, #d96b6b);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(217,107,107,.35);
}
button.ls-safety-btn.is-disabled[type="button"]:not(.ls-safety-btn-incident) .ls-safety-btn-lbl,
button.ls-safety-btn.is-disabled[type="button"]:not(.ls-safety-btn-incident) .ls-safety-btn-sub {
  color: #fff;
}
.ls-safety-note {
  font-size: 12px;
  color: var(--ink-soft, #8a7aa8);
  text-align: center;
  margin: 4px 0;
  padding: 0 8px;
  line-height: 1.4;
  font-style: italic;
}

/* ── Modal sécu contacts ─────────────────────────── */
.ls-safety-modal-header {
  margin: -24px -18px 18px;
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, #ff8c7b 0%, #ff6b6b 60%, #ff5252 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #fff;
}
.ls-safety-modal-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14'><circle cx='2' cy='2' r='.9' fill='%23ffffff' opacity='0.2'/></svg>");
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ls-safety-modal-header > * { position: relative; z-index: 1; }
.ls-safety-modal-ico {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
  margin-bottom: 8px;
}
.ls-safety-modal-title {
  font-family: var(--ff-bubble);
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 6px;
  text-shadow: 0 2px 0 rgba(0,0,0,.2), 0 3px 6px rgba(0,0,0,.3);
}
.ls-safety-modal-sub {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: #fff;
  opacity: .92;
  letter-spacing: .05em;
  text-transform: lowercase;
}

.ls-safety-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.ls-safety-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,246,232,.95), rgba(255,228,228,.85));
  border: 1.5px solid rgba(255,138,138,.4);
  color: var(--ink, #3a2e5e);
  text-decoration: none;
  font: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-safety-contact:active { transform: scale(.99); }
.ls-safety-contact-ico {
  font-size: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  box-shadow: 0 2px 6px rgba(255,107,107,.18);
}
.ls-safety-contact-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ls-safety-contact-name {
  font-family: var(--ff-bubble);
  font-size: 17px;
  color: var(--ink, #3a2e5e);
  line-height: 1.1;
}
.ls-safety-contact-num {
  font-family: var(--ff-pixel);
  font-size: 11px;
  color: #c97a4a;
  letter-spacing: .04em;
}
.ls-safety-contact-arr {
  font-size: 22px;
  color: #c97a4a;
  flex: 0 0 auto;
  line-height: 1;
}

.ls-safety-modal-fallback {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px dashed rgba(58,46,94,.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-safety-modal-fallback-txt {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft, #6b5a8e);
  line-height: 1.45;
  margin: 0;
  padding: 0 8px;
}

/* ══════════════════════════════════════════════════
   ACTIVITÉS — ateliers + lots + jeux lotsof
   ══════════════════════════════════════════════════ */

.ls-act {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ls-act-section { }

/* Sub-nav (ateliers / jeux) */
.ls-act-subnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ls-act-subnav-tab {
  border: 0;
  background: transparent;
  padding: 10px 6px;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-soft, #8a7aa8);
  border-radius: 12px;
  min-height: 44px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.ls-act-subnav-tab:active { transform: scale(.97); }
.ls-act-subnav-tab.is-active {
  background: linear-gradient(135deg, var(--rose-bulle, #e9b8ee), var(--rose-deep, #d98fe0));
  color: #fff;
  box-shadow: 0 3px 10px rgba(217,143,224,.3);
}
.ls-act-subnav-ico { font-size: 16px; line-height: 1; flex: 0 0 auto; }
.ls-act-subnav-lbl {
  font-family: var(--ff-pixel);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 374px) {
  .ls-act-subnav-lbl { font-size: 8px; }
  .ls-act-subnav-ico { font-size: 14px; }
}

/* Category filter tabs (sous le sub-nav, dans le tab ateliers) */
.ls-act-cat-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ls-act-cat-tab {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.55);
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  font: inherit;
  color: var(--ink-soft, #6b5a8e);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: .65;
  transition: opacity .15s ease, transform .15s ease, box-shadow .2s ease;
  min-height: 26px;
}
.ls-act-cat-tab:active { transform: scale(.96); }
.ls-act-cat-tab.is-active {
  background: linear-gradient(135deg, var(--rose-bulle, #e9b8ee), var(--rose-deep, #d98fe0));
  color: #fff;
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 3px 8px rgba(217,143,224,.3);
}
.ls-act-cat-ico { font-size: 12px; line-height: 1; }
.ls-act-cat-lbl {
  font-family: var(--ff-pixel);
  font-size: 8.5px;
  letter-spacing: .04em;
  text-transform: lowercase;
}

/* Events section — highlighted cards (style proche du special prog) */
.ls-act-events-section { margin-bottom: 22px; }
.ls-act-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-act-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c9b8e9, #4aa8e0);
  border: 1.5px solid #fff;
  box-shadow: 0 6px 18px rgba(74,168,224,.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-act-event:active { transform: scale(.99); }
.ls-act-event-arr {
  position: relative;
  z-index: 1;
  font-family: var(--ff-mono);
  font-size: 22px;
  color: #fff;
  opacity: .8;
  line-height: 1;
  flex: 0 0 auto;
}
.ls-act-event::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='2' cy='2' r='.75' fill='%23ffffff' opacity='0.22'/></svg>");
  background-size: 12px 12px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ls-act-event-ico {
  font-size: 28px;
  line-height: 1;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.ls-act-event-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.ls-act-event-title {
  font-family: var(--ff-bubble);
  font-size: 16px;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,.25);
}
.ls-act-event-meta {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: #fff;
  opacity: .9;
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: lowercase;
}

/* Lots — section margin retravaillée car plus de h3 sur ateliers */
.ls-act-lots-section { margin-top: 4px; }
.ls-act-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-pixel);
  font-size: 12px;
  color: var(--ink, #3a2e5e);
  letter-spacing: .06em;
  text-transform: lowercase;
  margin: 0 0 6px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255,255,255,.85);
}
.ls-act-section-ico {
  font-size: 18px;
  line-height: 1;
}
.ls-act-section-sub {
  display: block;
  font-family: var(--ff-pixel);
  font-size: 11px;
  color: var(--ink, #3a2e5e);
  letter-spacing: .05em;
  text-transform: lowercase;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(184,220,240,.55), rgba(245,212,247,.55));
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 100px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(74,168,224,.18);
}

/* Ateliers cards */
.ls-act-ateliers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ls-act-atelier {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  /* backdrop-filter retiré (iOS Safari memory hotfix v25) — bg passé à .92/.7 alpha pour compenser */
  background: linear-gradient(135deg, rgba(255,246,232,.92), rgba(245,224,168,.7));
  border: 1.5px solid rgba(245,199,176,.6);
  box-shadow: 0 4px 12px rgba(245,199,176,.22);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-act-atelier:active { transform: scale(.99); }
.ls-act-atelier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.ls-act-atelier-name {
  font-family: var(--ff-bubble);
  font-size: 16px;
  color: var(--ink, #3a2e5e);
  line-height: 1.1;
  letter-spacing: .01em;
}
.ls-act-atelier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.ls-act-atelier-chips .chip { font-size: 9px; }
.ls-act-atelier-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft, #6b5a8e);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.ls-act-atelier-provider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245,199,176,.5);
}
.ls-act-atelier-provider-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(217,143,224,.25);
}
.ls-act-atelier-provider-photo.is-ph {
  display: grid;
  place-items: center;
  font-size: 18px;
  background: linear-gradient(135deg, #f5d4f7, #c9b8e9);
}
.ls-act-atelier-provider-body { flex: 1; min-width: 0; }
.ls-act-atelier-provider-kicker {
  font-family: var(--ff-pixel);
  font-size: 8px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .04em;
  text-transform: lowercase;
}
.ls-act-atelier-provider-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
}

/* Lots — grid compacte */
.ls-act-lots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 600px) {
  .ls-act-lots { grid-template-columns: repeat(3, 1fr); }
}
.ls-act-lot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 8px rgba(180,140,220,.15);
  min-width: 0;
}
.ls-act-lot-ico {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}
.ls-act-lot-name {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
  line-height: 1.2;
}
.ls-act-lot-meta {
  flex: 0 0 auto;
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--rose-deep, #d98fe0);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Jeux lotsof — cards horizontales bordure bleue */
.ls-act-games {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ls-act-game {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.85);
  border-left: 3px solid var(--bleu-ciel, #4aa8e0);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(74,168,224,.15);
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-act-game:active { transform: scale(.99); }
.ls-act-game-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #ffffff, #fbeaff 60%, #b8dcf0);
  border: 1.5px solid #fff;
  padding: 2px;
  box-shadow:
    0 3px 8px rgba(58,46,94,.18),
    inset 0 0 0 1px rgba(217,143,224,.2);
}
.ls-act-game-ico-ph {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #b8dcf0, #4aa8e0);
  font-size: 20px;
  flex: 0 0 auto;
}
.ls-act-game-ico-emo {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #fbeaff 60%, #b8dcf0);
  border: 1.5px solid #fff;
  font-size: 28px;
  flex: 0 0 auto;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(58,46,94,.18);
}

/* Groupes de jeux par catégorie */
.ls-act-games-group { margin-bottom: 20px; }
.ls-act-games-group:last-child { margin-bottom: 12px; }
.ls-act-games-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-bubble);
  font-size: 18px;
  color: var(--bleu-deep, #2e7bbd);
  margin: 0 0 10px;
  letter-spacing: .01em;
  line-height: 1.1;
  text-shadow:
    0 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    1px 2px 4px rgba(74,168,224,.35);
}
.ls-act-games-group-ico {
  font-size: 18px;
  line-height: 1;
}

/* Featured game (Mon Quiz hero) */
.ls-act-featured-game {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #f5d4f7 0%, #c9b8e9 50%, #b8dcf0 100%);
  border: 1.5px solid #fff;
  box-shadow: 0 8px 24px rgba(217,143,224,.35);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease;
}
.ls-act-featured-game::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='2' cy='2' r='.7' fill='%23ffffff' opacity='0.3'/></svg>");
  background-size: 12px 12px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ls-act-featured-game:active { transform: scale(.99); }
.ls-act-featured-game-ico {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.ls-act-featured-game-ico .ls-act-game-ico,
.ls-act-featured-game-ico .ls-act-game-ico-emo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 38px;
}
.ls-act-featured-game-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ls-act-featured-game-tag {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #6b5a8e);
  letter-spacing: .05em;
  text-transform: lowercase;
}
.ls-act-featured-game-title {
  font-family: var(--ff-bubble);
  font-size: 22px;
  color: var(--ink, #3a2e5e);
  line-height: 1;
  letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(255,255,255,.6);
}
.ls-act-featured-game-sub {
  font-size: 12px;
  color: var(--ink, #3a2e5e);
  margin: 2px 0 0;
  line-height: 1.35;
}
.ls-act-featured-game-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.92);
  border: 1.5px solid #fff;
  color: var(--rose-deep, #d98fe0);
  font-family: var(--ff-bubble);
  font-size: 12px;
  letter-spacing: .02em;
  box-shadow: 0 3px 10px rgba(58,46,94,.15);
}

/* Credit footer global (visible sur tous les onglets en bas de la zone main) */
.app-credit {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #8a7aa8);
  letter-spacing: .04em;
  text-transform: lowercase;
  text-align: center;
  margin: 28px 0 8px;
  padding: 0 16px;
  line-height: 1.4;
}
.app-credit:empty { display: none; }
.app-credit a {
  color: var(--rose-deep, #d98fe0);
  text-decoration: none;
  border-bottom: 1px dashed rgba(217,143,224,.6);
}
.app-credit a:active { opacity: .7; }
.ls-act-game-body { flex: 1; min-width: 0; }
.ls-act-game-name {
  font-family: var(--ff-bubble);
  font-size: 14px;
  color: var(--ink, #3a2e5e);
  line-height: 1.1;
}
.ls-act-game-sub {
  font-size: 11px;
  color: var(--ink-soft, #6b5a8e);
  margin-top: 3px;
  line-height: 1.3;
}
.ls-act-game-arr {
  font-family: var(--ff-mono);
  font-size: 18px;
  color: var(--bleu-ciel, #4aa8e0);
  font-weight: 700;
  flex: 0 0 auto;
}

/* ── Event modal (specials du programme) ───────── */

.ls-event-header {
  /* Break out de la padding du modal-body pour effet "poster" full-bleed top */
  margin: -24px -18px 18px;
  padding: 36px 24px 28px;
  background: linear-gradient(135deg, #2a1f4f 0%, #3a2980 40%, #4a3aa0 70%, #5a4ac0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #fff;
  isolation: isolate;
}
.ls-event-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14'><circle cx='2' cy='2' r='.9' fill='%23ffffff' opacity='0.25'/></svg>");
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
/* Fan de faisceaux disco (open stage) — fan de lumières colorées depuis le bas */
.ls-event-header::after {
  content: "";
  position: absolute;
  inset: -10% -20% 0 -20%;
  background: conic-gradient(
    from 225deg at 50% 100%,
    transparent 0deg,
    rgba(255,107,224,.85) 6deg,
    transparent 16deg,
    rgba(255,230,102,.8) 26deg,
    transparent 36deg,
    rgba(107,234,255,.85) 46deg,
    transparent 56deg,
    rgba(123,255,107,.8) 66deg,
    transparent 76deg,
    rgba(217,143,224,.85) 86deg,
    transparent 96deg,
    rgba(255,107,224,.75) 102deg,
    transparent 112deg
  );
  filter: blur(14px) saturate(1.2);
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  animation:
    stage-beams-sweep 6.5s ease-in-out infinite,
    stage-beams-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes stage-beams-sweep {
  0%, 100% { transform: rotate(-9deg) scale(1); }
  50%      { transform: rotate(9deg) scale(1.04); }
}
@keyframes stage-beams-pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: .95; }
}
.ls-event-header > * { position: relative; z-index: 1; }
.ls-event-header-ico {
  font-size: 64px;
  line-height: 1;
  filter:
    drop-shadow(0 0 14px rgba(255,255,255,.7))
    drop-shadow(0 0 28px rgba(255,200,255,.5))
    drop-shadow(0 4px 12px rgba(0,0,0,.4));
  margin-bottom: 10px;
  animation: ouverture-icon-float 3.4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes ouverture-icon-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-5px) rotate(4deg); }
}
.ls-event-header-title {
  font-family: var(--ff-bubble);
  font-size: 26px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 8px;
  text-shadow:
    0 2px 0 rgba(58,46,94,.25),
    0 3px 8px rgba(0,0,0,.3);
  -webkit-text-stroke: .5px rgba(255,255,255,.5);
}
.ls-event-header-meta {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: #fff;
  opacity: .92;
  letter-spacing: .05em;
  text-transform: lowercase;
}
.ls-event-note {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  color: var(--bleu-deep, #2e7bbd);
  margin: 0 0 12px;
  padding: 0 8px;
}
.ls-event-body-txt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
  padding: 14px;
  background: rgba(184,220,240,.35);
  border-radius: 14px;
  border: 1px solid rgba(74,168,224,.3);
}
.ls-event-lots {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(74,168,224,.4);
}
.ls-event-lots .ls-fiche-section-title {
  color: var(--bleu-deep, #2e7bbd);
  margin-bottom: 10px;
}

/* ── Inspirations (défilé) : 2 polaroids rotatés cliquables ────────── */
.ls-event-inspi {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(217,143,224,.4);
}
.ls-event-inspi-tag {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--rose-deep, #d98fe0);
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 14px;
  text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.ls-event-inspi-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  padding: 4px 6px 10px;
}
.ls-event-inspi-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 0;
  padding: 6px 6px 8px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(58,46,94,.28), 0 0 0 1px rgba(0,0,0,.05);
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform .2s ease, box-shadow .2s ease;
  max-width: 46%;
  flex: 1 1 130px;
}
.ls-event-inspi-item::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 34px; height: 12px;
  background: rgba(217,143,224,.55);
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(58,46,94,.15);
}
.ls-event-inspi-item:active {
  transform: rotate(var(--rot, 0deg)) scale(.97);
  box-shadow: 0 4px 10px rgba(58,46,94,.32);
}
.ls-event-inspi-item:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 10px 22px rgba(58,46,94,.35);
}
.ls-event-inspi-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.ls-event-inspi-cap {
  font-family: var(--ff-pixel);
  font-size: 9px;
  color: var(--ink-soft, #6b5a8e);
  letter-spacing: .05em;
  text-align: center;
  padding: 2px 0 0;
}

/* ── Surprise box (cadeau remue → tap → explosion + texte bounce) ─── */
.ls-surprise-box {
  position: relative;
  width: 100%;
  min-height: 240px;
  margin: 20px 0 8px;
  padding-top: 16px;
  border-top: 1px dashed rgba(74,168,224,.4);
  display: grid;
  place-items: center;
}
.ls-surprise-gift {
  position: relative;
  background: transparent;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2;
}
.ls-surprise-gift:active .ls-surprise-gift-emo { transform: scale(.92) rotate(-8deg); }
.ls-surprise-gift:focus-visible {
  outline: 2px solid var(--rose-deep, #d98fe0);
  outline-offset: 6px;
  border-radius: 12px;
}
.ls-surprise-gift-emo {
  display: inline-block;
  font-size: 88px;
  line-height: 1;
  filter:
    drop-shadow(0 0 12px rgba(255,200,100,.65))
    drop-shadow(0 0 24px rgba(255,150,200,.4))
    drop-shadow(0 6px 14px rgba(20,10,40,.45));
  animation: surprise-wiggle 1.6s cubic-bezier(.45,.05,.55,.95) infinite;
  transform-origin: center 80%;
  transition: transform .15s ease;
}
@keyframes surprise-wiggle {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  20%      { transform: rotate(7deg) translateY(-3px); }
  40%      { transform: rotate(-4deg) translateY(0); }
  60%      { transform: rotate(6deg) translateY(-2px); }
  80%      { transform: rotate(-3deg) translateY(0); }
}
.ls-surprise-gift-hint {
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: var(--ink-soft, #6b5a8e);
  letter-spacing: .05em;
  text-transform: lowercase;
  opacity: .9;
  animation: surprise-hint-pulse 2.2s ease-in-out infinite;
}
@keyframes surprise-hint-pulse {
  0%, 100% { opacity: .6; }
  50%      { opacity: 1; }
}

.ls-surprise-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 3;
}
.ls-surprise-burst-item {
  position: absolute;
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  transform: scale(0) translate(0, 0) rotate(0deg);
  filter: drop-shadow(0 2px 6px rgba(20,10,40,.3));
  will-change: transform, opacity;
}
.ls-surprise-text {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 88%;
  max-width: 320px;
  text-align: center;
  font-family: var(--ff-bubble);
  font-size: 22px;
  line-height: 1.15;
  color: var(--rose-deep, #d98fe0);
  text-shadow:
    0 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    2px 2px 0 rgba(217,143,224,.4),
    0 0 16px rgba(255,255,255,.95);
  opacity: 0;
  transform: scale(0);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 4;
  pointer-events: none;
}
.ls-surprise-text-line { display: block; }

/* Étoiles ambient CSS — sparkles 4-branches dorées, scintillent en continu */
.ls-surprise-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ls-surprise-star {
  position: absolute;
  pointer-events: none;
  animation-name: surprise-star-twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  transform-origin: center;
  will-change: transform, opacity;
}
/* Croix dorée → sparkle 4-branches (barre horizontale + verticale en gradient effilé) */
.ls-surprise-star::before,
.ls-surprise-star::after {
  content: '';
  position: absolute;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,210,120,.6) 25%,
    #fff7e0 50%,
    rgba(255,210,120,.6) 75%,
    transparent 100%
  );
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(255,210,120,.95), 0 0 9px rgba(255,170,90,.55);
}
.ls-surprise-star::before {
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}
.ls-surprise-star::after {
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,210,120,.6) 25%,
    #fff7e0 50%,
    rgba(255,210,120,.6) 75%,
    transparent 100%
  );
}
@keyframes surprise-star-twinkle {
  0%, 100% { opacity: .15; transform: scale(.45) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.15) rotate(35deg); }
}

/* État ouvert */
.ls-surprise-box.is-opened .ls-surprise-gift {
  opacity: 0;
  transform: scale(.3) rotate(-12deg);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.7,-.4,.7,.2);
}
.ls-surprise-box.is-opened .ls-surprise-burst-item {
  animation-name: surprise-burst-fly;
  animation-timing-function: cubic-bezier(.16, 1, .3, 1);
  animation-fill-mode: forwards;
}
/* Valeurs pré-calculées côté JS (--tx15/75/100, --ty15/75/100, --rot15/75/100)
   → plus de calc() dans transform, GPU seulement lit des px déjà résolus */
@keyframes surprise-burst-fly {
  0%   { opacity: 0; transform: scale(0) translate(0, 0) rotate(0deg); }
  15%  { opacity: 1; transform: scale(1.15) translate(var(--tx15), var(--ty15)) rotate(var(--rot15)); }
  75%  { opacity: 1; transform: scale(1) translate(var(--tx75), var(--ty75)) rotate(var(--rot75)); }
  100% { opacity: 0; transform: scale(.7) translate(var(--tx100), var(--ty100)) rotate(var(--rot100)); }
}
.ls-surprise-box.is-opened .ls-surprise-text {
  animation: surprise-text-bounce 1s cubic-bezier(.34,1.56,.64,1) .4s forwards;
}
@keyframes surprise-text-bounce {
  0%   { opacity: 0; transform: scale(0) translateY(20px); }
  55%  { opacity: 1; transform: scale(1.2) translateY(-4px); }
  72%  { opacity: 1; transform: scale(.9) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button bien visible sur le header bleu/violet de la modal event */
.ls-modal[data-variant="event"] .ls-modal-close {
  background: rgba(255,255,255,.85);
  color: var(--bleu-deep, #2e7bbd);
  border-color: #fff;
}

/* ── Image modal (plan fullscreen, zoomable) ─────── */
.ls-image-modal {
  position: fixed;
  inset: 0;
  z-index: 110;            /* au-dessus de la fiche modal */
  display: none;
  padding: 16px;
}
.ls-image-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade .2s ease-out;
}
/* Zoomé : on devient scrollable, image en taille intrinsèque (pan + scroll natifs) */
.ls-image-modal.is-open.is-zoomed {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.ls-image-modal-backdrop {
  position: fixed;        /* reste plein écran même quand on scrolle l'image zoomée */
  inset: 0;
  background: rgba(20, 12, 40, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ls-image-modal-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  cursor: zoom-in;
  user-select: none;
}
.ls-image-modal.is-zoomed .ls-image-modal-img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  cursor: zoom-out;
  border-radius: 0;
}
.ls-image-modal-close {
  position: fixed;        /* reste accessible même en mode zoomé scrollé */
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--ff-bubble);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  padding: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ls-image-modal-close:active { transform: scale(.94); }
.ls-image-modal-hint {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--ff-pixel);
  font-size: 10px;
  color: #fff;
  background: rgba(255,255,255,.15);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  letter-spacing: .05em;
  text-transform: lowercase;
  pointer-events: none;
}

/* ── SW update toast "Nouvelle version" ─────────── */
.ls-sw-toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 40px);
  width: min(calc(100% - 24px), 440px);

  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5d4f7 0%, #c9b8e9 45%, #4aa8e0 100%);
  border: 1.5px solid #fff;
  box-shadow: 0 12px 32px rgba(58,46,94,.35), 0 0 0 4px rgba(255,255,255,.35);

  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.22,.9,.3,1), opacity .25s ease-out;
}
.ls-sw-toast.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.ls-sw-toast::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><circle cx='2' cy='2' r='.7' fill='%23ffffff' opacity='0.28'/></svg>");
  background-size: 12px 12px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ls-sw-toast > * { position: relative; z-index: 1; }

.ls-sw-toast-ico {
  font-size: 32px;
  line-height: 1;
  flex: 0 0 auto;
  animation: float-y 2.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.ls-sw-toast-body {
  flex: 1;
  min-width: 0;
  color: #fff;
}
.ls-sw-toast-title {
  font-family: var(--ff-bubble);
  font-size: 15px;
  letter-spacing: .02em;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,.28);
}
.ls-sw-toast-sub {
  font-family: var(--ff-pixel);
  font-size: 8px;
  opacity: .92;
  letter-spacing: .04em;
  text-transform: lowercase;
  margin-top: 3px;
}

.ls-sw-toast-cta {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid #fff;
  color: var(--rose-deep, #d98fe0);
  font-family: var(--ff-bubble);
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.ls-sw-toast-cta:active { transform: scale(.94); }
.ls-sw-toast-cta:disabled { opacity: .55; cursor: wait; }

.ls-sw-toast-close {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--ff-bubble);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  margin-left: -2px;
}
.ls-sw-toast-close:active { transform: scale(.9); }

@media (max-width: 374px) {
  .ls-sw-toast { padding: 10px 12px; gap: 8px; }
  .ls-sw-toast-ico { font-size: 28px; }
  .ls-sw-toast-title { font-size: 13px; }
  .ls-sw-toast-cta { padding: 7px 12px; font-size: 11px; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
