/* LURE — abysses bioluminescents. Tout sous .skin-lure ; keyframes préfixées lure-.
   Coordonnées en px logiques : paysage 1600×900, portrait 900×1600 (bloc en fin de fichier).
   Règle de couleur : tout est froid, sauf l'ambre, réservé aux leurres (multis) et aux gains. */
.skin-lure {
  --abyss: #030B1A; --navy: #071E3D; --cyan: #2CF5E9; --violet: #C04DFF; --amber: #FFC24A; --coral: #FF4D6D;
  --ink: #DDF7F6; --dim: rgba(190, 236, 240, .66);
  /* interface : rampe d'encre bleu nuit (panneau, cadran, relief), trois rôles de texte, filets, une famille de courbes */
  --p1: rgba(8, 13, 25, .9); --p2: rgba(14, 21, 37, .95); --s3: #182236;
  --t1: #EDF1F7; --t2: #A4AEC0; --t3: #7C879C; --line: rgba(237, 241, 247, .1); --line-2: rgba(237, 241, 247, .2);
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --f-display: 'Unbounded', 'Avenir Next', 'Futura', sans-serif;
  --f-ui: 'Chakra Petch', 'DIN Alternate', 'Avenir Next Condensed', sans-serif;
  --lu-h: 900; --lu-wipe: 1.5s; --tg-sym-pad: 2%; --tg-clip-y: -4px;
  font-family: var(--f-ui); color: var(--t1); background: var(--abyss);
  &[data-orient="portrait"] { --lu-h: 1600; }
  &[data-turbo="1"] { --lu-wipe: .825s; }

  /* ================= décor ================= */
  .lu-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  .lu-bg { position: absolute; inset: 0; background:
      radial-gradient(120% 70% at 28% -10%, #14457A 0%, rgba(11, 43, 85, .6) 34%, transparent 70%),
      linear-gradient(180deg, #071E3D 0%, #04132B 46%, #030B1A 100%); }
  .lu-rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .lu-rays i { position: absolute; top: -10%; left: 6%; width: 16%; height: 95%; background: linear-gradient(180deg, rgba(120, 220, 255, .17), transparent 80%); transform-origin: 50% 0; animation: lure-ray 9s ease-in-out infinite alternate; }
  .lu-rays i:nth-child(2) { left: 30%; width: 9%; animation-duration: 12s; animation-delay: -4s; }
  .lu-rays i:nth-child(3) { left: 52%; width: 12%; animation-duration: 15s; animation-delay: -7s; }
  .lu-far { position: absolute; inset: 0; pointer-events: none; }
  .lu-far svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .lu-drift { animation: lure-drift 70s linear infinite; }
  .lu-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .lu-snow i { position: absolute; top: -10px; border-radius: 50%; background: #BFF3FF; animation: lure-snow linear infinite; }

  /* bonus A : l'eau fleurit. bonus B : on s'enfonce (strates qui défilent, eau qui noircit par palier) */
  .lu-bloomwater { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s; background:
      radial-gradient(90% 70% at 45% 42%, rgba(44, 245, 233, .34), rgba(20, 150, 170, .2) 45%, transparent 78%),
      radial-gradient(40% 30% at 18% 82%, rgba(53, 240, 140, .2), transparent 70%),
      radial-gradient(34% 26% at 84% 16%, rgba(124, 255, 214, .16), transparent 70%); }
  &[data-mode="fsA"] .lu-bloomwater { opacity: .46; }
  &[data-mode="fsA"][data-lu-bloom="1"] .lu-bloomwater { opacity: 1; transition: opacity .25s; }
  .lu-deepen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.4s; background: linear-gradient(180deg, rgba(10, 4, 30, .55), rgba(1, 2, 8, .9)); }
  &[data-mode="fsB"] .lu-deepen { opacity: .35; }
  &[data-mode="fsB"][data-gm-tier="1"] .lu-deepen { opacity: .5; }
  &[data-mode="fsB"][data-gm-tier="2"] .lu-deepen { opacity: .62; }
  &[data-mode="fsB"][data-gm-tier="3"] .lu-deepen { opacity: .74; }
  &[data-mode="fsB"][data-gm-tier="4"] .lu-deepen { opacity: .84; }
  &[data-mode="fsB"][data-gm-tier="5"] .lu-deepen { opacity: .94; }
  .lu-walls { position: absolute; inset: -2px; opacity: 0; pointer-events: none; transition: opacity 1s, background-position 1.4s var(--ease-io);
    background-image: repeating-linear-gradient(180deg, rgba(44, 245, 233, .2) 0 2px, transparent 2px 92px), repeating-linear-gradient(180deg, rgba(192, 77, 255, .12) 0 1px, transparent 1px 23px);
    background-position: 0 calc(var(--lu-scroll, 0) * -1px), 0 calc(var(--lu-scroll, 0) * -1px);
    -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%); mask-image: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%); }
  &[data-mode="fsB"] .lu-walls { opacity: 1; }
  .lu-violet { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s; background: radial-gradient(80% 70% at 58% 45%, rgba(192, 77, 255, .4), rgba(90, 20, 160, .22) 55%, transparent 88%); }
  &[data-antic="2"] .lu-violet { opacity: 1; }
  .lu-shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s; background: rgba(1, 4, 12, .74); }
  &[data-antic="1"] .lu-shade, &[data-antic="2"] .lu-shade { opacity: 1; }
  .lu-blackout { position: absolute; inset: 0; z-index: 30; opacity: 0; pointer-events: none; background: #01040A; }
  .lu-blackout.is-hit { animation: lure-blackout .9s ease-out; }

  /* ================= la Reine-Lanterne ================= */
  .lu-queen { position: absolute; left: 1088px; top: 16px; width: 520px; height: 820px; z-index: 6; pointer-events: none; transform-origin: 0 0; }
  .lu-queen-st { width: 100%; height: 100%; transform-origin: 55% 48%; transition: transform .7s var(--ease), opacity .7s; }
  .lu-queen-in { width: 100%; height: 100%; transform-origin: 50% 70%; animation: lure-q-sway 9s ease-in-out infinite alternate; }
  .lu-queen svg { width: 100%; height: 100%; overflow: visible; display: block; }
  .lu-q-body-g { transition: opacity .9s; }
  .lu-q-fill { fill: url(#lure-qfill); stroke: url(#lure-rim); stroke-width: 3; stroke-linejoin: round; }
  .lu-q-web path { fill: rgba(192, 77, 255, .17); stroke: rgba(192, 77, 255, .5); stroke-width: 1.5; }
  .lu-q-spines path { fill: #071A36; stroke: rgba(44, 245, 233, .8); stroke-width: 2; stroke-linejoin: round; }
  .lu-q-tips circle { fill: var(--cyan); animation: lure-twinkle 2.6s ease-in-out infinite alternate; }
  .lu-q-tips circle:nth-child(2n) { animation-delay: -1.3s; }
  .lu-q-fan .m { fill: rgba(70, 44, 170, .24); stroke: rgba(44, 245, 233, .55); stroke-width: 2; stroke-linejoin: round; }
  .lu-q-fan .r path { fill: none; stroke: rgba(44, 245, 233, .32); stroke-width: 1.5; }
  .lu-q-fan .t circle { fill: var(--cyan); opacity: .8; }
  .lu-q-fan-l .lu-q-fan, .lu-q-fan-r .lu-q-fan { transform-origin: 150px 470px; animation: lure-fan 5.5s ease-in-out infinite alternate; }
  .lu-q-fan-r .lu-q-fan { animation-delay: -2.2s; }
  .lu-q-crown-l, .lu-q-crown-r { transform-origin: 260px 392px; transition: transform .45s var(--ease); }
  .lu-q-teeth path { fill: #DFFFFB; stroke: rgba(44, 245, 233, .55); stroke-width: .8; stroke-linejoin: round; transition: fill .4s, stroke .4s; }
  .lu-q-jaw, .lu-q-teeth-low { transform: translateY(var(--lu-jaw, 0px)); transition: transform .45s var(--ease); }
  .lu-q-maw { fill: #01030A; }
  .lu-q-glow-v, .lu-q-glow-a, .lu-q-beams { opacity: 0; transition: opacity .4s; }
  .lu-q-beams { transform-origin: 260px 560px; }
  .lu-q-dots circle { animation: lure-twinkle 3.2s ease-in-out infinite alternate; }
  .lu-q-dots circle:nth-child(3n) { animation-delay: -1.1s; }
  .lu-q-dots circle:nth-child(3n + 1) { animation-delay: -2.3s; }
  .lu-q-eyes { transform-origin: 260px 398px; transition: transform .3s var(--ease); }
  .lu-q-eyeglow { opacity: .5; transition: opacity .4s; }
  .lu-q-ball { transform: translate(calc(var(--lu-look-x, 0) * 10px), calc(var(--lu-look-y, 0) * 6px)); transition: transform .35s ease-out; }
  .lu-q-pupil { transition: transform .3s; transform-box: fill-box; transform-origin: 50% 50%; }
  .lu-q-lid-t { transform: translateY(-14px); animation: lure-blink-t 6.5s infinite; transition: transform .22s; }
  .lu-q-lid-b { transform: translateY(34px); animation: lure-blink-b 6.5s infinite; transition: transform .22s; }

  /* états du personnage */
  &[data-host="antic"] { --lu-jaw: 10px; }
  &[data-host="antic2"] { --lu-jaw: 34px; }
  &[data-host="bonus"] { --lu-jaw: 46px; }
  &[data-host="bigwin"] { --lu-jaw: 52px; }
  &[data-host="antic"] .lu-queen-st { transform: translateX(-26px) scale(1.04); }
  &[data-host="antic2"] .lu-queen-st { transform: translateX(-42px) scale(1.08); }
  &[data-host="bonus"] .lu-queen-st { transform: translateX(-88px) scale(1.17); }
  &[data-host="cast"] .lu-queen-st { transform: scale(1.03); }
  &[data-host="win"] .lu-queen-st { transform: translateY(-8px) scale(1.02); }
  &[data-host="bigwin"] .lu-queen-st { transform: translateX(-22px) scale(1.08); }
  &[data-host="sad"] .lu-queen-st { transform: translateX(34px) scale(.95); opacity: .78; }
  &:is([data-host="antic"], [data-host="antic2"], [data-host="bonus"]) {
    .lu-q-lid-t { animation: none; transform: translateY(-38px); }
    .lu-q-lid-b { animation: none; transform: translateY(40px); }
    .lu-q-eyeglow { opacity: 1; }
    .lu-q-pupil { transform: scaleX(.6); }
  }
  &[data-host="antic"] .lu-q-eyes { transform: scale(1.12); }
  &[data-host="antic2"] .lu-q-eyes, &[data-host="bonus"] .lu-q-eyes { transform: scale(1.22); }
  &[data-host="antic"] .lu-q-crown-l { transform: rotate(-5deg) scale(1.03); }
  &[data-host="antic"] .lu-q-crown-r { transform: rotate(5deg) scale(1.03); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-q-crown-l { transform: rotate(-10deg) scale(1.08); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-q-crown-r { transform: rotate(10deg) scale(1.08); }
  &[data-host="cast"] .lu-q-crown-l { transform: rotate(-4deg); }
  &[data-host="cast"] .lu-q-crown-r { transform: rotate(4deg); }
  &[data-host="cast"] .lu-q-eyeglow { opacity: 1; }
  &:is([data-host="antic2"], [data-host="bonus"]) .lu-q-glow-v { opacity: .95; }
  &:is([data-host="win"], [data-host="bigwin"]) {
    .lu-q-lid-t { animation: none; transform: translateY(-36px); }
    .lu-q-lid-b { animation: none; transform: translateY(3px); }
    .lu-q-eyeglow { opacity: .9; }
  }
  &:is([data-host="antic2"], [data-host="bonus"]) .lu-q-teeth path { fill: #F1DCFF; stroke: rgba(192, 77, 255, .75); }
  &[data-host="bigwin"] .lu-q-teeth path { fill: #FFF3C4; stroke: rgba(255, 194, 74, .8); }
  &[data-host="bigwin"] .lu-q-glow-a { opacity: 1; }
  &[data-host="sad"] .lu-q-lid-t { animation: lure-slowblink 1.7s ease-in-out both; }
  &[data-host="sad"] .lu-q-lid-b { animation: none; transform: translateY(18px); }
  &[data-host="sad"] .lu-q-crown-l { transform: rotate(4deg) scale(.96); }
  &[data-host="sad"] .lu-q-crown-r { transform: rotate(-4deg) scale(.96); }
  /* trois spins perdants : elle recule dans le noir, il ne reste que les yeux */
  &[data-host="idle"]:is([data-dead="3"], [data-dead="4"], [data-dead="5"], [data-dead="6"], [data-dead="7"], [data-dead="8"], [data-dead="9"]) {
    .lu-q-body-g { opacity: .05; }
    .lu-queen-st { transform: translateX(44px) scale(.93); }
    .lu-q-eyeglow { opacity: .95; }
    .lu-q-lid-t { animation: none; transform: translateY(-22px); }
    .lu-stalk, .lu-lure { opacity: .28; }
  }

  /* ================= le leurre : tige articulée, orbe, cône de projecteur ================= */
  .lu-stalk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 24; pointer-events: none; overflow: visible; transition: opacity .6s; }
  .lu-stalk-glow { fill: none; stroke: rgba(255, 194, 74, .16); stroke-width: 10; stroke-linecap: round; }
  .lu-stalk-line { fill: none; stroke: #A6EEE8; stroke-width: 2.6; stroke-linecap: round; opacity: .88; }
  .lu-lure { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 26; pointer-events: none; transition: opacity .6s; }
  .lu-lure-orb { position: absolute; left: -27px; top: -27px; width: 54px; height: 54px; overflow: visible; transition: transform .35s var(--ease); animation: lure-orb-breathe 2.8s ease-in-out infinite alternate; }
  .lu-lure-halo { position: absolute; left: -120px; top: -120px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 130, .6), rgba(255, 194, 74, .17) 45%, transparent 72%); transition: transform .35s; }
  .lu-lure-rays { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; opacity: 0; transition: opacity .4s; background: repeating-conic-gradient(rgba(255, 240, 190, .85) 0 3deg, transparent 3deg 22.5deg); -webkit-mask-image: radial-gradient(closest-side, transparent 30%, #000 34%, transparent 100%); mask-image: radial-gradient(closest-side, transparent 30%, #000 34%, transparent 100%); animation: lure-spin 16s linear infinite; }
  .lu-cone { position: absolute; left: calc(var(--lu-cone-w, 190) * -.5px); top: 4px; width: calc(var(--lu-cone-w, 190) * 1px); height: calc(var(--lu-cone-h, 700) * 1px); opacity: 0; transition: opacity .35s; mix-blend-mode: screen; clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(255, 228, 156, .66), rgba(255, 194, 74, .22) 55%, rgba(255, 194, 74, .04)); }
  &[data-antic="1"] .lu-cone, &[data-antic="2"] .lu-cone { opacity: 1; }
  &[data-antic="2"] .lu-cone { background: linear-gradient(180deg, rgba(255, 242, 206, .86), rgba(222, 154, 255, .34) 55%, rgba(192, 77, 255, .08)); }
  &[data-antic="1"] .lu-lure-halo, &[data-antic="2"] .lu-lure-halo { transform: scale(1.3); }
  &[data-host="cast"] .lu-lure-orb { transform: scale(1.55); }
  &[data-host="cast"] .lu-lure-halo { transform: scale(1.7); }
  &[data-host="cast"] .lu-lure-rays, &[data-trigger] .lu-lure-rays { opacity: .9; }
  &[data-trigger] .lu-lure-orb { transform: scale(2.2); }
  &[data-trigger] .lu-lure-halo { transform: scale(2.6); }
  &[data-feature="f1"] .lu-lure-halo { transform: scale(1.3); }
  &[data-feature="f2"] .lu-lure-orb { transform: scale(1.5); }
  &[data-feature="f2"] .lu-lure-halo { transform: scale(1.7); }
  &[data-feature="f2"] .lu-lure-rays { opacity: .85; }
  &[data-lu-off="1"] .lu-lure { opacity: .12; transition: none; }
  &[data-lu-off="1"] .lu-stalk { opacity: .3; transition: none; }
  &[data-lu-off="1"] .lu-cone { opacity: 0; transition: none; }

  /* ================= interface : encre bleu nuit, filets fins =================
     L'interface ne brille pas d'elle-même : ni halo, ni anneau néon, ni dégradé de teinte, ni boucle décorative. Une rampe
     d'encre (--p1 panneau, --p2 cadran, --s3 relief), trois rôles de texte (--t1, --t2, --t3), des filets (--line), et un
     seul accent, l'ambre, réservé à l'argent et au leurre. Espacements sur une grille de 4 px, une seule famille de
     courbes (--ease, --ease-io). La lumière vient du vivant : le leurre de la Reine, qui éclaire ce qu'il approche, et les
     créatures qui s'allument quand elles gagnent. Les cadrans sont ronds (sonar, mise, spin), les panneaux droits. */

  /* ================= logo ================= */
  .lu-logo { position: absolute; left: 40px; top: 24px; z-index: 20; display: flex; flex-direction: column; gap: 8px; transition: opacity .4s var(--ease); }
  .lu-logo b { font: 600 48px/1 var(--f-display); letter-spacing: .2em; color: var(--t1); }
  .lu-logo span { position: relative; }
  .lu-logo span i { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -11px; border-radius: 50%; background: var(--amber); }
  .lu-logo small { font: 500 14px/1 var(--f-ui); color: var(--t2); padding-left: 2px; }

  /* ================= grille : la vitre du poste d'observation ================= */
  .lu-frame { position: absolute; left: 320px; top: 88px; width: 784px; height: 660px; z-index: 10; border-radius: 24px; background: rgba(6, 10, 20, .84); box-shadow: inset 0 0 0 1px var(--line-2); }
  .lu-fr-ticks { position: absolute; left: 48px; right: 48px; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 16px); }
  .lu-fr-ticks::after { content: ''; position: absolute; left: 0; right: 0; top: 654px; height: 6px; background: inherit; }
  .lu-grid { left: 12px; top: 12px; width: 760px; height: 636px; }
  /* colonnes en attente (repli sans GPU) : c'est la lumière du leurre, elle garde donc sa couleur */
  .tg-colhl { background: linear-gradient(180deg, rgba(255, 220, 130, .07), transparent 55%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
  .tg-colhl[data-on="2"] { background: linear-gradient(180deg, rgba(226, 164, 255, .13), transparent 60%); }
  .tg-colhl[data-active="1"] { background: linear-gradient(180deg, rgba(255, 226, 150, .22), rgba(255, 194, 74, .08) 60%, rgba(255, 194, 74, .03)); box-shadow: inset 0 46px 60px -34px rgba(255, 224, 140, .55); }
  .tg-colhl[data-on="2"][data-active="1"] { background: linear-gradient(180deg, rgba(240, 200, 255, .26), rgba(192, 77, 255, .1) 60%, rgba(192, 77, 255, .04)); box-shadow: inset 0 46px 60px -34px rgba(226, 164, 255, .6); }
  /* colonnes déjà posées pendant un bait : elles tombent dans le noir (les yeux restent allumés) */
  &[data-lu-from="1"] .tg-sym[data-col="0"],
  &[data-lu-from="2"] .tg-sym:is([data-col="0"], [data-col="1"]),
  &[data-lu-from="3"] .tg-sym:is([data-col="0"], [data-col="1"], [data-col="2"]),
  &[data-lu-from="4"] .tg-sym:is([data-col="0"], [data-col="1"], [data-col="2"], [data-col="3"]),
  &[data-lu-from="5"] .tg-sym:is([data-col="0"], [data-col="1"], [data-col="2"], [data-col="3"], [data-col="4"]) { opacity: .3; transition: opacity .45s var(--ease); }
  &[data-lu-from] .tg-sym[data-kind="scatter"] { opacity: 1; }

  /* ================= symboles ================= */
  .tg-sym { transition: opacity .3s var(--ease), filter .3s var(--ease); }
  .tg-sym-in svg { overflow: visible; }
  .lu-halo { opacity: .6; }
  .lu-val { font-family: var(--f-display); font-weight: 600; }
  .tg-sym.is-landing .tg-sym-in { animation: lure-land .34s var(--ease); }
  .lu-a-sway { transform-origin: 50px 56px; animation: lure-sway 2.8s ease-in-out infinite alternate; }
  .lu-a-pulse { transform-origin: 50px 54px; animation: lure-bell 2.2s ease-in-out infinite alternate; }
  .lu-a-tail { transform-origin: 68px 50px; animation: lure-tail 1.1s ease-in-out infinite alternate; }
  .lu-a-bob { transform-origin: 50px 50px; animation: lure-bob 3.4s ease-in-out infinite alternate; }
  .tg-sym:is([data-col="1"], [data-col="4"]) :is(.lu-a-sway, .lu-a-pulse, .lu-a-tail, .lu-a-bob) { animation-delay: -.7s; }
  .tg-sym:is([data-col="2"], [data-col="5"]) :is(.lu-a-sway, .lu-a-pulse, .lu-a-tail, .lu-a-bob) { animation-delay: -1.5s; }
  .tg-sym:is([data-row="1"], [data-row="3"]) :is(.lu-a-sway, .lu-a-pulse, .lu-a-tail, .lu-a-bob) { animation-duration: 3.3s; }

  /* gains : une scène de chasse. Les gagnants s'allument en vague depuis le leurre (--lu-wd, posé par le script) ; chaque
     créature fait son propre geste, une fois, puis reste éveillée ; les autres s'éteignent colonne après colonne. La
     lumière ne se pose pas derrière elles : elle court le long de leur corps (effets GPU, voir skin.js). Pendant la scène
     la grille ne rogne plus ses bords : la méduse qui se propulse et le poisson qui file sortent de leur case. */
  &[data-winning="1"] { --tg-clip-y: -90px; }
  .tg-sym.is-dim { opacity: .2; filter: saturate(.45); }
  .tg-sym.is-dim[data-col="1"] { transition-delay: 16ms; }
  .tg-sym.is-dim[data-col="2"] { transition-delay: 32ms; }
  .tg-sym.is-dim[data-col="3"] { transition-delay: 48ms; }
  .tg-sym.is-dim[data-col="4"] { transition-delay: 64ms; }
  .tg-sym.is-dim[data-col="5"] { transition-delay: 80ms; }
  .tg-sym.is-win { z-index: 2; }
  .tg-sym.is-win .tg-sym-in { animation: lure-act calc(.66s * var(--tg-speed, 1)) var(--ease-io) calc(var(--lu-wd, 0ms) * var(--tg-speed, 1)) both; }
  .tg-sym[data-sym="h1"].is-win .tg-sym-in { animation-name: lure-act-jelly; transform-origin: 50% 38%; }     /* la méduse se contracte et se propulse */
  .tg-sym[data-sym="h2"].is-win .tg-sym-in { animation-name: lure-act-nautilus; transform-origin: 42% 46%; }  /* le nautile rentre dans sa coquille, puis se déploie */
  .tg-sym[data-sym="h3"].is-win .tg-sym-in { animation-name: lure-act-dragon; transform-origin: 50% 50%; animation-timing-function: ease-in-out; } /* le dragon de mer ondule */
  .tg-sym[data-sym="h4"].is-win .tg-sym-in { animation-name: lure-act-fish; transform-origin: 50% 50%; }      /* le poisson-lanterne file */
  .tg-sym[data-sym="l5"].is-win .tg-sym-in { animation-name: lure-act-conch; transform-origin: 50% 52%; }     /* la conque tourne sur elle-même */
  .tg-sym[data-sym="l4"].is-win .tg-sym-in { animation-name: lure-act-star; transform-origin: 50% 53%; }      /* l'étoile referme ses bras */
  .tg-sym[data-sym="l3"].is-win .tg-sym-in { animation-name: lure-act-urchin; transform-origin: 50% 53%; }    /* l'oursin hérisse ses piquants */
  .tg-sym[data-sym="l2"].is-win .tg-sym-in { animation-name: lure-act-kelp; transform-origin: 34% 92%; animation-timing-function: ease-in-out; } /* l'algue ploie dans le courant */
  .tg-sym[data-sym="l1"].is-win .tg-sym-in { animation-name: lure-act-pearl; transform-origin: 50% 53%; }     /* la perle fait éclater sa bulle */
  .tg-sym.is-win .lu-halo { opacity: .25; }
  /* version dessinée : un filtre animé sur douze SVG coûte trop cher, le geste suffit (le halo du dessin fait la lumière) */
  &[data-painted="0"] .tg-sym:is(.is-win, .is-pop) .tg-sym-in { filter: none !important; }
  &[data-painted="0"] .tg-sym.is-win .lu-halo { opacity: 1; }
  /* puis elles sont aspirées vers la gueule de la Reine : la créature se ramasse, son double s'envole (kit.flyTo) */
  .tg-sym.is-pop .tg-sym-in { animation: lure-gather calc(.18s * var(--tg-speed, 1)) var(--ease) both; }
  .tg-sym.tg-ghost .tg-sym-in { animation: none; transform: none; filter: brightness(1.5) saturate(1.2); }
  /* le montant : une étiquette d'encre, il apparaît après le geste et compte (le script fait défiler le chiffre) */
  .tg-pay { z-index: 5; padding: 4px 12px; border-radius: 8px; font: 600 24px/28px var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); text-shadow: none; background: rgba(6, 10, 20, .9); box-shadow: inset 0 0 0 1px rgba(255, 194, 74, .32);
    animation: lure-pay-in calc(.26s * var(--tg-speed, 1)) var(--ease) calc(.2s * var(--tg-speed, 1)) both; }
  .tg-pay.is-out { animation: lure-pay-out .24s var(--ease) forwards; }

  /* scatter : l'Œil de la Reine */
  .lu-lid-t, .lu-lid-b { transition: transform .32s var(--ease); }
  .lu-iris, .lu-pupil { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .3s var(--ease); }
  .tg-sym.is-landed .lu-lid-t, [data-art="scatter"] .lu-lid-t { transform: translateY(-17px); }
  .tg-sym.is-landed .lu-lid-b, [data-art="scatter"] .lu-lid-b { transform: translateY(15px); }
  .tg-sym[data-kind="scatter"].is-teasing .tg-sym-in { animation: lure-eye-tease .62s ease-in-out infinite alternate; }
  .tg-sym.is-teasing .lu-lid-t { transform: translateY(-22px); }
  .tg-sym.is-teasing .lu-lid-b { transform: translateY(20px); }
  .tg-sym.is-teasing .lu-iris { animation: lure-iris .62s ease-in-out infinite alternate; }
  .tg-sym.is-teasing .lu-pupil { transform: scaleX(.6); }
  .tg-sym.is-teasing .lu-ball { transform: translateX(4px); transition: transform .4s var(--ease); }
  .tg-sym.is-teasing .lu-halo { animation: lure-halo .62s ease-in-out infinite alternate; }
  .tg-sym.is-missed .lu-lid-t, .tg-sym.is-missed .lu-lid-b { transform: translateY(0); transition: transform .9s ease-in; }
  .tg-sym.is-missed .lu-halo { opacity: .12; transition: opacity .6s; }
  .tg-sym[data-kind="scatter"].is-trigger .tg-sym-in { animation: lure-eye-trigger .5s ease-in-out infinite alternate; }
  .tg-sym.is-trigger .lu-lid-t { transform: translateY(-25px); }
  .tg-sym.is-trigger .lu-lid-b { transform: translateY(23px); }
  .tg-sym.is-trigger .lu-pupil { transform: scale(2.3, .8); }
  .tg-sym.is-trigger .lu-ball { transform: none; }
  .tg-sym.is-trigger .lu-halo { opacity: 1; }

  /* multi : le leurre. Il se pose en se balançant au bout de son crochet, comme une lampe qu'on vient de lâcher */
  .lu-out { opacity: 0; transition: opacity .35s .1s; }
  .lu-m-rays { transform-origin: 50px 56px; animation: lure-spin 14s linear infinite; }
  .lu-m-ring { transform-origin: 50px 56px; animation: lure-spin 9s linear infinite reverse; }
  .tg-sym[data-kind="multi"] .tg-sym-in { transform-origin: 56% 6%; }
  .tg-sym[data-kind="multi"].is-landing .tg-sym-in { animation: lure-lure-in .7s ease-in-out; }
  .tg-sym[data-kind="multi"].is-landed .tg-sym-in { animation: lure-float 2.6s ease-in-out infinite alternate; }
  .tg-sym[data-kind="multi"].is-landed.is-landing .tg-sym-in { animation: lure-lure-in .7s ease-in-out; }
  .tg-sym[data-kind="multi"].is-collect .tg-sym-in { animation: lure-flare .25s var(--ease) forwards; }
  .tg-sym[data-kind="multi"].is-fizzle .tg-sym-in { animation: lure-fizzle .7s ease-in forwards; }
  .tg-sym.is-fizzle .lu-out { opacity: .9; }
  .tg-sym.is-fizzle :is(.lu-halo, .lu-m-rays, .lu-m-ring, .lu-m-fil) { opacity: 0; transition: opacity .2s; }
  .tg-sym.is-fizzle .lu-val { fill: #7F94A8; stroke: #0C1B2D; transition: fill .3s; }

  /* ================= cadran sonar : gain du tumble, cible des leurres ================= */
  .lu-scope { position: absolute; left: 64px; top: 112px; width: 216px; height: 216px; z-index: 20; border-radius: 50%; transform-origin: 0 0; background: var(--p2); box-shadow: inset 0 0 0 1px var(--line-2); opacity: .72; transition: opacity .3s var(--ease); }
  &[data-haswin="1"] .lu-scope { opacity: 1; }
  .lu-scope-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .lu-s-r1 { fill: none; stroke: var(--line-2); stroke-width: 1; }
  .lu-s-r2 { fill: none; stroke: var(--line); stroke-width: 1; }
  .lu-s-r3 { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
  .lu-s-ticks path { stroke: var(--t3); stroke-width: 1; }
  .lu-s-cross { fill: none; stroke: var(--line-2); stroke-width: 1; }
  /* seules capitales espacées de l'interface, avec le logo : la gravure qui suit le bord du cadran */
  .lu-s-label { font: 500 12px var(--f-ui); letter-spacing: .24em; fill: var(--t2); }
  .lu-s-note { font: 500 11px var(--f-ui); letter-spacing: .14em; fill: var(--t3); display: none; }
  &[data-mode="fsA"] .lu-s-note-a, &[data-mode="fsB"] .lu-s-note-b { display: inline; }
  /* le balayage ne tourne que pendant un spin : il dit que la machine travaille */
  .lu-sweep { position: absolute; inset: 12px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(237, 241, 247, .13), transparent 22%); opacity: 0; transition: opacity .3s var(--ease); }
  &[data-busy="1"] .lu-sweep { opacity: 1; animation: lure-spin 2.2s linear infinite; }
  .lu-scope-read { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .lu-scope-read b { font: 600 32px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); white-space: nowrap; transition: color .3s var(--ease); }
  &[data-haswin="1"] .lu-scope-read b { color: var(--amber); }
  .lu-scope-read em { font: 600 20px/1 var(--f-ui); font-style: normal; font-variant-numeric: tabular-nums; color: var(--amber); opacity: 0; transform: translateY(4px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  &[data-lu-multi="1"] .lu-scope-read em { opacity: 1; transform: none; }
  .lu-scope.is-hit .lu-scope-art { animation: lure-hit .42s var(--ease); }
  .lu-scope-read b.is-hit { animation: lure-num .3s var(--ease); }
  .lu-scope-read b.is-multiplied { animation: lure-mult .6s var(--ease); }

  /* ================= colonne gauche : les deux lampes de feature, la trappe du bonus ================= */
  .lu-side { position: absolute; left: 40px; top: 352px; width: 264px; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .4s var(--ease); }
  &[data-mode="fsA"] .lu-side, &[data-mode="fsB"] .lu-side { display: none; }
  .lu-lamp { position: relative; width: 264px; height: 72px; border-radius: 12px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 8px; text-align: left; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .16s var(--ease), box-shadow .16s var(--ease); }
  .lu-lamp:hover { background: var(--p2); box-shadow: inset 0 0 0 1px var(--line-2); }
  .lu-bulb { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--t3); background: var(--p2); box-shadow: inset 0 0 0 1px var(--line); transition: color .16s var(--ease); }
  .lu-bulb svg { width: 40px; height: 40px; }
  .lu-bulb-o { fill: none; stroke: currentColor; stroke-width: 1.5; }
  .lu-lamp-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .lu-lamp-tx b { font: 500 14px/1.15 var(--f-display); color: var(--t1); }
  .lu-lamp-tx small { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-lamp-tx i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--amber); }
  .lu-lamp-st::after { content: 'Off'; position: absolute; right: 16px; top: 12px; font: 500 12px/1 var(--f-ui); color: var(--t3); }
  /* lampe armée : c'est le leurre, donc l'ambre. Un filet, l'ampoule pleine, le mot. Pas de halo. */
  &[data-feature="f1"] .lu-lamp[data-item="f1"], &[data-feature="f2"] .lu-lamp[data-item="f2"] {
    background: var(--p2); box-shadow: inset 0 0 0 1px rgba(255, 194, 74, .55);
    .lu-bulb { color: var(--amber); }
    .lu-bulb-o { fill: var(--amber); }
    .lu-lamp-st::after { content: 'Armed'; color: var(--amber); }
  }
  .lu-bonus { position: relative; width: 144px; height: 144px; margin-top: 8px; border-radius: 50%; display: grid; place-items: center; color: var(--t1); transition: transform .12s var(--ease); }
  .lu-bonus:active { transform: scale(.97); }
  .lu-bonus svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .lu-bn-dash { fill: none; stroke: var(--t3); stroke-width: 1; stroke-dasharray: 2 8; }
  .lu-bn-ring { fill: rgba(16, 24, 41, .94); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .16s var(--ease); }
  .lu-bn-spokes path { stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
  .lu-bn-hub { fill: #0A101E; stroke: var(--line-2); stroke-width: 1.5; }
  .lu-bonus:hover .lu-bn-ring { stroke: rgba(237, 241, 247, .34); }
  .lu-bonus span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .lu-bonus b { font: 600 20px/1 var(--f-display); color: var(--t1); }
  .lu-bonus small { font: 500 12px/1 var(--f-ui); color: var(--t2); }

  /* ================= bonus A : fleur de lumière (rien ne se garde) ================= */
  .lu-fsa { position: absolute; left: 40px; top: 356px; width: 264px; z-index: 20; display: none; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  &[data-mode="fsA"] .lu-fsa { display: flex; }
  .lu-bloom { width: 156px; height: 156px; opacity: .5; transition: opacity .4s var(--ease); }
  .lu-bloom svg { width: 100%; height: 100%; overflow: visible; }
  .lu-bloom-p ellipse { fill: rgba(164, 174, 192, .3); transition: fill .4s var(--ease); }
  .lu-bloom-p ellipse:nth-child(2n) { fill: rgba(164, 174, 192, .18); }
  .lu-bloom svg > circle:last-child { stroke: var(--line-2); }
  /* quand les leurres multiplient le spin, la fleur s'ouvre à leur lumière */
  &[data-lu-bloom="1"] .lu-bloom { opacity: 1; }
  &[data-lu-bloom="1"] .lu-bloom-p ellipse { fill: rgba(255, 226, 160, .55); }
  &[data-lu-bloom="1"] .lu-bloom-p ellipse:nth-child(2n) { fill: rgba(255, 226, 160, .3); }
  .lu-fsa p { margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .lu-fsa b { font: 500 16px/1 var(--f-display); color: var(--t1); }
  .lu-fsa span { font: 400 14px/1.4 var(--f-ui); color: var(--t2); }

  /* ================= bonus B : jauge de profondeur (tout se garde) ================= */
  .lu-gauge { position: absolute; left: 40px; top: 348px; width: 264px; height: 404px; z-index: 20; display: none; }
  &[data-mode="fsB"] .lu-gauge { display: block; }
  .lu-pod { position: absolute; left: 0; top: 0; width: 132px; height: 132px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--p2); box-shadow: inset 0 0 0 1px var(--line-2); }
  .lu-pod small { font: 500 12px/1 var(--f-ui); color: var(--t2); }
  .lu-pod b { font: 600 32px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); white-space: nowrap; }
  .lu-pod-zone { font: 500 12px/1 var(--f-ui); font-style: normal; color: var(--t2); }
  .lu-pod.is-hit { animation: lure-hit .45s var(--ease); }
  .lu-gauge-note { position: absolute; left: 0; top: 148px; width: 116px; margin: 0; font: 400 12px/1.4 var(--f-ui); color: var(--t2); }
  .lu-track { position: absolute; left: 228px; top: 16px; width: 2px; height: 372px; }
  .lu-track-line { position: absolute; inset: 0 0 0 .5px; width: 1px; background: var(--line-2); }
  .lu-track-fill { position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--lu-gm, 0) * 100%); border-radius: 1px; background: var(--t1); transition: height 1.2s var(--ease-io); }
  .lu-tick { position: absolute; right: 12px; top: calc(var(--p) * 100%); transform: translateY(-50%); display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
  .lu-tick::after { content: ''; position: absolute; right: -16px; top: 50%; width: 8px; height: 1px; background: var(--line-2); }
  .lu-tick em { font: 500 12px/1 var(--f-ui); font-style: normal; font-variant-numeric: tabular-nums; color: var(--t2); }
  .lu-tick b { font: 500 12px/1 var(--f-ui); color: var(--t3); transition: color .4s var(--ease); }
  &[data-gm-tier="0"] .lu-tick[data-t="0"] b, &[data-gm-tier="1"] .lu-tick[data-t="1"] b, &[data-gm-tier="2"] .lu-tick[data-t="2"] b,
  &[data-gm-tier="3"] .lu-tick[data-t="3"] b, &[data-gm-tier="4"] .lu-tick[data-t="4"] b, &[data-gm-tier="5"] .lu-tick[data-t="5"] b { color: var(--t1); }
  .lu-sub { position: absolute; left: -15px; top: calc(var(--lu-gm, 0) * 100%); width: 32px; height: 24px; margin-top: -12px; transition: top 1.2s var(--ease-io), left 1.2s var(--ease-io); }
  &[data-lu-snap="1"] :is(.lu-sub, .lu-track-fill, .lu-walls) { transition: none !important; }
  .lu-sub svg { width: 100%; height: 100%; overflow: visible; fill: #0A101E; stroke: var(--t1); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
  .lu-sub .w { fill: var(--t1); stroke: none; }

  /* ================= console : solde et gain en panneaux, mise en cadran, spin en sonar ================= */
  .lu-hud { position: absolute; inset: 0; z-index: 20; pointer-events: none; transition: opacity .4s var(--ease); }
  .lu-hud > * { position: absolute; pointer-events: auto; }
  .lu-cap { border-radius: 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 24px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); }
  .lu-cap span { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-cap b { font: 600 32px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); white-space: nowrap; }
  .lu-bal { left: 40px; top: 792px; width: 264px; height: 72px; }
  .lu-win { left: 320px; top: 780px; width: 368px; height: 96px; gap: 8px; }
  .lu-win b { font-size: 44px; color: var(--amber); }
  .lu-win b.is-hit { animation: lure-num .3s var(--ease); }
  .lu-lab-fs, .lu-v-fs { display: none; }
  &:is([data-mode="fsA"], [data-mode="fsB"]) { .lu-lab-win, .lu-v-win { display: none; } .lu-lab-fs, .lu-v-fs { display: block; } }

  .lu-bet { left: 704px; top: 772px; width: 264px; height: 112px; transition: opacity .4s var(--ease); }
  .lu-bet-arc { position: absolute; left: 0; top: 0; width: 264px; height: 108px; overflow: visible; }
  .lu-arc { fill: none; stroke: var(--line-2); stroke-width: 1; }
  .lu-arc-t path { stroke: var(--t3); stroke-width: 1; }
  .lu-needle { transform-origin: 131px 128px; transform: rotate(calc(-56deg + var(--lu-bet, .25) * 112deg)); transition: transform .3s var(--ease); }
  .lu-needle circle { fill: var(--t1); stroke: rgba(237, 241, 247, .16); stroke-width: 6; }
  .lu-bet .lu-round { position: absolute; top: 52px; }
  .lu-bet .lu-round:first-of-type { left: 0; }
  .lu-bet .lu-round:last-of-type { right: 0; }
  .lu-bet-read { position: absolute; left: 56px; right: 56px; top: 44px; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .lu-bet-read span { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-bet-read b { font: 600 28px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); white-space: nowrap; }
  .lu-bet-read b.is-hit { animation: lure-num .3s var(--ease); }
  .lu-bet-sub { font: 500 12px/1 var(--f-ui); color: var(--t3); }
  .lu-bet-sub i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--t2); }
  .lu-lab-cost, .lu-v-cost, .lu-bet-sub { display: none; }
  /* feature armée : le spin coûte plus cher, le cadran passe à l'ambre (argent et leurre) */
  &:is([data-feature="f1"], [data-feature="f2"]) {
    .lu-lab-bet, .lu-v-bet { display: none; }
    .lu-lab-cost, .lu-v-cost, .lu-bet-sub { display: block; }
    .lu-v-cost { color: var(--amber); }
    .lu-bet-read { top: 48px; gap: 4px; }
    .lu-v-cost { font-size: 24px !important; }
    .lu-needle circle { fill: var(--amber); stroke: rgba(255, 194, 74, .2); }
  }
  &:is([data-mode="fsA"], [data-mode="fsB"]) .lu-bet { opacity: .3; pointer-events: none; }

  .lu-round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--t2); background: var(--p2); box-shadow: inset 0 0 0 1px var(--line); transition: color .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease), transform .12s var(--ease); }
  .lu-round svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .lu-round:hover { color: var(--t1); box-shadow: inset 0 0 0 1px var(--line-2); }
  .lu-round:active { transform: scale(.97); }
  .lu-minis { left: 988px; top: 800px; display: flex; gap: 12px; }
  .lu-ic-off { display: none; }
  &[data-sound="0"] .lu-ic-on { display: none; }
  &[data-sound="0"] .lu-ic-off { display: inline; }
  /* réglage actif : un cran de surface et le trait en clair, rien de plus */
  &[data-sound="1"] [data-action="sound"], &[data-turbo="1"] [data-action="turbo"], &[data-auto="1"] [data-action="auto"] { color: var(--t1); background: var(--s3); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .1); }

  .lu-spin { left: 1400px; top: 724px; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; color: var(--t1); background: var(--p2); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .12s var(--ease), box-shadow .3s var(--ease); }
  .lu-spin:active { transform: scale(.97); }
  .lu-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .lu-sp-r1 { fill: none; stroke: var(--line); stroke-width: 1; }
  .lu-sp-t path { stroke: var(--t3); stroke-width: 1; }
  .lu-sp-r2 { fill: none; stroke: var(--line-2); stroke-width: 1; }
  .lu-sp-r3 { fill: rgba(237, 241, 247, .04); stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
  /* balayage et écho : seulement quand un spin part (la machine écoute le fond) */
  .lu-spin-sweep { position: absolute; inset: 8px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(237, 241, 247, .22), transparent 28%); opacity: 0; transition: opacity .2s var(--ease); }
  &[data-busy="1"] .lu-spin-sweep { opacity: 1; animation: lure-spin 1s linear infinite; }
  .lu-spin-ping { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--t2); opacity: 0; }
  &[data-busy="1"] .lu-spin-ping { animation: lure-ping .9s var(--ease); }
  .lu-spin-tx { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .lu-sp-go { font: 600 24px/1 var(--f-display); color: var(--t1); }
  .lu-sp-left, .lu-sp-fs, .lu-sp-auto, .lu-sp-stop { display: none; }
  .lu-sp-left, .lu-sp-auto { font: 600 44px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); }
  .lu-sp-fs, .lu-sp-stop { font: 500 12px/1 var(--f-ui); color: var(--t2); }
  .lu-sp-left.is-hit { animation: lure-num .3s var(--ease); }
  &:is([data-mode="fsA"], [data-mode="fsB"]) { .lu-sp-go { display: none; } .lu-sp-left, .lu-sp-fs { display: block; } .lu-spin { pointer-events: none; } }
  &[data-auto="1"][data-mode="base"] { .lu-sp-go { display: none; } .lu-sp-auto, .lu-sp-stop { display: block; } }
  &:is([data-feature="f1"], [data-feature="f2"])[data-mode="base"] .lu-spin { box-shadow: inset 0 0 0 1px rgba(255, 194, 74, .55); }

  /* pendant un bait, l'interface s'efface : il ne reste que le leurre, les yeux et les colonnes à venir */
  &:is([data-antic="1"], [data-antic="2"]) :is(.lu-hud, .lu-side, .lu-logo, .lu-fsa, .lu-gauge) { opacity: .26; }
  &:is([data-antic="1"], [data-antic="2"]) .lu-scope { opacity: .26; }

  /* ================= annonces ================= */
  .lu-toast { position: absolute; left: 712px; top: 418px; z-index: 55; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; pointer-events: none;
    background: rgba(10, 16, 30, .96); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transform: translateY(8px); transition: opacity .22s var(--ease), transform .3s var(--ease); }
  &[data-retrigger="1"] .lu-toast { opacity: 1; transform: none; }
  .lu-toast b { font: 600 56px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); }
  .lu-toast span { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-zone { position: absolute; left: 712px; top: 152px; z-index: 28; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; pointer-events: none; white-space: nowrap; }
  .lu-zone::before { content: ''; position: absolute; inset: -32px -112px; z-index: -1; background: radial-gradient(closest-side, rgba(4, 7, 14, .9), rgba(4, 7, 14, .55) 60%, transparent); }
  .lu-zone small { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-zone b { font: 600 44px/1 var(--f-display); color: var(--t1); }
  .lu-zone.is-hit { animation: lure-zone 2.3s var(--ease) both; }

  /* ================= volet : sa mâchoire se referme sur l'écran (c'est elle : ses dents gardent leur lumière) ================= */
  .lu-jaws { position: absolute; inset: 0; z-index: 58; pointer-events: none; overflow: hidden; visibility: hidden; }
  &[data-transition] .lu-jaws { visibility: visible; }
  .lu-jaw-t, .lu-jaw-b { position: absolute; left: -4%; width: 108%; height: 50%; background: #01040A; }
  .lu-jaw-t { top: 0; transform: translateY(-145%); box-shadow: 0 5px 0 rgba(44, 245, 233, .6), 0 12px 46px rgba(44, 245, 233, .35); }
  .lu-jaw-b { bottom: 0; transform: translateY(145%); box-shadow: 0 -5px 0 rgba(192, 77, 255, .6), 0 -12px 46px rgba(192, 77, 255, .35); }
  .lu-jaw-t svg, .lu-jaw-b svg { position: absolute; left: 0; width: 100%; height: 190px; stroke: rgba(44, 245, 233, .5); stroke-width: 2; }
  .lu-jaw-t svg { top: 100%; margin-top: 4px; }
  .lu-jaw-b svg { bottom: 100%; margin-bottom: 4px; }
  &[data-transition] .lu-jaw-t { animation: lure-jaw-t var(--lu-wipe) both; }
  &[data-transition] .lu-jaw-b { animation: lure-jaw-b var(--lu-wipe) both; }

  /* ================= pop-ins : des hublots d'encre, un collier de boulons, rien qui brille ================= */
  [data-popup] { background: rgba(4, 7, 14, .86); }
  .lu-port { --d: 620px; position: relative; flex: none; width: var(--d); height: var(--d); border-radius: 50%; background: #0A101E; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 16px #060A14, 0 0 0 17px var(--line); }
  .lu-port::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; pointer-events: none; background: repeating-conic-gradient(rgba(237, 241, 247, .42) 0 1.2deg, transparent 1.2deg 15deg);
    -webkit-mask-image: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 9px), #000 calc(100% - 5px), transparent calc(100% - 4px)); mask-image: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 9px), #000 calc(100% - 5px), transparent calc(100% - 4px)); }
  .lu-port-xl { --d: 800px; }
  .lu-port-s { --d: 500px; }
  /* une seule entrée : le hublot monte de quelques pixels pendant que son collier se dévisse */
  [data-popup][data-open="true"] .lu-port { animation: lure-port-in .4s var(--ease) both; }
  [data-popup][data-open="true"] .lu-port::before { animation: lure-unscrew .6s var(--ease) both; }
  [data-popup][data-open="closing"] .lu-port { transform: translateY(8px); opacity: 0; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .lu-port-in { position: absolute; inset: 14.6%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
  .lu-port-cap { position: absolute; left: 0; right: 0; top: 6%; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .lu-port-cap small, .lu-eyebrow { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-port h2 { margin: 0; font: 500 32px/1.1 var(--f-display); color: var(--t1); }
  .lu-port p { margin: 0; font: 400 16px/1.45 var(--f-ui); color: var(--t2); }
  .lu-btn { height: 48px; min-width: 144px; padding: 0 24px; border-radius: 10px; font: 500 16px/1 var(--f-ui); color: var(--t1); background: var(--s3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .16s var(--ease), transform .12s var(--ease); }
  .lu-btn:hover { background: #1F2B42; }
  .lu-btn:active { transform: scale(.98); }
  /* action principale : un blanc cassé de la rampe, texte d'encre */
  .lu-btn-go { color: #0A101E; background: var(--t1); box-shadow: none; }
  .lu-btn-go:hover { background: #fff; }
  .lu-port-x { position: absolute; left: 50%; bottom: 5%; translate: -50% 0; z-index: 1; }
  .lu-row { display: flex; align-items: center; justify-content: center; gap: 12px; }

  /* menu bonus : quatre hublots dans le hublot */
  .lu-menu { display: grid; grid-template-columns: repeat(2, 264px); gap: 20px 24px; align-content: center; justify-content: center; }
  .lu-item { width: 264px; height: 264px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 36px; text-align: center; color: var(--t1); background: #101829; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .16s var(--ease), box-shadow .16s var(--ease); }
  .lu-item:hover { background: #182236; box-shadow: inset 0 0 0 1px rgba(237, 241, 247, .32); }
  .lu-item > b { font: 500 16px/1.15 var(--f-display); color: var(--t1); }
  .lu-item-d { font: 400 14px/1.35 var(--f-ui); color: var(--t2); }
  .lu-item-d i { font-style: normal; font-weight: 500; color: var(--t1); }
  .lu-item em { font-style: normal; display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
  .lu-item em i { font: 600 20px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); }
  .lu-item em u { font: 500 14px/1 var(--f-ui); font-variant-numeric: tabular-nums; text-decoration: none; color: var(--t2); }
  .lu-eyes { display: flex; gap: 0; }
  .lu-eyes i { display: block; width: 44px; height: 44px; }
  .lu-item-b .lu-eyes i { width: 40px; height: 40px; }
  .lu-eyes svg, .lu-item-orb svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .lu-item-orb { display: block; width: 56px; height: 56px; }
  &[data-feature="f1"] .lu-item[data-item="f1"], &[data-feature="f2"] .lu-item[data-item="f2"] { box-shadow: inset 0 0 0 1px rgba(255, 194, 74, .6); }

  /* confirmation : la roue de trappe, gravée dans le fond */
  .lu-wheel { position: absolute; inset: 9%; width: 82%; height: 82%; }
  .lu-wheel circle { fill: none; stroke: var(--line); stroke-width: 2; }
  .lu-wheel path { stroke: var(--line); stroke-width: 4; stroke-linecap: round; }
  [data-popup="confirm"] h2 { font-size: 24px; }
  [data-popup="confirm"] p b { font: 600 24px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); }
  [data-popup="confirm"] p i { font-style: normal; font-weight: 500; color: var(--t1); }
  .lu-per { display: none; }
  [data-popup="confirm"]:is([data-item="f1"], [data-item="f2"]) .lu-per { display: inline; }

  /* entrée et sortie de bonus */
  .lu-port-scene { display: none; }
  .lu-count { display: flex; align-items: center; gap: 16px; }
  .lu-port .lu-count b { font: 600 96px/.9 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); }
  .lu-port .lu-count span { font: 500 20px/1.1 var(--f-ui); text-align: left; color: var(--t2); }
  .lu-desc { max-width: 392px; }
  .lu-total { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .lu-port .lu-total span { font: 500 14px/1 var(--f-ui); color: var(--t2); }
  .lu-port .lu-total b { font: 600 56px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); white-space: nowrap; }

  /* gros gain : la prise remonte. Le fond s'assombrit, le titre est posé à plat ; la lumière vient du banc de plancton
     qui monte du fond et de la gueule de la Reine (effets GPU), pas des lettres. */
  [data-popup="bigwin"] { background: radial-gradient(ellipse 60% 44% at 50% 50%, rgba(4, 7, 14, .9) 0%, rgba(4, 7, 14, .74) 55%, rgba(4, 7, 14, .18) 100%); }
  .lu-bw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .lu-bw h2 { margin: 0; font: 600 56px/1 var(--f-display); color: var(--t1); white-space: nowrap; }
  .lu-bw > b { font: 600 96px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--amber); white-space: nowrap; }
  [data-popup="bigwin"][data-open="true"] .lu-bw h2 { animation: lure-rise .5s var(--ease) both; }
  [data-popup="bigwin"][data-open="true"] .lu-bw > b { animation: lure-rise .5s var(--ease) .06s both; }
  [data-popup="bigwin"][data-tier="mega"] h2 { font-size: 64px; }
  [data-popup="bigwin"][data-tier="epic"] h2 { font-size: 72px; }

  /* règles */
  .lu-info .lu-port-in { inset: 15% 12% 13%; gap: 12px; }
  .lu-pays { display: flex; justify-content: center; gap: 12px; }
  .lu-pays > div { width: 112px; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .lu-pays span { display: block; width: 68px; height: 68px; }
  .lu-pays span svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .lu-pays small { width: 100%; display: flex; justify-content: space-between; padding: 0 4px; font: 400 14px/1.3 var(--f-ui); color: var(--t2); }
  .lu-pays small b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--t1); }
  .lu-pays-l > div { width: 100px; }
  .lu-pays-l span { width: 56px; height: 56px; }
  .lu-rules { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; max-width: 540px; }
  .lu-rules li { font: 400 14px/1.4 var(--f-ui); color: var(--t2); }
  .lu-round-n { width: 88px; height: 88px; font: 600 24px/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--t1); }

  /* ================= VFX GPU (kit/vfx.js) : décor, lumière et énergie passent en shader =================
     Tout ce qui est masqué ici reste le repli quand WebGL2 manque (data-vfx="0", ou shader de décor absent). */
  .lu-bg[data-vfx-scene="1"] ~ :is(.lu-rays, .lu-far, .lu-snow, .lu-bloomwater, .lu-deepen, .lu-walls, .lu-violet, .lu-shade) { display: none; }
  &[data-vfx="1"] {
    .lu-cone, .lu-lure-halo, .lu-lure-rays, .tg-sym .lu-m-rays { display: none; }
    .tg-colhl, .tg-colhl[data-on="2"], .tg-colhl[data-active="1"], .tg-colhl[data-on="2"][data-active="1"] { background: none; box-shadow: none; }
    /* le halo SVG reste au repos (il fait partie du dessin) ; dès qu'un effet GPU prend le relais, il se tait */
    .tg-sym:is(.is-teasing, .is-trigger) .lu-halo, .tg-sym[data-kind="multi"].is-landed .lu-halo { animation: none; opacity: .25; }
    .tg-sym[data-kind="scatter"].is-teasing .tg-sym-in { animation: none; }
    .tg-sym[data-kind="scatter"].is-trigger .tg-sym-in { animation: lure-eye-trigger-vfx .5s ease-in-out infinite alternate; }
    .tg-sym[data-kind="multi"].is-fizzle .tg-sym-in { animation: lure-fizzle-vfx .7s ease-out forwards; }
  }

  /* la Reine pendant un gain : plus la prise est belle, plus sa gueule s'ouvre ; elle happe les créatures qu'elle aspire */
  &[data-host="win"][data-lu-feast="1"] { --lu-jaw: 8px; }
  &[data-host="win"][data-lu-feast="2"] { --lu-jaw: 16px; }
  &[data-host="win"][data-lu-feast="3"] { --lu-jaw: 24px; }
  &[data-lu-gulp="1"] { --lu-jaw: 34px; }
  &[data-lu-gulp="1"] .lu-q-glow-v { opacity: .7; }

  /* ================= portrait 900×1600 ================= */
  &[data-orient="portrait"] {
    .lu-queen { left: 506px; top: -64px; transform: scale(.66); }
    &[data-host="antic"] .lu-queen-st { transform: translate(-16px, 20px) scale(1.05); }
    &[data-host="antic2"] .lu-queen-st { transform: translate(-22px, 32px) scale(1.1); }
    &[data-host="bonus"] .lu-queen-st { transform: translate(-60px, 90px) scale(1.24); }
    &[data-host="bigwin"] .lu-queen-st { transform: translate(-10px, 16px) scale(1.08); }
    &[data-host="sad"] .lu-queen-st { transform: translate(20px, -34px) scale(.94); }
    &[data-host="idle"]:is([data-dead="3"], [data-dead="4"], [data-dead="5"], [data-dead="6"], [data-dead="7"], [data-dead="8"], [data-dead="9"]) .lu-queen-st { transform: translate(26px, -30px) scale(.92); }
    .lu-logo { left: 32px; top: 32px; }
    .lu-logo b { font-size: 44px; }
    .lu-logo span i { top: 9px; width: 11px; height: 11px; margin-left: -10px; }
    .lu-scope { left: 32px; top: 128px; transform: scale(.9); }
    .lu-frame { left: 24px; top: 360px; width: 852px; height: 724px; }
    .lu-fr-ticks::after { top: 718px; }
    .lu-grid { left: 8px; top: 12px; width: 836px; height: 700px; }
    .lu-toast { left: 450px; top: 722px; }
    .lu-zone { left: 450px; top: 428px; }
    .lu-zone b { font-size: 32px; }
    .lu-side { left: 32px; top: 1104px; width: 836px; flex-direction: row; gap: 12px; }
    .lu-lamp { width: 344px; height: 88px; }
    .lu-lamp-tx b { font-size: 16px; }
    .lu-bulb { width: 64px; height: 64px; }
    .lu-bonus { width: 112px; height: 112px; margin: -12px 0 -12px 8px; }
    .lu-bonus b { font-size: 16px; }
    .lu-bonus small { display: none; }
    .lu-fsa { left: 32px; top: 1100px; width: 836px; flex-direction: row; justify-content: center; gap: 24px; text-align: left; }
    .lu-bloom { width: 108px; height: 108px; }
    .lu-fsa span br { display: none; }
    .lu-gauge { left: 32px; top: 1096px; width: 836px; height: 112px; }
    .lu-pod { width: 112px; height: 112px; }
    .lu-gauge-note { display: none; }
    .lu-track { left: 160px; top: 64px; width: 648px; height: 2px; }
    .lu-track-line { inset: .5px 0 0 0; width: auto; height: 1px; }
    .lu-track-fill { left: 0; top: 0; height: 2px; width: calc(var(--lu-gm, 0) * 100%); transition: width 1.2s var(--ease-io); }
    .lu-tick { right: auto; left: calc(var(--p) * 100%); top: -40px; height: 80px; transform: translateX(-50%); flex-direction: column; align-items: center; justify-content: space-between; gap: 0; }
    .lu-tick::after { right: auto; left: 50%; top: 34px; width: 1px; height: 12px; }
    .lu-tick[data-t="0"] { transform: translateX(-14%); }
    .lu-sub { left: calc(var(--lu-gm, 0) * 100%); top: 0; margin: -12px 0 0 -16px; }
    .lu-bal { left: 32px; top: 1228px; width: 404px; height: 84px; }
    .lu-win { left: 448px; top: 1228px; width: 420px; height: 84px; gap: 4px; }
    .lu-bet { left: 32px; top: 1368px; width: 288px; height: 168px; }
    .lu-bet-arc { width: 288px; height: 120px; }
    .lu-bet .lu-round { top: 100px; width: 68px; height: 68px; }
    .lu-bet .lu-round:first-of-type { left: 56px; }
    .lu-bet .lu-round:last-of-type { right: 56px; }
    .lu-bet-read { left: 32px; right: 32px; top: 32px; bottom: 76px; }
    &:is([data-feature="f1"], [data-feature="f2"]) .lu-bet-read { top: 48px; bottom: 64px; }
    .lu-spin { left: 336px; top: 1336px; width: 228px; height: 228px; }
    .lu-sp-go { font-size: 32px; }
    .lu-sp-left, .lu-sp-auto { font-size: 72px; }
    .lu-sp-fs, .lu-sp-stop { font-size: 14px; }
    .lu-minis { left: 628px; top: 1356px; width: 196px; flex-wrap: wrap; gap: 20px; }
    .lu-minis .lu-round { width: 88px; height: 88px; }
    .lu-minis .lu-round svg { width: 32px; height: 32px; }
    .lu-port-xl { --d: 824px; }
    .lu-menu { grid-template-columns: repeat(2, 272px); }
    .lu-item { width: 272px; height: 272px; }
    .lu-bw h2 { font-size: 44px; }
    .lu-bw > b { font-size: 72px; }
    [data-popup="bigwin"][data-tier="mega"] h2 { font-size: 48px; }
    [data-popup="bigwin"][data-tier="epic"] h2 { font-size: 56px; }
    .lu-jaw-t svg, .lu-jaw-b svg { height: 300px; }
  }
}

@keyframes lure-spin { to { transform: rotate(360deg); } }
@keyframes lure-ray { from { opacity: .35; transform: skewX(-18deg) translateX(0); } to { opacity: 1; transform: skewX(-14deg) translateX(30px); } }
@keyframes lure-drift { from { transform: translateX(1750px); } to { transform: translateX(-700px); } }
@keyframes lure-snow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(36px, calc(var(--lu-h) * 1px + 30px), 0); } }
@keyframes lure-blackout { 0% { opacity: 0; } 25% { opacity: .62; } 100% { opacity: 0; } }
@keyframes lure-q-sway { from { transform: translateY(-6px) rotate(-.6deg); } to { transform: translateY(8px) rotate(.8deg); } }
@keyframes lure-fan { from { transform: rotate(-3deg); } to { transform: rotate(3.5deg); } }
@keyframes lure-twinkle { from { opacity: .4; } to { opacity: 1; } }
@keyframes lure-blink-t { 0%, 91%, 100% { transform: translateY(-14px); } 94.5% { transform: translateY(2px); } }
@keyframes lure-blink-b { 0%, 91%, 100% { transform: translateY(34px); } 94.5% { transform: translateY(0); } }
@keyframes lure-slowblink { 0% { transform: translateY(-14px); } 28%, 62% { transform: translateY(2px); } 100% { transform: translateY(-6px); } }
@keyframes lure-beams { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes lure-orb-breathe { from { scale: .92; } to { scale: 1.08; } }
@keyframes lure-land { 0% { transform: translateY(-5px) scale(.95, 1.05); } 60% { transform: translateY(1px) scale(1.03, .98); } 100% { transform: none; } }
@keyframes lure-halo { from { opacity: .5; } to { opacity: 1; } }
@keyframes lure-sway { from { transform: skewX(-7deg); } to { transform: skewX(7deg); } }
@keyframes lure-bell { from { transform: scale(1.03, .95); } to { transform: scale(.97, 1.04); } }
@keyframes lure-tail { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes lure-bob { from { transform: translateY(-2px) rotate(-2deg); } to { transform: translateY(2px) rotate(2deg); } }
@keyframes lure-eye-tease { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes lure-iris { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes lure-eye-trigger { from { transform: scale(1.06) rotate(-3deg); } to { transform: scale(1.24) rotate(3deg); } }
@keyframes lure-lure-in { 0% { transform: translateY(-10%) rotate(-15deg); } 30% { transform: rotate(10deg); } 55% { transform: rotate(-6deg); } 78% { transform: rotate(3deg); } 100% { transform: none; } }
@keyframes lure-float { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes lure-flare { to { transform: scale(1.3); } }
@keyframes lure-fizzle { 0% { transform: none; } 18% { transform: translateX(-3%) rotate(-3deg); } 36% { transform: translateX(3%) rotate(3deg); } 100% { transform: translateY(9%) scale(.9); opacity: .6; } }
@keyframes lure-hit { 0% { filter: brightness(1.9); } 100% { filter: none; } }
@keyframes lure-num { 0% { transform: translateY(-3px); opacity: .55; } 100% { transform: none; opacity: 1; } }
@keyframes lure-mult { 0% { transform: scale(1.14); } 100% { transform: none; } }
@keyframes lure-ping { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes lure-zone { 0% { opacity: 0; transform: translateX(-50%) translateY(-12px); } 14%, 78% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%) translateY(12px); } }
@keyframes lure-jaw-t { 0% { transform: translateY(-145%); animation-timing-function: cubic-bezier(.7, 0, .95, .5); } 36% { transform: translateY(0); } 40% { transform: translateY(-2.5%); } 44%, 62% { transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .3, 1); } 100% { transform: translateY(-145%); } }
@keyframes lure-jaw-b { 0% { transform: translateY(145%); animation-timing-function: cubic-bezier(.7, 0, .95, .5); } 36% { transform: translateY(0); } 40% { transform: translateY(2.5%); } 44%, 62% { transform: translateY(0); animation-timing-function: cubic-bezier(.4, 0, .3, 1); } 100% { transform: translateY(145%); } }
@keyframes lure-port-in { from { transform: translateY(12px); opacity: 0; } }
@keyframes lure-unscrew { from { transform: rotate(-30deg); } }
@keyframes lure-rise { from { transform: translateY(12px); opacity: 0; } }
@keyframes lure-eye-trigger-vfx { from { transform: scale(1.05); } to { transform: scale(1.15); } }
@keyframes lure-fizzle-vfx { 0% { filter: brightness(1.7); } 100% { transform: translateY(6%) scale(.94); opacity: .6; filter: none; } }
/* gestes de gain, un par créature. Première image : au repos. Dernière : éveillée, et elle le reste tant que le gain est affiché. */
@keyframes lure-act { 0% { transform: none; filter: brightness(1); } 45% { transform: scale(1.12); filter: brightness(1.41) saturate(1.14); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-jelly { 0% { transform: none; filter: brightness(1); } 20% { transform: translateY(3%) scale(1.12, .9); filter: brightness(1.09); } 44% { transform: translateY(-17%) scale(.8, 1.16); filter: brightness(1.49) saturate(1.14); } 66% { transform: translateY(-21%) scale(.94, 1.05); filter: brightness(1.23) saturate(1.1); } 100% { transform: translateY(-4%) scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-nautilus { 0% { transform: none; filter: brightness(1); } 30% { transform: scale(.78) rotate(-20deg); filter: brightness(.9); } 52% { transform: scale(.8) rotate(-16deg); filter: brightness(.95); } 78% { transform: scale(1.13) rotate(6deg); filter: brightness(1.49) saturate(1.14); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-dragon { 0% { transform: none; filter: brightness(1); } 16% { transform: translate(-3%, 1%) skewX(10deg) rotate(-5deg); filter: brightness(1.23); } 33% { transform: translate(3%, -3%) skewX(-10deg) rotate(5deg); filter: brightness(1.46) saturate(1.14); } 50% { transform: translate(-2%, -5%) skewX(8deg) rotate(-4deg); filter: brightness(1.29); } 67% { transform: translate(2%, -6%) skewX(-7deg) rotate(3deg); filter: brightness(1.41); } 84% { transform: translate(-1%, -4%) skewX(4deg) rotate(-2deg); filter: brightness(1.2); } 100% { transform: translateY(-2%) scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-fish { 0% { transform: none; filter: brightness(1); } 16% { transform: translateX(8%) scale(.92, 1.06); filter: brightness(1.06); } 42% { transform: translateX(-30%) scale(1.22, .86); filter: brightness(1.52) saturate(1.14); } 64% { transform: translateX(-12%) scale(1.05, .98); filter: brightness(1.26); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-conch { 0% { transform: none; filter: brightness(1); } 50% { transform: rotate(205deg) scale(1.13); filter: brightness(1.49) saturate(1.14); } 100% { transform: rotate(360deg) scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-star { 0% { transform: none; filter: brightness(1); } 32% { transform: scale(.72); filter: brightness(.95); } 50% { transform: scale(.7); filter: brightness(1.03); } 76% { transform: scale(1.17) rotate(5deg); filter: brightness(1.52) saturate(1.14); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-urchin { 0% { transform: none; filter: brightness(1); } 12% { transform: scale(.88); filter: brightness(1); } 26% { transform: scale(1.2) rotate(4deg); filter: brightness(1.41); } 38% { transform: scale(1.07) rotate(-3deg); filter: brightness(1.17); } 52% { transform: scale(1.23) rotate(3deg); filter: brightness(1.55) saturate(1.14); } 68% { transform: scale(1.09) rotate(-2deg); filter: brightness(1.23); } 100% { transform: scale(1.05); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-kelp { 0% { transform: none; filter: brightness(1); } 30% { transform: skewX(-17deg) rotate(8deg); filter: brightness(1.35) saturate(1.14); } 56% { transform: skewX(9deg) rotate(-5deg); filter: brightness(1.46); } 78% { transform: skewX(-5deg) rotate(2deg); filter: brightness(1.23); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-act-pearl { 0% { transform: none; filter: brightness(1); } 44% { transform: scale(1.24); filter: brightness(1.2); } 52% { transform: scale(.88); filter: brightness(1.75) saturate(1.14); } 72% { transform: scale(1.1); filter: brightness(1.29); } 100% { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } }
@keyframes lure-gather { from { transform: scale(1.04); filter: brightness(1.13) saturate(1.08); } to { transform: scale(.92); filter: brightness(1.35) saturate(1.14); } }
@keyframes lure-pay-in { from { transform: translate(-50%, -20%); opacity: 0; } }
@keyframes lure-pay-out { to { transform: translate(-50%, -90%); opacity: 0; } }
@keyframes lure-eye-open { 0% { transform: scaleY(.1); opacity: .5; } 60% { transform: scaleY(1.08); opacity: 1; } 100% { transform: none; } }
@keyframes lure-eye-watch { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.08) rotate(3deg); } }
@keyframes lure-eye-shut { to { transform: scaleY(.14); opacity: .4; } }

/* ================= art généré (data-painted="1") : décor peint, Reine peinte, symboles peints =================
   Tout ce bloc est préfixé : avec ?art=0 (ou si les images manquent) rien ne s'applique et le dessin vectoriel revient. */
.skin-lure[data-painted="1"] {
  /* décor : la peinture. Le shader (lure.abyss-art) est transparent : il l'étalonne et l'anime par-dessus. */
  /* un voile sombre à gauche garde le logo, le cadran et les lampes lisibles devant les coraux peints */
  .lu-bg { background: linear-gradient(90deg, rgba(2, 8, 20, .56) 0, rgba(2, 8, 20, .3) 15%, rgba(2, 8, 20, 0) 29%), var(--art-fond) center / cover no-repeat, #030B1A; }
  .lu-rays, .lu-far { display: none; }

  /* la Reine : portrait de 828 × 1100 découpé en pièces animables (pieces.json + tools/art.mjs). Rien n'est figé :
     le leurre et sa tige, les yeux, la mâchoire, les nageoires et la crête retrouvent les gestes de la version dessinée. */
  .lu-queen { left: 1046px; top: 22px; width: 640px; height: 850px; }
  .lu-qa { position: absolute; inset: 0; }
  .lu-qa img { display: block; user-select: none; -webkit-user-drag: none; }
  /* l'image est lumineuse sur transparent : une ombre portée centrée lui redonne un corps sur le décor peint */
  .lu-qa-img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .9s, transform .45s var(--ease);
    filter: drop-shadow(0 0 16px rgba(2, 7, 18, .95)) drop-shadow(0 0 34px rgba(2, 7, 18, .85)); }
  /* mâchoire : le portrait est posé trois fois. Le haut ne bouge pas, le bas (lèvre, menton, voiles) descend, et entre
     les deux une bande de 55 px (gueule et pointes des dents du bas) s'étire comme un élastique : l'image reste
     continue, aucun trou ne s'ouvre. --lu-jaw-n = ouverture en px. */
  .lu-qa-top { clip-path: inset(0 0 51.5% 0); }
  .lu-qa-band { clip-path: inset(48.5% 0 45% 0); transform-origin: 50% 48.5%; transform: scaleY(calc(1 + var(--lu-jaw-n, 0) / 55.25)); animation: lure-qa-band 4.6s ease-in-out infinite alternate; }
  .lu-qa-jaw { clip-path: inset(55% 0 0 0); transform: translateY(calc(var(--lu-jaw-n, 0) * 1px)); animation: lure-qa-jaw 4.6s ease-in-out infinite alternate; }
  &[data-host="antic"] { --lu-jaw-n: 8; }
  &[data-host="antic2"] { --lu-jaw-n: 26; }
  &[data-host="bonus"] { --lu-jaw-n: 38; }
  &[data-host="bigwin"] { --lu-jaw-n: 44; }
  &[data-host="win"] { --lu-jaw-n: 5; }
  /* gain : plus la prise est belle, plus la gueule s'ouvre (et la crête se dresse) ; elle happe ce qu'elle aspire */
  &[data-host="win"][data-lu-feast="1"] { --lu-jaw-n: 10; }
  &[data-host="win"][data-lu-feast="2"] { --lu-jaw-n: 16; }
  &[data-host="win"][data-lu-feast="3"] { --lu-jaw-n: 22; }
  &[data-lu-gulp="1"] { --lu-jaw-n: 30; }
  /* nageoires : détachées du portrait, elles ondulent autour de leur attache et se dressent quand elle s'excite */
  .lu-qa-fin, .lu-qa-crest { position: absolute; filter: drop-shadow(0 0 14px rgba(2, 7, 18, .9)); }
  .lu-qa-fin { transition: transform .45s var(--ease), opacity .9s; }
  .lu-qa-fin-l { left: 0; top: 25.71%; width: 27.81%; height: 38.05%; transform-origin: 83% 34.5%; animation: lure-qa-fin-l 5.5s ease-in-out infinite alternate; }
  .lu-qa-fin-r { left: 73.39%; top: 25.5%; width: 26.61%; height: 38.12%; transform-origin: 17.5% 35%; animation: lure-qa-fin-r 5.5s ease-in-out -2.2s infinite alternate; }
  &[data-host="antic"] .lu-qa-fin-l, &[data-host="cast"] .lu-qa-fin-l { transform: rotate(4deg); }
  &[data-host="antic"] .lu-qa-fin-r, &[data-host="cast"] .lu-qa-fin-r { transform: rotate(-4deg); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-qa-fin-l { transform: rotate(8deg) scale(1.04); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-qa-fin-r { transform: rotate(-8deg) scale(1.04); }
  &[data-host="sad"] .lu-qa-fin-l { transform: rotate(-5deg) scale(.97); }
  &[data-host="sad"] .lu-qa-fin-r { transform: rotate(5deg) scale(.97); }
  /* crête : une seconde rangée d'épines, cachée derrière la première au repos, se déploie en éventail */
  .lu-qa-crest { opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
  .lu-qa-crest-l { left: 23.11%; top: 0; width: 28.08%; height: 33.13%; transform-origin: 97.7% 118%; }
  .lu-qa-crest-r { left: 49.91%; top: 0; width: 34.62%; height: 33.13%; transform-origin: 1.9% 118%; }
  &[data-host="antic"] .lu-qa-crest-l { opacity: .8; transform: rotate(-5deg) scale(1.03); }
  &[data-host="antic"] .lu-qa-crest-r { opacity: .8; transform: rotate(5deg) scale(1.03); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-qa-crest-l { opacity: 1; transform: rotate(-10deg) scale(1.08); }
  &:is([data-host="antic2"], [data-host="bonus"], [data-host="bigwin"]) .lu-qa-crest-r { opacity: 1; transform: rotate(10deg) scale(1.08); }
  &[data-host="cast"] .lu-qa-crest-l { opacity: .7; transform: rotate(-4deg); }
  &[data-host="cast"] .lu-qa-crest-r { opacity: .7; transform: rotate(4deg); }
  &[data-host="win"]:is([data-lu-feast="2"], [data-lu-feast="3"]) .lu-qa-crest-l { opacity: .8; transform: rotate(-5deg) scale(1.03); }
  &[data-host="win"]:is([data-lu-feast="2"], [data-lu-feast="3"]) .lu-qa-crest-r { opacity: .8; transform: rotate(5deg) scale(1.03); }
  /* yeux : chaque iris est une pièce qui bouge dans sa fenêtre ronde, sur l'orbite assombrie du portrait.
     Elle suit le regard (--lu-look-x/y), cligne (la fenêtre s'écrase) et s'écarquille (scale). */
  .lu-qa-iris { position: absolute; overflow: hidden; border-radius: 50%; transition: scale .3s var(--ease), opacity .9s, filter .4s; animation: lure-qa-blink 6.5s infinite; }
  .lu-qa-iris-l { left: 33.33%; top: 30.21%; width: 8.47%; height: 6.44%; }
  .lu-qa-iris-r { left: 59.39%; top: 30.21%; width: 8.47%; height: 6.44%; }
  .lu-qa-iris img { width: 100%; height: 100%; transform: translate(calc(var(--lu-look-x, 0) * 7%), calc(var(--lu-look-y, 0) * 5%)); transition: transform .35s ease-out; }
  &[data-host="antic"] .lu-qa-iris { scale: 1.12; }
  &:is([data-host="antic2"], [data-host="bonus"]) .lu-qa-iris { scale: 1.22; animation: none; filter: brightness(1.35); }
  &:is([data-host="cast"], [data-host="bigwin"]) .lu-qa-iris { filter: brightness(1.3); }
  &[data-host="sad"] .lu-qa-iris { animation: lure-qa-slowblink 1.7s ease-in-out both; }
  /* (2 px et non 0 : le moteur VFX masque un effet dont l'élément suivi n'a pas de taille) */
  .lu-qa > i { position: absolute; width: 2px; height: 2px; margin: -1px 0 0 -1px; }
  .lu-qa-stalk { left: 49.82%; top: 30.91%; }   /* racine de la tige, entre les yeux */
  .lu-qa-stalk2 { left: 40.98%; top: 4.37%; }   /* fin du tronçon rigide, au-dessus de la crête */
  .lu-qa-lure { left: 24.68%; top: 12.68%; } /* douille de l'ampoule dans le portrait d'origine : sa place de repos */
  .lu-qa-eyes { left: 50.8%; top: 33.8%; }
  .lu-qa-eye-l { left: 37.1%; top: 33.8%; }
  .lu-qa-eye-r { left: 64.4%; top: 33.8%; }
  .lu-qa-mouth { left: 49.4%; top: 55%; }
  /* trois spins perdants : elle se fond dans le noir, il ne reste que les braises de ses yeux mi-clos */
  &[data-host="idle"]:is([data-dead="3"], [data-dead="4"], [data-dead="5"], [data-dead="6"], [data-dead="7"], [data-dead="8"], [data-dead="9"]) {
    .lu-qa-img, .lu-qa-fin { opacity: .1; }
    .lu-qa-iris { animation: none; transform: scaleY(.5); }
  }
  /* raté de peu : toutes les lumières s'éteignent d'un coup, la sienne aussi, puis reviennent lentement */
  &[data-lu-off="1"] :is(.lu-qa-img, .lu-qa-fin) { opacity: .26; transition: opacity .12s; }
  &[data-lu-off="1"] .lu-qa-iris { opacity: .45; transition: opacity .12s; }

  /* tige : dessinée en entier à chaque image, de la racine à la douille (voir stalkStep). Sept tracés, même matière
     sur toute la longueur : fond sombre qui borde le sillon de la crête, bord brun, cuivre, cœur orangé, anneaux,
     filet de reflet, liseré violet du côté éclairé. Le halo vient de l'ombre portée du groupe. */
  .lu-st-art { filter: drop-shadow(0 0 5px rgba(150, 86, 255, .5)); }
  .lu-st-back { fill: rgba(12, 10, 44, .9); }
  .lu-st-edge { fill: #2C0E08; }
  .lu-st-mid { fill: #7E3515; }
  .lu-st-core { fill: #CC6C27; }
  .lu-st-seg { fill: none; stroke: rgba(40, 11, 5, .5); stroke-width: 1.25; stroke-linecap: round; }
  .lu-st-hi { fill: none; stroke: rgba(255, 216, 160, .92); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .lu-st-rim { fill: rgba(138, 146, 255, .95); }
  /* leurre : l'ampoule peinte, détachée du portrait. Elle pend au bout de la tige, penche dans sa course (rotation posée
     par le script sur .lu-lure-art) et grossit quand elle éclaire. L'orbe dessiné ne sert plus que de repère aux VFX. */
  .lu-lure-orb { visibility: hidden; }
  .lu-lure-art { position: absolute; left: 0; top: 0; width: 0; height: 0; }
  .lu-lure-art img { position: absolute; left: -34.8px; top: -53.6px; width: 70.1px; height: 88.4px; max-width: none; transform-origin: 49.6% 60.7%; /* le centre du verre est à l'origine */
    transition: transform .35s var(--ease); animation: lure-qa-bulb 2.8s ease-in-out infinite alternate; }
  &[data-host="cast"] .lu-lure-art img { transform: scale(1.28); }
  &[data-trigger] .lu-lure-art img { transform: scale(1.7); }
  &[data-feature="f2"] .lu-lure-art img { transform: scale(1.22); }

  /* scatter et leurres peints. Le nombre du multiplicateur se pose sur la face de l'ampoule ; les paliers se lisent
     à la lumière (les couronnes et flammes GPU font le reste). */
  .tg-sym[data-kind="scatter"] .tg-art { filter: drop-shadow(0 0 5px rgba(255, 77, 109, .55)); }
  /* l'Œil peint a ses gestes : il s'ouvre en se posant (la paupière se lève), guette en se dilatant, se ferme s'il rate */
  .tg-sym[data-kind="scatter"].is-landed .tg-art { animation: lure-eye-open .4s var(--ease) both; }
  .tg-sym[data-kind="scatter"].is-teasing .tg-art { animation: lure-eye-watch .9s ease-in-out infinite alternate; }
  .tg-sym[data-kind="scatter"].is-trigger .tg-art { animation: none; }
  .tg-sym[data-kind="scatter"].is-missed .tg-art { animation: lure-eye-shut .9s var(--ease) both; }
  .tg-sym[data-kind="multi"] .tg-art { filter: drop-shadow(0 0 6px rgba(255, 170, 60, .55)); }
  /* la taille du nombre suit celle de l'ampoule (cqw), en grille comme dans les menus */
  .tg-sym[data-kind="multi"] .tg-sym-in, [data-art="multi"], .lu-item-orb-a { container-type: size; }
  [data-art="multi"], .lu-item-orb-a { position: relative; }
  .lu-item-orb-a img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 5px rgba(255, 170, 60, .6)); }
  .tg-sym[data-kind="multi"] .tg-art-val, [data-art="multi"] .tg-art-val, .lu-item-orb-a .tg-art-val { left: 47%; top: 63.5%; font-family: var(--f-display); font-weight: 600; font-size: 25px; font-size: 21cqw; color: #3B1500;
    text-shadow: 0 0 5px rgba(255, 240, 190, .95), 0 0 2px rgba(255, 240, 190, .9); }
  .tg-sym[data-kind="multi"][data-tier="rare"] .tg-art { filter: drop-shadow(0 0 7px rgba(255, 200, 90, .8)) brightness(1.1); }
  .tg-sym[data-kind="multi"][data-tier="epic"] .tg-art { filter: drop-shadow(0 0 8px rgba(214, 120, 255, .9)) brightness(1.16) saturate(1.1); }
  .tg-sym[data-kind="multi"][data-tier="legend"] .tg-art { filter: drop-shadow(0 0 10px rgba(255, 236, 160, 1)) brightness(1.3); }
  .tg-sym[data-kind="multi"]:is([data-tier="epic"], [data-tier="legend"]) .tg-art-val, [data-art="multi"]:is([data-value="50"], [data-value="100"], [data-value="250"], [data-value="500"], [data-value="1000"]) .tg-art-val { font-size: 22px; font-size: 18cqw; }

  &[data-orient="portrait"] {
    /* décor : la peinture au format portrait (900 × 1600), à l'échelle 1. Un voile léger en haut garde le logo lisible, et une
       ombre derrière la Reine éteint le grand champignon peint à cet endroit : sinon il transparaît dans son visage quand elle
       s'efface (leurre éteint, spins perdants). */
    .lu-bg { background: linear-gradient(180deg, rgba(2, 8, 20, .42) 0, rgba(2, 8, 20, .12) 14%, rgba(2, 8, 20, 0) 24%),
      radial-gradient(250px 270px at 742px 200px, rgba(2, 7, 18, .88) 0, rgba(2, 7, 18, .82) 50%, rgba(2, 7, 18, 0) 100%),
      var(--art-fond-portrait) center / cover no-repeat, #030B1A; }
    /* la Reine tient entière au-dessus de la grille, et le sommet de l'arc de sa tige reste dans le cadre dans toutes ses
       poses : l'origine de ses zooms est posée sur ce sommet (la sortie du tronçon rigide, .lu-qa-stalk2), elle grossit donc
       vers le bas, et aucune pose ne la remonte. Pendant un bait son menton s'arrête au-dessus de la ligne où passe le leurre
       (la tige contourne sa tête par la gauche, voir stalkStep) ; au bonus elle se penche sur la grille. */
    .lu-queen { left: 568px; top: -4px; transform: scale(.54); }
    .lu-queen-st { transform-origin: 40.98% 4.37%; }
    &[data-host="antic"] .lu-queen-st { transform: translate(-8px, 2px) scale(1.02); }
    &[data-host="antic2"] .lu-queen-st { transform: translate(-12px, 3px) scale(1.04); }
    &[data-host="bonus"] .lu-queen-st { transform: translate(-40px, 10px) scale(1.15); }
    &[data-host="bigwin"] .lu-queen-st { transform: translate(-10px, 2px) scale(1.05); }
    &[data-host="win"] .lu-queen-st { transform: scale(1.02); }
    &[data-host="sad"] .lu-queen-st { transform: translate(14px, 0) scale(.94); }
    &[data-host="idle"]:is([data-dead="3"], [data-dead="4"], [data-dead="5"], [data-dead="6"], [data-dead="7"], [data-dead="8"], [data-dead="9"]) .lu-queen-st { transform: translate(18px, 0) scale(.92); }
    /* l'ampoule reste un peu plus grande que la Reine, pour rester lisible à cette taille */
    .lu-lure-art img { left: -25.1px; top: -38.6px; width: 50.5px; height: 63.6px; }
  }
}
@keyframes lure-qa-band { from { scale: 1 1; } to { scale: 1 1.054; } }
@keyframes lure-qa-jaw { from { translate: 0 0; } to { translate: 0 3px; } }
@keyframes lure-qa-fin-l { from { rotate: -2.2deg; } to { rotate: 2.8deg; } }
@keyframes lure-qa-fin-r { from { rotate: 2.2deg; } to { rotate: -2.8deg; } }
@keyframes lure-qa-blink { 0%, 91%, 100% { transform: scaleY(1); } 94.5% { transform: scaleY(.07); } }
@keyframes lure-qa-slowblink { 0% { transform: scaleY(1); } 45%, 70% { transform: scaleY(.12); } 100% { transform: scaleY(.62); } }
@keyframes lure-qa-bulb { from { scale: .97; } to { scale: 1.04; } }
