/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
#modal-box { --mx: 0; --my: 0; }
.aa-scene .aa-px { translate: calc(var(--mx) * -3px) calc(var(--my) * -3px); transition: translate .25s ease-out; }
.aa-scene .aa-px2 { translate: calc(var(--mx) * 2px) calc(var(--my) * 2px); transition: translate .25s ease-out; }
.aa-donne { rotate: var(--a, 0deg); animation: aa-donne .25s cubic-bezier(.2, .8, .3, 1.1) calc(var(--i, 0) * 60ms) both; }
@keyframes aa-donne { from { opacity: 0; transform: translate(-1.2cqw, -2.4cqh) rotate(-5deg) scale(.96); } }
.aa-bureau-calque { position: absolute; z-index: 1; pointer-events: none; width: max(100cqw, calc(100cqh * 1920 / 815)); aspect-ratio: 1920 / 815;
  left: calc((100cqw - max(100cqw, calc(100cqh * 1920 / 815))) * .3); top: calc((100cqh - max(100cqh, calc(100cqw * 815 / 1920))) * .5); }
.aa-flamme { position: absolute; left: 24.25%; top: 22.6%; width: 2.6%; aspect-ratio: 44 / 42; transform: translate(-50%, -88%); transform-origin: 50% 90%;
  animation: aa-vacille 2.2s ease-in-out infinite alternate; }
.aa-flamme img { width: 100%; height: 100%; image-rendering: pixelated; mix-blend-mode: screen; opacity: .9; }
.aa-halo { position: absolute; left: 24.2%; top: 17%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 100, .22), rgba(255, 160, 70, .08) 45%, transparent 70%); mix-blend-mode: screen; animation: aa-halo 3.1s ease-in-out infinite alternate; }
@keyframes aa-vacille { 0% { transform: translate(-50%, -88%) scale(1, 1); } 35% { transform: translate(-53%, -88%) scale(.94, 1.07); } 70% { transform: translate(-48%, -88%) scale(1.04, .96); } 100% { transform: translate(-51%, -88%) scale(.98, 1.03); } }
@keyframes aa-halo { 0% { opacity: .75; } 50% { opacity: 1; } 100% { opacity: .82; } }
.aa-jeton { display: inline-flex; align-items: center; gap: .5cqh; height: 6.4cqh; padding: 0 1.6cqh 0 .6cqh; box-sizing: border-box; border-radius: 3.2cqh;
  background: radial-gradient(circle at 30% 30%, #f6dfa0, #c99a48 55%, #7b5420); box-shadow: 0 0 0 .3cqh #3b2410, 0 .5cqh .8cqh rgba(0, 0, 0, .55), inset 0 .2cqh .2cqh rgba(255, 245, 210, .7);
  font: 400 2.9cqh/1 'IM Fell English', Georgia, serif; color: #2a1608; white-space: nowrap; }
.aa-jeton img { width: 5.2cqh; height: 5.2cqh; object-fit: contain; filter: drop-shadow(0 .2cqh .2cqh rgba(0, 0, 0, .45)); }
.aa-jeton b { font-weight: 400; }
.aa-jeton.vide { filter: grayscale(.7) brightness(.85); }
.aa-tableau { position: absolute; z-index: 2; box-sizing: border-box; border: 2.2cqh solid transparent; border-image: url(interface/cadre_dore_9.png?v=3c410436) 142 147 142 147 / 2.2cqh stretch;
  background: #1a100a; filter: drop-shadow(0 1.2cqh 1.4cqh rgba(0, 0, 0, .6)); }
html #modal-box .aa-tableau > .illu { display: block; 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; box-shadow: none; }
.aa-tableau .aa-verrou { position: absolute; right: -1.6cqh; top: -2cqh; width: 5.4cqh; height: auto; filter: drop-shadow(0 .4cqh .4cqh rgba(0, 0, 0, .6)); }
.aa-tableau .aa-legende { position: absolute; z-index: 6; left: 50%; top: calc(100% + 2.8cqh); transform: translateX(-50%) rotate(1.4deg); white-space: nowrap; width: max-content; max-width: 92%; padding: 1cqh 3cqh;
  background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; font: italic 400 2.15cqh/1.15 'IM Fell English', Georgia, serif; color: #2b1a0e; text-align: center;
  filter: drop-shadow(0 .3cqh .4cqh rgba(0, 0, 0, .5)); }
.demo-bureau .aa-tableau.df-tableau { left: 25cqw; top: 5cqh; width: 32cqw; aspect-ratio: 3 / 1; rotate: -1.2deg; }
.demo-bureau .ilo-lettre { top: 5cqh; right: 4.5cqw; width: min(36cqw, 62cqh); min-height: 0; padding: 6.4cqh 4.2cqh 5cqh; }
.demo-bureau .ilo-texte p { margin: 0 0 1.8cqh; }
.demo-bureau .ilo-texte .df-qui { display: block; margin-top: .4cqh; font-size: 2.1cqh; color: #6a4a2a; }
.df-jetons { position: absolute; left: 27cqw; top: 33cqh; width: 32cqw; z-index: 3; display: flex; flex-wrap: wrap; gap: 2.2cqh 2.6cqh; }
.df-notes { position: absolute; left: 27cqw; top: 46cqh; width: 32cqw; z-index: 3; display: flex; flex-direction: column; gap: 1.4cqh; }
.df-note { padding: 1.4cqh 2.4cqh; background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; font: italic 400 2.3cqh/1.25 'IM Fell English', Georgia, serif;
  color: #2b1a0e; filter: drop-shadow(0 .5cqh .6cqh rgba(0, 0, 0, .55)); width: fit-content; max-width: 100%; }
.df-pli { position: absolute; left: 58cqw; top: 66cqh; z-index: 3; width: 15cqh; rotate: -9deg; filter: drop-shadow(0 .8cqh .9cqh rgba(0, 0, 0, .65)); animation: aa-attend 2.6s ease-in-out infinite; }
.df-pli > img:first-child { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.df-pli .df-cire { position: absolute; left: 50%; top: 52%; width: 38%; transform: translate(-50%, -50%); }
@keyframes aa-attend { 50% { filter: drop-shadow(0 0 1.4cqh rgba(190, 130, 255, .55)) drop-shadow(0 .8cqh .9cqh rgba(0, 0, 0, .65)); } }
.demo-bureau .ilo-choix { right: 4cqw; bottom: 4cqh; }
.ds-tableaux { position: absolute; left: 4cqw; top: 3.5cqh; width: 38cqw; z-index: 3; display: flex; flex-direction: column; gap: 8.6cqh; }
.ds-tableaux .aa-tableau { position: relative; width: 100%; aspect-ratio: 3 / 1; }
.ds-tableaux .aa-donne:nth-child(2) { margin-left: 5cqw; }
.ds-tableaux .aa-donne { position: relative; z-index: calc(5 - var(--i)); }
.ds-tableaux.quatre { top: 3cqh; width: 32cqw; gap: 2.6cqh; }
.ds-tableaux.quatre .aa-donne:nth-child(2), .ds-tableaux.quatre .aa-donne:nth-child(4) { margin-left: 5cqw; }
.ds-tableaux .aa-tableau > .illu { filter: grayscale(1) sepia(.75) contrast(1.18) brightness(.88); transition: filter .25s ease-out; }
.ds-tableaux .aa-tableau:hover > .illu { filter: none; }
.ds-tableaux .aa-tableau .aa-verrou { transition: transform .25s ease-out; }
.ds-tableaux .aa-tableau:hover .aa-verrou { transform: rotate(-12deg) translateY(-.6cqh); }
.demo-suite-bureau .ilo-lettre { width: min(40cqw, 70cqh); }
.demo-suite-bureau .ds-morceau { margin: 0 0 1.4cqh; font-style: italic; font-size: 2.5cqh; color: #3a1a0a; }
.demo-suite-bureau .ds-adresse { display: flex; align-items: center; gap: 1.6cqh; margin-top: 1.4cqh; }
.demo-suite-bureau .ds-adresse input { flex: 1 1 auto; min-width: 0; box-sizing: border-box; padding: .3cqh .4cqh; border: 0; border-radius: 0; border-bottom: .3cqh dotted rgba(90, 42, 20, .75);
  background: transparent; font: 400 2.6cqh/1.2 'IM Fell English', Georgia, serif; color: #2a1a0c; outline: none; }
.demo-suite-bureau .ds-adresse input::placeholder { color: rgba(74, 40, 16, .5); font-style: italic; }
.demo-suite-bureau .ds-adresse input:focus { border-bottom: .3cqh solid #8a2a10; background: rgba(255, 246, 220, .35); }
.demo-suite-bureau .ds-adresse .ilo-cire { width: 8cqh; height: 8cqh; }
.demo-suite-bureau .ds-adresse .ilo-etiq { width: 30cqh; padding-left: 13cqh; font-size: 1.85cqh; }
.demo-suite-bureau .demo-retour { min-height: 2.4cqh; margin: .8cqh 0 0; font-size: 2.1cqh; }
.demo-suite-bureau .ds-muet { display: block; margin-top: 1.2cqh; font-size: 1.7cqh; line-height: 1.3; color: rgba(74, 40, 16, .85); }
.demo-suite-bureau .ds-muet a { color: #6a2a10; }
.demo-suite-bureau #demo-coffre:not(:empty) { margin-top: 1.2cqh; font-size: 2cqh; }
.demo-suite-bureau .ilo-choix { right: 3cqw; bottom: 3cqh; gap: 1.2cqh; }
.demo-suite-bureau .ilo-choix .ilo-cire { width: 9cqh; height: 9cqh; }
.demo-suite-bureau .ilo-choix .ilo-etiq { width: 36cqh; padding-left: 16cqh; }
html #modal-box .ilo-carton a.ilo-sceau { text-decoration: none; color: inherit; }
html #modal:not(.accueil) > #modal-box:has(> .vab-peint) { 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; box-shadow: none !important;
  background: radial-gradient(ellipse at 50% 35%, #3a2414, #1a0e06 70%, #0c0603) !important; }
html #modal-box > .vab-peint { --ph: 16cqh; --sw: min(96cqw, calc((88.5cqh - var(--ph)) * 2)); position: absolute; inset: 0; container-type: size; overflow: hidden; color: #2b1a0e; margin: 0; padding: 0 !important;
  border: 0 !important; border-image: none !important; border-radius: 0 !important; box-shadow: none !important;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 180, 100, .12), transparent 60%), radial-gradient(ellipse at 50% 35%, #3a2414, #1a0e06 70%, #0c0603) !important; }
html #modal-box > .vab-peint[data-jeu="infirmerie"]:has(.vab-panneau) { --ph: 27cqh; }
.vab-peint .vab-scene { position: absolute; left: 50%; top: 9.5cqh; width: var(--sw); margin: 0; transform: translateX(-50%); border: 0; border-radius: 0;
  box-shadow: 0 0 0 .5cqh #2a1608, 0 0 0 .9cqh #a57a3c, 0 1.6cqh 3cqh rgba(0, 0, 0, .7); transition: width .25s ease-out; }
.vab-peint .vab-fond { translate: calc(var(--mx) * -3px) calc(var(--my) * -3px); scale: 1.01; transition: translate .25s ease-out; }
.vab-peint .vab-tete { position: absolute; left: 50%; top: 1.2cqh; z-index: 4; transform: translateX(-50%) rotate(-.6deg); display: flex; align-items: center; gap: 2cqh;
  height: 10cqh; box-sizing: border-box; padding: 0 5cqh; border: 2.4cqh solid transparent; border-image: url(interface/ui_plaque.png?v=302fbcf1) 24 / 2.4cqh stretch;
  background: none; filter: drop-shadow(0 .8cqh 1cqh rgba(0, 0, 0, .65)); animation: aa-donne .25s ease-out both; }
html #modal-box .vab-peint .vab-tete h2 { margin: 0; padding: 0; border: 0; background: none; font-size: 4cqh; line-height: 1; white-space: nowrap; color: #f2ddb0;
  text-shadow: 0 .25cqh 0 #000, 0 0 1.2cqh rgba(255, 190, 110, .35); }
.vab-peint #vab-chiffres:empty { display: none; }
html #modal-box .vab-peint #vab-chiffres .muet { color: #e8cf9c !important; font-style: italic; font-size: 2.4cqh; text-shadow: 0 .2cqh 0 #000; }
.vab-sabliers { display: inline-flex; gap: .4cqh; }
.vab-sabliers img { width: 4.6cqh; height: 4.6cqh; object-fit: contain; filter: drop-shadow(0 .2cqh .2cqh #000); }
.vab-sabliers img.vide { filter: grayscale(1) brightness(.5); opacity: .7; }
.vab-qui { position: absolute; left: 1.4%; top: 3%; z-index: 3; width: 10%; aspect-ratio: 1; }
.vab-peint:has(#vab-message:empty) .vab-qui { display: none; }
html #modal-box .vab-qui .visage-port { float: none; width: 100%; height: 100%; margin: 0; padding: 5%; box-sizing: border-box; }
.vab-peint #vab-message { position: absolute; z-index: 5; left: calc(50cqw - var(--sw) / 2 + var(--sw) * .125); top: calc(9.5cqh + var(--sw) * .02); max-width: calc(var(--sw) * .5); transition: left .25s ease-out, top .25s ease-out; }
html #modal-box .vab-peint #vab-message .jeu-message { position: relative; margin: 0; padding: 1.6cqh 2.4cqh; border: 0; border-radius: 1.6cqh; background: #fbf1d8; color: #2b1a0e;
  font: italic 400 2.5cqh/1.32 'IM Fell English', Georgia, serif; box-shadow: 0 0 0 .3cqh #8a5a2b, 0 .8cqh 1.4cqh rgba(0, 0, 0, .55); animation: aa-donne .25s ease-out both; }
html #modal-box .vab-peint #vab-message .jeu-message::before { content: ''; position: absolute; left: -1.4cqh; top: 2.4cqh; width: 2.2cqh; height: 2.2cqh; background: #fbf1d8;
  box-shadow: -.3cqh .3cqh 0 0 #8a5a2b; transform: rotate(45deg); }
html #modal-box .vab-peint #vab-message .jeu-message b { font-style: normal; }
.vab-peint #vab-corps { position: absolute; left: 50%; top: calc(9.5cqh + var(--sw) / 2 + .9cqh); z-index: 4; width: var(--sw); height: var(--ph); box-sizing: border-box;
  transform: translateX(-50%); display: flex; align-items: center; justify-content: flex-start; gap: 3cqh; padding: 0 2.4cqh;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)), url(interface/ui_bois_fond.png?v=5dc66c82) center / 22cqh repeat;
  box-shadow: 0 0 0 .5cqh #2a1608, 0 0 0 .9cqh #a57a3c, inset 0 .6cqh 1cqh rgba(0, 0, 0, .55), 0 1.6cqh 3cqh rgba(0, 0, 0, .7);
  transition: width .25s ease-out, top .25s ease-out, height .25s ease-out; }
html #modal-box .vab-peint .ilo-sceau { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; outline: 0; min-height: 0; }
html #modal-box .vab-peint .ilo-etiq { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.vab-peint .ilo-sceau[disabled] { cursor: default; }
.vab-peint .vab-boutons { display: flex; gap: 2.4cqh; margin: 0; padding: 0; background: none; border: 0; }
.vab-peint .vab-boutons .ilo-sceau:nth-child(2) { --a: 1.4deg; }
.vab-peint .vab-carnet { margin: 0 0 0 auto; display: flex; align-items: center; gap: 1.6cqh; font-size: 2.2cqh; color: #f1e0b8; }
.vab-peint .vab-vide { font: italic 400 2.3cqh/1.2 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 #000; }
.vab-peint .vab-carnet .cie-puce { background: rgba(251, 241, 216, .9); color: #2b1a0e; }
.vab-peint #vab-corps > .vab-boutons .ilo-cire { width: 8.6cqh; height: 8.6cqh; }
.vab-peint #vab-corps > .vab-boutons .ilo-etiq { width: 31cqh; padding-left: 13.6cqh; font-size: 2.05cqh; }
.vab-peint .vab-sceau-livre .ilo-cire { width: 8cqh; height: 8cqh; }
.vab-peint .vab-sceau-livre .ilo-etiq { width: 30cqh; padding-left: 13cqh; font-size: 1.85cqh; }
.vab-peint .vab-panneau { flex: 1 1 auto; display: flex; gap: 2.4cqh; align-items: center; box-sizing: border-box; padding: 0; background: none; border: 0;
  font: 400 2.1cqh/1.3 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 rgba(0, 0, 0, .8); animation: aa-donne .25s ease-out both; }
.vab-peint .vab-panneau.vab-cuisine > div { flex: 0 0 auto; }
html #modal-box .vab-peint .vab-panneau b { color: #ffe9b8; }
.vab-emplacements { display: flex; gap: 1.4cqh; }
.vab-emplacement { position: relative; width: 10.5cqh; height: 10.5cqh; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle at 50% 42%, #2a1608 0 52%, #5a3618 64%, #8a5a2b 72%, #3a2010 78%);
  box-shadow: 0 0 0 .35cqh #a57a3c, inset 0 .6cqh 1cqh rgba(0, 0, 0, .7), 0 .5cqh .8cqh rgba(0, 0, 0, .6); }
.vab-emplacement .vab-sprite { position: absolute; left: 50%; top: 50%; width: 82%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 .3cqh .3cqh rgba(0, 0, 0, .6)); }
.vab-emplacement.plein { animation: aa-pose .25s cubic-bezier(.2, .8, .3, 1.3) both; }
@keyframes aa-pose { from { transform: scale(.7); } }
.vab-peint .vab-panneau > div { flex: 1 1 0; min-width: 0; }
.vab-peint .vab-panneau .boutons-ligne, .vab-peint .vab-examens { display: flex; flex-wrap: wrap; gap: 1cqh 1.6cqh; margin-top: .8cqh; }
.vab-peint .vab-panneau .ilo-cire { width: 4.2cqh; height: 4.2cqh; }
.vab-peint .vab-panneau .ilo-etiq { width: 16cqh; padding: 0 .6cqh 0 6.6cqh; margin-left: -1.4cqh; font-size: max(12px, 1.5cqh); line-height: 1.05; }
.vab-peint .vab-examens { gap: .6cqh 1cqh; }
.vab-peint .vab-malade { flex: 1.25 1 0 !important; }
.vab-peint .vab-signes { margin: .4cqh 0; font-size: 1.9cqh; }
.vab-peint .vab-remedes { gap: .6cqh; }
html #modal-box .vab-peint .vab-remede { border: 0; border-radius: 1cqh; background: radial-gradient(ellipse at 50% 60%, rgba(255, 248, 230, .5), transparent 75%); font-size: max(12.5px, 1.6cqh); }
.vab-peint .vab-remede .vab-obj { width: 5.6cqh; }
.vab-peint .vab-coffre > small { font-style: italic; }
html #modal-box .vab-qui .vab-coq { position: relative; overflow: hidden; background: #3a2414; }
.vab-qui .vab-coq img { position: absolute; width: 230%; height: auto; left: -42%; top: -4%; max-width: none; }
.vab-peint .vab-coffre .ilo-sceau { margin-top: .6cqh; }
.vab-peint #vab-corps:has(.vab-livret) { position: static; transform: none; background: none; box-shadow: none; height: auto; padding: 0; }
.vab-peint .vab-livret { position: absolute; left: 50%; top: 7cqh; z-index: 6; width: min(84cqw, 132cqh); max-height: 88cqh; box-sizing: border-box; overflow: auto;
  padding: 5cqh 6cqh 4cqh; border: 0; border-radius: 0; background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; transform: translateX(-50%) rotate(-.5deg);
  font: 400 2.05cqh/1.38 'IM Fell English', Georgia, serif; color: #2b1a0e; filter: drop-shadow(0 1.4cqh 2cqh rgba(0, 0, 0, .75)); animation: aa-feuille .25s ease-out both;
  scroll-margin-top: 60cqh; }   
@keyframes aa-feuille { from { opacity: 0; transform: translate(-50%, 3cqh) rotate(2deg); } }
.vab-peint .vab-livret-tete { display: flex; align-items: center; justify-content: space-between; margin: 0 0 1cqh; font-size: 3.2cqh; color: #4a1c0c; }
.vab-peint .vab-livret-tete b { font-family: 'IM Fell English SC', 'IM Fell English', Georgia, serif; font-weight: 400; }
.vab-peint .vab-livret-tete .ilo-cire { width: 7cqh; height: 7cqh; }
.vab-peint .vab-livret-tete .ilo-etiq { width: 28cqh; padding-left: 12cqh; font-size: 1.8cqh; }
.vab-peint .vab-livret-table th { color: #6b2a10; border-bottom: .2cqh solid rgba(107, 68, 38, .6); font-weight: 400; font-style: italic; }
.vab-peint .vab-livret-table td { border-bottom: .15cqh dotted rgba(107, 68, 38, .45); padding: .35cqh .8cqh; }
.vab-peint .vab-livret .vab-gravite { background: rgba(160, 110, 50, .14); border-left: .4cqh solid #8a5a2b; }
.vab-peint:has(.vab-livret) .vab-scene { filter: brightness(.55) blur(1px); }
@media (prefers-reduced-motion: reduce) { .vab-peint .vab-tete, html #modal-box .vab-peint #vab-message .jeu-message, .vab-peint .vab-panneau, .vab-peint .vab-livret { animation: none; }
  .vab-peint .vab-fond { translate: none; transition: none; } .vab-peint .vab-scene, .vab-peint #vab-corps { transition: none; } }
html.sans-ambiance .vab-peint .vab-tete, html.sans-ambiance .vab-peint .vab-livret, html.sans-ambiance .vab-peint .vab-panneau { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ds-tableaux .aa-tableau > .illu, .ds-tableaux .aa-tableau .aa-verrou { transition: none; }
  .vab-emplacement.plein { animation: none; }
  .aa-donne, .aa-flamme, .aa-halo, .df-pli { animation: none; }
  .aa-scene .aa-px, .aa-scene .aa-px2 { translate: none; transition: none; }
}
html.sans-ambiance .aa-donne, html.sans-ambiance .aa-flamme, html.sans-ambiance .aa-halo, html.sans-ambiance .df-pli { animation: none; }
html.sans-ambiance .aa-scene .aa-px, html.sans-ambiance .aa-scene .aa-px2 { translate: none; }
.tn-dot { display: flex; gap: 6px; margin-top: 8px; }
.tn-dot img { width: 64px; height: 64px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .55)); }
.tn-dot img + img { rotate: 4deg; margin-left: -10px; }
.vab-peint .vab-carnet { flex-wrap: nowrap; }
.vab-peint .vab-vide { max-width: 24cqh; }
.vab-peint .vab-chaudron .vab-etiquette { display: none; }
html #modal-box .vab-peint .vab-panneau .muet { color: #d9c49a; }
.lv-isles { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; break-inside: avoid; font-style: italic; font-size: 1.08em; color: #3a2010; }
.lv-rose { position: relative; flex: none; width: 54px; height: 54px; }
.lv-rose img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) sepia(.4) opacity(.35); }
.lv-rose img.lv-rose-pleine { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); -webkit-mask-image: conic-gradient(#000 0 var(--p), transparent 0); mask-image: conic-gradient(#000 0 var(--p), transparent 0); }
.ep-scene .ep-page { position: absolute; top: 6cqh; height: 82cqh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; color: #2b1a0e;
  animation: aa-feuille-ep .25s ease-out both; }
.ep-scene .ep-gauche { left: 7cqw; width: 40cqw; }
.ep-scene .ep-droite { left: 53.5cqw; width: 39.5cqw; animation-delay: .06s; }
@keyframes aa-feuille-ep { from { opacity: 0; transform: translateX(1.2cqw) rotateY(-8deg); } }
.ep-scene .ep-photo { width: 92%; aspect-ratio: 1.6; rotate: -1.4deg; }
.ep-scene .ep-titre { margin: 4cqh 0 1cqh; padding: 0; border: 0; background: none; text-shadow: none; font: 400 5.4cqh/1.05 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: #6a1a10; text-align: center; text-wrap: balance; }
.ep-scene .ep-maison { margin: 0; font-style: italic; font-size: 3cqh; color: #4a3218; }
.ep-scene .ep-texte { overflow: hidden; padding-top: 1.4cqh; font-size: 2.85cqh; line-height: 1.42; text-align: justify; hyphens: auto; }
.ep-scene .ep-texte p { margin: 0 0 1.6cqh; }
.ep-scene .ep-texte p:first-child::first-letter { float: left; font: 400 7.6cqh/.8 'IM Fell English SC', Georgia, serif; color: #8a1a10; margin: .6cqh .8cqh 0 0; }
.ep-scene .ep-gen { display: flex; flex-direction: column; align-items: center; gap: 2cqh; margin-top: 4cqh; }
.ep-scene .ep-ovale { --h: 34cqh; width: calc(var(--h) * .8); height: var(--h); }
.ep-scene .ep-ovale > img, .ep-scene .ep-ovale > span { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #1c2338; }
.ep-scene .ep-ovale.mort > img { filter: grayscale(1) sepia(.85) brightness(.92); }
.ep-scene .ep-nom { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ep-scene .ep-nom b { font: 400 4.2cqh/1.1 'IM Fell English SC', Georgia, serif; color: #2b1a0e; }
.ep-scene .ep-nom small { font-style: italic; font-size: 2.4cqh; color: #4a3218; }
.ep-scene .ep-epitaphe { margin: 1cqh 2cqw 0; font: italic 400 3.3cqh/1.3 'IM Fell English', Georgia, serif; color: #3a1a0a; text-align: center; text-wrap: balance; }
.ep-scene .ep-faits { list-style: none; margin: 4cqh 0 0; padding: 0; width: 100%; font-size: 2.7cqh; line-height: 1.32; }
.ep-scene .ep-faits li { position: relative; padding: 0 0 1.4cqh 3cqw; animation: aa-donne .25s ease-out calc(.15s + var(--i) * 60ms) both; }
.ep-scene .ep-faits li::before { content: '❦'; position: absolute; left: .4cqw; top: 0; color: #8a1a10; }
.ep-scene .ep-motif { margin: auto 0 1cqh; font-style: italic; font-size: 2.4cqh; color: #5a3a1a; }
.ep-scene .ep-h { margin: 1cqh 0 2.4cqh; font: 400 4cqh/1.1 'IM Fell English SC', Georgia, serif; color: #6a1a10; }
.ep-scene .ep-jetons { display: flex; flex-wrap: wrap; justify-content: center; gap: 2cqh 2.4cqh; }
.ep-scene .ep-jetons .aa-jeton { height: 7.4cqh; font-size: 3.2cqh; }
.ep-scene .ep-jetons .aa-jeton img { width: 6cqh; height: 6cqh; }
.ep-scene .ep-cites { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.6cqh 2cqw; margin-top: 2cqh; width: 100%; }
.ep-scene .ep-cites .aa-donne { width: 44%; }
.ep-scene .ep-cite { margin: 0; display: flex; flex-direction: column; align-items: center; }
.ep-scene .ep-cite .al-photo { width: 100%; aspect-ratio: 1.4; }
.ep-scene .ep-cite figcaption { margin-top: .6cqh; font-style: italic; font-size: 2.4cqh; }
.ep-scene .ep-serments { display: flex; flex-wrap: wrap; justify-content: center; gap: 2cqh 2.6cqw; margin-top: 2cqh; }
.ep-scene .ep-sceau { display: flex; flex-direction: column; align-items: center; width: 12cqw; text-align: center; }
.ep-scene .ep-sceau img { width: 9cqh; height: 9cqh; object-fit: contain; filter: drop-shadow(0 .4cqh .5cqh rgba(0, 0, 0, .5)); animation: aa-donne .25s ease-out both; }
.ep-scene .ep-sceau small { margin-top: .6cqh; font-style: italic; font-size: 2.1cqh; line-height: 1.15; color: #3a2410; }
.ep-scene .ep-bilan { margin-top: auto; margin-bottom: 1cqh; }
.ep-scene .ep-folio { position: absolute; left: 50%; bottom: 3.4cqh; transform: translateX(-50%); font-style: italic; font-size: 2.2cqh; color: #5a3a1a; }
html #modal-box .ep-scene .ilo-sceau, html #modal-box .bf-scene .ilo-sceau { border: 0 !important; border-image: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; outline: 0; min-height: 0; }
html #modal-box .ep-scene .ilo-etiq, html #modal-box .bf-scene .ilo-etiq { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; color: #2b1a0e; }
.ep-scene .ep-tourner { position: absolute; right: 2.4vw; bottom: 2.4vh; z-index: 4; display: flex; gap: 2vh; align-items: flex-end; }
.ep-scene .ep-tourner .ilo-cire, .ep-scene .ep-bilan .ilo-cire, .bf-scene .bf-bas .ilo-cire { width: 9vh; height: 9vh; }
.ep-scene .ep-tourner .ilo-etiq, .ep-scene .ep-bilan .ilo-etiq, .bf-scene .bf-bas .ilo-etiq { width: 32vh; padding: 0 1.4vh 0 14vh; margin-left: -2.4vh; font-size: 2vh; }
.ep-scene .ep-bilan .ilo-cire { width: 7cqh; height: 7cqh; }
.ep-scene .ep-bilan .ilo-etiq { width: 30cqh; padding-left: 12cqh; margin-left: -2cqh; font-size: 2.2cqh; }
.bf-scene .bf-cartouche { align-self: center; flex: none; margin: calc(.4 * var(--u)) 0; padding: calc(1.6 * var(--u)) calc(6 * var(--u)); box-sizing: border-box;
  border: calc(2.6 * var(--u)) solid transparent; border-image: url(interface/ui_plaque.png?v=302fbcf1) 24 / calc(2.6 * var(--u)) stretch;
  font: 400 calc(4.4 * var(--u))/1 'IM Fell English SC', 'IM Fell English', Georgia, serif; color: #f6dc8c; text-shadow: 0 .2vh 0 #000, 0 0 1.4vh rgba(255, 200, 110, .45);
  filter: drop-shadow(0 1vh 1.2vh rgba(0, 0, 0, .6)); animation: bf-cartouche .45s cubic-bezier(.2, .8, .3, 1.3) var(--fin, 1.5s) both; }
.bf-scene .bf-cartouche.elle { color: #e3c8ff; text-shadow: 0 .2vh 0 #000, 0 0 1.4vh rgba(190, 130, 255, .5); }
@keyframes bf-cartouche { from { opacity: 0; transform: translateY(-2vh) scale(.82); } }
.bf-scene .bf-bas { display: flex; justify-content: flex-end; flex: none; animation: aa-donne .25s ease-out calc(var(--fin, 1.5s) + .3s) both; }
@media (prefers-reduced-motion: reduce) { .ep-scene .ep-page, .ep-scene .ep-faits li, .ep-scene .ep-sceau img, .bf-scene .bf-cartouche, .bf-scene .bf-bas { animation: none; } }
html.sans-ambiance .ep-scene .ep-page, html.sans-ambiance .bf-scene .bf-cartouche, html.sans-ambiance .bf-scene .bf-bas { animation: none; }
html #modal-box > .rc-scene > .illu { object-position: 50% 50% !important; filter: brightness(.95); }
.rc-scene .rc-lueur { position: absolute; left: 52.5%; top: 29%; width: 34cqh; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 190, 100, .3), rgba(255, 150, 60, .1) 45%, transparent 70%); mix-blend-mode: screen; animation: aa-halo 2.6s ease-in-out infinite alternate; }
.aa-scene .rc-titre { position: absolute; left: 3cqw; top: 3cqh; z-index: 3; padding: 0 4cqh; height: 9cqh; display: flex; align-items: center; box-sizing: border-box;
  border: 2.2cqh solid transparent; border-image: url(interface/ui_plaque.png?v=302fbcf1) 24 / 2.2cqh stretch; rotate: -.8deg; filter: drop-shadow(0 .8cqh 1cqh rgba(0, 0, 0, .65)); }
html #modal-box .aa-scene .rc-titre h2 { margin: 0; padding: 0; border: 0; background: none; font-size: 3.6cqh; line-height: 1; white-space: nowrap; color: #f2ddb0; text-shadow: 0 .25cqh 0 #000; }
.rc-scene .rc-receleur { position: absolute; left: 3cqw; bottom: 5cqh; z-index: 4; display: flex; align-items: flex-end; gap: 2cqh; max-width: 46cqw; }
html #modal-box .rc-scene .rc-receleur .visage-port { float: none; flex: none; width: 19cqh; height: 19cqh; margin: 0; }
.rc-scene .rc-nom { position: absolute; left: 0; bottom: -3.4cqh; width: 19cqh; text-align: center; font: italic 400 2cqh/1 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 #000; }
.rc-scene .rc-bulle { position: relative; margin-bottom: 6cqh; padding: 1.6cqh 2.4cqh; border-radius: 1.6cqh; background: #fbf1d8; color: #2b1a0e; font: italic 400 2.5cqh/1.32 'IM Fell English', Georgia, serif;
  box-shadow: 0 0 0 .3cqh #8a5a2b, 0 .8cqh 1.4cqh rgba(0, 0, 0, .55); animation: aa-donne .25s ease-out both; }
.rc-scene .rc-bulle::before { content: ''; position: absolute; left: -1.3cqh; bottom: 2.4cqh; width: 2.2cqh; height: 2.2cqh; background: #fbf1d8; box-shadow: -.3cqh .3cqh 0 0 #8a5a2b; transform: rotate(45deg); }
.rc-scene .rc-bulle small { display: block; margin-top: .8cqh; font-size: 2cqh; font-style: normal; color: #6a2a10; }
.rc-scene .rc-cartes { position: absolute; right: 3cqw; top: 4cqh; z-index: 3; width: min(44cqw, 74cqh); max-height: 72cqh; display: flex; flex-direction: column; gap: 1.6cqh; }
.rc-scene .rc-carte { display: grid; grid-template-columns: 11cqh 1fr auto; grid-template-rows: auto auto; align-items: center; gap: .6cqh 1.6cqh; padding: 1.4cqh 2cqh;
  background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .5)), url(interface/ui_bois_fond.png?v=5dc66c82) center / 20cqh repeat;
  box-shadow: 0 0 0 .4cqh #2a1608, 0 0 0 .7cqh #8a6a3a, 0 1cqh 1.6cqh rgba(0, 0, 0, .6); color: #f1e0b8; }
.rc-scene .rc-caisse { position: relative; grid-row: 1 / 3; width: 11cqh; height: 11cqh; }
.rc-scene .rc-caisse > img:first-child { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .4cqh .4cqh rgba(0, 0, 0, .6)); }
.rc-scene .rc-feu, .aa-glisse .rc-feu { position: absolute; left: 50%; top: -12%; width: 52%; transform: translateX(-50%); transform-origin: 50% 90%; mix-blend-mode: screen; animation: aa-vacille 1.8s ease-in-out infinite alternate; }
.rc-scene .rc-quoi { display: flex; flex-direction: column; gap: .3cqh; min-width: 0; }
.rc-scene .rc-quoi b { font: 400 2.7cqh/1.1 'IM Fell English', Georgia, serif; color: #ffe9b8; }
.rc-scene .rc-quoi small { font: italic 400 2cqh/1.2 'IM Fell English', Georgia, serif; color: #e0c898; }
.rc-scene .rc-carte .aa-jeton { height: 5.4cqh; font-size: 2.5cqh; }
.rc-scene .rc-carte .aa-jeton img { width: 4.4cqh; height: 4.4cqh; }
.rc-scene .rc-carte .ilo-sceau { grid-column: 2 / 4; justify-self: end; }
.rc-scene .rc-carte .ilo-cire { width: 6.6cqh; height: 6.6cqh; }
.rc-scene .rc-carte .ilo-etiq { width: 27cqh; padding: 0 1cqh 0 11cqh; margin-left: -2cqh; font-size: 1.9cqh; }
.rc-scene .rc-carte .ilo-sceau[disabled] { cursor: default; filter: grayscale(.5) brightness(.85); }
.rc-scene .rc-vide { margin: 0; padding: 2cqh; font: italic 400 2.6cqh/1.3 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 #000; }
.rc-scene .ilo-choix .ilo-cire { width: 8cqh; height: 8cqh; }
.rc-scene .ilo-choix .ilo-etiq { width: 30cqh; padding-left: 13cqh; }
@media (prefers-reduced-motion: reduce) { .rc-scene .rc-lueur, .rc-scene .rc-feu, .rc-scene .rc-bulle { animation: none; } }
html.sans-ambiance .rc-scene .rc-lueur, html.sans-ambiance .rc-scene .rc-feu { animation: none; }
html #modal-box > .eg-scene > .illu { object-position: 30% 50% !important; filter: brightness(.9); }
.eg-scene .eg-bulle { position: absolute; left: 14cqw; top: 15cqh; z-index: 3; max-width: 30cqw; padding: 1.6cqh 2.4cqh; border-radius: 1.6cqh; background: #fbf1d8; color: #2b1a0e;
  font: italic 400 2.5cqh/1.32 'IM Fell English', Georgia, serif; box-shadow: 0 0 0 .3cqh #5b2a86, 0 .8cqh 1.4cqh rgba(0, 0, 0, .55); animation: aa-donne .25s ease-out both; }
.eg-scene .eg-chandelier { position: absolute; left: 3cqw; bottom: 4cqh; z-index: 3; width: 30cqh; aspect-ratio: 380 / 420; filter: drop-shadow(0 .8cqh 1cqh rgba(0, 0, 0, .7)); }
.eg-scene .eg-chandelier > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.eg-scene .eg-flamme { position: absolute; width: 11.6%; transform: translate(-50%, -96%); transform-origin: 50% 100%; pointer-events: none; mix-blend-mode: screen;
  filter: drop-shadow(0 0 4px rgba(255, 190, 90, .9)); animation: ev-vacille 2.4s ease-in-out var(--d, 0s) infinite alternate; }
.eg-scene .eg-palier { position: absolute; left: 50%; bottom: -3.4cqh; transform: translateX(-50%); white-space: nowrap; font: italic 400 2.2cqh/1 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 #000; }
.eg-scene .eg-cartes { position: absolute; right: 3cqw; top: 3cqh; z-index: 3; width: min(44cqw, 74cqh); display: flex; flex-direction: column; gap: 1cqh; }
.eg-scene .ilo-choix { right: auto; left: 42cqw; bottom: 3cqh; }
.eg-scene .eg-carte { display: grid; grid-template-columns: 9cqh 1fr auto; align-items: center; gap: .4cqh 1.6cqh; padding: 1cqh 2cqh;
  background: url(interface/gazette_lettre_page.png?v=3afd9cb5) center / 100% 100% no-repeat; color: #2b1a0e; filter: drop-shadow(0 .8cqh 1cqh rgba(0, 0, 0, .6)); }
.eg-scene .eg-carte.mission { grid-template-columns: 9cqh 1fr; }
.eg-scene .eg-ico { grid-row: 1 / 3; width: 9cqh; height: 9cqh; object-fit: contain; filter: drop-shadow(0 .3cqh .3cqh rgba(0, 0, 0, .4)); }
.eg-scene .eg-quoi { display: flex; flex-direction: column; gap: .3cqh; min-width: 0; }
.eg-scene .eg-quoi b { font: 400 2.7cqh/1.1 'IM Fell English', Georgia, serif; color: #4a1c0c; }
.eg-scene .eg-quoi small { font: italic 400 1.95cqh/1.2 'IM Fell English', Georgia, serif; color: #5a3a1a; }
.eg-scene .eg-jetons { display: flex; gap: 1cqh; }
.eg-scene .eg-carte .aa-jeton { height: 5cqh; font-size: 2.3cqh; }
.eg-scene .eg-carte .aa-jeton img { width: 4cqh; height: 4cqh; }
.eg-scene .eg-carte .ilo-sceau { grid-column: 2 / 4; justify-self: end; }
.eg-scene .eg-carte .ilo-cire { width: 6.4cqh; height: 6.4cqh; }
.eg-scene .eg-carte .ilo-etiq { width: 27cqh; padding: 0 1cqh 0 11cqh; margin-left: -2cqh; font-size: 1.85cqh; }
.eg-scene .eg-carte .ilo-sceau[disabled] { cursor: default; filter: grayscale(.4) brightness(.9); }
.eg-scene .ilo-choix .ilo-cire { width: 8cqh; height: 8cqh; }
.eg-scene .ilo-choix .ilo-etiq { width: 28cqh; padding-left: 12cqh; }
@media (prefers-reduced-motion: reduce) { .eg-scene .eg-flamme, .eg-scene .eg-bulle { animation: none; } }
html.sans-ambiance .eg-scene .eg-flamme { animation: none; }
.livre.lv-rangs .lr-pg { display: flex; flex-direction: column; align-items: center; }
.livre.lv-rangs .lr-rep { margin: 0 0 calc(.8 * var(--u)); font-style: italic; color: #4a3218; }
.livre.lv-rangs .lr-echelle { position: relative; list-style: none; margin: 0 32% 0 6%; padding: 0; width: 62%; align-self: flex-start; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; }
.livre.lv-rangs .lr-echelle::before, .livre.lv-rangs .lr-echelle::after { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: #4a2a12; box-shadow: 1px 0 0 rgba(255, 240, 210, .4); }
.livre.lv-rangs .lr-echelle::before { left: 6%; } .livre.lv-rangs .lr-echelle::after { right: 6%; }
.livre.lv-rangs .lr-barreau { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: calc(4.6 * var(--u)); }
.livre.lv-rangs .lr-bois { position: absolute; left: 6%; right: 6%; top: 50%; height: 4px; transform: translateY(-50%); background: #6a3e1a; box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.livre.lv-rangs .lr-grade { position: relative; z-index: 1; max-width: 76%; padding: 0 8px; background: #efe2c2; font-size: calc(1.5 * var(--u)); line-height: 1.15; text-align: center; color: #6a5a48; border-radius: 3px; }
.livre.lv-rangs .lr-barreau.tenu .lr-grade { color: #2b1a0e; }
.livre.lv-rangs .lr-barreau.ici .lr-grade { color: #7a1a10; font-weight: 700; }
.livre.lv-rangs .lr-couronne .lr-barreau.ici .lr-bois, .livre.lv-rangs .lr-couronne .lr-barreau.tenu .lr-bois { background: #b8862b; }
.livre.lv-rangs .lr-ombre .lr-barreau.ici .lr-bois, .livre.lv-rangs .lr-ombre .lr-barreau.tenu .lr-bois { background: #2a2420; }
.livre.lv-rangs .lr-portrait { position: absolute; left: -9%; z-index: 2; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #b8862b, 0 3px 5px rgba(0, 0, 0, .45); animation: aa-donne .25s ease-out both; }
.livre.lv-rangs .lr-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.livre.lv-rangs .lr-seuil { position: absolute; left: 100%; margin-left: 6px; z-index: 2; display: flex; align-items: center; }
.livre.lv-rangs .lr-seuil .aa-jeton { --cq: var(--u); height: calc(3.6 * var(--u)); font-size: calc(1.6 * var(--u)); padding: 0 calc(1 * var(--u)) 0 calc(.3 * var(--u)); }
.livre.lv-rangs .lr-seuil .aa-jeton img { width: calc(3 * var(--u)); height: calc(3 * var(--u)); }
.livre.lv-rangs .lr-brise { position: absolute; left: -14%; top: -40%; width: calc(4 * var(--u)); rotate: -12deg; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.livre.lv-rangs .lr-req { position: absolute; left: 100%; margin-left: 8px; z-index: 1; font-size: calc(1.4 * var(--u)); color: #8a7864; background: #efe2c2; padding: 0 4px; }
.livre.lv-rangs .lr-barreau.sol .lr-grade { font-style: italic; }
.livre.lv-succes .ls-compte { margin: 0 0 calc(1 * var(--u)); }
.livre.lv-succes .ls-compte .aa-jeton { height: calc(4.2 * var(--u)); font-size: calc(2 * var(--u)); }
.livre.lv-succes .ls-compte .aa-jeton img { width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); }
.livre.lv-succes .ls-fam { break-inside: avoid; margin: 0 0 calc(1 * var(--u)); }
.livre.lv-succes .ls-h { margin: 0 0 calc(.4 * var(--u)); font-size: calc(1.8 * var(--u)); font-weight: 400; color: #6a1a10; border-bottom: 1px solid rgba(106, 26, 16, .3); }
.livre.lv-succes .ls-h small { font-style: italic; color: #6a5a48; }
.livre.lv-succes .ls-vitrine { display: flex; flex-wrap: wrap; gap: calc(.5 * var(--u)); padding: calc(.5 * var(--u)); border-radius: 4px;
  background: linear-gradient(180deg, rgba(90, 50, 20, .14), rgba(90, 50, 20, .06)); box-shadow: inset 0 0 0 1px rgba(90, 50, 20, .25); }
.livre.lv-succes .ls-med { width: calc(5 * var(--u)); height: calc(5 * var(--u)); display: grid; place-items: center; border-radius: 50%; background: rgba(40, 20, 8, .1); }
.livre.lv-succes .ls-med img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) sepia(.3) brightness(.95) opacity(.55); }
.livre.lv-succes .ls-med.ok img { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.livre.lv-succes .ls-med.neuf img { animation: ls-tombe .45s cubic-bezier(.3, .7, .4, 1.3) calc(.4s + var(--i, 0) * .25s) both; }
@keyframes ls-tombe { from { transform: translateY(-60%) scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .livre.lv-rangs .lr-portrait, .livre.lv-succes .ls-med.neuf img { animation: none; } }
.cm-carton .cm-carte:has(> .cm-carte-peinte) > .cm-carte-dessin { visibility: visible; z-index: 2; background: none; box-shadow: none; align-items: flex-start; padding-top: 50%; }
.sg-carton .cm-carte:has(> .cm-carte-peinte) > .cm-carte-dessin { visibility: hidden; }
.cm-carton .cm-carte:has(> .cm-carte-peinte) .cm-pav { filter: drop-shadow(0 .4cqh .4cqh rgba(0, 0, 0, .45)); }
.cm-fleches { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cm-fleches path { fill: none; stroke: #4a1c0c; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: cm-trace 1s ease-in-out calc(.45s + var(--i) * .12s) forwards; }
.cm-f-guerre path { stroke: #8e1612; stroke-width: 1.3; }
.cm-f-paix path { stroke: #2f5f34; stroke-width: 1.3; stroke-dasharray: 3 2; stroke-dashoffset: 0; animation: none; opacity: .85; }
@keyframes cm-trace { to { stroke-dashoffset: 0; } }
.sg-carton .sg-table { position: absolute; left: 9cqw; top: 80cqh; z-index: 4; display: flex; align-items: center; gap: 3cqh; }
.sg-carton .sg-jours { display: flex; gap: .6cqh; }
.sg-carton .sg-chandelle { width: 6cqh; height: 6cqh; filter: drop-shadow(0 .3cqh .4cqh rgba(0, 0, 0, .6)); animation: aa-donne .25s ease-out both; }
.sg-carton .sg-chandelle.eteinte { filter: grayscale(1) brightness(.55); opacity: .75; }
.sg-carton .sg-forces { display: flex; align-items: center; gap: 1.2cqh; }
.sg-carton .sg-contre { font: italic 400 2.2cqh/1 'IM Fell English', Georgia, serif; color: #f1e0b8; text-shadow: 0 .2cqh 0 #000; }
.sg-carton .sg-forces .aa-jeton { height: 5.4cqh; font-size: 2.5cqh; }
.sg-carton .sg-forces .aa-jeton img { width: 4.4cqh; height: 4.4cqh; }
.sg-carton .sg-bosco { left: auto; right: 34cqw; bottom: 3cqh; max-width: 28cqw; }
@media (prefers-reduced-motion: reduce) { .cm-fleches path { animation: none; stroke-dashoffset: 0; } .sg-carton .sg-chandelle { animation: none; } }
html.sans-ambiance .cm-fleches path { animation: none; stroke-dashoffset: 0; }
.table-peinte .tb-cartes { position: absolute; left: 50%; transform: translate(-50%, -50%); display: flex; gap: calc(1.4 * var(--k)); align-items: center; }
.table-peinte .tb-cartes.lui { top: 23%; } .table-peinte .tb-cartes.moi { top: 71%; }
.table-peinte .tb-cartes .tb-main { display: flex; gap: calc(.5 * var(--k)); padding: calc(.3 * var(--k)); border-radius: calc(.6 * var(--k)); }
.table-peinte .tb-cartes .tb-main.active { box-shadow: 0 0 0 2px rgba(255, 214, 110, .8), 0 0 calc(1.2 * var(--k)) rgba(255, 214, 110, .45); }
.table-peinte .tb-cartes .tb-main.res-mal { filter: grayscale(.5) brightness(.8); }
.table-peinte .tb-cartes .carte { width: calc(5.4 * var(--k)); height: calc(7.6 * var(--k)); border-radius: calc(.5 * var(--k)); font-size: calc(1.3 * var(--k));
  background: linear-gradient(#fbf3dc, #e9dcb8); border: 1px solid #6a5434; box-shadow: 0 calc(.35 * var(--k)) calc(.5 * var(--k)) rgba(0, 0, 0, .55); }
.table-peinte .tb-cartes .carte:nth-child(2n) { rotate: 3deg; } .table-peinte .tb-cartes .carte:nth-child(3n) { rotate: -4deg; }
.table-peinte .tb-cartes .carte.dos { background: repeating-linear-gradient(45deg, #6a1a14 0 4px, #8e2a1e 4px 8px); border: calc(.3 * var(--k)) solid #efe2c2; }
.table-peinte .tb-cartes .carte.fantome { opacity: .28; }
.table-peinte .tb-cartes .carte.arrive { animation: tb-donne .25s cubic-bezier(.2, .8, .3, 1.1) both; }
@keyframes tb-donne { from { transform: translate(calc(-14 * var(--k)), calc(-3 * var(--k))) rotate(-20deg); opacity: 0; } }
.table-peinte .tb-sabot small { display: block; font-size: .62em; line-height: 1; opacity: .85; text-align: center; }
.table-peinte .tb-sabot { position: absolute; left: 6.6%; top: 44%; padding: calc(.2 * var(--k)) calc(.6 * var(--k)); border-radius: calc(.4 * var(--k)); background: rgba(30, 16, 6, .75);
  color: #f1e0b8; font: 400 calc(1.2 * var(--k))/1 'IM Fell English', Georgia, serif; }
.table-peinte .tb-total { display: block; font-style: italic; font-size: calc(1.4 * var(--k)); color: #f6dc8c; }
@media (prefers-reduced-motion: reduce) { .table-peinte .tb-cartes .carte.arrive { animation: none; } }
.ile-terrain.ile-neuf > img { animation: ile-dessine .4s ease-out both; }
.ile-terrain.ile-neuf::after { content: ''; position: absolute; left: 50%; bottom: 10%; width: 40%; aspect-ratio: 1; pointer-events: none;
  background: url(interface/table_obj_plume.png?v=8da0b0cb) center / contain no-repeat; animation: ile-plume .4s ease-out both; }
@keyframes ile-dessine { from { clip-path: inset(100% 0 0 0); filter: sepia(1) brightness(1.2); } 70% { filter: sepia(.4); } to { clip-path: inset(0 0 0 0); } }
@keyframes ile-plume { from { transform: translate(-50%, 0) rotate(-20deg); opacity: 1; } to { transform: translate(-30%, -260%) rotate(10deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ile-terrain.ile-neuf > img, .ile-terrain.ile-neuf::after { animation: none; } .ile-terrain.ile-neuf::after { display: none; } }
html.sans-ambiance .ile-terrain.ile-neuf > img { animation: none; } html.sans-ambiance .ile-terrain.ile-neuf::after { display: none; }
.vab-peint .vab-gouttes { display: inline-flex; gap: .5cqh; margin-left: .8cqh; vertical-align: middle; }
.vab-peint .vab-gouttes i { width: 1.5cqh; height: 1.5cqh; border-radius: 50% 0 50% 50%; rotate: -45deg; box-sizing: border-box;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .35), transparent 45%), #5a3a2a; box-shadow: inset 0 0 0 .15cqh #2a160c; opacity: .55; }
.vab-peint .vab-gouttes i.pleine { background: radial-gradient(circle at 35% 35%, rgba(255, 220, 200, .7), transparent 40%), radial-gradient(circle at 50% 60%, #d23a24, #8e1612 75%); opacity: 1;
  box-shadow: inset 0 0 0 .15cqh #4a0a06, 0 .15cqh .2cqh rgba(0, 0, 0, .5); }
html #modal-box > .table-nego.tn-dot-scene .tn-bulle { font-size: max(18px, calc(1.35 * min(1vw, 1.778vh))); line-height: 1.4; max-width: min(620px, 44%); padding: .7em 1em; }
.bf-scene .tdm-o, .bf-scene .tdm-o-ile.tdm-k0, .bf-scene .tdm-o-ile.tdm-k1, .bf-scene .tdm-o-ile.tdm-k2, .bf-scene .tdm-o-ile.tdm-k3, .bf-scene .tdm-o-ile.tdm-k4 { --t: calc(7.4 * var(--u)); }
.bf-scene .tdm-pile { overflow: visible; }
.bf-scene .bf-ici { position: relative; z-index: 40; width: 0; height: calc(1.2 * var(--u)); flex: none; }
.bf-scene .bf-ici > .bf-cartouche { position: absolute; left: 50%; bottom: 0; margin: 0; white-space: nowrap; translate: -50% 0; }
.bf-scene .tdm-pilier:has(.bf-ici) { z-index: 30; position: relative; }
.bf-scene .tdm-elle .tdm-pilier:has(.bf-ici) .bf-cartouche { translate: -60% 0; }
.bf-scene .tdm-nous .tdm-pilier:has(.bf-ici) .bf-cartouche { translate: -40% 0; }
.bf-scene .bf-ici > .bf-cartouche { font-size: calc(3.4 * var(--u)); padding: calc(1.1 * var(--u)) calc(4 * var(--u)); }
.jeu.tb-riche .carte.arrive { animation: none; }
.jeu .carte.tb-vol { will-change: transform; position: relative; z-index: 3; }
.jeu .carte.tb-face-cachee { background: repeating-linear-gradient(45deg, #6a1a14 0 4px, #8e2a1e 4px 8px) !important; }
.jeu .carte.tb-face-cachee > * { visibility: hidden; }
#cpt-calque .tb-jeton-vol { position: fixed; width: 28px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); will-change: transform; }
