/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.ile-salon.is-salle { animation: ilo-entree .25s ease-out both; }
@keyframes ilo-entree { from { opacity: 0; transform: scale(1.015); } }
.sa-maitre { position: absolute; z-index: 1; transform: translateX(-50%); aspect-ratio: 817 / 1304; pointer-events: none; }
.sa-maitre img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; transition: opacity .18s linear;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); image-rendering: auto; }
.sa-maitre.repos .sa-repos, .sa-maitre.salut .sa-salut { opacity: 1; }
.is-salle:has(.sa-lecon:not(.non):hover) .sa-maitre img { opacity: 0; }
.is-salle:has(.sa-lecon:not(.non):hover) .sa-maitre .sa-garde { opacity: 1; }
.sa-maitre .ia-ombre { width: 90%; }
.sa-lecons { --cw: min(13cqw, 22.5cqh); position: absolute; right: 2.6cqw; top: 11cqh; z-index: 4; display: grid; grid-template-columns: repeat(2, var(--cw)); gap: 2.2cqh .6cqw; }
.sa-lecon { --a: 0deg; --dy: 0cqh; position: relative; box-sizing: border-box; width: var(--cw); aspect-ratio: 264 / 390; margin: 0; padding: 29% 9% 11%;
  display: flex; flex-direction: column; align-items: center; gap: .3cqw; text-align: center; cursor: pointer;
  background: url(interface/table_carte.png?v=221b95de) center / 100% 100% no-repeat; border: 0; border-radius: 0; box-shadow: none; color: #3a2210; font: inherit;
  transform: translateY(var(--dy)) rotate(var(--a)); transform-origin: 50% 100%;
  filter: drop-shadow(2px 7px 5px rgba(0, 0, 0, .55)); transition: transform .15s ease-out, filter .15s; }
.sa-lecon.l1 { --a: -3deg; --dy: 0cqh; }
.sa-lecon.l2 { --a: 2.5deg; --dy: 2.4cqh; }
.sa-lecon.l3 { --a: 1.5deg; --dy: -.6cqh; }
.sa-lecon.l4 { --a: -2deg; --dy: 1.8cqh; }
.sa-lecon b { font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(13px, calc(var(--cw) * .115)); line-height: 1.05; font-weight: 700; color: #3a2210; }
.sa-ico { width: 62%; height: auto; max-height: 40%; margin: auto 0; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.sa-lecon small { max-width: 100%; font-size: max(11px, calc(var(--cw) * .085)); font-weight: 700; color: #5a3a1a; line-height: 1.1; white-space: normal; }
.sa-lecon small.mal { color: #8e1c14; font-style: italic; }
.sa-lecon .sa-reste { color: #2f5a2a; }
.sa-prix { display: inline-flex; align-items: center; gap: .3cqw; }
.sa-prix i { display: inline-block; width: max(13px, 1.4cqw); height: max(13px, 1.4cqw); background: url(interface/table_piece.png?v=5c33d256) center / contain no-repeat; image-rendering: pixelated; }
.sa-sceau { position: absolute; right: 4%; bottom: 9%; width: 30%; transform: rotate(-12deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.sa-sceau img { width: 100%; display: block; }
.sa-lecon:not(.non):hover, .sa-lecon:not(.non):focus-visible { z-index: 6; outline: 0; transform: translateY(-1.2cqw) rotate(0deg) scale(1.06);
  filter: drop-shadow(0 0 7px rgba(255, 214, 110, .95)) drop-shadow(0 0 16px rgba(233, 196, 106, .6)) drop-shadow(2px 9px 6px rgba(0, 0, 0, .5)); }
.sa-lecon:not(.non):active { transform: translateY(-.4cqw) rotate(0deg) scale(.98); filter: brightness(.92) drop-shadow(1px 3px 3px rgba(0, 0, 0, .6)); transition-duration: .05s; }
.sa-lecon.non { cursor: default; }
.sa-lecon.non .sa-ico { filter: grayscale(.8) brightness(.8); opacity: .75; }
.sa-lecon.verrou { filter: grayscale(.85) brightness(.62) drop-shadow(2px 7px 5px rgba(0, 0, 0, .55)); }
.sa-lecon.verrou .sa-ico { opacity: .45; }
.sa-cadenas { position: absolute; left: 50%; top: 47%; width: 34%; transform: translate(-50%, -50%) rotate(-8deg); image-rendering: pixelated;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .7)); pointer-events: none; }
.sa-lecon.verrou small.mal { color: #f3e2c0; background: #6e1610; padding: .1em .5em; border-radius: 2px; }
.sa-lecon.acquise .sa-ico { filter: sepia(.35) drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); opacity: 1; }
.is-salle .ie-portier.is-hote .ie-bulle { max-width: 24cqw; }
.carnet-escrime .sa-conseil { margin: .3em 0; }
.is-arene .ie-portier.is-hote .ie-bulle.sa-dit { max-width: 23cqw; }
@media (prefers-reduced-motion: reduce) { .ile-salon.is-salle { animation: none; } .sa-lecon, .sa-maitre img { transition: none; } }
html.sans-ambiance .ile-salon.is-salle { animation: none; }
html #modal:not(.accueil) > #modal-box:has(> .ilo-carton) { width: 100vw !important; max-width: none; height: 100vh; max-height: none !important; padding: 0 !important; overflow: hidden;
  border: 0 !important; border-image: none !important; border-radius: 0 !important; background: #120a05 !important; box-shadow: none !important; }
html #modal-box > .ilo-carton { container-type: size; animation: ilo-fondu .25s ease-out both; }
#modal-box.ilo-sort > .ilo-carton { animation: ilo-fondu-sort .25s ease-in both; }
@keyframes ilo-fondu { from { opacity: 0; } }
@keyframes ilo-fondu-sort { to { opacity: 0; } }
.ilo-carte { position: absolute; left: 9cqw; top: 9cqh; height: 74cqh; z-index: 3; transform: rotate(-4deg); filter: drop-shadow(0 1.4cqh 1.6cqh rgba(0, 0, 0, .65));
  animation: ilo-pose .45s cubic-bezier(.2, .8, .3, 1.1) both; }
@keyframes ilo-pose { from { opacity: 0; transform: translate(-3cqw, -4cqh) rotate(-11deg); } }
.ilo-carton-arene .ilo-carte, .ilo-carton-casino .ilo-carte { height: 62cqh; top: 16cqh; left: 6cqw; transform: rotate(-2deg); }
.ilo-carte img { display: block; height: 100%; width: auto; }
.ilo-bande { --a: 0deg; position: absolute; transform: translate(-50%, -50%) rotate(var(--a)); text-align: center; white-space: nowrap;
  font-family: 'IM Fell English', Georgia, serif; font-style: italic; font-size: 3cqh; line-height: 1; color: #2a1608; letter-spacing: .01em;
  text-shadow: 0 0 1px rgba(42, 22, 8, .55); opacity: .92; }
.ilo-lettre { position: absolute; right: 7cqw; top: 6cqh; width: min(44cqw, 64cqh); min-height: 46cqh; z-index: 2; box-sizing: border-box; padding: 7cqh 4.4cqh 5cqh;
  background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; transform: rotate(1.2deg); filter: drop-shadow(0 1.2cqh 1.4cqh rgba(0, 0, 0, .6));
  color: #2b1a0e; font-family: 'IM Fell English', Georgia, serif; }
.ilo-lettre h2 { margin: 0 0 2.4cqh; padding: 0; border: 0; background: none; text-shadow: none; font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-weight: 400;
  font-size: 3.5cqh; line-height: 1.1; color: #4a1c0c; text-align: center; }
.ilo-texte { font-size: 2.75cqh; line-height: 1.38; }
.ilo-texte i { font-style: italic; }
.ilo-texte small { display: block; margin-top: 2.4cqh; font-size: 2.2cqh; line-height: 1.35; color: #5a3a1a; font-style: normal; }
.ilo-bosco { position: absolute; left: 2.4cqw; bottom: 4cqh; z-index: 5; display: flex; align-items: flex-end; max-width: 46cqw; }
.ilo-bosco .ie-medaillon { width: 15cqh; height: 15cqh; }
.ilo-bosco .ie-nom { font-size: 1.9cqh; bottom: -2.4cqh; }
.ilo-bosco .ie-bulle { margin: 0 0 4cqh 2.4cqh; font-size: 2.3cqh; font-style: italic; padding: 1.4cqh 2cqh; }
.ilo-bosco .ie-bulle::before { left: -1.3cqh; bottom: 2.2cqh; width: 2cqh; height: 2cqh; }
.ilo-choix { position: absolute; right: 3cqw; bottom: 3.5cqh; z-index: 6; display: flex; flex-direction: column; align-items: flex-end; gap: 1.6cqh; }
html #modal-box .ilo-carton .ilo-etiq { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
html #modal-box .ilo-carton .ilo-sceau { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; outline: 0; min-height: 0; }
.ilo-sceau { all: unset; display: flex; align-items: center; cursor: pointer; transform: rotate(var(--a, -1.5deg)); transition: transform .15s ease, filter .15s ease; }
.ilo-sceau.non { --a: 1.8deg; margin-right: 2cqw; }
.ilo-cire { position: relative; width: 11cqh; height: 11cqh; z-index: 2; filter: drop-shadow(0 .6cqh .7cqh rgba(0, 0, 0, .6)); transition: transform .15s ease, filter .15s ease; }
.ilo-cire img { width: 100%; height: 100%; object-fit: contain; }
.ilo-sceau.non .ilo-cire { filter: grayscale(.85) brightness(.8) drop-shadow(0 .6cqh .7cqh rgba(0, 0, 0, .6)); width: 9cqh; height: 9cqh; }
.ilo-etiq { margin-left: -2.8cqh; width: 42cqh; aspect-ratio: 320 / 131; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 1.6cqh 0 19.6cqh;
  background: url(interface/gazette_etiquette.png?v=b7afc647) center / 100% 100% no-repeat; font-family: 'IM Fell English', Georgia, serif; font-size: 2.05cqh; line-height: 1.12; text-align: center;
  color: #2b1a0e; white-space: normal; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .15s ease; }
.ilo-sceau:hover, .ilo-sceau:focus-visible { transform: rotate(0deg) translateY(-.4cqh); }
.ilo-sceau:hover .ilo-cire, .ilo-sceau:focus-visible .ilo-cire { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 1.4cqh rgba(255, 190, 110, .7)) drop-shadow(0 .6cqh .7cqh rgba(0, 0, 0, .6)); }
.ilo-sceau:hover .ilo-etiq, .ilo-sceau:focus-visible .ilo-etiq { filter: drop-shadow(0 0 1cqh rgba(255, 190, 110, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.ilo-sceau:active .ilo-cire { transform: scale(.92); transition-duration: .05s; }
@media (prefers-reduced-motion: reduce) { html #modal-box > .ilo-carton, #modal-box.ilo-sort > .ilo-carton, .ilo-carte { animation: none; } }
html.sans-ambiance #modal-box > .ilo-carton, html.sans-ambiance #modal-box.ilo-sort > .ilo-carton, html.sans-ambiance .ilo-carte { animation: none; }
html #modal:not(.accueil) > #modal-box:has(> .ilo-bon) { width: 100vw !important; max-width: none; height: 100vh; max-height: none !important; padding: 0 !important; overflow: hidden;
  border: 0 !important; border-image: none !important; border-radius: 0 !important; background: #070b16 !important; box-shadow: none !important; }
html #modal-box > .ilo-bon { --d: 400ms; position: absolute; inset: 0; margin: 0; padding: 0 !important; border: 0 !important; border-image: none !important; border-radius: 0 !important; background: #070b16 !important; box-shadow: none !important;
  container-type: size; overflow: hidden; color: #3a2210; animation: ilo-fondu .25s ease-out both; }
#modal-box.ilo-sort > .ilo-bon { animation: ilo-fondu-sort .25s ease-in both; }
.ilo-bon-scene { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * 1920 / 1072)); aspect-ratio: 1920 / 1072; transform: translate(-50%, -50%); }
html #modal-box .ilo-bon-scene > .illu { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; margin: 0; object-fit: cover;
  border: 0 !important; border-image: none !important; border-radius: 0 !important; box-shadow: none !important; }
.ilo-fil { position: absolute; left: 50%; bottom: 47%; width: 29%; aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.ilo-fil img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; transition: opacity .16s linear; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.ilo-fil.repos .f-repos, .ilo-fil.mains .f-mains, .ilo-fil.pris .f-pris { opacity: 1; }
.ilo-coq { all: unset; position: absolute; left: var(--x); top: var(--y); z-index: 3; width: 6.8%; aspect-ratio: 260 / 139; transform: translate(-50%, -50%); cursor: default;
  transition: left var(--d) ease-in-out, top var(--d) ease-in-out, transform .18s ease-out, filter .18s; filter: drop-shadow(0 .4cqh .4cqh rgba(0, 0, 0, .55)); }
.ilo-coq.sec { transition: none; }
html #modal-box .ilo-bon .ilo-coq { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0; }
.ilo-coq img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; image-rendering: pixelated; transition: opacity .12s; }
.ilo-coq .ilo-coq-l { opacity: 0; }
.ilo-coq.levee { transform: translate(-50%, -105%) rotate(-8deg); }
.ilo-coq.levee .ilo-coq-b { opacity: 0; }
.ilo-coq.levee .ilo-coq-l { opacity: 1; }
.ilo-coq:not([disabled]) { cursor: pointer; animation: ilo-attend 1.6s ease-in-out infinite; }
.ilo-coq:not([disabled]):hover, .ilo-coq:not([disabled]):focus-visible { transform: translate(-50%, -62%); animation: none;
  filter: drop-shadow(0 0 1.2cqh rgba(255, 214, 110, .95)) drop-shadow(0 .6cqh .5cqh rgba(0, 0, 0, .55)); }
.ilo-coq:not([disabled]):active { transform: translate(-50%, -52%) scale(.95); transition-duration: .05s; }
@keyframes ilo-attend { 50% { filter: drop-shadow(0 0 .8cqh rgba(255, 214, 110, .6)) drop-shadow(0 .4cqh .4cqh rgba(0, 0, 0, .55)); } }
.ilo-bon.distrait .ilo-coq { filter: blur(.5cqh) brightness(.8); }
.ilo-feve { position: absolute; z-index: 2; width: 2.5%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s; pointer-events: none; image-rendering: pixelated; }
.ilo-feve.vue { opacity: 1; }
.ilo-feve-manche { position: absolute; z-index: 2; left: 58.6%; top: 44.5%; width: 2.1%; transform: rotate(-30deg); opacity: 0; transition: opacity .1s; pointer-events: none; image-rendering: pixelated; }
.ilo-feve-manche.vue { opacity: .95; }
.ilo-bulle { position: absolute; right: 64%; top: 14%; z-index: 4; max-width: 25%; padding: 1.4cqh 2cqh; background: rgba(248, 239, 214, .97); border: 2px solid #8a6a3a; border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .45); font-size: max(13px, 2.4cqh); line-height: 1.3; font-style: italic; transform: rotate(-1deg); }
.ilo-bulle b { display: block; font-style: normal; font-size: .8em; color: #7a2a14; margin-bottom: .3em; font-family: 'Alegreya SC', Alegreya, Georgia, serif; }
.ilo-bulle::after { content: ''; position: absolute; right: -1.2cqh; top: 3.4cqh; width: 2cqh; height: 2cqh; transform: rotate(45deg); background: rgba(248, 239, 214, .97);
  border-right: 2px solid #8a6a3a; border-top: 2px solid #8a6a3a; }
.ilo-recit { position: absolute; left: 50%; bottom: 39cqh; z-index: 6; max-width: 52cqw; transform: translateX(-50%); padding: 1.2cqh 2.4cqh; border-radius: 4px; text-align: center;
  background: rgba(10, 8, 6, .78); color: #f3e3c0; font-style: italic; font-size: max(13px, 2.3cqh); line-height: 1.35; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ilo-recit.vue { opacity: 1; }
.ilo-manche { position: absolute; top: 2.4cqh; right: 2.6cqw; z-index: 6; padding: .4cqh 2.4cqh; border: 2cqh solid transparent; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 2cqh stretch;
  color: #ffe9b8; text-shadow: 0 2px 0 #2a160a; filter: drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); display: flex; flex-direction: column; align-items: center; transform: rotate(1.5deg); pointer-events: none; }
.ilo-manche b { font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(16px, 3.4cqh); line-height: 1.05; }
.ilo-manche small { font-size: max(11px, 1.9cqh); opacity: .9; }
.ilo-repartir { all: unset; position: absolute; left: 2.6cqw; top: 2.4cqh; z-index: 6; padding: .4cqh 2.4cqh; border: 2cqh solid transparent; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 2cqh stretch;
  color: #ffe9b8; font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(15px, 2.8cqh); text-shadow: 0 2px 0 #2a160a; cursor: pointer; transform: rotate(-1.5deg);
  filter: drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); transition: transform .15s, filter .15s; }
html #modal-box .ilo-bon .ilo-repartir { border: 2cqh solid transparent !important; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 2cqh stretch !important; background: none !important; box-shadow: none !important; }
.ilo-repartir:hover, .ilo-repartir:focus-visible { transform: rotate(0deg) scale(1.04); filter: drop-shadow(0 0 1.2cqh rgba(255, 205, 100, .9)) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
.ilo-repartir:active { transform: scale(.97); }
.ilo-bon-cartes { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 0; }
.ilo-bon-carte { all: unset; --a: 0deg; position: absolute; bottom: 1.8cqh; width: min(15cqw, 25cqh); aspect-ratio: 264 / 330; box-sizing: border-box; padding: 6.2cqh 1.6cqh 1.8cqh;
  display: flex; flex-direction: column; align-items: center; gap: 1cqh; text-align: center; cursor: pointer;
  background: url(interface/table_carte.png?v=221b95de) center / 100% 100% no-repeat; transform: rotate(var(--a)); transform-origin: 50% 100%;
  filter: drop-shadow(2px 7px 5px rgba(0, 0, 0, .6)); transition: transform .15s ease-out, filter .15s, bottom .15s ease-out; }
html #modal-box .ilo-bon .ilo-bon-carte { border: 0 !important; border-image: none !important; box-shadow: none !important; min-height: 0; }
.ilo-bon-carte.k1 { left: 8cqw; --a: -4deg; }
.ilo-bon-carte.k2 { left: 50%; margin-left: max(-7.5cqw, -12.5cqh); --a: 1.5deg; bottom: .8cqh; }
.ilo-bon-carte.k3 { right: 8cqw; --a: 3.5deg; }
.ilo-bon-carte b { font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(13px, 2.7cqh); line-height: 1.08; font-weight: 700; color: #3a2210; }
.ilo-bon-carte .ilo-ico { width: 34%; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.ilo-tenir { position: relative; display: block; width: 66%; height: 10cqh; }
.ilo-tenir .ilo-tissu { position: absolute; left: 0; bottom: 0; width: 62%; }
.ilo-tenir .ilo-cachet { position: absolute; right: 0; top: 0; width: 42%; transform: rotate(10deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.ilo-bon-carte:not([disabled]):hover, .ilo-bon-carte:not([disabled]):focus-visible { bottom: 3.6cqh; transform: rotate(0deg) scale(1.04); z-index: 6;
  filter: drop-shadow(0 0 7px rgba(255, 214, 110, .95)) drop-shadow(0 0 16px rgba(233, 196, 106, .6)) drop-shadow(2px 9px 6px rgba(0, 0, 0, .5)); }
.ilo-bon-carte:not([disabled]):active { transform: rotate(0deg) scale(.98); filter: brightness(.92) drop-shadow(1px 3px 3px rgba(0, 0, 0, .6)); transition-duration: .05s; }
.ilo-bon-carte[disabled] { cursor: default; filter: grayscale(.6) brightness(.6) drop-shadow(2px 7px 5px rgba(0, 0, 0, .6)); }
.ilo-bon-carte.mains:not([disabled]) { animation: ilo-attend 1.4s ease-in-out infinite; }
.ilo-bon-quai { all: unset; position: absolute; right: 25%; bottom: 5%; z-index: 4; width: 12%; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transform: rotate(-2deg); transition: transform .15s, filter .15s; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.ilo-bon-tonneau { position: relative; display: block; width: 100%; aspect-ratio: 3.2; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #4f8a3c, #2f5a26 70%, #23441c);
  box-shadow: inset 0 -3px 0 #6b4220, 0 0 0 3px #7a4c22; }
.ilo-bon-tonneau img { position: absolute; top: 4%; width: 30%; image-rendering: pixelated; }
.ilo-bon-tonneau .c0 { left: 3%; }
.ilo-bon-tonneau .c1 { left: 35%; top: 14%; }
.ilo-bon-tonneau .c2 { left: 67%; }
.ilo-bon-ruban { margin-top: 6px; padding: 2px 10px; background: #8e1c14; color: #ffe6c8; font-size: max(12px, .95vw); font-weight: 700; font-style: italic; white-space: nowrap;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .5); transform: rotate(2deg); }
.ilo-bon-quai:not(.non):hover, .ilo-bon-quai:not(.non):focus-visible { transform: rotate(0deg) translateY(-3px) scale(1.05); filter: drop-shadow(0 0 8px rgba(255, 205, 100, .9)) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.ilo-bon-quai:not(.non):active { transform: scale(.97); }
.ilo-bon-quai.non { cursor: default; filter: grayscale(.7) brightness(.7); }
@media (prefers-reduced-motion: reduce) { html #modal-box > .ilo-bon, #modal-box.ilo-sort > .ilo-bon, .ilo-coq:not([disabled]), .ilo-bon-carte.mains:not([disabled]) { animation: none; } }
html.sans-ambiance #modal-box > .ilo-bon, html.sans-ambiance .ilo-coq:not([disabled]), html.sans-ambiance .ilo-bon-carte.mains:not([disabled]) { animation: none; }
.ilo-nuit { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, rgba(30, 18, 8, .1), rgba(6, 4, 10, .72) 75%); }
.ilo-bourse .ilo-bon-scene { width: max(100cqw, calc(100cqh * 2048 / 869)); aspect-ratio: 2048 / 869; }
.ilo-bourse-obj { position: absolute; left: 48.8%; top: 61%; z-index: 3; width: 2.5%; transform-origin: 50% 0; transform: translateX(-50%) rotate(-4deg);
  animation: ilo-balance 2.6s ease-in-out infinite alternate; filter: drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .6)); image-rendering: pixelated; }
@keyframes ilo-balance { to { transform: translateX(-50%) rotate(4deg); } }
.ilo-bourse-obj.tressaille { animation: ilo-tressaille .12s linear infinite; filter: drop-shadow(0 0 1.6cqh rgba(255, 200, 90, .9)) drop-shadow(0 .6cqh .6cqh rgba(0, 0, 0, .6)); }
@keyframes ilo-tressaille { 0% { transform: translateX(-52%) rotate(-6deg); } 50% { transform: translateX(-48%) rotate(6deg); } 100% { transform: translateX(-52%) rotate(-6deg); } }
.ilo-tete { position: absolute; left: 44.82%; top: 43.73%; width: 3.22%; z-index: 2; transform-origin: 50% 92%; transition: transform .22s ease-in-out; image-rendering: pixelated; pointer-events: none; }
.ilo-bourse.detourne .ilo-tete { transform: rotate(-9deg) translateX(-6%); }
.ilo-bourse.detourne .ilo-bourse-obj { animation-duration: 1.1s; }
.ilo-regard { position: absolute; left: 46.4%; top: 20%; z-index: 4; transform: translateX(-50%); }
.ilo-regard .ie-medaillon { display: block; width: 8cqw; height: 8cqw; background: #1e2433; }
.ilo-regard .ie-medaillon > img { object-fit: cover; opacity: 0; transition: opacity .06s linear; }
.ilo-regard.ouvert .o-ouvert, .ilo-regard.micl .o-micl, .ilo-regard.ferme .o-ferme { opacity: 1; }
.ilo-regard.ferme .ie-medaillon { box-shadow: 0 0 0 .45cqw #7fd26a, 0 0 0 .75cqw #2f5a26, 0 0 2cqw rgba(127, 210, 106, .7); }
.ilo-bourse .ilo-recit { bottom: 39cqh; }
@media (prefers-reduced-motion: reduce) { .ilo-bourse-obj, .ilo-bourse-obj.tressaille { animation: none; } }
html.sans-ambiance .ilo-bourse-obj, html.sans-ambiance .ilo-bourse-obj.tressaille { animation: none; }
.ilo-place { all: unset; position: absolute; z-index: 3; width: 3.4%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; cursor: default; }
html #modal-box .ilo-infil .ilo-place { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0; }
.ilo-place i { position: absolute; inset: 18%; border-radius: 50%; border: .3cqh dashed rgba(240, 230, 200, .0); transition: border-color .15s, background .15s, transform .15s; }
.ilo-place:not([disabled]) { cursor: pointer; }
.ilo-place:not([disabled]) i { border-color: rgba(240, 230, 200, .85); background: rgba(240, 230, 200, .12); animation: ilo-attend 1.6s ease-in-out infinite; }
.ilo-place.abri:not([disabled]) i { border-style: solid; background: rgba(120, 190, 120, .28); border-color: rgba(170, 230, 160, .9); }
.ilo-place:not([disabled]):hover i, .ilo-place:not([disabled]):focus-visible i { transform: scale(1.25); background: rgba(255, 214, 110, .35); border-color: #ffd66e; }
.ilo-place:not([disabled]):active i { transform: scale(.92); }
.ilo-place.but i { border: .35cqh solid #f0c45a; box-shadow: 0 0 1.4cqh rgba(255, 200, 90, .8); animation: ilo-attend 1.2s ease-in-out infinite; }
.ilo-infil .ilo-bon-scene { --sw: max(100cqw, calc(100cqh * 1920 / 1072)); }
.ilo-ronde { position: absolute; z-index: 4; width: 0; height: 0; transition: left .32s linear, top .32s linear; pointer-events: none; }
.ilo-lueur { position: absolute; left: 0; top: 0; aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .95; mix-blend-mode: screen; }
.ilo-champ { position: absolute; left: 0; top: 0; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: .3cqh dashed rgba(255, 214, 130, .45);
  background: radial-gradient(circle, rgba(255, 205, 110, .2), rgba(255, 205, 110, .08) 62%, rgba(255, 205, 110, 0) 72%); }
.ilo-garde { position: absolute; left: 0; bottom: 0; height: 15cqh; transform: translateX(-50%); filter: drop-shadow(0 .6cqh .5cqh rgba(0, 0, 0, .6)); image-rendering: pixelated; }
.ilo-joueur { position: absolute; z-index: 5; width: 5.2%; transform: translate(-50%, -78%); transition: left .32s ease-in-out, top .32s ease-in-out, filter .2s, opacity .2s;
  filter: drop-shadow(0 .5cqh .5cqh rgba(0, 0, 0, .7)); image-rendering: pixelated; pointer-events: none; }
.ilo-joueur { filter: drop-shadow(0 0 .5cqh rgba(255, 236, 190, .75)) drop-shadow(0 .5cqh .5cqh rgba(0, 0, 0, .7)); }
.ilo-joueur.abri { filter: brightness(.85) drop-shadow(0 0 .5cqh rgba(170, 230, 160, .8)) drop-shadow(0 .5cqh .5cqh rgba(0, 0, 0, .7)); }
.ilo-joueur.pris { filter: drop-shadow(0 0 1.6cqh rgba(255, 70, 50, .95)); opacity: 1; }
.ilo-otage { position: absolute; z-index: 5; width: 2.2%; transform: translate(40%, -150%); opacity: 0; transition: left .32s ease-in-out, top .32s ease-in-out, opacity .2s; pointer-events: none; }
.ilo-otage.vue { opacity: 1; }
.ilo-voiture { position: absolute; z-index: 2; width: 15%; filter: brightness(.75) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); pointer-events: none; }
.ilo-infil .ilo-recit { bottom: auto; top: 3cqh; max-width: 46cqw; }
.ilo-attendre { all: unset; position: absolute; right: 2.6cqw; bottom: 3cqh; z-index: 6; padding: .4cqh 2.4cqh; border: 2cqh solid transparent; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 2cqh stretch;
  color: #ffe9b8; font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(15px, 2.8cqh); text-shadow: 0 2px 0 #2a160a; cursor: pointer; transform: rotate(1.5deg);
  filter: drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); transition: transform .15s, filter .15s; }
html #modal-box .ilo-infil .ilo-attendre { border: 2cqh solid transparent !important; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 2cqh stretch !important; background: none !important; box-shadow: none !important; }
.ilo-attendre:hover, .ilo-attendre:focus-visible { transform: rotate(0deg) scale(1.04); filter: drop-shadow(0 0 1.2cqh rgba(255, 205, 100, .9)) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
.ilo-attendre:active { transform: scale(.97); }
.ilo-attendre[disabled] { cursor: default; filter: grayscale(.7) brightness(.6); }
.ilo-gestes { display: none; }
.ilo-infil.geste .ilo-gestes { display: block; }
.ilo-infil.geste .ilo-recit { bottom: 38cqh; }
.ilo-nuit-quai { all: unset; position: absolute; right: 39%; bottom: 5%; z-index: 4; width: 9%; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transform: rotate(1.5deg); transition: transform .15s, filter .15s; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.ilo-nuit-quai img { width: 70%; image-rendering: pixelated; }
.ilo-nuit-quai .ilo-bon-ruban { background: #1d1b2a; white-space: normal; text-align: center; }
.ilo-nuit-quai:not(.non):hover, .ilo-nuit-quai:not(.non):focus-visible { transform: rotate(0deg) translateY(-3px) scale(1.05); filter: drop-shadow(0 0 8px rgba(160, 140, 255, .9)) drop-shadow(0 4px 4px rgba(0, 0, 0, .5)); }
.ilo-nuit-quai:not(.non):active { transform: scale(.97); }
.ilo-nuit-quai.non { cursor: default; filter: grayscale(.7) brightness(.7); }
@media (prefers-reduced-motion: reduce) { .ilo-place i, .ilo-place.but i { animation: none !important; } .ilo-ronde, .ilo-joueur, .ilo-otage { transition: none; } }
html.sans-ambiance .ilo-place i, html.sans-ambiance .ilo-place.but i { animation: none !important; }
.ilo-cones { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.ilo-infil .ilo-ronde.efface { visibility: hidden; }
.ilo-infil .ilo-lueur { opacity: .75; }
.ilo-infil .ilo-place i { border-color: rgba(240, 230, 200, .3); }
.ilo-infil .ilo-place.abri i { border-style: solid; border-color: rgba(170, 230, 160, .55); background: rgba(120, 190, 120, .16); }
.ilo-infil .ilo-voiture.but { filter: brightness(.95) drop-shadow(0 0 1.6cqh rgba(255, 200, 90, .95)) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
.ilo-infil .ilo-nuit { transition: background .5s; }
.ilo-infil.voilee .ilo-nuit { background: radial-gradient(ellipse at 50% 55%, rgba(10, 10, 26, .32), rgba(4, 4, 14, .84) 75%); }
.ilo-infil .ilo-manche { flex-direction: row; gap: 1.6cqh; align-items: center; }
.ilo-manche-t { display: flex; flex-direction: column; align-items: center; }
.ilo-lune { position: relative; width: 6.6cqh; height: 6.6cqh; overflow: hidden; flex: none; }
.ilo-lune-astre { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 0 .8cqh rgba(255, 230, 150, .8)); transition: filter .5s; }
.ilo-lune-nuage { position: absolute; top: 22%; left: calc(-25% + var(--n, 4) * 85%); width: 150%; image-rendering: pixelated; transition: left .5s ease-in-out; }
.ilo-infil.voilee .ilo-lune-astre { filter: brightness(.5); }
.ilo-piece { all: unset; position: absolute; right: calc(2.6cqw + 25cqh); bottom: 2.4cqh; z-index: 6; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transform: rotate(-2deg); transition: transform .15s, filter .15s; filter: drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
html #modal-box .ilo-infil .ilo-piece { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0; }
.ilo-piece img { width: 11cqh; image-rendering: pixelated; pointer-events: none; }
.ilo-piece-n { position: absolute; right: -1cqh; top: -.6cqh; font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(14px, 2.7cqh); color: #ffe9b8; text-shadow: 0 2px 0 #2a160a, 0 0 .6cqh #000; }
.ilo-piece-t { margin-top: .3cqh; padding: .2cqh 1.2cqh; background: #1d1b2a; color: #f3e3c0; font-size: max(12px, 2cqh); border-radius: 3px; white-space: nowrap; }
.ilo-piece:hover, .ilo-piece:focus-visible { transform: rotate(0deg) translateY(-.4cqh) scale(1.05); filter: drop-shadow(0 0 1.2cqh rgba(255, 205, 100, .9)) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
.ilo-piece:active { transform: scale(.95); }
.ilo-piece.arme { transform: rotate(0deg) scale(1.08); filter: drop-shadow(0 0 1.6cqh rgba(255, 214, 110, 1)) drop-shadow(0 .8cqh .8cqh rgba(0, 0, 0, .6)); }
.ilo-piece[disabled] { cursor: default; filter: grayscale(.8) brightness(.55); }
.ilo-vise { all: unset; display: none; position: absolute; left: 0; bottom: 0; width: 10cqh; height: 17cqh; transform: translate(-50%, 8%); border-radius: 45%; pointer-events: auto; cursor: pointer; }
html #modal-box .ilo-infil .ilo-vise { border: .35cqh dashed rgba(255, 214, 110, .95) !important; border-image: none !important; background: rgba(255, 214, 110, .12) !important; box-shadow: none !important; padding: 0 !important; min-height: 0; }
.ilo-infil.vise .ilo-vise { display: block; animation: ilo-attend 1.2s ease-in-out infinite; }
html #modal-box .ilo-infil .ilo-vise:hover, html #modal-box .ilo-infil .ilo-vise:focus-visible { background: rgba(255, 214, 110, .32) !important; }
.ilo-infil .ilo-ronde .ilo-vise { pointer-events: auto; }
.ilo-infil .ilo-complice.muet .ie-bulle { display: none; }
.ilo-infil .ilo-complice.dit .ie-bulle { animation: ilo-dit .35s ease-out; }
@keyframes ilo-dit { from { transform: scale(.9); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .ilo-infil.vise .ilo-vise, .ilo-infil .ilo-complice.dit .ie-bulle { animation: none; } .ilo-lune-nuage { transition: none; } }
html.sans-ambiance .ilo-infil.vise .ilo-vise, html.sans-ambiance .ilo-infil .ilo-complice.dit .ie-bulle { animation: none; }
html #modal-box .table-peinte .ilo-des-pipes { all: unset; position: absolute; left: 63%; top: 80%; z-index: 3; width: calc(6.4 * var(--k)); cursor: pointer; transform: translate(-50%, -50%) rotate(-8deg);
  filter: brightness(.72) sepia(.25) drop-shadow(0 .4vh .4vh rgba(0, 0, 0, .6)); transition: transform .15s, filter .15s; }
html #modal-box .table-peinte .ilo-des-pipes img { display: block; width: 100%; image-rendering: pixelated; }
html #modal-box .table-peinte .ilo-des-pipes span { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%) rotate(4deg); padding: .2em .7em; white-space: nowrap; opacity: 0; transition: opacity .15s;
  background: #efe0bb url(interface/ui_papier.png?v=66fa38b6) center / 160px; color: #3a2210; font-style: italic; font-size: max(12px, calc(1.1 * var(--k))); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); pointer-events: none; }
html #modal-box .table-peinte .ilo-des-pipes:hover, html #modal-box .table-peinte .ilo-des-pipes:focus-visible { transform: translate(-50%, -58%) rotate(0deg) scale(1.08);
  filter: brightness(.82) sepia(.25) drop-shadow(0 0 1vh rgba(255, 205, 100, .9)) drop-shadow(0 .4vh .4vh rgba(0, 0, 0, .6)); }
html #modal-box .table-peinte .ilo-des-pipes:hover span, html #modal-box .table-peinte .ilo-des-pipes:focus-visible span { opacity: 1; }
html #modal-box .table-peinte .ilo-des-pipes:active { transform: translate(-50%, -50%) scale(.94); }
@media (prefers-reduced-motion: reduce) { .ilo-tete { transition: none; } }
.ilo-bourse .ilo-recit { bottom: auto; top: 3cqh; }
html #modal-box .ilo-bourse .ilo-bon-carte.k2 { left: 70%; margin-left: 0; }
.ilo-complice { position: absolute; left: 2.4cqw; bottom: 3cqh; z-index: 6; display: flex; align-items: flex-end; max-width: 50cqw; pointer-events: none; animation: ilo-fondu .4s ease-out both; }
.ilo-complice .ie-medaillon { display: block; width: 12cqh; height: 12cqh; overflow: hidden; }
.ilo-complice .ie-medaillon > img { object-fit: cover; }
.ilo-complice .ie-bulle { margin: 0 0 3cqh 2.2cqh; font-size: max(13px, 2.3cqh); font-style: italic; padding: 1.2cqh 1.8cqh; }
.ilo-complice .ie-bulle::before { left: -1.2cqh; bottom: 2cqh; width: 1.8cqh; height: 1.8cqh; }
.jour.tav .tav-note:has(> .tav-med img[src$="ombre_bourse.png"]) .tav-ligne,
.jour.tav .tav-note:has(> .tav-med img[src$="ombre_voiture.png"]) .tav-ligne {
  white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.18; }
.ilo-infil .rd-icone.ilo-regle-ico { left: 2.6cqw; top: 12cqh; z-index: 7; width: max(6cqh, 36px); height: max(6cqh, 36px); }
.ilo-infil .rd-icone.ilo-regle-ico img { inset: 12%; width: 76%; height: 76%; }
.gr-ombre-coq { position: absolute; z-index: 2; width: 6.2%; aspect-ratio: 3 / 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10, 6, 2, .75) 0 35%, rgba(10, 6, 2, 0) 72%); transform: translate(-50%, -10%); }
.ilo-piece-vol { position: absolute; z-index: 6; width: 18px; height: 18px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); will-change: transform; }
