/* ==========================================================================
   Saisons LMDB · Halloween — décors animés communs à tous les thèmes
   (scène d'accueil et mobile de berceau, chauves-souris, araignée, Boubou, pluie de bonbons,
   chaudron, chasse aux citrouilles, dock, dialogue, mode calme). Les couleurs du thème
   lui-même sont dans skin-<thème>.css. Fichier généré depuis lmdb-halloween.css du kit.
   ========================================================================== */

/* Jetons Halloween (décors) */
.hw-root, body.aesthetic-halloween {
  --hw-night: #1B1340;
  --hw-night-2: #251A55;
  --hw-night-3: #140E31;
  --hw-dusk: #3B2A78;
  --hw-plum: #6A4FC4;
  --hw-pumpkin: #FF7A1A;
  --hw-pumpkin-2: #FF9A4D;
  --hw-moon: #FFE7A3;
  --hw-ghost: #F6F2FF;
  --hw-mist: #C9BEF0;
  --hw-potion: #8DF0C3;
  --hw-candy: #FF8FCB;
  --hw-plate: #FBF8FF;
  --hw-plate-ink: #241B4D;
  --hw-plate-muted: #5D5486;          /* 7:1 sur la plaque */
  --hw-title: "Griffy", "Marhey", "Gluten", cursive;
  --hw-round: "Gluten", "Marhey", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --hw-text: "Baloo Bhaijaan 2", "Marhey", system-ui, sans-serif;
  --hw-radius: 22px;
  --hw-shadow: 0 18px 40px rgba(8, 4, 30, 0.45);
  --hw-glow: 0 0 0 1px rgba(255, 231, 163, 0.25), 0 0 28px rgba(255, 154, 77, 0.35);
  --hw-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.aesthetic-halloween #header .blockcart.hw-wiggle { animation: hw-wiggle 0.7s var(--hw-spring); }
.hw-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: clamp(32px, 6vw, 72px);
  background: linear-gradient(180deg, #120C2E 0%, #1B1340 45%, #2A1D63 100%);
  color: var(--hw-ghost);
}
.hw-home__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hw-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #FFFFFF, transparent 60%),
    radial-gradient(1.6px 1.6px at 30% 70%, #FFE7A3, transparent 60%),
    radial-gradient(2px 2px at 55% 15%, #FFFFFF, transparent 60%),
    radial-gradient(1.4px 1.4px at 75% 55%, #FFFFFF, transparent 60%),
    radial-gradient(2.2px 2.2px at 90% 30%, #FFE7A3, transparent 60%),
    radial-gradient(1.4px 1.4px at 42% 42%, #FFFFFF, transparent 60%);
  background-size: 420px 300px;
  animation: hw-twinkle 4s ease-in-out infinite alternate;
}
.hw-stars--2 { background-size: 300px 220px; background-position: 60px 40px; animation-delay: -2s; animation-duration: 5.5s; }
.hw-home__moon {
  position: absolute;
  top: clamp(24px, 6vw, 60px);
  inset-inline-end: clamp(-60px, -2vw, 20px);
  width: clamp(180px, 26vw, 360px);
  height: clamp(180px, 26vw, 360px);
  opacity: 0.9;
  filter: drop-shadow(0 0 60px rgba(255, 231, 163, 0.45));
  animation: hw-moonglow 6s ease-in-out infinite alternate;
}
.hw-home__hills { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(120px, 16vw, 220px); }
.hw-fog {
  position: absolute;
  bottom: -40px;
  width: 140%;
  height: 160px;
  left: -20%;
  background: radial-gradient(closest-side, rgba(201, 190, 240, 0.28), transparent);
  filter: blur(8px);
  animation: hw-fog 22s ease-in-out infinite alternate;
}
.hw-fog--2 { bottom: -10px; opacity: 0.6; animation-duration: 30s; animation-direction: alternate-reverse; }
.hw-home__patch { position: absolute; inset-inline: 0; bottom: 0; height: 120px; }
.hw-patch { position: absolute; --hw-face: #FFE58A; filter: drop-shadow(0 0 14px rgba(255, 154, 77, 0.7)); animation: hw-flicker 3s steps(1, end) infinite; }
.hw-patch--1 { inset-inline-start: 6%; bottom: 18px; width: 70px; height: 70px; }
.hw-patch--2 { inset-inline-start: 13%; bottom: 8px; width: 46px; height: 46px; animation-delay: -1.1s; }
.hw-patch--3 { inset-inline-end: 34%; bottom: 14px; width: 56px; height: 56px; animation-delay: -2s; }

.hw-home__grid {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
  min-height: clamp(480px, 46vw, 640px);
  padding-block: clamp(40px, 6vw, 80px) clamp(110px, 12vw, 170px);
}
.hw-home__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; z-index: 2; }
.hw-home__kicker {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.16);
  color: var(--hw-pumpkin-2);
  font: 800 0.875rem/1.3 var(--hw-text);
  letter-spacing: 0.04em;
}
.hw-home__title {
  margin: 0;
  font-family: var(--hw-title);
  font-size: clamp(3rem, 1.6rem + 5.6vw, 6.6rem);
  font-weight: 400;
  line-height: 0.98;
  color: var(--hw-ghost);
  text-shadow: 0 6px 0 rgba(8, 4, 30, 0.35);
  text-wrap: balance;
}
.hw-home__title span { display: block; color: var(--hw-pumpkin); text-shadow: 0 0 34px rgba(255, 122, 26, 0.45), 0 6px 0 rgba(8, 4, 30, 0.35); }
.hw-home__lead { max-width: 34em; margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--hw-mist); }
.hw-home__timer { margin: 0; }
.hw-home__timer .lmdb-countdown__clock {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(20, 14, 49, 0.6);
  box-shadow: inset 0 0 0 1px rgba(201, 190, 240, 0.2);
  font-size: 1.375rem;
}
.hw-home__timer .lmdb-countdown__lead { font: 600 0.9375rem var(--hw-text); color: var(--hw-mist); }
.hw-home__timer .lmdb-countdown__text { font-weight: 700; color: var(--hw-ghost); }
.hw-home__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hw-link {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--hw-moon);
  font: 700 1rem var(--hw-text);
  text-decoration: underline wavy rgba(255, 231, 163, 0.6) 1.5px;
  text-underline-offset: 6px;
  cursor: pointer;
}
.hw-home__spot { position: absolute; inset-inline-start: 22%; bottom: 26px; width: 0; height: 0; }
.hw-mobile { position: relative; height: clamp(420px, 40vw, 560px); --hw-r: clamp(120px, 11vw, 165px); }
.hw-mobile__hook {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 3px;
  height: 100px;
  margin-left: -1.5px;
  background: linear-gradient(#C9BEF0, #E9C9A0);
  border-radius: 2px;
}
.hw-mobile__hook::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF4DA, #E9C9A0 60%, #B98A55);
}
.hw-mobile__scene { position: absolute; top: 60px; left: 0; right: 0; height: 100%; perspective: 1100px; perspective-origin: 50% -60px; }
.hw-mobile__rig {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  animation: hw-spin 38s linear infinite;
}
.hw-mobile__ring,
.hw-mobile__arm { position: absolute; transform-style: preserve-3d; }
.hw-mobile__ring {
  left: calc(var(--hw-r) * -1);
  top: calc(var(--hw-r) * -1);
  width: calc(var(--hw-r) * 2);
  height: calc(var(--hw-r) * 2);
  border: 7px solid #E9C9A0;
  border-radius: 50%;
  box-sizing: border-box;
  transform: rotateX(90deg);
  box-shadow: 0 0 0 2px rgba(185, 138, 85, 0.6) inset;
}
.hw-mobile__arm {
  left: calc(var(--hw-r) * -1);
  top: -3px;
  width: calc(var(--hw-r) * 2);
  height: 6px;
  border-radius: 3px;
  background: #D8B184;
  transform: rotateX(90deg);
}
.hw-mobile__arm--2 { transform: rotateX(90deg) rotateZ(90deg); }
.hw-charm { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateY(var(--a)) translateZ(var(--hw-r)); }
.hw-charm__unrot { transform-style: preserve-3d; transform: rotateY(calc(var(--a) * -1)); }
.hw-charm__bill { transform-style: preserve-3d; animation: hw-counter 38s linear infinite; }
.hw-charm__swing {
  position: absolute;
  top: 0;
  left: -70px;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 0;
  transform: rotate(var(--hw-sw, 0deg));
}
.hw-charm__string { width: 2px; height: var(--len); background: linear-gradient(rgba(233, 201, 160, 0.9), rgba(201, 190, 240, 0.7)); }
.hw-charm__art { display: block; width: 112px; height: 112px; margin-top: -6px; cursor: pointer; pointer-events: auto; transition: transform 0.4s var(--hw-spring), filter 0.3s ease; }
.hw-charm__art--ghost { width: 100px; height: 110px; filter: drop-shadow(0 0 16px rgba(246, 242, 255, 0.35)); }
.hw-charm__art--bat { width: 140px; height: 82px; }
.hw-charm__art--star { width: 70px; height: 70px; color: var(--hw-moon); filter: drop-shadow(0 0 12px rgba(255, 231, 163, 0.8)); }
.hw-charm__art--lollipop { width: 66px; height: 110px; }
.hw-charm__art--pumpkin { --hw-face: #5A2508; }
.hw-charm.is-react .hw-charm__art--pumpkin { --hw-face: #FFE58A; filter: drop-shadow(0 0 18px rgba(255, 154, 77, 0.9)); }
.hw-charm.is-react .hw-charm__art { transform: scale(1.15); }
.hw-charm.is-react .hw-charm__art--star { transform: scale(1.3) rotate(90deg); }
.hw-charm.is-react .hw-charm__art--bat { animation: hw-flap 0.18s ease-in-out 6 alternate; }

@media (max-width: 991px) {
  .hw-home__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 150px; }
  .hw-mobile { order: -1; height: 300px; margin-top: 40px; --hw-r: 80px; }
  .hw-charm__art { width: 70px; height: 70px; }
  .hw-charm__art--bat { width: 86px; height: 50px; }
  .hw-home__moon { width: 160px; height: 160px; top: 16px; inset-inline-end: -30px; }
}
.hw-boubou {
  position: absolute;
  z-index: 4;
  width: 74px;
  height: 82px;
  pointer-events: none;
  animation: hw-float 4.2s ease-in-out infinite;
}
.hw-boubou svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(8, 4, 30, 0.5)); }
.hw-boubou--product { top: -30px; inset-inline-end: 8%; }
.hw-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  inset-inline-end: 40px;
  width: max-content;
  max-width: 220px;
  padding: 8px 12px;
  border-radius: 16px 16px 4px 16px;
  background: var(--hw-ghost);
  color: var(--hw-plate-ink);
  font: 700 0.875rem/1.3 var(--hw-text);
  box-shadow: var(--hw-shadow);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transform-origin: 90% 100%;
  transition: opacity 0.25s ease, transform 0.35s var(--hw-spring);
}
.hw-bubble.is-on { opacity: 1; transform: none; }
.hw-cauldron { position: absolute; top: 6px; inset-inline-end: 22px; z-index: 1; width: 96px; height: 84px; pointer-events: none; }
.hw-cauldron__pot { position: absolute; inset: auto 0 0; height: 70px; }
.hw-cauldron__bubble {
  position: absolute;
  bottom: 52px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hw-potion);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  animation: hw-bubble 2.4s ease-in infinite;
}
.hw-cauldron__bubble:nth-child(2) { left: 30%; animation-delay: -0.6s; width: 9px; height: 9px; }
.hw-cauldron__bubble:nth-child(3) { left: 50%; animation-delay: -1.3s; }
.hw-cauldron__bubble:nth-child(4) { left: 64%; animation-delay: -1.9s; width: 7px; height: 7px; }
.hw-thanks {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 16px 20px;
  border-radius: var(--hw-radius);
  background: var(--hw-night-2);
  color: var(--hw-ghost);
  font: 800 1.125rem var(--hw-text);
}
.hw-thanks svg { flex: none; width: 54px; height: 60px; animation: hw-float 4s ease-in-out infinite; }
.hw-notfound { display: grid; justify-items: center; gap: 10px; margin: 10px 0 24px; text-align: center; }
.hw-notfound svg { width: 120px; height: 132px; animation: hw-float 4s ease-in-out infinite; }
.hw-notfound p { margin: 0; font: 400 clamp(1.5rem, 1rem + 2vw, 2.25rem) var(--hw-title); color: var(--hw-ghost); }
.hw-footer-scene { position: relative; height: 150px; margin-top: 40px; overflow: hidden; pointer-events: none; }
.hw-footer-scene svg.hw-footer-hills { position: absolute; inset: auto 0 0; width: 100%; height: 120px; }
.hw-footer-scene .hw-patch { animation-duration: 3.6s; }
.hw-footer-scene .hw-footer-pk1 { left: 10%; bottom: 30px; width: 64px; height: 64px; }
.hw-footer-scene .hw-footer-pk2 { left: 16%; bottom: 22px; width: 40px; height: 40px; animation-delay: -1.4s; }
.hw-footer-scene .hw-footer-pk3 { right: 18%; bottom: 36px; width: 56px; height: 56px; animation-delay: -0.6s; }
.hw-footer-scene .hw-footer-pk4 { right: 8%; bottom: 26px; width: 38px; height: 38px; animation-delay: -2.2s; }
.hw-footer-scene .hw-footer-ghost { position: absolute; left: 46%; bottom: 40px; width: 50px; height: 56px; opacity: 0.85; animation: hw-drift 14s ease-in-out infinite; }
.hw-footer-spot { position: absolute; left: 62%; bottom: 34px; pointer-events: auto; }
.hw-fx { position: fixed; inset: 0; z-index: 1500; pointer-events: none; overflow: hidden; }
.hw-bat-fly { position: absolute; top: 0; left: 0; width: 70px; height: 41px; will-change: transform; }
.hw-bat-fly svg { width: 100%; height: 100%; overflow: visible; }
.hw-bat-fly .hw-bat__wing { transform-box: fill-box; animation: hw-wing 0.22s ease-in-out infinite alternate; }
.hw-bat-fly .hw-bat__wing:first-of-type { transform-origin: 100% 40%; }
.hw-bat-fly .hw-bat__wing:last-of-type { transform-origin: 0% 40%; }
.hw-spider {
  position: fixed;
  top: 0;
  inset-inline-end: clamp(14px, 4vw, 56px);
  z-index: 1400;
  width: 46px;
  pointer-events: none;
}
.hw-spider__thread { position: absolute; top: 0; left: 50%; width: 1.5px; height: 300px; margin-left: -0.75px; background: rgba(246, 242, 255, 0.55); transform-origin: 50% 0; transform: scaleY(var(--hw-drop, 0.2)); transition: transform 0.6s var(--hw-spring); }
.hw-spider__body {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(calc(var(--hw-drop, 0.2) * 300px - 8px));
  transition: transform 0.6s var(--hw-spring);
}
.hw-spider__body svg { width: 100%; height: 100%; overflow: visible; animation: hw-sway 3s ease-in-out infinite; transform-origin: 50% 0; }
.hw-spider__legs { animation: hw-legs 0.6s ease-in-out infinite alternate; transform-origin: 50% 50%; transform-box: fill-box; }
.hw-spider.is-up { --hw-drop: 0 !important; }
@media (max-width: 767px) {
  .hw-spider { top: 190px; inset-inline-end: 6px; transform: scale(0.8); transform-origin: 50% 0; }
  .hw-spider__thread { top: -190px; height: 490px; transform: scaleY(calc(0.371 + var(--hw-drop, 0.2) * 0.612)); }
}
.hw-candy-fx { position: absolute; top: 0; left: 0; width: 26px; height: 26px; will-change: transform, opacity; }
.hw-candy-fx svg { width: 100%; height: 100%; }
.hw-spark { position: absolute; top: 0; left: 0; width: 12px; height: 12px; color: var(--hw-moon); will-change: transform, opacity; }
.hw-spark svg { width: 100%; height: 100%; }
.hw-peek {
  position: absolute;
  z-index: 2;
  bottom: -60px;
  inset-inline-end: 10px;
  width: 54px;
  height: 60px;
  pointer-events: none;
  transition: transform 0.45s var(--hw-spring);
}
.hw-peek svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(36, 27, 77, 0.25)); }
.product-miniature .thumbnail-container:hover .hw-peek,
.product-miniature .thumbnail-container:focus-within .hw-peek,
.lmdb-card:hover .hw-peek,
.hw-peek.is-peek { transform: translateY(-52px) rotate(-6deg); }
.hw-logo-peek {
  position: absolute;
  top: 50%;
  inset-inline-end: -8px;
  z-index: -1;
  width: 48px;
  height: 28px;
  pointer-events: none;
  transform: translate(0, -50%) scale(0.4);
  opacity: 0;
  transition: transform 0.45s var(--hw-spring), opacity 0.2s ease;
}
.hw-logo-peek svg { width: 100%; height: 100%; }
#_desktop_logo:hover .hw-logo-peek,
#_desktop_logo:focus-within .hw-logo-peek { opacity: 1; transform: translate(34px, -90%) scale(1) rotate(10deg); }
.hw-hunt {
  position: absolute;
  z-index: 6;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  --hw-face: #5A2508;
  animation: hw-bob 3s ease-in-out infinite;
  transition: transform 0.4s var(--hw-spring), filter 0.3s ease;
}
.hw-hunt svg { width: 100%; height: 100%; pointer-events: none; }
.hw-hunt:hover { transform: scale(1.15) rotate(-6deg); }
.hw-hunt.is-lit {
  --hw-face: #FFE58A;
  cursor: default;
  filter: drop-shadow(0 0 14px rgba(255, 154, 77, 0.95));
  animation: hw-flicker 2.6s steps(1, end) infinite;
}
.hw-hunt.is-pop { animation: hw-pop 0.6s var(--hw-spring); }

.hw-dock {
  position: fixed;
  inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 1450;
  display: flex;
  gap: 8px;
  transition: transform 0.3s ease;
}
body.hw-has-sticky .hw-dock { transform: translateY(-78px); }
.hw-dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px 6px 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(37, 26, 85, 0.92);
  color: var(--hw-ghost);
  font: 800 0.875rem var(--hw-text);
  box-shadow: 0 8px 24px rgba(8, 4, 30, 0.5), inset 0 0 0 1px rgba(201, 190, 240, 0.2);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hw-dock__btn svg { width: 30px; height: 30px; flex: none; }
.hw-dock__btn--calm { padding-inline: 10px; }
.hw-dock__btn--calm svg { width: 24px; height: 24px; }
.hw-dock__btn.is-done { background: var(--hw-pumpkin); color: var(--hw-night); }

.hw-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--hw-night-2);
  color: var(--hw-ghost);
  box-shadow: 0 40px 100px rgba(8, 4, 30, 0.7), inset 0 0 0 1px rgba(201, 190, 240, 0.2);
}
.hw-dialog::backdrop { background: rgba(11, 7, 32, 0.72); }
.hw-dialog__inner { display: grid; justify-items: center; gap: 14px; padding: 30px 26px 26px; text-align: center; }
.hw-dialog__art { width: 92px; height: 100px; animation: hw-float 4s ease-in-out infinite; }
.hw-dialog h2 { margin: 0; font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem)/1.05 var(--hw-title); color: var(--hw-ghost); }
.hw-dialog p { margin: 0; color: var(--hw-mist); font-size: 1rem; line-height: 1.5; }
.hw-dialog__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hw-dialog__pumpkins { display: flex; gap: 6px; }
.hw-dialog__pumpkins svg { width: 34px; height: 34px; --hw-face: #5A2508; opacity: 0.45; }
.hw-dialog__pumpkins svg.is-lit { --hw-face: #FFE58A; opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 154, 77, 0.9)); }
.hw-code {
  padding: 10px 18px;
  border: 2px dashed var(--hw-pumpkin);
  border-radius: 14px;
  background: var(--hw-night);
  color: var(--hw-moon);
  font: 800 1.625rem var(--hw-text);
  letter-spacing: 0.12em;
  user-select: all;
}
.hw-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--hw-pumpkin);
  color: var(--hw-night);
  font: 800 0.9375rem var(--hw-text);
  text-decoration: none;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.hw-btn--ghost { background: transparent; color: var(--hw-ghost); box-shadow: inset 0 0 0 2px rgba(201, 190, 240, 0.4); }
a.hw-btn:hover { color: var(--hw-night); background: var(--hw-moon); }

.hw-toast {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 1600;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--hw-ghost);
  color: var(--hw-plate-ink);
  font: 800 0.9375rem var(--hw-text);
  box-shadow: var(--hw-shadow);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: transform 0.4s var(--hw-spring), opacity 0.25s ease;
  pointer-events: none;
}
.hw-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
@keyframes hw-spin { from { transform: rotateX(-10deg) rotateY(0deg); } to { transform: rotateX(-10deg) rotateY(360deg); } }
@keyframes hw-counter { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
@keyframes hw-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes hw-twinkle-icon { 0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.7; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@keyframes hw-moonglow { from { filter: drop-shadow(0 0 40px rgba(255, 231, 163, 0.35)); } to { filter: drop-shadow(0 0 80px rgba(255, 231, 163, 0.6)); } }
@keyframes hw-fog { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@keyframes hw-flicker { 0%, 100% { opacity: 1; } 40% { opacity: 0.86; } 42% { opacity: 1; } 70% { opacity: 0.9; } }
@keyframes hw-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
@keyframes hw-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes hw-drift { 0%, 100% { transform: translateX(-30px) translateY(0); } 50% { transform: translateX(30px) translateY(-12px); } }
@keyframes hw-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg) scale(1.1); } 40% { transform: rotate(10deg) scale(1.1); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes hw-wing { from { transform: rotate(-14deg) scaleY(1); } to { transform: rotate(16deg) scaleY(0.7); } }
@keyframes hw-flap { from { transform: scaleY(1); } to { transform: scaleY(0.6); } }
@keyframes hw-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes hw-legs { from { transform: scaleX(1); } to { transform: scaleX(0.9); } }
@keyframes hw-bubble { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-44px) scale(1.1); opacity: 0; } }
@keyframes hw-pop { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(10deg); } 100% { transform: scale(1); } }
html.lmdb-calm .hw-fx,
html.lmdb-calm .hw-spider { display: none; }
html.lmdb-calm .hw-mobile__rig { transform: rotateX(-10deg) rotateY(20deg); animation: none; }
html.lmdb-calm .hw-charm__bill { transform: rotateY(-20deg); animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hw-mobile__rig { transform: rotateX(-10deg) rotateY(20deg); animation: none !important; }
  .hw-charm__bill { transform: rotateY(-20deg); animation: none !important; }
  .hw-fx,
  .hw-spider { display: none; }
}
@media (forced-colors: active) {
  .hw-home__sky,
  .hw-fx,
  .hw-spider,
  .hw-peek,
  .hw-logo-peek { display: none; }
}
body.lang-rtl .hw-bubble { border-radius: 16px 16px 16px 4px; transform-origin: 10% 100%; }
/* Conteneur de la scène d'accueil quand elle est posée par le module */
.hw-home__date { display: inline-block; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 231, 163, 0.12); color: var(--hw-moon); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 231, 163, 0.3); }
