/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.port:has(> .onglet-corps .ile-ens) > .port-hero { display: none; }
.ile-ens { position: relative; height: clamp(400px, calc(100vh - 232px), 860px); container-type: inline-size; overflow: hidden;
  border: 3px solid #8a6a3a; border-radius: 4px; background: #0d1830; }
.onglet-corps:has(.maitre-ile) .ile-ens { height: clamp(380px, calc(100vh - 320px), 780px); }
.ile-ens > .illu { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none;
  object-fit: cover; object-position: 50% 50% !important; }
.ile-ens::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .25), transparent 22%, transparent 70%, rgba(0, 0, 0, .4)); }
.ile-ens + .ligne-action.maitre-ile, .ile-ens ~ .ligne-action.maitre-ile { margin-top: 8px; }
.ie-enseignes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ie-enseigne { --a: 0deg; position: absolute; width: 16cqw; display: flex; flex-direction: column; align-items: center; pointer-events: auto; cursor: pointer;
  transform-origin: 50% 0; transform: rotate(var(--a)); transition: transform .25s ease-out, filter .2s;
  filter: drop-shadow(0 .6cqw .5cqw rgba(0, 0, 0, .6)); }
.ie-enseigne.e1 { left: 3cqw; top: 2cqw; --a: -2.5deg; }
.ie-enseigne.e2 { right: 3cqw; top: 2cqw; --a: 2deg; }
.ie-enseigne.e3 { left: 26cqw; top: 5cqw; --a: 1.5deg; }
.ie-enseigne.e4 { right: 26cqw; top: 5cqw; --a: -1.5deg; }
.ie-enseigne.e5 { left: 40cqw; top: 17cqw; --a: 2.5deg; }
.ie-enseigne.e6 { right: 23cqw; top: 21cqw; --a: -2deg; }
.ie-enseigne.serre { width: 13.5cqw; }
.ie-enseigne.serre .ie-ico { width: 5.4cqw; height: 5.4cqw; }
.ie-potence { display: block; width: 116%; height: 1.4cqw; background: url(interface/jauge_bois.png?v=09ecf171) center / 100% 100% no-repeat; }
.ie-panneau { position: relative; box-sizing: border-box; width: 100%; margin-top: 2.4cqw; display: flex; flex-direction: column; align-items: center; gap: .5cqw;
  padding: .6cqw .6cqw .8cqw; border: 1.5cqw solid transparent; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 1.5cqw stretch;
  color: #ffe9b8; text-align: center; }
.ie-panneau::before, .ie-panneau::after { content: ''; position: absolute; top: -3.9cqw; width: .45cqw; height: 4cqw;
  background: repeating-linear-gradient(#3b3b40 0, #8a8a92 .25cqw, #3b3b40 .5cqw, transparent .5cqw, transparent .7cqw); }
.ie-panneau::before { left: 14%; } .ie-panneau::after { right: 14%; }
.ie-ico { width: 6.6cqw; height: 6.6cqw; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.ie-panneau b { font-size: max(13px, 1.45cqw); line-height: 1.15; font-weight: 700; text-shadow: 0 2px 0 #2a160a, 0 0 4px rgba(0, 0, 0, .7); }
.ile-ens-fortune .ie-panneau, .ile-ens-oracle .ie-panneau { filter: brightness(.86); }
.ie-enseigne:not(.ferme):hover, .ie-enseigne:not(.ferme):focus-visible { transform: rotate(0deg) translateY(.4cqw); outline: 0;
  filter: drop-shadow(0 0 .8cqw rgba(255, 205, 100, .95)) drop-shadow(0 0 1.8cqw rgba(255, 180, 60, .55)) drop-shadow(0 .6cqw .5cqw rgba(0, 0, 0, .6)); }
.ie-enseigne:not(.ferme):hover .ie-panneau { filter: brightness(1.12); }
.ie-enseigne.appel { animation: ie-appel 2.4s ease-in-out infinite; }
@keyframes ie-appel { 50% { filter: drop-shadow(0 0 1.1cqw rgba(255, 205, 100, .9)) drop-shadow(0 .6cqw .5cqw rgba(0, 0, 0, .6)); } }
.ie-enseigne.ferme { cursor: default; }
.ie-enseigne.ferme .ie-panneau { filter: grayscale(.75) brightness(.6); }
.ie-ferme { display: block; margin-top: .2cqw; padding: .15cqw .8cqw; background: #8e1c14; color: #ffe6c8; font-size: max(11px, 1.05cqw); font-weight: 700; font-style: italic;
  transform: rotate(-3deg); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); filter: none; }
@media (prefers-reduced-motion: reduce) { .ie-enseigne.appel { animation: none; } }
.ie-portier { position: absolute; left: 1.6cqw; bottom: 2.2cqw; z-index: 4; display: flex; align-items: flex-end; pointer-events: none; max-width: 62%; }
.ie-medaillon { position: relative; flex: 0 0 auto; width: 11cqw; height: 11cqw; border-radius: 50%; background: #1e2433;
  box-shadow: 0 0 0 .45cqw #d9ac4a, 0 0 0 .75cqw #7a5216, 0 .5cqw 1cqw rgba(0, 0, 0, .65); }
.ie-medaillon > img, .ie-medaillon > .emoji-seul { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 5cqw; }
.ie-nom { position: absolute; left: 50%; bottom: -1.5cqw; transform: translateX(-50%) rotate(-2deg); padding: .15cqw 1cqw; white-space: nowrap;
  background: #efe0bb url(interface/ui_papier.png?v=66fa38b6) center / 160px; border: 1px solid rgba(110, 76, 38, .8); border-radius: 2px; box-shadow: 0 2px 3px rgba(0, 0, 0, .45);
  color: #3a2210; font-size: max(11px, 1.05cqw); font-weight: 700; line-height: 1.25; }
.ie-bulle { position: relative; margin: 0 0 2.4cqw 2cqw; padding: .9cqw 1.4cqw; background: rgba(248, 239, 214, .97); border: 2px solid #8a6a3a; border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .45); color: #3a2210; font-size: max(13px, 1.4cqw); line-height: 1.3; }
.ie-bulle::before { content: ''; position: absolute; left: -1cqw; bottom: 1.4cqw; width: 1.5cqw; height: 1.5cqw; transform: rotate(45deg);
  background: rgba(248, 239, 214, .97); border-left: 2px solid #8a6a3a; border-bottom: 2px solid #8a6a3a; }
.ie-mer { position: absolute; right: 2cqw; bottom: 2cqw; z-index: 4; padding: .3cqw 1.4cqw; border: 1.3cqw solid transparent; border-image: url(interface/ui_panneau_bois.png?v=10aeca27) 46 fill / 1.3cqw stretch;
  background: none; color: #ffe9b8; font: inherit; font-size: max(14px, 1.65cqw); font-weight: 700; text-shadow: 0 2px 0 #2a160a; cursor: pointer;
  transform: rotate(-1.5deg); filter: drop-shadow(0 .5cqw .5cqw rgba(0, 0, 0, .6)); transition: transform .15s, filter .15s; }
.ie-mer:hover { transform: rotate(0deg) scale(1.04); filter: drop-shadow(0 0 .8cqw rgba(255, 205, 100, .9)) drop-shadow(0 .5cqw .5cqw rgba(0, 0, 0, .6)); }
.ligne-action.ile-retour b { color: #6b4426; }
.ile-ens.ile-salon { container-type: size; background: #0b0d16; }
.is-scene { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * 2752 / 1536)); aspect-ratio: 2752 / 1536; transform: translate(-50%, -50%); }
.is-scene > .illu { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; margin: 0; object-fit: cover;
  object-position: 50% 50% !important; border: 0 !important; border-image: none !important; border-radius: 0 !important; box-shadow: none !important; }
.ile-salon::after { z-index: 2; }
.is-banniere { position: absolute; left: 50%; top: 1.2cqw; z-index: 4; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.is-banniere span { padding: .5cqw 4.2cqw .6cqw; font-family: var(--titre); font-size: max(18px, 2.4cqw); line-height: 1; white-space: nowrap; color: #f6dc8c;
  text-shadow: 2px 3px 0 #2a0b06, 0 0 12px rgba(0, 0, 0, .5); background: linear-gradient(#a8261c, #7a160f); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); }
.is-banniere small { margin-top: .5cqw; padding: .2cqw 1.2cqw; border-radius: 999px; background: rgba(8, 9, 16, .72); box-shadow: inset 0 0 0 1px rgba(201, 161, 74, .45);
  color: #ffeccc !important; opacity: 1 !important; font-size: max(13px, 1.15cqw); white-space: nowrap; }
.ie-mer.is-quai.haut { top: 1.6cqw; bottom: auto; }
.ie-cadre { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.ie-cadre > img, .ie-cadre > .emoji-seul { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; font-size: 4cqw; }
.ie-cadre > img.is-fig-visage { object-position: 50% 0; scale: 1.75; transform-origin: 50% 12%; }
.ie-portier.is-hote { z-index: 5; }
.ie-portier.is-hote .ie-medaillon { width: 8.5cqw; height: 8.5cqw; }
.ie-portier.is-hote .ie-bulle { max-width: 17cqw; margin-left: 1.8cqw; padding: .7cqw 1.1cqw; font-size: max(12.5px, 1.12cqw); font-style: italic; }
.is-arene .ie-portier.is-hote .ie-medaillon { width: 6.5cqw; height: 6.5cqw; }
.is-arene .ie-portier.is-hote .ie-bulle { max-width: 11cqw; margin-left: 1.4cqw; }
.is-table { --r: 0deg; position: absolute; z-index: 1; transform: translateX(-50%); cursor: pointer; }
.is-table::after { content: ''; position: absolute; left: -35%; right: -35%; top: 92%; height: 70%; }
.is-table.non { cursor: default; }
.is-lueur { position: absolute; left: 50%; top: 70%; width: 260%; aspect-ratio: 1.3; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 200, 115, .62), rgba(255, 170, 75, .26) 50%, rgba(255, 150, 60, 0)); mix-blend-mode: screen; opacity: 0; transition: opacity .2s; }
.is-table:not(.non):hover .is-lueur { opacity: 1; }
.is-fig { position: relative; display: block; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); transition: filter .2s; }
.is-fig img { display: block; width: 100%; height: auto; }
.is-fig .is-leve { position: absolute; left: 0; bottom: 0; opacity: 0; transition: opacity .2s linear .04s; }
.is-fig .is-baisse { transition: opacity .12s linear; }
.is-table:not(.non):hover .is-leve { opacity: 1; transition: opacity .2s linear; }
.is-table:not(.non):hover .is-baisse { opacity: 0; transition: opacity .12s linear .08s; }
.is-table:not(.non):hover .is-fig { filter: brightness(1.1) drop-shadow(0 0 1.2cqw rgba(255, 196, 110, .8)) drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.is-table.non .is-fig { filter: grayscale(.6) brightness(.6); }
.is-table.rivale .is-fig { filter: drop-shadow(0 0 1cqw rgba(160, 110, 220, .75)) drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.is-etiquette { position: absolute; left: 50%; bottom: calc(100% + .4cqw); z-index: 3; transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 100%;
  filter: drop-shadow(0 .4cqw .5cqw rgba(0, 0, 0, .6)); transition: transform .2s; pointer-events: none; }
.is-table:not(.non):hover .is-etiquette { transform: translateX(-50%) translateY(-.4cqw) rotate(0deg); }
.ile-salon .tp-papier { display: flex; flex-direction: column; align-items: center; gap: .12cqw; min-width: 9.5cqw; padding: .5cqw 1.2cqw .6cqw; color: #3a2210; text-align: center; line-height: 1.05; white-space: nowrap;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 246, 220, .35), rgba(120, 80, 30, .18) 90%), url(interface/ui_papier.png?v=66fa38b6) center / cover, #e7d3a2;
  clip-path: polygon(1% 4%, 9% 0, 22% 3%, 37% 0, 52% 2%, 68% 0, 83% 3%, 97% 0, 100% 9%, 98% 28%, 100% 50%, 98% 72%, 100% 93%, 92% 100%, 76% 97%, 60% 100%, 44% 97%, 28% 100%, 12% 97%, 0 100%, 2% 76%, 0 52%, 2% 27%); }
.ile-salon .tp-jeu { font-family: 'Alegreya SC', Alegreya, Georgia, serif; font-size: max(14px, 1.45cqw); font-weight: 700; color: #4a220c; }
.ile-salon .tp-qui { font-size: max(12px, 1.05cqw); font-weight: 500; }
.ile-salon .tp-papier .etoiles { font-size: max(12px, 1.1cqw); letter-spacing: .06em; color: #d9a21e; text-shadow: 0 1px 0 #7a520e, 0 0 3px rgba(255, 220, 120, .6); }
.ile-salon .tp-papier .etoiles .vide { color: rgba(90, 60, 28, .32); text-shadow: none; }
.ile-salon .tp-papier small { font-size: max(11px, .92cqw); color: #5a3a1a; }
.ile-salon .tp-papier small.mal { color: #a3191a; font-style: italic; white-space: normal; max-width: 13cqw; }
.is-passer { position: absolute; right: -1.6cqw; top: 30%; z-index: 4; padding: .15cqw .8cqw; border-radius: 3px; cursor: pointer; transform: rotate(4deg);
  background: #3a2a4a; color: #efe2ff; font-size: max(11px, .95cqw); font-weight: 700; box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.is-passer:hover { filter: brightness(1.2); }
.ia-lame { --r: 0deg; position: absolute; z-index: 1; transform: translateX(-50%); }
.ia-lame.ici { z-index: 3; }
.ia-fig { position: relative; display: block; height: 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); transition: filter .2s; }
.ia-fig img { display: block; height: 100%; width: auto; }
.ia-fig .ia-garde { position: absolute; left: 0; bottom: 0; opacity: 0; transition: opacity .18s linear; }
.ia-fig .ia-repos { transition: opacity .18s linear; }
.ia-lame.ici .ia-garde, .ia-lame.peinte:not(.faite):hover .ia-garde { opacity: 1; }
.ia-lame.ici .ia-repos, .ia-lame.peinte:not(.faite):hover .ia-repos { opacity: 0; }
.ia-ombre { position: absolute; left: 50%; bottom: -1.2%; width: 70%; aspect-ratio: 3.2; transform: translate(-50%, 50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(40, 20, 6, .55), rgba(40, 20, 6, .25) 60%, rgba(40, 20, 6, 0)); }
.ia-lame.faite .ia-fig { filter: grayscale(.85) brightness(.55); }
.ia-lame.faite .is-etiquette { opacity: .8; }
.ia-lame.loin .ia-fig { filter: brightness(.72) saturate(.75) drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.ia-lame.ici .ia-fig { filter: drop-shadow(0 0 1.2cqw rgba(255, 200, 90, .85)) drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.ia-lame .is-etiquette { top: calc(100% + .6cqw); bottom: auto; transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 0; pointer-events: auto; }
.ia-visage { position: absolute; left: 50%; bottom: 0; width: 9cqw; height: 9cqw; transform: translateX(-50%); border-radius: 50%; overflow: hidden; background: #1b1f30;
  box-shadow: 0 0 0 .35cqw #f0c45a, 0 0 0 .55cqw #6a4612, 0 0 1.6cqw rgba(255, 200, 90, .85); }
.ia-visage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ia-lame:not(.peinte) { width: 9cqw; }
.is-jetons { display: flex; justify-content: center; gap: .4cqw; margin-top: .3cqw; }
.is-jeton { display: inline-flex; align-items: center; gap: .2cqw; padding: .1cqw .55cqw .1cqw .15cqw; border-radius: 999px; cursor: pointer; transform: rotate(-3deg);
  background: #f6e7c1; box-shadow: inset 0 0 0 1.5px #a8823f, 0 1px 3px rgba(58, 34, 16, .45); font-size: max(11px, 1cqw); font-weight: 700; color: #3a2210; }
.is-jeton:nth-child(2) { transform: rotate(2deg); } .is-jeton:nth-child(3) { transform: rotate(-1deg); }
.is-jeton i { display: inline-block; width: max(13px, 1.5cqw); height: max(13px, 1.5cqw); background: url(interface/table_piece.png?v=5c33d256) center / contain no-repeat; image-rendering: pixelated; }
.is-jeton:not(.non):hover { transform: rotate(0) scale(1.1); filter: drop-shadow(0 0 4px #ffd23f); }
.is-jeton.non { cursor: default; opacity: .5; }
.is-parchemins { position: absolute; right: 2cqw; top: 8cqw; z-index: 4; display: flex; flex-direction: column; gap: .5cqw; }
.is-parchemin { display: inline-flex; align-items: center; gap: .4cqw; padding: .2cqw .8cqw .2cqw .3cqw; cursor: pointer; border-radius: 3px; transform: rotate(-1.5deg);
  background: #efe0bb url(interface/ui_papier.png?v=66fa38b6) center / 160px; box-shadow: 0 2px 3px rgba(0, 0, 0, .5); color: #3a2210; font-weight: 700; font-size: max(11px, 1cqw); }
.is-parchemin img { width: max(16px, 1.8cqw); }
.is-parchemin:hover { filter: drop-shadow(0 0 4px #ffd23f); }
.ia-lame.haut .is-etiquette { top: auto; bottom: calc(100% + .4cqw); transform-origin: 50% 100%; }   
.ia-lame.vide { width: 11cqw; height: 0 !important; }
.ia-lame.vide .is-etiquette, .ia-lame.vide.haut .is-etiquette { top: auto; bottom: .2cqw; transform-origin: 50% 100%; }
.ia-lame.vide.loin .is-etiquette { opacity: .9; }
.port:has(> .quetes-ici) .onglet-corps:has(.maitre-ile) .ile-ens { height: clamp(340px, calc(100vh - 378px), 720px); }
.is-porte .is-voile { position: absolute; inset: 0; background: rgba(6, 8, 22, .35); pointer-events: none; }
.is-porte .is-table { cursor: default; }
.is-porte .is-table.commune { cursor: pointer; }
.is-porte .is-table .is-lueur { opacity: .55; }
.is-porte .is-table.non .is-fig { filter: brightness(.88) drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.is-porte .tp-papier small, .is-porte .tp-papier small.mal { white-space: nowrap; max-width: none; }
.is-porte .is-etiquette.is-reco { bottom: calc(100% + 5.6cqw); --r: -3deg; }
.is-porte .ie-portier.is-hote .ie-bulle { max-width: 24cqw; }
.is-chantier .is-scene { width: max(100cqw, calc(100cqh * 2048 / 869)); aspect-ratio: 2048 / 869; }
.ic-etiq { --r: 0deg; position: absolute; z-index: 3; display: flex; align-items: center; gap: .3cqw; transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 0;
  filter: drop-shadow(0 .4cqw .5cqw rgba(0, 0, 0, .6)); transition: transform .2s; }
.ic-etiq:hover { z-index: 4; transform: translateX(-50%) rotate(0deg); }
.ic-etiq .tp-papier small.mal { max-width: 15cqw; }
.ic-sceau { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 5.4cqw; height: 5.4cqw; min-width: 56px; min-height: 56px; margin-left: -.8cqw; cursor: pointer;
  transition: transform .12s ease-out, filter .12s ease-out; }
.ic-cire { position: absolute; inset: 0; background: url(interface/bilan_sceau_nation.png?v=91f54340) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); rotate: -8deg; }
.ic-sceau b { position: relative; max-width: 80%; text-align: center; font-size: max(11px, .95cqw); font-weight: 800; line-height: 1.02; color: #fff3dc; text-shadow: 0 1px 0 #4a0d08, 0 0 3px rgba(60, 5, 2, .8); pointer-events: none; }
.ic-sceau:not(.non):hover { transform: translateY(-2px) scale(1.06); filter: brightness(1.12); }
.ic-sceau:not(.non):active { transform: translateY(1px) scale(.92); }
.ic-sceau.non { cursor: default; filter: saturate(.7) brightness(.86); }
.ie-etat { display: block; margin-top: .2cqw; padding: .15cqw .8cqw; background: #efe0bb url(interface/ui_papier.png?v=66fa38b6) center / 160px; color: #3a2210; font-size: max(11px, 1.05cqw);
  font-weight: 700; transform: rotate(2deg); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); text-shadow: none; }
.ie-enseigne.e7 { left: 43cqw; top: 2cqw; --a: -1deg; }
.ie-enseigne.e8 { left: 14cqw; top: 19cqw; --a: 1.5deg; }
.ile-fermee .if-voile { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(40, 18, 60, .28), rgba(8, 10, 28, .42)); }
