.lbj-jeu {
  --lbj-primaire: var(--brand-primary, #1F6F8B);
  --lbj-secondaire: var(--brand-secondary, #6D5BD0);
  --lbj-accent: var(--brand-accent, #FF8A3D);
  --lbj-fond: var(--bg-default, #FFF8EE);
  --lbj-texte: var(--fg-on-default, #2A2A2A);
  --lbj-rayon: var(--border-radius-lg, 20px);
  --lbj-rayon-s: var(--border-radius-sm, 10px);
  --lbj-titre: var(--font-display-lg-family, "Fredoka", "Baloo 2", "Nunito", system-ui, sans-serif);
  --lbj-or: #FFD54A;
  --lbj-creme: #FFF8EE;
  --lbj-encre: #2A2A2A;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  container-type: inline-size;
  font-family: var(--lbj-titre);
  color: var(--lbj-texte);
  line-height: 1.3;
  text-align: left;
}

.lbj-jeu *,
.lbj-jeu *::before,
.lbj-jeu *::after {
  box-sizing: border-box;
}

.lbj-jeu [hidden] {
  display: none !important;
}

.lbj-jeu :where(button, a.lbj-j-btn) {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: inherit;
  line-height: inherit;
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lbj-jeu :where(h2, h3, p, ul, ol, li) {
  margin: 0;
  padding: 0;
  font-family: var(--lbj-titre);
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
  list-style: none;
}

.lbj-jeu svg {
  display: block;
  overflow: visible;
}

.lbj-jeu :focus {
  outline: none;
}

.lbj-jeu [tabindex="-1"]:focus-visible {
  outline: none;
}

.lbj-jeu :focus-visible {
  outline: 3px solid var(--lbj-accent);
  outline-offset: 3px;
}

.lbj-jeu .lbj-j-erreur {
  padding: 18px 20px;
  border: 2px solid var(--lbj-accent);
  border-radius: var(--lbj-rayon);
  background: var(--lbj-fond);
  color: var(--lbj-texte);
  font-size: 17px;
}

.lbj-jeu .lbj-j-scene {
  position: relative;
  height: clamp(520px, calc(100vh - 160px), 760px);
  height: clamp(520px, calc(100svh - 160px), 760px);
  border-radius: var(--lbj-rayon);
  overflow: hidden;
  isolation: isolate;
  color: var(--lbj-t-texte, #FFF8EE);
  background: var(--lbj-t-ciel-haut, #2B1B4A);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  box-shadow: 0 10px 30px rgba(43, 27, 74, .25);
}

.lbj-jeu .lbj-j-scene button {
  cursor: inherit;
}

.lbj-jeu .lbj-j-decor,
.lbj-jeu .lbj-j-ciel,
.lbj-jeu .lbj-j-etoiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lbj-jeu .lbj-j-ciel {
  background:
    radial-gradient(80% 50% at 85% 8%, rgba(255, 242, 196, .16), transparent 70%),
    linear-gradient(180deg, var(--lbj-t-ciel-haut) 0%, var(--lbj-t-ciel-bas) 100%);
}

.lbj-jeu .lbj-j-ciel--minuit {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(255, 213, 74, .22), transparent 70%),
    linear-gradient(180deg, var(--lbj-t-ciel-minuit) 0%, var(--lbj-t-ciel-haut) 100%);
  opacity: 0;
  transition: opacity .6s ease;
}

.lbj-jeu .lbj-j-scene.is-minuit .lbj-j-ciel--minuit {
  opacity: 1;
}

.lbj-jeu .lbj-j-etoiles {
  background-size: 160px 160px;
  opacity: .8;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 62%);
  mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 62%);
  animation: lbj-j-scintille 4s ease-in-out infinite alternate;
}

.lbj-jeu .lbj-j-scene:not([data-ecran="accueil"]):not([data-ecran="partie"]):not([data-ecran="decompte"]) .lbj-j-etoiles {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 22%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 22%);
}

.lbj-jeu .lbj-j-fond {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  transition: opacity .4s ease;
}

.lbj-jeu .lbj-j-scene:not([data-ecran="accueil"]):not([data-ecran="partie"]):not([data-ecran="decompte"]) .lbj-j-fond {
  opacity: .3;
}

.lbj-jeu .lbj-j-fond svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-lune-decor {
  position: absolute;
  top: 64px;
  right: 18px;
  width: 72px;
  filter: drop-shadow(0 0 22px rgba(255, 242, 196, .5));
  animation: lbj-j-balance 6s ease-in-out infinite;
}

.lbj-jeu .lbj-j-scene:not([data-ecran="accueil"]) .lbj-j-lune-decor {
  display: none;
}

.lbj-jeu .lbj-j-coin {
  position: absolute;
  top: 0;
  left: 0;
  width: 104px;
  height: 104px;
  z-index: 1;
  pointer-events: none;
}

.lbj-jeu .lbj-j-scene:not([data-ecran="accueil"]):not([data-ecran="partie"]) .lbj-j-coin {
  display: none;
}

.lbj-jeu .lbj-j-toile {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-araignee {
  position: absolute;
  top: 0;
  left: 58px;
  width: 34px;
  height: 92px;
  pointer-events: auto;
  transform-origin: 50% 0;
  animation: lbj-j-pendule 5s ease-in-out infinite;
}

.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-araignee {
  pointer-events: none;
}

.lbj-jeu .lbj-j-fil {
  position: absolute;
  top: 0;
  left: calc(50% - .5px);
  width: 1px;
  height: 60px;
  background: rgba(233, 225, 255, .55);
  transform-origin: 50% 0;
}

.lbj-jeu .lbj-j-bestiole {
  position: absolute;
  top: 54px;
  left: 0;
  width: 100%;
  filter: drop-shadow(0 4px 10px rgba(167, 123, 255, .55));
}

.lbj-jeu .lbj-j-joie {
  opacity: 0;
}

.lbj-jeu .lbj-j-araignee.is-coucou .lbj-j-fil {
  animation: lbj-j-fil 2.4s cubic-bezier(.3, 1.3, .5, 1);
}

.lbj-jeu .lbj-j-araignee.is-coucou .lbj-j-bestiole {
  animation: lbj-j-yoyo 2.4s cubic-bezier(.3, 1.3, .5, 1);
}

.lbj-jeu .lbj-j-araignee.is-coucou .lbj-j-oeils {
  opacity: 0;
}

.lbj-jeu .lbj-j-araignee.is-coucou .lbj-j-joie {
  opacity: 1;
}

.lbj-jeu .lbj-j-barre {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  z-index: 6;
  pointer-events: none;
}

.lbj-jeu .lbj-j-barre > * {
  pointer-events: auto;
}

.lbj-jeu .lbj-j-barre-espace {
  flex: 1;
  pointer-events: none;
}

.lbj-jeu .lbj-j-icone-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 248, 238, .14);
  color: var(--lbj-t-texte);
  transition: background .15s, transform .15s;
}

.lbj-jeu .lbj-j-icone-btn:hover {
  background: rgba(255, 248, 238, .24);
}

.lbj-jeu .lbj-j-icone-btn:active {
  transform: scale(.92);
}

.lbj-jeu .lbj-j-icone-btn svg {
  width: 24px;
  height: 24px;
}

.lbj-jeu .lbj-j-compteur,
.lbj-jeu .lbj-j-minuteur,
.lbj-jeu .lbj-j-btn-pause {
  display: none;
}

.lbj-jeu .lbj-j-scene[data-ecran="accueil"] .lbj-j-btn-accueil,
.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-btn-accueil {
  display: none;
}

.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-compteur,
.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-minuteur {
  display: flex;
}

.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-btn-pause {
  display: inline-grid;
}

.lbj-jeu .lbj-j-compteur {
  align-items: center;
  gap: 4px;
  height: 44px;
  min-width: 88px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: rgba(26, 15, 51, .55);
  border: 2px solid rgba(255, 248, 238, .2);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform-origin: 30% 50%;
  transition: color .3s;
}

.lbj-jeu .lbj-j-compteur.is-change {
  color: var(--lbj-or);
}

.lbj-jeu .lbj-j-compteur-ico svg {
  width: 30px;
  height: 30px;
}

.lbj-jeu .lbj-j-minuteur {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  align-items: center;
  gap: 6px;
}

.lbj-jeu .lbj-j-lune {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(255, 242, 196, .5);
  transition: box-shadow .6s;
}

.lbj-jeu .lbj-j-lune-dort,
.lbj-jeu .lbj-j-lune-eveil {
  position: absolute;
  inset: 0;
}

.lbj-jeu .lbj-j-lune svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-lune-eveil {
  opacity: 0;
  transition: opacity .3s;
}

.lbj-jeu .lbj-j-scene.is-minuit .lbj-j-lune-eveil {
  opacity: 1;
}

.lbj-jeu .lbj-j-scene.is-minuit .lbj-j-lune {
  box-shadow: 0 0 26px rgba(255, 213, 74, .9);
}

.lbj-jeu .lbj-j-lune-ombre {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--lbj-t-ciel-haut);
  opacity: .84;
  transform: translateX(-18%);
}

.lbj-jeu .lbj-j-secondes {
  min-width: 2ch;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: .9;
}

.lbj-jeu .lbj-j-ecran {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 60px 16px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 248, 238, .3) transparent;
}

.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-ecran {
  padding: 0;
  overflow: hidden;
}

/* Pendant le décompte et la partie, un doigt qui glisse sur le jeu ne fait pas défiler la page. */
.lbj-jeu .lbj-j-scene[data-ecran="decompte"],
.lbj-jeu .lbj-j-scene[data-ecran="decompte"] .lbj-j-ecran,
.lbj-jeu .lbj-j-scene[data-ecran="partie"],
.lbj-jeu .lbj-j-scene[data-ecran="partie"] .lbj-j-ecran {
  touch-action: none;
}

.lbj-jeu .lbj-j-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: auto;
}

.lbj-jeu .lbj-j-titre {
  font-size: clamp(26px, 7.5cqw, 34px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  color: var(--lbj-t-texte);
  text-shadow: 0 3px 0 rgba(26, 15, 51, .45);
}

.lbj-jeu .lbj-j-titre--page {
  font-size: clamp(23px, 6.4cqw, 29px);
}

.lbj-jeu .lbj-j-titre--question {
  font-size: clamp(21px, 6cqw, 26px);
  min-height: 2.24em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lbj-jeu .lbj-j-sous-titre,
.lbj-jeu .lbj-j-texte {
  font-size: 17px;
  text-align: center;
  text-wrap: balance;
}

.lbj-jeu .lbj-j-sous-titre-page {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.lbj-jeu .lbj-j-petit-titre {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  opacity: .9;
}

.lbj-jeu .lbj-j-aide {
  font-size: 14px;
  text-align: center;
  opacity: .88;
  text-wrap: balance;
}

.lbj-jeu .lbj-j-pile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.lbj-jeu .lbj-j-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transition: transform .12s, box-shadow .12s, background .15s;
}

.lbj-jeu .lbj-j-btn-ico {
  display: inline-grid;
  place-items: center;
  flex: none;
}

.lbj-jeu .lbj-j-btn-ico svg {
  width: 24px;
  height: 24px;
}

.lbj-jeu .lbj-j-btn--principal {
  background: var(--lbj-accent);
  color: var(--lbj-encre);
  box-shadow: 0 5px 0 #b9541a, 0 10px 18px rgba(26, 15, 51, .35);
}

.lbj-jeu .lbj-j-btn--principal:hover {
  background: #ff9a55;
}

.lbj-jeu .lbj-j-btn--principal:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #b9541a, 0 4px 8px rgba(26, 15, 51, .35);
}

.lbj-jeu .lbj-j-btn--grand {
  min-height: 62px;
  font-size: 23px;
}

.lbj-jeu .lbj-j-btn--second {
  font-size: 17px;
  background: linear-gradient(rgba(255, 248, 238, .13), rgba(255, 248, 238, .13)), rgba(50, 32, 88, .82);
  border: 2px solid rgba(255, 248, 238, .32);
  color: var(--lbj-t-texte);
}

.lbj-jeu .lbj-j-btn--second:hover {
  background: linear-gradient(rgba(255, 248, 238, .22), rgba(255, 248, 238, .22)), rgba(50, 32, 88, .82);
}

.lbj-jeu .lbj-j-btn--second:active {
  transform: scale(.97);
}

.lbj-jeu .lbj-j-btn--danger {
  background: linear-gradient(rgba(255, 122, 69, .16), rgba(255, 122, 69, .16)), rgba(50, 32, 88, .82);
  border: 2px solid #ff9d7a;
  color: var(--lbj-t-texte);
}

.lbj-jeu .lbj-j-btn[disabled] {
  opacity: .55;
}

.lbj-jeu .lbj-j-duo {
  display: inline-flex;
}

.lbj-jeu .lbj-j-duo svg {
  width: 22px;
  height: 26px;
}

.lbj-jeu .lbj-j-duo svg + svg {
  margin-left: -6px;
}

.lbj-jeu .lbj-j-duo-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lbj-jeu .lbj-j-duo-btn .lbj-j-btn {
  min-height: 48px;
  padding: 8px 10px;
  font-size: 16px;
}

.lbj-jeu .lbj-j-lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--lbj-t-texte);
}

.lbj-jeu .lbj-j-lien svg {
  width: 20px;
  height: 20px;
}

.lbj-jeu .lbj-j-accueil {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding-bottom: 4px;
}

.lbj-jeu .lbj-j-flotte {
  width: clamp(92px, 26cqw, 124px);
  aspect-ratio: 100 / 120;
  filter: drop-shadow(0 12px 16px rgba(26, 15, 51, .45));
  animation: lbj-j-flotte 3.2s ease-in-out infinite;
}

.lbj-jeu .lbj-j-flotte svg {
  width: 100%;
  height: 100%;
}

@media (max-height: 760px) {
  .lbj-jeu .lbj-j-accueil {
    gap: 6px;
  }

  .lbj-jeu .lbj-j-flotte {
    width: 70px;
  }
}

.lbj-jeu .lbj-j-accueil .lbj-j-titre {
  font-size: clamp(28px, 8.4cqw, 38px);
}

.lbj-jeu .lbj-j-accueil .lbj-j-sous-titre {
  margin-bottom: 6px;
}

.lbj-jeu .lbj-j-lien-album {
  margin-top: 2px;
}

.lbj-jeu .lbj-j-niveaux {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lbj-jeu .lbj-j-tuile-niveau,
.lbj-jeu .lbj-j-age {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 4px 14px 4px 8px;
  border-radius: var(--lbj-rayon);
  background: rgba(255, 248, 238, .12);
  border: 2px solid rgba(255, 248, 238, .24);
  text-align: left;
  transition: background .15s, transform .12s;
}

.lbj-jeu .lbj-j-tuile-niveau:hover,
.lbj-jeu .lbj-j-age:hover {
  background: rgba(255, 248, 238, .2);
}

.lbj-jeu .lbj-j-tuile-niveau:active,
.lbj-jeu .lbj-j-age:active {
  transform: scale(.98);
}

.lbj-jeu .lbj-j-tuile-fantome,
.lbj-jeu .lbj-j-age-fantome {
  display: grid;
  place-items: end center;
  flex: none;
  width: 60px;
  height: 58px;
}

.lbj-jeu .lbj-j-tuile-fantome svg,
.lbj-jeu .lbj-j-age-fantome svg {
  height: var(--t);
  width: auto;
  aspect-ratio: 100 / 120;
  filter: drop-shadow(0 4px 6px rgba(26, 15, 51, .4));
}

.lbj-jeu .lbj-j-tuile-texte {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lbj-jeu .lbj-j-tuile-nom {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.lbj-jeu .lbj-j-tuile-age {
  font-size: 13px;
  line-height: 1.15;
  opacity: .88;
}

.lbj-jeu .lbj-j-tuile-record,
.lbj-jeu .lbj-j-tuile-abattre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: #FFE27A;
}

.lbj-jeu .lbj-j-tuile-abattre {
  color: #ffc49b;
}

.lbj-jeu .lbj-j-etoiles-rang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.lbj-jeu .lbj-j-etoile svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-etoiles--mini .lbj-j-etoile {
  width: 16px;
  height: 16px;
}

.lbj-jeu .lbj-j-doux-mini svg {
  width: 16px;
  height: 16px;
}

.lbj-jeu .lbj-j-interrupteur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.lbj-jeu .lbj-j-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 10px;
  font-size: 17px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-switch-piste {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 248, 238, .22);
  border: 2px solid rgba(255, 248, 238, .4);
  transition: background .2s;
}

.lbj-jeu .lbj-j-switch-bouton {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lbj-creme);
  transition: transform .2s;
}

.lbj-jeu .lbj-j-switch[aria-checked="true"] .lbj-j-switch-piste {
  background: var(--lbj-accent);
  border-color: var(--lbj-accent);
}

.lbj-jeu .lbj-j-switch[aria-checked="true"] .lbj-j-switch-bouton {
  transform: translateX(18px);
}

.lbj-jeu .lbj-j-decompte,
.lbj-jeu .lbj-j-tour {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  text-align: center;
}

.lbj-jeu .lbj-j-decompte-niveau {
  font-size: 18px;
  font-weight: 600;
  opacity: .9;
}

.lbj-jeu .lbj-j-aide-jeu {
  display: flex;
  gap: 26px;
}

.lbj-jeu .lbj-j-aide-item {
  position: relative;
  width: 76px;
  height: 92px;
}

.lbj-jeu .lbj-j-aide-item > svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-aide-main {
  position: absolute;
  right: -10px;
  bottom: -4px;
  font-size: 30px;
  animation: lbj-j-tape 1s ease-in-out infinite;
}

.lbj-jeu .lbj-j-aide-croix {
  position: absolute;
  right: -8px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff7a45;
  color: #fff;
}

.lbj-jeu .lbj-j-aide-croix svg {
  width: 20px;
  height: 20px;
}

.lbj-jeu .lbj-j-aide-texte {
  font-size: 18px;
  font-weight: 500;
  text-wrap: balance;
}

.lbj-jeu .lbj-j-chiffre {
  min-height: 1.1em;
  font-size: 84px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--lbj-or);
  text-shadow: 0 5px 0 rgba(26, 15, 51, .5);
}

.lbj-jeu .lbj-j-chiffre.is-pop {
  animation: lbj-j-pop .55s cubic-bezier(.3, 1.5, .5, 1);
}

.lbj-jeu .lbj-j-partie {
  position: absolute;
  inset: 0;
}

.lbj-jeu .lbj-j-bande-ciel {
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  height: 22%;
  z-index: 3;
  pointer-events: none;
}

.lbj-jeu .lbj-j-grille {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(56px + 22%);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(var(--col), minmax(0, 1fr));
  grid-template-rows: repeat(var(--lig), minmax(0, 1fr));
  gap: 8px;
  z-index: 2;
}

.lbj-jeu .lbj-j-cachette {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  border-radius: var(--lbj-rayon-s);
  container-type: size;
  touch-action: manipulation;
}

@media (hover: hover) {
  .lbj-jeu .lbj-j-cachette:hover {
    background: rgba(255, 248, 238, .05);
  }
}

.lbj-jeu .lbj-j-boite {
  --o: min(95cqw, 72cqh);
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  pointer-events: none;
}

.lbj-jeu .lbj-j-objet {
  position: absolute;
  left: 50%;
  bottom: 2cqh;
  width: var(--o);
  height: calc(var(--o) * .8);
  transform: translateX(-50%);
}

.lbj-jeu .lbj-j-objet svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-objet--avant {
  filter: drop-shadow(0 6px 6px rgba(15, 8, 30, .35));
}

.lbj-jeu .lbj-j-trou {
  position: absolute;
  left: 50%;
  bottom: calc(2cqh + var(--o) * .32);
  width: calc(var(--o) * .9);
  height: calc(var(--o) * 1.02);
  transform: translateX(-50%);
  overflow: hidden;
}

.lbj-jeu .lbj-j-bete {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(var(--o) * .7);
  aspect-ratio: 100 / 120;
  margin-left: calc(var(--o) * -.35);
  transform: translateY(110%);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.lbj-jeu .lbj-j-bete svg,
.lbj-jeu .lbj-j-drap svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-cachette[data-bete="dore"] .lbj-j-bete {
  filter: drop-shadow(0 0 10px rgba(255, 213, 74, .85));
}

.lbj-jeu .lbj-j-cachette[data-bete="invite"] .lbj-j-bete {
  filter: drop-shadow(0 0 8px rgba(167, 123, 255, .9));
}

.lbj-jeu .lbj-j-drap {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
}

.lbj-jeu .lbj-j-zzz {
  animation: lbj-j-zzz 1.8s ease-in-out infinite;
  transform-box: fill-box;
}

.lbj-jeu .lbj-j-bulle {
  position: absolute;
  left: 50%;
  top: 2cqh;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 14px 14px 14px 4px;
  background: var(--lbj-creme);
  color: #2a2140;
  font-size: clamp(13px, 13cqw, 18px);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px) scale(.6);
  pointer-events: none;
  box-shadow: 0 3px 0 rgba(26, 15, 51, .4);
}

.lbj-jeu .lbj-j-bulle.is-on {
  animation: lbj-j-bulle .9s cubic-bezier(.3, 1.5, .5, 1) forwards;
}

.lbj-jeu .lbj-j-chauve {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: none;
}

.lbj-jeu .lbj-j-chauve-dessin {
  position: relative;
  width: 66px;
  height: 40px;
  filter: drop-shadow(0 0 7px rgba(255, 170, 80, .85));
}

.lbj-jeu .lbj-j-chauve-dessin.is-gauche {
  transform: scaleX(-1);
}

.lbj-jeu .lbj-j-chauve-dessin svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-chauve[data-aile="0"] .lbj-j-aile2,
.lbj-jeu .lbj-j-chauve[data-aile="1"] .lbj-j-aile1 {
  visibility: hidden;
}

.lbj-jeu .lbj-j-effets {
  position: absolute;
  inset: 0;
  z-index: 7;
  overflow: hidden;
  pointer-events: none;
}

.lbj-jeu .lbj-j-particule {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.lbj-jeu .lbj-j-particule svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-particule.is-fumee {
  width: 44px;
  height: 33px;
}

.lbj-jeu .lbj-j-particule.is-eclat {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px currentColor;
}

.lbj-jeu .lbj-j-particule.is-eclat-citrouille {
  width: 22px;
  height: 22px;
}

.lbj-jeu .lbj-j-gain {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  color: #FFE27A;
  white-space: nowrap;
  text-shadow: 0 2px 0 #2a1c4c, 0 0 10px rgba(26, 15, 51, .6);
  pointer-events: none;
}

.lbj-jeu .lbj-j-gain.is-gros {
  font-size: 36px;
}

.lbj-jeu .lbj-j-gain.is-perte {
  color: #FF8A5B;
  font-size: 34px;
}

.lbj-jeu .lbj-j-banniere {
  position: absolute;
  left: 50%;
  top: 45%;
  padding: 6px 22px;
  border-radius: 999px;
  background: rgba(26, 15, 51, .78);
  color: var(--lbj-or);
  font-size: clamp(30px, 10cqw, 44px);
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35);
  box-shadow: 0 0 0 3px rgba(255, 213, 74, .5);
}

.lbj-jeu .lbj-j-banniere.is-minuit {
  font-size: clamp(38px, 13cqw, 56px);
  background: rgba(26, 15, 51, .85);
}

.lbj-jeu .lbj-j-voile {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(20, 11, 40, .82);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.lbj-jeu .lbj-j-pause {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 340px;
}

.lbj-jeu .lbj-j-fin {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin: auto;
}

.lbj-jeu .lbj-j-fin-tete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.lbj-jeu .lbj-j-seau {
  position: relative;
  flex: none;
  width: clamp(96px, 28cqw, 130px);
  aspect-ratio: 1;
  filter: drop-shadow(0 8px 10px rgba(26, 15, 51, .4));
}

.lbj-jeu .lbj-j-seau > svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-seau-clip {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 47%;
  overflow: hidden;
}

.lbj-jeu .lbj-j-seau-bonbons {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 212.8%;
  transform: translateY(47%);
}

.lbj-jeu .lbj-j-seau-bonbons svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.lbj-jeu .lbj-j-fin-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.lbj-jeu .lbj-j-total {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.lbj-jeu .lbj-j-total-n {
  font-size: clamp(44px, 13cqw, 58px);
  font-weight: 700;
  color: var(--lbj-or);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 0 rgba(26, 15, 51, .45);
}

.lbj-jeu .lbj-j-etoiles--fin .lbj-j-etoile {
  width: 38px;
  height: 38px;
}

.lbj-jeu .lbj-j-fin-niveau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  opacity: .92;
}

.lbj-jeu .lbj-j-doux-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px 1px 3px;
  border-radius: 999px;
  background: rgba(255, 242, 196, .16);
  font-size: 13px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-doux-tag svg {
  width: 16px;
  height: 16px;
}

.lbj-jeu .lbj-j-fin-suite {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}

.lbj-jeu .lbj-j-fin-suite.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lbj-jeu .lbj-j-phrase {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
}

.lbj-jeu .lbj-j-ruban {
  align-self: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--lbj-or);
  color: #2a1c4c;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 0 #c99400;
}

.lbj-jeu .lbj-j-gagne {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--lbj-rayon);
  background: rgba(167, 123, 255, .22);
  border: 2px solid rgba(201, 182, 255, .5);
  font-size: 16px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-gagne--dore {
  background: rgba(255, 213, 74, .16);
  border-color: rgba(255, 213, 74, .6);
}

.lbj-jeu .lbj-j-gagne-dessin {
  flex: none;
  width: 52px;
  aspect-ratio: 100 / 120;
}

.lbj-jeu .lbj-j-gagne-dessin svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-faits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.lbj-jeu .lbj-j-faits li {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 238, .12);
  font-size: 14px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-fin-joueur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}

.lbj-jeu .lbj-j-fin-joueur svg {
  width: 36px;
  height: 43px;
}

.lbj-jeu .lbj-j-carte-quiz {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px 12px 10px;
  border-radius: var(--lbj-rayon);
  background: var(--lbj-creme);
  color: var(--lbj-encre);
  text-align: left;
  box-shadow: 0 5px 0 rgba(26, 15, 51, .35);
}

.lbj-jeu .lbj-j-carte-quiz.is-entree {
  animation: lbj-j-glisse .6s cubic-bezier(.3, 1.3, .5, 1) .3s both;
}

.lbj-jeu .lbj-j-carte-ico {
  flex: none;
  width: 52px;
  aspect-ratio: 100 / 120;
}

.lbj-jeu .lbj-j-carte-ico svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-carte-texte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 15px;
}

.lbj-jeu .lbj-j-carte-texte strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.lbj-jeu .lbj-j-carte-texte small {
  font-size: 13px;
  color: #5a4a6e;
}

.lbj-jeu .lbj-j-carte-fleche {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lbj-accent);
  color: var(--lbj-encre);
  transform: scaleX(-1);
}

.lbj-jeu .lbj-j-carte-fleche svg {
  width: 20px;
  height: 20px;
}

.lbj-jeu .lbj-j-image-ligne {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lbj-jeu .lbj-j-erreur-image {
  font-size: 15px;
  font-weight: 600;
  color: #ffc49b;
}

.lbj-jeu .lbj-j-compte {
  font-size: .7em;
  opacity: .85;
}

.lbj-jeu .lbj-j-message {
  padding: 8px 12px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(255, 213, 74, .16);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.lbj-jeu .lbj-j-album-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.lbj-jeu .lbj-j-album-case {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(255, 248, 238, .07);
  border: 2px dashed rgba(255, 248, 238, .22);
  text-align: center;
}

.lbj-jeu .lbj-j-album-case.is-gagne {
  background: rgba(255, 248, 238, .14);
  border-style: solid;
  border-color: rgba(201, 182, 255, .5);
}

.lbj-jeu .lbj-j-album-case.is-dore.is-gagne {
  border-color: rgba(255, 213, 74, .8);
}

.lbj-jeu .lbj-j-album-case svg {
  width: 52px;
  height: 62px;
}

.lbj-jeu .lbj-j-album-case span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.lbj-jeu .lbj-j-records {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lbj-jeu .lbj-j-records li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 8px 12px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(255, 248, 238, .1);
}

.lbj-jeu .lbj-j-records-nom {
  font-size: 16px;
  font-weight: 700;
}

.lbj-jeu .lbj-j-records-val {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #FFE27A;
}

.lbj-jeu .lbj-j-nombres {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lbj-jeu .lbj-j-nombre {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 8px 18px;
  border-radius: var(--lbj-rayon);
  background: rgba(255, 248, 238, .12);
  border: 2px solid rgba(255, 248, 238, .24);
}

.lbj-jeu .lbj-j-nombre-n {
  font-size: 44px;
  font-weight: 700;
  color: var(--lbj-or);
  min-width: 1ch;
}

.lbj-jeu .lbj-j-nombre-f {
  display: flex;
}

.lbj-jeu .lbj-j-nombre-f svg {
  width: 44px;
  height: 53px;
}

.lbj-jeu .lbj-j-nombre-f svg + svg {
  margin-left: -8px;
}

.lbj-jeu .lbj-j-costumes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lbj-jeu .lbj-j-costume {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 100px;
  padding: 8px 4px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(255, 248, 238, .12);
  border: 2px solid rgba(255, 248, 238, .24);
  text-align: center;
}

.lbj-jeu .lbj-j-costume svg {
  width: 50px;
  height: 60px;
}

.lbj-jeu .lbj-j-costume span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.lbj-jeu .lbj-j-costume[disabled] {
  opacity: .35;
  filter: grayscale(1);
  cursor: not-allowed;
}

.lbj-jeu .lbj-j-tour-num {
  font-size: 16px;
  font-weight: 600;
  opacity: .9;
}

.lbj-jeu .lbj-j-tour-dessin {
  width: 130px;
  aspect-ratio: 100 / 120;
  animation: lbj-j-flotte 3.2s ease-in-out infinite;
  filter: drop-shadow(0 12px 14px rgba(26, 15, 51, .45));
}

.lbj-jeu .lbj-j-tour-dessin svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-classement {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lbj-jeu .lbj-j-rang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-radius: var(--lbj-rayon);
  background: rgba(255, 248, 238, .1);
}

.lbj-jeu .lbj-j-rang.is-premier {
  background: rgba(255, 213, 74, .18);
  box-shadow: 0 0 0 2px rgba(255, 213, 74, .6);
}

.lbj-jeu .lbj-j-rang-n {
  flex: none;
  width: 28px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--lbj-or);
}

.lbj-jeu .lbj-j-rang-dessin {
  position: relative;
  flex: none;
  width: 44px;
  height: 53px;
}

.lbj-jeu .lbj-j-rang-dessin > svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-couronne {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 30px;
  transform: translateX(-50%);
  z-index: 1;
}

.lbj-jeu .lbj-j-rang-texte {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.lbj-jeu .lbj-j-rang-texte strong {
  font-size: 15px;
  line-height: 1.15;
}

.lbj-jeu .lbj-j-rang-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 15px;
  white-space: nowrap;
}

.lbj-jeu .lbj-j-quiz-dessins {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.lbj-jeu .lbj-j-quiz-dessins svg {
  width: 58px;
  height: 70px;
}

.lbj-jeu .lbj-j-quiz-dessins svg:nth-child(2) {
  transform: translateY(-8px) scale(1.1);
}

.lbj-jeu .lbj-j-confid-scene {
  padding: 8px 12px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(36, 22, 62, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 238, .12);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

.lbj-jeu .lbj-j-ages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lbj-jeu .lbj-j-age {
  min-height: 64px;
}

.lbj-jeu .lbj-j-age-fantome {
  height: 56px;
}

.lbj-jeu .lbj-j-age-nom {
  font-size: 20px;
  font-weight: 700;
}

.lbj-jeu .lbj-j-age-sous {
  margin-left: auto;
  font-size: 15px;
  opacity: .9;
}

.lbj-jeu .lbj-j-age.is-suggere {
  border-color: var(--lbj-or);
  box-shadow: 0 0 0 2px var(--lbj-or), 0 0 18px rgba(255, 213, 74, .55);
}

.lbj-jeu .lbj-j-question {
  gap: 10px;
  margin-top: 0;
}

.lbj-jeu .lbj-j-question-haut {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lbj-jeu .lbj-j-progres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lbj-jeu .lbj-j-progres-p svg {
  width: 26px;
  height: 26px;
}

.lbj-jeu .lbj-j-progres-p.is-courant svg {
  filter: drop-shadow(0 0 4px rgba(255, 213, 74, .9));
}

.lbj-jeu .lbj-j-reponses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lbj-jeu .lbj-j-reponses--4 {
  grid-template-columns: 1fr 1fr;
}

.lbj-jeu .lbj-j-reponse {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 10px 16px;
  border-radius: var(--lbj-rayon);
  background: var(--lbj-creme);
  color: var(--lbj-encre);
  text-align: left;
  box-shadow: 0 5px 0 rgba(26, 15, 51, .4);
  transition: transform .12s, background .15s, box-shadow .12s;
}

.lbj-jeu .lbj-j-reponses--4 .lbj-j-reponse {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 132px;
  padding: 10px 8px;
  text-align: center;
}

.lbj-jeu .lbj-j-reponse:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(26, 15, 51, .4);
}

.lbj-jeu .lbj-j-reponse.is-choisie {
  background: var(--lbj-or);
  transform: scale(1.03);
}

.lbj-jeu .lbj-j-emoji {
  flex: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 64px;
  line-height: 1;
}

.lbj-jeu .lbj-j-reponses.is-grands .lbj-j-emoji {
  font-size: 88px;
}

.lbj-jeu .lbj-j-reponses--4 .lbj-j-emoji {
  font-size: 56px;
}

.lbj-jeu .lbj-j-reponses--4.is-grands .lbj-j-emoji {
  font-size: 72px;
}

.lbj-jeu .lbj-j-reponse-texte {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.lbj-jeu .lbj-j-reponses--4 .lbj-j-reponse-texte {
  font-size: 16px;
}

.lbj-jeu .lbj-j-profil {
  gap: 10px;
  text-align: center;
}

.lbj-jeu .lbj-j-profil-dessin {
  width: 128px;
  aspect-ratio: 100 / 120;
  margin: 0 auto;
  filter: drop-shadow(0 12px 14px rgba(26, 15, 51, .45));
  animation: lbj-j-flotte 3.2s ease-in-out infinite;
}

.lbj-jeu .lbj-j-profil-dessin svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-touche {
  font-size: 16px;
  font-weight: 600;
  color: #FFE27A;
}

.lbj-jeu .lbj-j-pastilles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.lbj-jeu .lbj-j-pastilles li {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--lbj-accent);
  color: var(--lbj-encre);
  font-size: 15px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-psst {
  padding: 8px 12px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(167, 123, 255, .22);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.lbj-jeu .lbj-j-annonce {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lbj-jeu .lbj-j-confid {
  margin: 12px 4px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--lbj-texte);
}

.lbj-jeu .lbj-j-passer-ligne {
  margin: 2px 0 0;
}

.lbj-jeu .lbj-j-passer {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lbj-primaire);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@container (min-width: 480px) {
  .lbj-jeu .lbj-j-nombres {
    grid-template-columns: repeat(3, 1fr);
  }
  .lbj-jeu .lbj-j-nombre {
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
  }
  .lbj-jeu .lbj-j-costumes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@keyframes lbj-j-scintille {
  from { opacity: .55; }
  to { opacity: .95; }
}

@keyframes lbj-j-balance {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes lbj-j-flotte {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

@keyframes lbj-j-pendule {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@keyframes lbj-j-fil {
  0%, 100% { transform: scaleY(1); }
  30%, 72% { transform: scaleY(1.7); }
}

@keyframes lbj-j-yoyo {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(42px) rotate(0deg); }
  44% { transform: translateY(42px) rotate(-10deg); }
  58% { transform: translateY(42px) rotate(10deg); }
  72% { transform: translateY(42px) rotate(0deg); }
}

@keyframes lbj-j-zzz {
  0%, 100% { opacity: .5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@keyframes lbj-j-tape {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -8px); }
}

@keyframes lbj-j-pop {
  0% { transform: scale(.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes lbj-j-bulle {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); }
  20% { opacity: 1; transform: translate(-50%, -6px) scale(1.08); }
  75% { opacity: 1; transform: translate(-50%, -8px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -14px) scale(.9); }
}

@keyframes lbj-j-glisse {
  from { opacity: 0; transform: translateY(40px) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lbj-jeu .lbj-j-etoiles,
  .lbj-jeu .lbj-j-lune-decor,
  .lbj-jeu .lbj-j-araignee,
  .lbj-jeu .lbj-j-araignee *,
  .lbj-jeu .lbj-j-flotte,
  .lbj-jeu .lbj-j-zzz,
  .lbj-jeu .lbj-j-aide-main,
  .lbj-jeu .lbj-j-tour-dessin,
  .lbj-jeu .lbj-j-profil-dessin,
  .lbj-jeu .lbj-j-chiffre.is-pop,
  .lbj-jeu .lbj-j-carte-quiz.is-entree {
    animation: none;
  }
  .lbj-jeu .lbj-j-bulle.is-on {
    animation: none;
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .lbj-jeu .lbj-j-fin-suite,
  .lbj-jeu .lbj-j-ciel--minuit,
  .lbj-jeu .lbj-j-btn,
  .lbj-jeu .lbj-j-switch-bouton {
    transition: none;
  }
  .lbj-jeu .lbj-j-fin-suite {
    transform: none;
  }
}

/* ==========================================================================
   Mécanique des toboggans (jeu de Noël)
   ========================================================================== */

.lbj-jeu .lbj-j-tob::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 12, 40, 0);
  transition: background .6s;
  pointer-events: none;
}

.lbj-jeu .lbj-j-tob.is-nuit::before {
  background: rgba(8, 12, 40, .42);
}

.lbj-jeu .lbj-j-atelier {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(56px + 4%);
  height: calc(8% + 6px);
  z-index: 2;
  pointer-events: none;
}

.lbj-jeu .lbj-j-atelier svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-pistes {
  position: absolute;
  left: 6px;
  right: 6px;
  top: calc(56px + 11%);
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  container-type: size;
  --o: calc(min(100cqw / var(--n) * .6, 76px) * var(--taille, 1));
  --hw: calc(min(100cqw / var(--n) * .92, 128px) * var(--hotte, 1));
}

.lbj-jeu .lbj-j-couloir {
  position: relative;
  display: block;
  min-width: 0;
  height: 100%;
  border-radius: var(--lbj-rayon-s);
  touch-action: none;
  transition: background .15s;
}

.lbj-jeu .lbj-j-couloir[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0) 40%, rgba(255, 248, 238, .1));
}

.lbj-jeu .lbj-j-couloir:focus-visible {
  outline-offset: -4px;
}

@media (hover: hover) {
  .lbj-jeu .lbj-j-couloir:hover {
    background: rgba(255, 248, 238, .06);
  }
}

.lbj-jeu .lbj-j-toboggan {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(78%, 92px);
  height: 82%;
  transform: translateX(-50%);
  pointer-events: none;
}

.lbj-jeu .lbj-j-toboggan svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lbj-jeu .lbj-j-couloir-num {
  position: absolute;
  left: 50%;
  top: 4px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(15, 26, 62, .55);
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-50%);
  opacity: .85;
  pointer-events: none;
}

.lbj-jeu .lbj-j-objets {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.lbj-jeu .lbj-j-objet-tob {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--o);
  height: var(--o);
  margin: calc(var(--o) / -2) 0 0 calc(var(--o) / -2);
  will-change: transform, opacity;
}

.lbj-jeu .lbj-j-objet-tob > svg,
.lbj-jeu .lbj-j-objet-tob > span,
.lbj-jeu .lbj-j-objet-tob > span > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-objet-tob {
  filter: drop-shadow(0 4px 4px rgba(10, 16, 40, .35));
}

.lbj-jeu .lbj-j-objet-tob[data-type="dore"] {
  filter: drop-shadow(0 0 10px rgba(255, 213, 74, .9));
}

.lbj-jeu .lbj-j-objet-tob[data-type="invite"] {
  filter: drop-shadow(0 0 8px rgba(167, 123, 255, .95));
}

.lbj-jeu .lbj-j-objet-tob[data-type="boule"] {
  filter: drop-shadow(0 0 6px rgba(190, 225, 255, .9));
}

.lbj-jeu .lbj-j-objet-tob[data-etat="attente"] > * {
  animation: lbj-j-attente .5s ease-in-out infinite alternate;
}

.lbj-jeu .lbj-j-objet-tob .lbj-j-charbon {
  opacity: 0;
  transition: opacity .2s;
}

.lbj-jeu .lbj-j-objet-tob .lbj-j-masque {
  transition: opacity .2s;
}

.lbj-jeu .lbj-j-objet-tob.is-demasque .lbj-j-charbon {
  opacity: 1;
}

.lbj-jeu .lbj-j-objet-tob.is-demasque .lbj-j-masque {
  opacity: 0;
}

.lbj-jeu .lbj-j-brume {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 0;
  height: calc(var(--brume, .4) * 100%);
  z-index: 4;
  background: linear-gradient(180deg, rgba(225, 236, 250, .97) 0%, rgba(225, 236, 250, .93) 70%, rgba(225, 236, 250, 0) 100%);
  pointer-events: none;
}

.lbj-jeu .lbj-j-hotte {
  position: absolute;
  top: 77%;
  left: calc((var(--c, 0) + .5) * 100% / var(--n));
  width: var(--hw);
  aspect-ratio: 120 / 90;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.lbj-jeu .lbj-j-hotte.is-anim {
  transition: left .12s cubic-bezier(.3, 1.2, .5, 1);
}

.lbj-jeu .lbj-j-hotte-dos,
.lbj-jeu .lbj-j-hotte-avant {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
}

.lbj-jeu .lbj-j-hotte svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lbj-jeu .lbj-j-flocons {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .9) 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .8) 0 1.6px, transparent 2px),
    radial-gradient(circle at 45% 85%, rgba(255, 255, 255, .85) 0 2.4px, transparent 3px),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .7) 0 1.4px, transparent 1.8px);
  background-size: 140px 140px, 110px 110px, 180px 180px, 90px 90px;
  animation: lbj-j-neige 7s linear infinite;
  opacity: .8;
}

.lbj-jeu .lbj-j-traineau {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 48px;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 213, 74, .5));
}

.lbj-jeu .lbj-j-traineau svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-etoile-filante .lbj-j-chauve-dessin {
  width: 84px;
  height: 50px;
  filter: drop-shadow(0 0 9px rgba(255, 213, 74, .95));
}

.lbj-jeu .lbj-j-particule.is-eclat-tob svg {
  width: 18px;
  height: 18px;
}

.lbj-jeu .lbj-j-aide-oui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.lbj-jeu .lbj-j-aide-cadeau {
  width: 40px;
  height: 40px;
  animation: lbj-j-tombe 1.6s ease-in infinite;
}

.lbj-jeu .lbj-j-aide-hotte {
  width: 72px;
  height: 54px;
}

.lbj-jeu .lbj-j-aide-cadeau svg,
.lbj-jeu .lbj-j-aide-hotte svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-defi-entete {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 213, 74, .18);
  border: 2px solid rgba(255, 213, 74, .55);
  font-size: 16px;
  font-weight: 700;
}

/* Habillage de Noël des éléments communs */

.lbj-jeu .lbj-j-scene[data-theme="noel"] .lbj-j-btn--second {
  background: linear-gradient(rgba(255, 248, 238, .13), rgba(255, 248, 238, .13)), rgba(20, 36, 82, .82);
}

.lbj-jeu .lbj-j-scene[data-theme="noel"] .lbj-j-btn--second:hover {
  background: linear-gradient(rgba(255, 248, 238, .22), rgba(255, 248, 238, .22)), rgba(20, 36, 82, .82);
}

.lbj-jeu .lbj-j-scene[data-theme="noel"] .lbj-j-titre {
  text-shadow: 0 3px 0 rgba(10, 20, 50, .45);
}

/* ==========================================================================
   Calendrier de l'Avent (module avent)
   ========================================================================== */

.lbj-jeu .lbj-j-visuel-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lbj-jeu .lbj-j-btn-avent {
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--lbj-rayon);
  text-align: left;
}

.lbj-jeu .lbj-j-avent-ico {
  position: relative;
}

.lbj-jeu .lbj-j-btn-avent .lbj-j-avent-ico svg {
  width: 40px;
  height: 40px;
}

.lbj-jeu .lbj-j-avent-num {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--lbj-or);
  color: #2a1c4c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 0 #c99400;
}

.lbj-jeu .lbj-j-btn-avent-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.lbj-jeu .lbj-j-btn-avent-txt small {
  font-size: 14px;
  font-weight: 500;
  opacity: .88;
}

.lbj-jeu .lbj-j-avent .lbj-j-texte {
  font-size: 16px;
}

.lbj-jeu .lbj-j-avent-message {
  padding: 6px 12px;
  border-radius: var(--lbj-rayon-s);
  background: rgba(255, 213, 74, .16);
  font-weight: 600;
  text-align: center;
}

.lbj-jeu .lbj-j-portes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
}

.lbj-jeu .lbj-j-portes li {
  min-width: 0;
}

.lbj-jeu .lbj-j-porte {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 48px;
  aspect-ratio: 1 / 1.12;
  border-radius: 10px;
  background: #6D5BD0;
  border: 2px solid rgba(255, 248, 238, .35);
  color: #fff8ee;
  font-size: clamp(17px, 5cqw, 22px);
  font-weight: 700;
  box-shadow: inset 0 -5px 0 rgba(10, 16, 40, .22), 0 3px 0 rgba(10, 16, 40, .3);
  transition: transform .12s;
}

.lbj-jeu .lbj-j-portes li:nth-child(3n + 2) .lbj-j-porte {
  background: #1F6F8B;
}

.lbj-jeu .lbj-j-portes li:nth-child(3n) .lbj-j-porte {
  background: #C9532B;
}

.lbj-jeu .lbj-j-porte::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: rgba(255, 213, 74, .55);
}

.lbj-jeu .lbj-j-porte-num {
  position: relative;
  text-shadow: 0 2px 0 rgba(10, 16, 40, .4);
}

.lbj-jeu .lbj-j-porte.is-fermee {
  opacity: .6;
  box-shadow: inset 0 -5px 0 rgba(10, 16, 40, .22);
}

.lbj-jeu .lbj-j-porte.is-ouvrable:hover {
  transform: translateY(-2px);
}

.lbj-jeu .lbj-j-porte.is-ouvrable:active {
  transform: scale(.95);
}

.lbj-jeu .lbj-j-porte.is-du-jour {
  border-color: var(--lbj-or);
  box-shadow: 0 0 0 3px rgba(255, 213, 74, .45), 0 3px 0 rgba(10, 16, 40, .3);
  animation: lbj-j-porte-jour 1.6s ease-in-out infinite;
}

.lbj-jeu .lbj-j-porte.is-faite {
  background: #fff8ee;
  color: #2a2140;
  border-color: rgba(255, 213, 74, .8);
}

.lbj-jeu .lbj-j-porte.is-faite::before {
  display: none;
}

.lbj-jeu .lbj-j-porte.is-faite .lbj-j-porte-num {
  position: absolute;
  left: 5px;
  top: 2px;
  font-size: 12px;
  text-shadow: none;
}

.lbj-jeu .lbj-j-porte-deco {
  width: 70%;
  aspect-ratio: 1;
}

.lbj-jeu .lbj-j-porte-deco svg,
.lbj-jeu .lbj-j-deco-dessin svg,
.lbj-jeu .lbj-j-deco-mini svg,
.lbj-jeu .lbj-j-gagne--deco .lbj-j-gagne-dessin svg,
.lbj-jeu .lbj-j-lutin-dessin svg,
.lbj-jeu .lbj-j-sapin svg {
  width: 100%;
  height: 100%;
}

.lbj-jeu .lbj-j-lutin-jour {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.lbj-jeu .lbj-j-lutin-dessin {
  flex: none;
  width: 64px;
  aspect-ratio: 104 / 162;
}

.lbj-jeu .lbj-j-lutin-bulle {
  position: relative;
  flex: 1;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--lbj-creme);
  color: #2a2140;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 4px 0 rgba(10, 16, 40, .35);
}

.lbj-jeu .lbj-j-deco-ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--lbj-rayon);
  background: rgba(255, 248, 238, .1);
  border: 2px dashed rgba(255, 248, 238, .35);
  font-size: 15px;
  font-weight: 600;
}

.lbj-jeu .lbj-j-deco-ligne.is-gagnee {
  border-style: solid;
  border-color: rgba(255, 213, 74, .6);
  background: rgba(255, 213, 74, .14);
}

.lbj-jeu .lbj-j-deco-dessin {
  flex: none;
  width: 44px;
  height: 44px;
}

.lbj-jeu .lbj-j-lettre .lbj-j-carte-ico {
  aspect-ratio: 1;
}

.lbj-jeu .lbj-j-devinette {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--lbj-rayon);
  background: rgba(15, 26, 62, .45);
}

.lbj-jeu .lbj-j-devinette .lbj-j-sous-titre-page {
  margin-top: 0;
  font-size: 18px;
}

.lbj-jeu .lbj-j-devinette dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.lbj-jeu .lbj-j-devinette dt {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--lbj-or);
}

.lbj-jeu .lbj-j-devinette dd {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.lbj-jeu .lbj-j-devinette--hier dt {
  color: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  opacity: .85;
}

.lbj-jeu .lbj-j-devinette--hier dd,
.lbj-jeu .lbj-j-reponses-dev dd {
  font-weight: 700;
}

.lbj-jeu .lbj-j-gagne--deco {
  background: rgba(255, 213, 74, .16);
  border-color: rgba(255, 213, 74, .6);
}

.lbj-jeu .lbj-j-gagne--deco .lbj-j-gagne-dessin {
  aspect-ratio: 1;
  width: 48px;
}

.lbj-jeu .lbj-j-sapin {
  width: min(78%, 300px);
  aspect-ratio: 200 / 240;
  margin: 0 auto;
}

.lbj-jeu .lbj-j-deco-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.lbj-jeu .lbj-j-deco-liste li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lbj-jeu .lbj-j-deco-mini {
  flex: none;
  width: 26px;
  height: 26px;
}

@keyframes lbj-j-attente {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

@keyframes lbj-j-neige {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 20px 140px, -15px 110px, 10px 180px, -8px 90px; }
}

@keyframes lbj-j-tombe {
  0% { transform: translateY(-14px); opacity: 0; }
  20% { opacity: 1; }
  80% { transform: translateY(18px); opacity: 1; }
  100% { transform: translateY(22px); opacity: 0; }
}

@keyframes lbj-j-porte-jour {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 213, 74, .45), 0 3px 0 rgba(10, 16, 40, .3); }
  50% { box-shadow: 0 0 0 6px rgba(255, 213, 74, .2), 0 3px 0 rgba(10, 16, 40, .3); }
}

@media (prefers-reduced-motion: reduce) {
  .lbj-jeu .lbj-j-flocons,
  .lbj-jeu .lbj-j-aide-cadeau,
  .lbj-jeu .lbj-j-porte.is-du-jour,
  .lbj-jeu .lbj-j-objet-tob[data-etat="attente"] > * {
    animation: none;
  }
  .lbj-jeu .lbj-j-hotte.is-anim,
  .lbj-jeu .lbj-j-tob::before,
  .lbj-jeu .lbj-j-porte,
  .lbj-jeu .lbj-j-couloir,
  .lbj-jeu .lbj-j-objet-tob .lbj-j-charbon,
  .lbj-jeu .lbj-j-objet-tob .lbj-j-masque {
    transition: none;
  }
}
