/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html #modal:not(.accueil) > #modal-box.boite-livre { width: min(100vw, 177.8vh) !important; max-width: none; height: auto; max-height: none !important; aspect-ratio: 16 / 9; padding: 0 !important; overflow: hidden;
  border: 0 !important; border-image: none !important; border-radius: 0 !important; background: #1a120c !important; box-shadow: 0 10px 40px rgba(0, 0, 0, .7) !important; }
html #modal:not(.accueil) > #modal-box > .livre { position: absolute; inset: 0; padding: 0 !important; margin: 0; border: 0 !important; border-image: none !important; background: none !important;
  --u: min(1vw, 1.778vh); color: #2b1a0e; font-family: Alegreya, Georgia, serif; }
.livre .lv-fond { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; }
.livre .lv-texte { position: absolute; left: 18.4%; width: 63.22%; top: 9%; height: 76%; columns: 2; column-gap: 12.69%; column-fill: auto; overflow: hidden;
  font-size: calc(1.25 * var(--u)); line-height: 1.45; outline: none; }
.livre .lv-image { margin: 0 0 calc(1 * var(--u)); border: 3px solid #8a6a3a; outline: 1px solid #d9c08a; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); break-inside: avoid; }
.livre .lv-vignette { break-before: column; margin-top: calc(2 * var(--u)); border: 3px solid #8a6a3a; outline: 1px solid #d9c08a; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transform: rotate(.6deg); }
html .livre .lv-vignette > .illu { display: block; width: 100%; height: auto !important; max-height: none !important; margin: 0; border: 0 !important; border-image: none !important; }
html .livre .lv-image > .illu { display: block; width: 100%; height: calc(20 * var(--u)) !important; max-height: none !important; object-fit: cover; margin: 0; border: 0 !important; border-image: none !important; }
.livre .lv-texte .aide-cols { display: block !important; }
.livre .lv-texte .aide-nav { display: flex !important; flex-wrap: wrap; gap: 2px 10px; margin-bottom: calc(1 * var(--u)); max-height: none !important; overflow: visible !important; }
html .livre .lv-texte .aide-nav .onglet { all: unset; cursor: pointer; font-size: calc(1.05 * var(--u)); color: #7a4a1e; text-decoration: underline dotted; }
html .livre .lv-texte .aide-nav .onglet.actif { color: #7d1a10; font-weight: 700; text-decoration: none; }
.livre .lv-texte .aide-texte { max-height: none !important; overflow: visible !important; border: 0 !important; border-image: none !important; background: none !important; padding: 0 !important; }
.livre .lv-titre { font-family: var(--titre) !important; color: #7d1a10 !important; font-size: calc(2.6 * var(--u)) !important; line-height: 1.05 !important; text-align: center; margin: 0 0 calc(1 * var(--u)) !important; padding: 0 !important; text-shadow: none !important; }
.livre .lv-texte h3, .livre .lv-texte h4 { color: #5a2d12; font-family: var(--titre); font-weight: 400; font-size: calc(1.6 * var(--u)); margin: calc(.8 * var(--u)) 0 calc(.3 * var(--u)); }
.livre .lv-texte small, .livre .lv-texte .muet { color: #6a4a24; }
.livre .lv-texte .cap-grille, .livre .lv-texte .deux-cols, .livre .lv-texte .liste-actions, .livre .lv-texte .actions-grille { display: block !important; }
.livre .lv-texte .cap-fiche, .livre .lv-texte .ligne-action, .livre .lv-texte .quete-ligne { margin: 0 0 calc(.7 * var(--u)); break-inside: avoid; background: none !important; border: 0 !important; border-image: none !important; box-shadow: none !important;
  border-bottom: 1px solid rgba(90, 60, 30, .25) !important; padding: calc(.3 * var(--u)) 0 calc(.5 * var(--u)) !important; }
.livre .lv-texte .journal-long { max-height: none !important; overflow: visible !important; background: none !important; border: 0 !important; padding: 0 !important; }
.livre .lv-texte > div, .livre .lv-texte .chronique, .livre .lv-texte .registre-fen { background: none !important; border: 0 !important; border-image: none !important; padding: 0 !important; box-shadow: none !important; }
.livre .lv-signets { position: absolute; left: 86.8%; top: 9%; width: 12.8%; display: flex; flex-direction: column; gap: calc(.35 * var(--u)); overflow: visible; padding: 3px 0 6px; }
.livre .lv-signet { position: relative; flex: none; width: 162.5%; margin-left: -65.6%; aspect-ratio: 1107 / 190; background: none center / 100% 100% no-repeat; border: 0; padding: 0; cursor: pointer; filter: brightness(.62) saturate(.7);
  transition: transform .15s, filter .15s, clip-path .15s; transform-origin: left center; image-rendering: pixelated; clip-path: inset(-30% 0 -30% 40.4%); }
.livre .lv-signet:hover { filter: brightness(.86) saturate(.9); transform: translateX(-7%); clip-path: inset(-30% 0 -30% 40.4%); }
.livre .lv-signet.actif { z-index: 2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); transform: translateX(-14%); clip-path: inset(-30% 0 -30% 38%); }
.livre .lv-signet.actif .lv-ico { border-radius: 50%; box-shadow: 0 0 0 calc(.18 * var(--u)) rgba(255, 226, 140, .95), 0 0 calc(1.1 * var(--u)) calc(.35 * var(--u)) rgba(255, 196, 70, .85); }
.livre .lv-signet:focus-visible { outline: 2px solid #f3d77a; outline-offset: -3px; }
.livre .lv-ico { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 15%; aspect-ratio: 1; display: grid; place-items: center; font-size: calc(2.24 * var(--u)); line-height: 1; }
.livre .lv-ico img { width: 100%; height: 100%; object-fit: contain; }
.livre .lv-tourne { position: absolute; bottom: 8%; width: 3.2%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #8a6a2a; background: rgba(243, 230, 200, .85); color: #5a2d12; font-size: calc(2 * var(--u)); line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.livre .lv-prec { left: 16%; } .livre .lv-suiv { left: 80.8%; }
.livre .lv-tourne:disabled { opacity: .25; cursor: default; }
.livre .lv-folio { position: absolute; bottom: 9%; font-size: calc(1.1 * var(--u)); color: #6a4a24; }
.livre .lv-folio-g { left: 31%; } .livre .lv-folio-d { left: 68.5%; }
.livre .lv-fermer { position: absolute; left: 91.3%; top: 3.9%; z-index: 5; width: calc(3.5 * var(--u)); min-width: 40px; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 0; margin: 0;
  border: 0; border-radius: 50%; background: url(interface/sceau_fermer_repos.png?v=f7075058) center / 100% 100% no-repeat; color: transparent; font-size: 0;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); cursor: var(--c-main, pointer); }
.livre .lv-fermer:hover { background-image: url(interface/sceau_fermer_survol.png?v=19783679); }
.livre .lv-fermer:active { background-image: url(interface/sceau_fermer_presse.png?v=f86183d8); }
html.bois .livre .lv-texte .aide-nav .onglet, html .livre .lv-texte .aide-nav .onglet { background: none !important; border: 0 !important; border-image: none !important; padding: 0 !important; filter: none !important; text-shadow: none !important; box-shadow: none !important;
  color: #7a4a1e !important; font-size: calc(1.05 * var(--u)); text-decoration: underline dotted; align-self: auto; }
html.bois .livre .lv-texte .aide-nav .onglet.actif { color: #7d1a10 !important; font-weight: 700; text-decoration: none; }
.livre .lv-texte [class*="cols"], .livre .lv-texte [class*="grille"] { display: block !important; columns: auto !important; }
.livre .lv-texte:has(> .croises) { columns: auto !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr);
  grid-template-areas: "titre droite" "onglets droite" "gauche droite"; column-gap: 18.63%; }   
.livre .lv-texte:has(> .croises) > .lv-titre { grid-area: titre; font-size: calc(2.6 * var(--u)) !important; margin: 0 0 calc(.2 * var(--u)) !important; display: flex; align-items: center; justify-content: center; gap: calc(.8 * var(--u)); }
.livre .lv-texte:has(> .croises) > .lv-titre::before, .livre .lv-texte:has(> .croises) > .lv-titre::after { content: '❦'; font-family: Alegreya, Georgia, serif; font-size: .6em; color: #8a5a24; }
.livre .lv-texte:has(> .croises) > .lv-titre::before { transform: scaleX(-1); }
html .livre .lv-texte > .croises { display: contents !important; }
.livre .cr-onglets { grid-area: onglets; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 calc(1.1 * var(--u)); margin: 0 0 calc(.2 * var(--u)); padding-bottom: calc(.2 * var(--u));
  background: linear-gradient(90deg, transparent, rgba(90, 45, 18, .45), transparent) bottom / 100% 1px no-repeat; }
html .livre .cr-onglet { all: unset; cursor: pointer; font-family: var(--titre); font-size: calc(1.25 * var(--u)); line-height: 1.5; color: #8a6a44; padding: 0 calc(.15 * var(--u)); border-bottom: 2px solid transparent; }
html .livre .cr-onglet:hover { color: #5a2d12; }
html .livre .cr-onglet.actif { color: #7d1a10; border-bottom-color: #7d1a10; }
html .livre .cr-onglet:focus-visible { outline: 2px solid #7d1a10; outline-offset: 2px; }
.livre .cr-gauche { grid-area: gauche; min-height: 0; overflow: hidden; }
.livre .cr-droite { grid-area: droite; min-height: 0; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; padding: calc(.2 * var(--u)) calc(.3 * var(--u)) calc(.2 * var(--u)) 0; }
#modal-box .livre .lv-texte h4.cr-cat { display: flex; align-items: center; gap: calc(.7 * var(--u)); margin: calc(.35 * var(--u)) 0 calc(.2 * var(--u)); font-family: var(--titre); font-weight: 400; font-size: calc(1.35 * var(--u)); line-height: 1.1; color: #5a2d12; text-align: center; }
.livre .cr-cat::before, .livre .cr-cat::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(90, 45, 18, .55), transparent); }
.livre .cr-meds { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(.25 * var(--u)) calc(.2 * var(--u)); }
html .livre .cr-med { all: unset; box-sizing: border-box; cursor: pointer; width: calc(6.6 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(.2 * var(--u)); text-align: center; padding: calc(.1 * var(--u)) 0; }
.livre .cr-cadre { position: relative; box-sizing: border-box; width: calc(4.3 * var(--u)); aspect-ratio: 1; border-radius: 50%; padding: calc(.32 * var(--u)); display: block; flex: none;
  background: conic-gradient(from 210deg, #8a5a1a, #f6e08a, #b8862b, #fff1b8, #9a6a22, #e9c766, #8a5a1a);
  box-shadow: 0 2px 3px rgba(40, 20, 5, .45), inset 0 0 0 1px rgba(255, 244, 200, .55); transition: transform .12s, box-shadow .12s, filter .12s; }
.livre .cr-cadre > img, .livre .cr-cadre > .emoji-seul, .livre .cr-ovale > img, .livre .cr-ovale > .emoji-seul { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  background: #1c2338; box-shadow: inset 0 0 0 2px rgba(70, 40, 10, .8); image-rendering: auto; margin: 0; }
.livre .cr-cadre > .emoji-seul, .livre .cr-cadre.emoji { font-size: calc(2.2 * var(--u)); line-height: 1; }
.livre .cr-cadre.emoji, .livre .cr-ovale.emoji { display: grid; place-items: center; }
.livre .cr-nom { font-size: calc(.93 * var(--u)); line-height: 1.12; color: #3a2210; font-variant: small-caps; letter-spacing: .02em; max-width: 100%; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.24em; }
.livre .cr-med:hover .cr-cadre { transform: translateY(-1px); filter: brightness(1.08); }
.livre .cr-med.choisi .cr-cadre { box-shadow: 0 0 0 2px #fff4c8, 0 0 calc(1.1 * var(--u)) rgba(255, 196, 70, .95), 0 2px 3px rgba(40, 20, 5, .45); }
.livre .cr-med.choisi .cr-nom { color: #7d1a10; font-weight: 700; }
.livre .cr-med:focus-visible .cr-cadre { outline: 2px solid #7d1a10; outline-offset: 2px; }
.livre .cr-med.fini .cr-cadre > img, .livre .cr-ovale.fini > img { filter: grayscale(.4) sepia(.2); }
.livre .cr-med.mort .cr-cadre > img, .livre .cr-ovale.mort > img { filter: grayscale(1) sepia(.85) brightness(.92) contrast(.95); }
.livre .cr-med.mort .cr-cadre, .livre .cr-ovale.mort { filter: saturate(.55); }
.livre .cr-med.mort .cr-cadre::after, .livre .cr-ovale.mort::after { content: ''; position: absolute; right: -6%; bottom: 12%; width: 46%; height: 14%; transform: rotate(-42deg);
  background: linear-gradient(#2a2420, #0d0b0a 55%, #2a2420); box-shadow: 0 1px 2px rgba(0, 0, 0, .6); border-radius: 1px; }
.livre .cr-med.mort .cr-nom { color: #5a4a3a; }
.livre .cr-vide { font-style: italic; color: #6a4a24; text-align: center; margin-top: calc(2 * var(--u)); }
.livre .cr-tete { display: grid; grid-template-columns: 43% minmax(0, 1fr); gap: calc(1.1 * var(--u)); align-items: center; margin: 0 0 calc(.9 * var(--u)); flex: none; }
.livre .cr-ovale { position: relative; display: block; box-sizing: border-box; width: 100%; aspect-ratio: 4 / 5; border-radius: 50%; padding: calc(.55 * var(--u));
  background: conic-gradient(from 200deg, #7a4a12, #f6e08a, #b8862b, #fff3c0, #8a5a1a, #e9c766, #7a4a12);
  box-shadow: 0 4px 9px rgba(40, 20, 5, .5), inset 0 0 0 1px rgba(255, 244, 200, .7), inset 0 0 0 calc(.2 * var(--u)) rgba(120, 80, 20, .35); }
.livre .cr-ovale > img { object-position: 50% 18%; }
.livre .cr-ovale > .emoji-seul, .livre .cr-ovale.emoji { font-size: calc(4.5 * var(--u)); }
.livre .cr-ident { text-align: center; }
#modal-box .livre .lv-texte h3.cr-titre { font-family: var(--titre); font-weight: 400; color: #7d1a10; font-size: calc(2.1 * var(--u)); line-height: 1.05; margin: 0 0 calc(.45 * var(--u)); padding-bottom: calc(.4 * var(--u));
  background: linear-gradient(90deg, transparent, rgba(125, 26, 16, .5), transparent) bottom / 80% 1px no-repeat; overflow-wrap: anywhere; }
.livre .cr-chapeau { margin: 0; font-size: calc(1.28 * var(--u)); line-height: 1.3; color: #2b1a0e; }
.livre .cr-ruban { position: relative; margin: calc(.7 * var(--u)) calc(.8 * var(--u)) calc(.2 * var(--u)); height: calc(1.9 * var(--u)); }
.livre .cr-ruban-rail { position: absolute; left: 0; right: 0; top: 50%; height: calc(.85 * var(--u)); transform: translateY(-50%); overflow: hidden;
  background: linear-gradient(#e8d7b0, #d6c093); box-shadow: inset 0 1px 2px rgba(60, 30, 10, .45);
  clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 3% 50%); }
.livre .cr-ruban-plein { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#c8302a, #8e1612 60%, #6e100d); box-shadow: inset 0 1px 0 rgba(255, 180, 160, .45); }
.livre .cr-ruban.lien .cr-ruban-plein { background: linear-gradient(#b0703a, #7a4518 60%, #5e3412); }
.livre .cr-ruban-ico { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: calc(1.5 * var(--u)); line-height: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.livre .cr-auj { margin: calc(.45 * var(--u)) 0 0; font-size: calc(1.05 * var(--u)); line-height: 1.25; color: #5a3a1a; font-variant: small-caps; letter-spacing: .02em; }
.livre .cr-auj.mort { color: #6e5236; font-style: italic; font-variant: normal; filter: sepia(1); }
.livre .cr-chronique { margin: 0; flex: none; }
.livre .cr-ligne { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: calc(.5 * var(--u)); margin: 0 0 calc(.5 * var(--u)); font-size: calc(1.36 * var(--u)); line-height: 1.3; }
.livre .cr-an { font-weight: 700; color: #5a2d12; white-space: nowrap; }
.livre .cr-fait { font-style: italic; }
.livre .cr-orne { display: flex; align-items: center; gap: calc(.6 * var(--u)); margin: calc(.7 * var(--u)) 12% calc(.5 * var(--u)); color: #8a5a24; font-size: calc(1.2 * var(--u)); line-height: 1; flex: none; }
.livre .cr-orne::before, .livre .cr-orne::after { content: ''; flex: 1; height: 1px; background: rgba(90, 45, 18, .45); }
.livre .cr-sait { margin: 0; text-align: center; font-style: italic; font-size: calc(1.36 * var(--u)); line-height: 1.3; color: #2b1a0e; flex: none; }
.livre .cr-sceau { position: relative; flex: none; margin: auto calc(.5 * var(--u)) calc(.4 * var(--u)) auto; width: calc(4.4 * var(--u)); aspect-ratio: 1; transform: rotate(-8deg); filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
.livre .cr-sceau-cire { width: 100%; height: 100%; display: block; }
.livre .cr-sceau::before { content: ''; position: absolute; inset: 0; background: var(--nat, #8e1612); mix-blend-mode: color; opacity: .75;
  -webkit-mask: url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; mask: url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; z-index: 1; pointer-events: none; }
.livre .cr-sceau-pav { position: absolute; left: 24%; top: 24%; width: 52%; height: 52%; object-fit: contain; z-index: 2; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.livre .lv-tourne, .livre .lv-fermer { font-family: Alegreya, Georgia, serif; font-weight: 700; }
html .livre .lv-texte :is(.quete-ligne, .lq-note) .epingle { all: unset; display: inline-flex; align-items: center; gap: calc(.45 * var(--u)); margin-top: calc(.25 * var(--u)); cursor: pointer;
  font-size: calc(1.05 * var(--u)); font-variant: small-caps; letter-spacing: .03em; color: #7a4a1e; }
.livre .lv-texte :is(.quete-ligne, .lq-note) .epingle::before { content: ''; width: calc(.75 * var(--u)); height: calc(1.35 * var(--u)); flex: none; transform: rotate(-4deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, .22), transparent 45%, rgba(0, 0, 0, .18)), #b87a6a; box-shadow: 0 1px 1px rgba(40, 15, 5, .35);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); }
.livre .lv-texte :is(.quete-ligne, .lq-note) .epingle:hover { color: #7d1a10; }
.livre .lv-texte :is(.quete-ligne, .lq-note) .epingle.suivie { color: #7d1a10; font-weight: 700; }
.livre .lv-texte :is(.quete-ligne, .lq-note) .epingle.suivie::before { background: linear-gradient(90deg, rgba(255, 190, 170, .35), transparent 45%, rgba(0, 0, 0, .25)), #8e1612; }
.livre .lv-texte :is(.quete-ligne, .lq-note) .epingle:focus-visible { outline: 2px solid #7d1a10; outline-offset: 2px; }
html .livre .lv-texte .querelle, html .livre .lv-texte .rivale-fiche { background: rgba(125, 26, 16, .045) !important; border: 0 !important; border-left: 3px solid #8e1612 !important; border-radius: 0 !important;
  padding: calc(.4 * var(--u)) calc(.7 * var(--u)) !important; margin: 0 0 calc(.7 * var(--u)) !important; font-size: calc(1.1 * var(--u)); break-inside: avoid; }
html .livre .lv-texte .querelle .rivale-fiche { background: none !important; border: 0 !important; border-top: 1px solid rgba(90, 45, 18, .3) !important; padding: calc(.35 * var(--u)) 0 0 !important; margin: calc(.3 * var(--u)) 0 0 !important; }
.livre .lv-texte .querelle .jauge-agr { background: rgba(90, 45, 18, .16); box-shadow: inset 0 1px 1px rgba(60, 30, 10, .3); height: calc(.6 * var(--u)); }
.livre .lv-texte .querelle .jauge-agr span { background: linear-gradient(90deg, #a07a3a, #8e1612); }
html .livre .lv-texte .rivale-fiche .pacte, html .livre .lv-texte .rivale-fiche .ligne-action { background: none !important; border: 0 !important; border-top: 1px dotted rgba(90, 45, 18, .4) !important; border-radius: 0 !important;
  padding: calc(.3 * var(--u)) 0 0 !important; margin-top: calc(.3 * var(--u)) !important; box-shadow: none !important; }
html .livre .lv-texte .rivale-fiche .ligne-action { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: calc(.8 * var(--u)); }
html .livre .lv-texte .rivale-fiche .ligne-action .btn, html.bois .livre .lv-texte .rivale-fiche .ligne-action .btn { all: unset !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; align-items: center !important;
  gap: calc(.1 * var(--u)) !important; cursor: pointer !important; font-family: Alegreya, Georgia, serif !important; font-size: calc(.95 * var(--u)) !important; font-variant: small-caps !important; letter-spacing: .04em !important; color: #7d1a10 !important; }
html .livre .lv-texte .rivale-fiche .ligne-action .btn::before { content: ''; display: block; width: calc(3.6 * var(--u)); aspect-ratio: 1; transform: rotate(-7deg); transition: transform .12s, filter .12s;
  background: url(interface/choix_ico_colombe.png?v=519d72e2) 52% 48% / 58% no-repeat, url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
html .livre .lv-texte .rivale-fiche .ligne-action .btn:hover::before { transform: rotate(-3deg) translateY(-1px); filter: drop-shadow(0 3px 3px rgba(40, 15, 5, .5)) brightness(1.08); }
html .livre .lv-texte .rivale-fiche .ligne-action .btn:focus-visible::before { filter: drop-shadow(0 0 3px #f3d77a) drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
html .livre .lv-texte .rivale-fiche .ligne-action .btn:disabled { cursor: default !important; color: #8a7a6a !important; }
html .livre .lv-texte .rivale-fiche .ligne-action .btn:disabled::before { filter: grayscale(.85) brightness(.9) opacity(.55); transform: rotate(-7deg); }
.livre .maison-attente p { margin: 0 0 calc(.8 * var(--u)); font-size: calc(1.35 * var(--u)); line-height: 1.5; text-align: justify; hyphens: auto; }
.livre .maison-attente .ma-lettrine::first-letter { float: left; font-family: var(--titre); font-size: calc(4.2 * var(--u)); line-height: .82; color: #7d1a10; margin: calc(.2 * var(--u)) calc(.35 * var(--u)) 0 0; }
.livre .maison-attente .ma-signe { text-align: right; font-style: italic; color: #6a4a24; }
.livre .maison-attente .ma-blanche { break-before: column; display: flex; flex-direction: column; align-items: center; height: calc(39.5 * var(--u)); text-align: center; }
.livre .ma-orne { font-family: Alegreya, Georgia, serif; font-size: calc(3.4 * var(--u)); line-height: 1; color: #8a5a24; margin-top: calc(1 * var(--u)); }
.livre .ma-titre { font-family: var(--titre); font-size: calc(2.6 * var(--u)); line-height: 1.1; color: #7d1a10; margin: calc(.3 * var(--u)) 0 0; }
.livre .ma-pour { font-style: italic; font-size: calc(1.2 * var(--u)); color: #6a4a24; margin: calc(.2 * var(--u)) 0 calc(1.2 * var(--u)); }
.livre .ma-lignes { align-self: stretch; flex: 1; margin: 0 6%; background: repeating-linear-gradient(transparent 0, transparent calc(2.05 * var(--u)), rgba(110, 70, 30, .2) calc(2.05 * var(--u)), rgba(110, 70, 30, .2) calc(2.05 * var(--u) + 1px));
  -webkit-mask: linear-gradient(transparent, #000 8%, #000 70%, transparent); mask: linear-gradient(transparent, #000 8%, #000 70%, transparent); }
.livre .ma-encre { font-style: italic; font-size: calc(1.1 * var(--u)); color: #8a6a44; margin: calc(.6 * var(--u)) 0 calc(.4 * var(--u)); }
html .livre .lv-texte .lv-carnet, html .livre .lv-texte .lv-carnet .vab-livret, html .livre .lv-texte .lv-carnet .livre-arm { background: none !important; border: 0 !important; border-image: none !important; border-radius: 0 !important;
  padding: 0 !important; box-shadow: none !important; font-size: inherit; line-height: inherit; }
.livre .lv-carnets-onglets { margin: 0 0 calc(.6 * var(--u)); break-inside: avoid; }
.livre .lv-carnet .vab-livret-table { margin: calc(.3 * var(--u)) 0; font-size: calc(1.05 * var(--u)); line-height: 1.25; }
.livre .lv-carnet .vab-livret-table th { font-weight: 700; font-size: calc(.95 * var(--u)); padding: calc(.15 * var(--u)) calc(.25 * var(--u)); color: #5a2d12; border-bottom-color: rgba(90, 45, 18, .45); }
.livre .lv-carnet .vab-livret-table td { padding: calc(.2 * var(--u)) calc(.25 * var(--u)); border-bottom-color: rgba(90, 45, 18, .25); white-space: nowrap; }
.livre .lv-carnet .vab-livret-table td:first-child { white-space: normal; width: 40%; }
.livre .lv-carnet .vab-livret-table tr { break-inside: avoid; }
.livre .officiers-fen .portrait-mini { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border: 0; border-radius: 50%; padding: calc(.3 * var(--u)); box-sizing: border-box; overflow: visible;
  background: conic-gradient(from 210deg, #8a5a1a, #f6e08a, #b8862b, #fff1b8, #9a6a22, #e9c766, #8a5a1a); box-shadow: 0 2px 3px rgba(40, 20, 5, .45); }
.livre .officiers-fen .portrait-mini img { border-radius: 50%; background: #1c2338; object-position: 50% 22%; }
.livre .officiers-fen .ligne-action { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: calc(.6 * var(--u)); }
.livre .officiers-fen .officier-fiche { gap: calc(.7 * var(--u)); }
.livre .lv-carnet-armateur .ligne-action { display: block !important; }
.livre .lv-carnet-armateur .boutons-ligne { display: flex; justify-content: flex-end; align-items: flex-start; gap: calc(.9 * var(--u)); margin-top: calc(.35 * var(--u)); }
html .livre .lv-texte .officiers-fen .ligne-action .btn, html.bois .livre .lv-texte .officiers-fen .ligne-action .btn,
html .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn, html.bois .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn {
  all: unset !important; box-sizing: border-box !important; position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: calc(.1 * var(--u)) !important;
  min-width: calc(3.2 * var(--u)) !important; cursor: pointer !important; font-family: Alegreya, Georgia, serif !important; font-size: calc(.95 * var(--u)) !important; font-variant: small-caps !important;
  letter-spacing: .04em !important; line-height: 1.1 !important; color: #7d1a10 !important; text-align: center !important; white-space: nowrap !important; }
html .livre .lv-texte .officiers-fen .ligne-action .btn::before, html .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn::before {
  content: ''; display: block; width: calc(3.2 * var(--u)); aspect-ratio: 1; transform: rotate(-7deg); transition: transform .12s, filter .12s;
  background: url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
html .livre .lv-texte .officiers-fen .ligne-action .btn::before { width: calc(3.6 * var(--u)); background: url(interface/choix_ico_botte.png?v=e5c507a0) 52% 48% / 56% no-repeat, url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; }
html .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn img.emo { position: absolute; left: 50%; top: calc(1.6 * var(--u)); width: calc(1.75 * var(--u)) !important; height: calc(1.75 * var(--u)) !important;
  margin: 0 !important; transform: translate(-50%, -50%) rotate(-7deg); filter: brightness(1.3) contrast(1.05) drop-shadow(0 0 1px rgba(255, 235, 200, .7)); pointer-events: none; }
html .livre .lv-texte :is(.officiers-fen .ligne-action, .lv-carnet-armateur .boutons-ligne) .btn:hover::before { transform: rotate(-3deg) translateY(-1px); filter: drop-shadow(0 3px 3px rgba(40, 15, 5, .5)) brightness(1.08); }
html .livre .lv-texte :is(.officiers-fen .ligne-action, .lv-carnet-armateur .boutons-ligne) .btn:focus-visible::before { filter: drop-shadow(0 0 3px #f3d77a) drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
html .livre .lv-texte :is(.officiers-fen .ligne-action, .lv-carnet-armateur .boutons-ligne) .btn:disabled { cursor: default !important; color: #8a7a6a !important; }
html .livre .lv-texte :is(.officiers-fen .ligne-action, .lv-carnet-armateur .boutons-ligne) .btn:disabled::before { filter: grayscale(.85) brightness(.9) opacity(.55); }
html .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn.danger { color: #3a0d08 !important; }
html .livre .lv-texte .lv-carnet-armateur .boutons-ligne .btn.danger::before { filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .45)) hue-rotate(-12deg) brightness(.7); }
.livre .lv-carnet .tendre-signe { margin: 0 0 calc(.6 * var(--u)); padding: 0 0 calc(.45 * var(--u)); border-bottom: 1px solid rgba(90, 60, 30, .22); break-inside: avoid; line-height: 1.3; }
.livre .lv-carnet .tendre-essais { margin-top: calc(.15 * var(--u)); font-size: calc(1.08 * var(--u)); color: #3a2210; }
.livre .lv-carnet .tendre-essais b { color: #5a2d12; white-space: nowrap; }
.livre.lv-journal { --lj: calc(42.75 * var(--u) / 21); }
.livre.lv-journal .lv-texte { font-size: calc(1.28 * var(--u)); line-height: var(--lj); }
.livre .lj-regle { position: absolute; top: 9%; height: 76%; width: 27.6%; pointer-events: none;
  background: repeating-linear-gradient(transparent 0, transparent calc(var(--lj) - 1px), rgba(110, 70, 30, .24) calc(var(--lj) - 1px), rgba(110, 70, 30, .24) var(--lj));
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.livre .lj-regle-g { left: 18.4%; } .livre .lj-regle-d { left: 54%; }
.livre .lj-ruban { position: absolute; left: 50.9%; top: 5.2%; width: calc(2.2 * var(--u)); height: 82%; z-index: 1; pointer-events: none; box-sizing: border-box;
  border-style: solid; border-width: calc(1.4 * var(--u)) 0 calc(4.6 * var(--u)); border-color: transparent;
  border-image: url(interface/livre_ruban_page.png?v=9642dec2) 70 16 170 16 fill / calc(1.4 * var(--u)) 0 calc(4.6 * var(--u)) stretch;
  filter: drop-shadow(1px 2px 2px rgba(40, 15, 5, .45)); image-rendering: pixelated; }
.livre .lj { margin: 0; }
.livre .lj-tete { height: calc(7 * var(--lj)); display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: calc(.8 * var(--u)); align-items: center; break-inside: avoid; overflow: hidden; }
.livre.lv-journal .lj-tete .lv-titre { text-align: left; font-size: calc(3.2 * var(--u)) !important; line-height: 1 !important; margin: 0 !important; }
.livre .lj-liens { margin: calc(.3 * var(--u)) 0 0; font-size: calc(1 * var(--u)); line-height: 1.35; }
html .livre .lj-liens .lien { all: unset; cursor: pointer; color: #7a4a1e; text-decoration: underline dotted; font-variant: small-caps; }
html .livre .lj-liens .lien:hover { color: #7d1a10; }
.livre .lj-illu { height: calc(6.4 * var(--lj)); border: 3px solid #8a6a3a; outline: 1px solid #d9c08a; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); overflow: hidden; }
html .livre .lj-illu > .illu { display: block; width: 100%; height: 100% !important; max-height: none !important; object-fit: cover; margin: 0; border: 0 !important; border-image: none !important; }
html .livre .lj-illu > .illu.illu-respire { animation-timing-function: steps(20, jump-none); }
html .livre .lj-illu > .illu.illu-respire.illu-neuve { animation-timing-function: ease-out, steps(20, jump-none); }
.livre .lj-carte { position: relative; margin: calc(.7 * var(--lj)) 0 0; height: calc(11 * var(--lj)); break-inside: avoid; border: 3px solid #8a6a3a; outline: 1px solid #d9c08a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25); background: #e2d2aa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.livre .lj-carte-toile { display: block; image-rendering: pixelated; }
.livre .lj-carte-mot { position: absolute; left: 50%; bottom: calc(.35 * var(--u)); transform: translateX(-50%); white-space: nowrap; font-variant: small-caps; font-size: calc(1.05 * var(--u));
  line-height: 1.3; color: #5a2d12; background: rgba(242, 230, 200, .88); padding: 0 .55em; box-shadow: 0 0 0 1px rgba(138, 106, 58, .5); }
.livre .lj-saison { margin: 0; }
.livre .lj-saut { break-before: column; }
#modal-box .livre.lv-journal .lv-texte h3.lj-s { height: calc(2 * var(--lj)); margin: 0; padding: 0; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: center;
  font-family: var(--titre); font-weight: 400; font-size: calc(1.8 * var(--u)); line-height: calc(1.25 * var(--lj)); color: #5a2d12; text-align: center; break-after: avoid;
  background: url(interface/livre_fleuron_saison.png?v=cc6a88a9) center calc(100% - .12 * var(--lj)) / auto calc(.72 * var(--lj)) no-repeat; }
.livre .lj-e { position: relative; margin: 0; padding: 0 0 0 calc(2.1 * var(--u)); break-inside: avoid; color: #2b1a0e; }
.livre .lj-e b { color: inherit !important; }
.livre .lj-pic { position: absolute; left: 0; top: calc((var(--lj) - 1.65 * var(--u)) / 2); width: calc(1.65 * var(--u)); height: calc(1.65 * var(--u)); object-fit: contain; margin: 0; }
.livre .lj-e img.emo { height: 1.1em; width: auto; vertical-align: -.18em; }
.livre .lj-e.riv { color: #5b2a86; font-style: italic; }
.livre .lj-or { display: inline-block; width: calc(.72 * var(--u)); height: calc(.72 * var(--u)); margin-left: calc(.4 * var(--u)); vertical-align: .05em; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff6c0, #f0c040 42%, #b07a18 78%, #7a4e0c); box-shadow: 0 1px 1px rgba(60, 30, 5, .45); }
.livre .lj-croix { display: inline-block; width: calc(1 * var(--u)); height: calc(1 * var(--u)); margin-left: calc(.35 * var(--u)); vertical-align: -.08em;
  background: linear-gradient(45deg, transparent 40%, #b3170f 40%, #b3170f 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, #b3170f 40%, #b3170f 60%, transparent 60%); }
.livre .lj-vide { font-style: italic; color: #6a4a24; }
.livre .lj-fin { white-space: nowrap; }
.livre .lc-blanc { break-before: column; height: 0; margin: 0; }
.livre .lc-temps { break-before: column; margin: 0; }
#modal-box .livre.lv-journal .lv-texte h2.lc-titre { height: calc(2 * var(--lj)); margin: 0 !important; line-height: calc(2 * var(--lj)) !important; font-size: calc(2.7 * var(--u)) !important; overflow: hidden; }
.livre .lc-liens { height: var(--lj); margin: 0; text-align: center; line-height: var(--lj); }
#modal-box .livre.lv-journal .lv-texte h3.lc-cap { height: calc(3 * var(--lj)); margin: 0; padding: 0 0 calc(.95 * var(--lj)); box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  font-family: var(--titre); font-weight: 400; font-size: calc(1.75 * var(--u)); line-height: var(--lj); color: #5a2d12; text-align: center; break-after: avoid; break-inside: avoid;
  background: url(interface/livre_fleuron_saison.png?v=cc6a88a9) center calc(100% - .14 * var(--lj)) / auto calc(.72 * var(--lj)) no-repeat; }
.livre .lc-cap > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.livre .lc-quand { font-variant: small-caps; letter-spacing: .02em; color: #8a5a24; font-style: normal; }
.livre .lc-e.riv .lc-quand { color: #7a5a98; }
.livre.lv-quetes .lv-texte { font-size: calc(1.1 * var(--u)); line-height: 1.3; }
.livre .lq { margin: 0; height: 100%; }
.livre .lq-pg { height: 100%; box-sizing: border-box; break-before: column; break-inside: avoid; overflow: hidden; display: flex; flex-direction: column; }
.livre .lq > .lq-pg:first-child { break-before: auto; }
.livre.lv-quetes .lq-titre { font-size: calc(2.4 * var(--u)) !important; margin: 0 0 calc(.9 * var(--u)) !important; flex: none; }
#modal-box .livre.lv-quetes .lv-texte h3.lq-h { font-family: var(--titre); font-weight: 400; color: #3a1a0a; font-size: calc(2 * var(--u)); line-height: 1.1; text-align: center; margin: 0 0 calc(.5 * var(--u)); flex: none; }
#modal-box .livre.lv-quetes .lv-texte h4.lq-h4 { font-family: var(--titre); font-weight: 400; color: #5a2d12; font-size: calc(1.5 * var(--u)); text-align: center; margin: calc(1 * var(--u)) 0 calc(.3 * var(--u)); }
.livre .lq-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: calc(12 * var(--u)); gap: calc(.65 * var(--u)) calc(1.2 * var(--u)); padding: calc(.4 * var(--u)) calc(.6 * var(--u)) 0 calc(1 * var(--u)); flex: none; }
.livre .lq-notes.lq-n4 { grid-auto-rows: calc(15.6 * var(--u)); gap: calc(1.3 * var(--u)) calc(1.4 * var(--u)); }
.livre .lq-note { position: relative; box-sizing: border-box; min-width: 0; padding: 8% 8% 9% 10%; background: none center / 100% 100% no-repeat; display: flex; flex-direction: column;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); filter: drop-shadow(1px 3px 3px rgba(40, 20, 5, .35)); image-rendering: pixelated; }
.livre .lq-p0 { --r: -2.4deg; } .livre .lq-p1 { --r: 2deg; --dx: calc(.4 * var(--u)); --dy: calc(.8 * var(--u)); }
.livre .lq-p2 { --r: 1.4deg; --dx: calc(-.3 * var(--u)); --dy: calc(.2 * var(--u)); } .livre .lq-p3 { --r: -1.7deg; --dx: calc(.3 * var(--u)); --dy: calc(.6 * var(--u)); }
.livre .lq-p4 { --r: -1.1deg; --dx: calc(.2 * var(--u)); --dy: calc(.1 * var(--u)); } .livre .lq-p5 { --r: 2.3deg; --dx: calc(-.3 * var(--u)); --dy: calc(.4 * var(--u)); }
.livre .lq-cachet { position: absolute; left: -5%; top: -7%; width: 27%; aspect-ratio: 1; object-fit: contain; z-index: 1; transform: rotate(-8deg); filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .5)); }
.livre .lq-tete { padding-left: 19%; flex: none; }
.livre .lq-nom { font-family: var(--titre); font-size: calc(1.3 * var(--u)); line-height: 1.12; color: #3a1a0a; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.livre .lq-ligne { margin-top: calc(.2 * var(--u)); font-size: calc(.98 * var(--u)); line-height: 1.22; color: #3a2412; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.livre .lq-ligne small { font-size: 1em; }
.livre .lq-ligne img.emo { height: 1.1em; width: auto; vertical-align: -.18em; }
.livre .lq-n4 .lq-nom { font-size: calc(1.55 * var(--u)); }
.livre .lq-long .lq-ligne { -webkit-line-clamp: 1; }
.livre .lq-dette .lq-ligne { -webkit-line-clamp: 4; }
.livre .lq-note.lq-papier3 { padding-top: 15%; }
.livre .lq-papier3 .lq-cachet { top: -2%; }
.livre .lq-n4 .lq-ligne { font-size: calc(1.1 * var(--u)); -webkit-line-clamp: 3; }
.livre .lq-route { position: relative; flex: none; height: calc(2.1 * var(--u)); margin: auto 3% 0 6%; }
.livre .lq-n4 .lq-route { height: calc(3.2 * var(--u)); }
.livre .lq-route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.livre .lq-depart { position: absolute; width: calc(.75 * var(--u)); height: calc(.75 * var(--u)); border-radius: 50%; transform: translate(-50%, -50%); background: var(--encre); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 1px 1px rgba(0, 0, 0, .4); }
.livre .lq-navire { position: absolute; width: calc(2.5 * var(--u)); height: auto; transform: translate(-50%, -72%); image-rendering: pixelated; filter: drop-shadow(0 1px 1px rgba(40, 15, 5, .3)); }
.livre .lq-n4 .lq-navire { width: calc(3 * var(--u)); }
.livre .lq-etape { position: absolute; right: -2%; bottom: calc(-.5 * var(--u)); font-size: calc(.95 * var(--u)); font-weight: 700; color: #5a3a1a; }
.livre .lq-pied { display: flex; align-items: center; justify-content: space-between; gap: calc(.4 * var(--u)); margin-top: calc(.15 * var(--u)); min-height: calc(1.2 * var(--u)); flex: none; }
.livre .lq-delai { margin-left: auto; font-size: calc(.82 * var(--u)); font-style: italic; color: #6a4a24; text-align: right; line-height: 1.1; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
html .livre .lv-texte .lq-note .epingle { margin-top: 0; font-size: calc(.95 * var(--u)); white-space: nowrap; }
.livre .lq-sommeil { opacity: .72; filter: grayscale(.4) drop-shadow(1px 3px 3px rgba(40, 20, 5, .35)); }
html .livre .lv-texte :is(.lq-pied, .lq-relire) .btn, html.bois .livre .lv-texte :is(.lq-pied, .lq-relire) .btn {
  all: unset !important; box-sizing: border-box !important; display: inline-flex !important; align-items: center !important; gap: calc(.35 * var(--u)) !important; cursor: pointer !important;
  font-family: Alegreya, Georgia, serif !important; font-size: calc(.95 * var(--u)) !important; font-variant: small-caps !important; letter-spacing: .03em !important; color: #7d1a10 !important; white-space: nowrap !important; }
html .livre .lv-texte :is(.lq-pied, .lq-relire) .btn::before { content: ''; flex: none; width: calc(1.9 * var(--u)); aspect-ratio: 1; transform: rotate(-7deg);
  background: url(interface/bilan_sceau_nation.png?v=91f54340) center / 100% 100% no-repeat; filter: drop-shadow(0 1px 1px rgba(40, 15, 5, .45)); transition: transform .12s; }
html .livre .lv-texte :is(.lq-pied, .lq-relire) .btn:hover::before { transform: rotate(-2deg) translateY(-1px); }
html .livre .lv-texte :is(.lq-pied, .lq-relire) .btn:disabled { cursor: default !important; color: #8a7a6a !important; }
html .livre .lv-texte :is(.lq-pied, .lq-relire) .btn:disabled::before { filter: grayscale(.85) opacity(.55); }
.livre .lq-vide, .livre .lq-autres { margin: calc(1 * var(--u)) calc(1 * var(--u)) 0; font-style: italic; color: #4a2e14; }
.livre .lq-droite { padding: 0 calc(.4 * var(--u)); }
.livre .lq-querelle { flex: none; }
.livre .lq-balance { position: relative; width: calc(13.5 * var(--u)); aspect-ratio: 517 / 459; margin: 0 auto; }
.livre .lq-balance img { image-rendering: pixelated; }
.livre .lq-bal-pied { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(44% 22%, 56% 22%, 56% 82%, 72% 82%, 72% 100%, 28% 100%, 28% 82%, 44% 82%); }
.livre .lq-bal-fleau { position: absolute; inset: 0; transform-origin: 49.3% 16.3%; transform: rotate(var(--a, 0deg)); transition: transform .6s ease-out; }
.livre .lq-bal-fleau > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(0 0, 100% 0, 100% 80%, 56% 80%, 56% 22%, 44% 22%, 44% 80%, 0 80%); }
.livre .lq-plateau { position: absolute; top: 64%; width: 25%; aspect-ratio: 1; object-fit: contain; transform: translate(-50%, -92%) rotate(calc(-1 * var(--a, 0deg))); filter: drop-shadow(0 2px 2px rgba(40, 15, 5, .45)); }
.livre .lq-pl-g { left: 15.2%; } .livre .lq-pl-d { left: 84.2%; }
.livre .lq-phrase { margin: calc(.3 * var(--u)) 0 calc(.4 * var(--u)); text-align: center; font-size: calc(1.15 * var(--u)); line-height: 1.3; color: #2b1a0e; }
.livre .lq-phrase img.emo { height: 1.1em; width: auto; vertical-align: -.18em; }
html .livre .lv-texte .lq-riv { font-size: calc(.98 * var(--u)) !important; line-height: 1.25; margin: 0 !important; padding: calc(.2 * var(--u)) calc(.6 * var(--u)) !important; }
html .livre .lv-texte .lq-riv > :first-child { border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
.livre .lq-pouvoirs { margin-top: auto; flex: none; padding-bottom: calc(.3 * var(--u)); }
.livre .lq-sceaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(.8 * var(--u)); }
.livre .lq-sceau { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.livre .lq-sceau img { width: calc(5.8 * var(--u)); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(40, 15, 5, .45)); image-rendering: pixelated; }
.livre .lq-sceau b { margin-top: calc(.2 * var(--u)); font-size: calc(1.05 * var(--u)); line-height: 1.12; color: #3a1a0a; }
.livre .lq-sceau:not(.acquis) b { color: #5a4636; }
.livre .lq-cond { margin-top: calc(.15 * var(--u)); font-size: calc(.92 * var(--u)); line-height: 1.2; color: #4a2e14; }
.livre .lq-cond s { color: #8a6a44; text-decoration-thickness: 1.5px; }
.livre .lq-sceau.acquis .lq-cond { font-style: italic; color: #7d1a10; }
.livre .lq-liste { padding: 0 calc(.6 * var(--u)); }
.livre .lq-passee, .livre .lq-souvenir { position: relative; padding: calc(.25 * var(--u)) 0 calc(.25 * var(--u)) calc(1.4 * var(--u)); border-bottom: 1px dotted rgba(90, 60, 30, .32); font-size: calc(1.08 * var(--u)); line-height: 1.3; }
.livre .lq-passee .lj-or { position: absolute; left: 0; top: calc(.6 * var(--u)); margin: 0; }
.livre .lq-passee small, .livre .lq-souvenir small { color: #6a4a24; }
.livre .lq-passee:is(.echouee, .perdue) b { text-decoration: line-through; text-decoration-thickness: 1.5px; color: #6a4a24; }
.livre .lq-souvenir img.emo { position: absolute; left: 0; top: calc(.3 * var(--u)); width: calc(1.15 * var(--u)); height: calc(1.15 * var(--u)); object-fit: contain; }
.livre .lq-pro, .livre .lq-parole { margin: 0 calc(.6 * var(--u)) calc(.4 * var(--u)); font-size: calc(1.08 * var(--u)); line-height: 1.35; }
.livre .lq-parole { font-style: italic; color: #4a2e14; }
.livre .lq-relire { display: flex; justify-content: flex-end; margin: 0 calc(.6 * var(--u)) calc(.6 * var(--u)); }
.livre.lv-regles .lv-texte { left: 54.02%; width: 27.6%; columns: 1; column-gap: 8%; }
.livre.lv-regles .lr-toc { position: absolute; left: 18.4%; width: 27.6%; top: 9%; height: 76%; display: flex; flex-direction: column; overflow: hidden; }
.livre.lv-regles .lr-titre { margin-bottom: calc(.6 * var(--u)) !important; font-size: calc(2.3 * var(--u)) !important; }
.livre.lv-regles .lr-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: calc(.05 * var(--u)); }
.livre.lv-regles .lr-toc li.lr-sep { margin-top: calc(.45 * var(--u)); padding-top: calc(.35 * var(--u)); border-top: 1px solid rgba(90, 60, 30, .3); }
.livre.lv-regles .lr-ligne { all: unset; position: relative; isolation: isolate; box-sizing: border-box; display: flex; align-items: center; gap: calc(.55 * var(--u)); width: 100%; cursor: pointer;
  padding: calc(.04 * var(--u)) calc(.4 * var(--u)); font: 600 calc(1.02 * var(--u)) / 1.15 Alegreya, Georgia, serif; color: #3b2612; transition: color .2s ease-out, translate .2s ease-out; }
.livre.lv-regles .lr-ico { flex: none; width: calc(1.35 * var(--u)); height: calc(1.35 * var(--u)); display: grid; place-items: center; }
.livre.lv-regles .lr-ico img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) sepia(.5) brightness(.62) contrast(1.6); mix-blend-mode: multiply; opacity: .88; }
.livre.lv-regles .lr-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livre.lv-regles .lr-ligne::before { content: ''; position: absolute; z-index: -1; left: -26%; right: -3%; top: 50%; height: 142%; pointer-events: none;
  background: url(interface/menu_signet.png?v=27f37427) center / 100% 100% no-repeat; opacity: 0; transform: translateY(-50%) scaleX(-1) translateX(4%);
  transition: opacity .16s ease, transform .2s cubic-bezier(.2, .8, .3, 1); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.livre.lv-regles .lr-ligne:hover::before, .livre.lv-regles .lr-ligne:focus-visible::before, .livre.lv-regles .lr-ligne.actif::before { opacity: 1; transform: translateY(-50%) scaleX(-1); }
.livre.lv-regles .lr-ligne:hover, .livre.lv-regles .lr-ligne:focus-visible, .livre.lv-regles .lr-ligne.actif { color: #2a1405; translate: calc(.3 * var(--u)) 0; }
.livre.lv-regles .lr-ligne.actif { font-weight: 800; }
.livre.lv-regles .lr-ligne.verrou { color: #8a6f4c; font-style: italic; }
.livre.lv-regles .lr-ligne.verrou .lr-ico img { opacity: .7; }
.livre.lv-regles .lr-vignette { margin-bottom: calc(.7 * var(--u)); }
html .livre.lv-regles .lr-vignette > .illu { height: calc(11.5 * var(--u)) !important; }
.livre.lv-regles .lr-h { text-align: center; margin: 0 0 calc(.5 * var(--u)) !important; font-size: calc(1.9 * var(--u)) !important; color: #7d1a10 !important; }
.livre.lv-regles .lr-corps { font-size: calc(1.12 * var(--u)); line-height: 1.42; text-align: justify; hyphens: auto; }
.livre.lv-regles .lr-corps > p:first-of-type::first-letter { float: left; font-family: var(--titre); font-size: 3.3em; line-height: .82; color: #7d1a10;
  margin: calc(.12 * var(--u)) calc(.35 * var(--u)) 0 0; text-shadow: 1px 1px 0 rgba(255, 240, 200, .5); }
.livre.lv-regles .lr-corps p { margin: 0 0 calc(.55 * var(--u)); }
.livre.lv-regles .lr-corps h4 { font-size: calc(1.35 * var(--u)); }
.livre.lv-regles .lr-verrou { font-style: italic; color: #6a4a24; text-align: center; margin-top: calc(2 * var(--u)); }
@media (min-width: 2200px) { .livre.lv-regles .lv-texte { columns: 2; column-gap: 7%; } }
@media (prefers-reduced-motion: reduce) { .livre.lv-regles .lr-ligne, .livre.lv-regles .lr-ligne::before { transition: none; } }
.livre .lv-tourne { top: 80.32%; bottom: auto; width: 3.32%; height: 6.47%; aspect-ratio: auto; border: 0; border-radius: 0; padding: 0; color: transparent; font-size: 0;
  background: url(interface/livre_fond.webp?v=4509e3ae) 86.57% 85.87% / 3011.8% auto no-repeat; image-rendering: pixelated; cursor: pointer;
  transition: translate .2s ease-out, filter .2s ease-out; }
.livre .lv-suiv { left: 83.69%; }
.livre .lv-prec { left: 12.94%; transform: scaleX(-1); }
.livre .lv-tourne:hover:not(:disabled), .livre .lv-tourne:focus-visible:not(:disabled) { translate: 0 -2px; outline: none;
  filter: brightness(1.08) drop-shadow(0 3px 2px rgba(40, 20, 5, .45)); }
.livre .lv-tourne:active:not(:disabled) { translate: 0 0; filter: brightness(.95); }
.livre .lv-prec:disabled { visibility: hidden; }
.livre .lv-suiv:disabled { opacity: 1; cursor: default; }
@media (prefers-reduced-motion: reduce) { .livre .lv-tourne { transition: none; } }
.livre.lv-regles .lr-toc ol.lr-deux { display: block; columns: 2; column-gap: 6%; }
.livre.lv-regles .lr-toc ol.lr-deux li { break-inside: avoid; }
html #modal:not(.accueil) > #modal-box.boite-livre:has(> .livre.lv-accueil) { width: 100vw !important; height: 100vh; aspect-ratio: auto;
  background: #120c08 url(../illustrations/accueil_bureau.webp) center / cover no-repeat !important; box-shadow: none !important; }
html #modal:not(.accueil) > #modal-box > .livre.lv-accueil { inset: auto; left: 50%; top: 52%; width: min(96vw, 170vh); aspect-ratio: 16 / 9; translate: -50% -50%;
  --u: min(.96vw, 1.7vh); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .75)); }
.livre.lv-accueil .lv-fond { clip-path: inset(3.6% 8.4% 6.6% 8.4% round 6px); }
.livre .officier-vacant.premier { break-before: column; }
.livre .officier-vacant { opacity: .8; }
.livre .officier-vacant .of-creux { display: inline-block; flex: 0 0 auto; width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 38, 18, .28) 0 55%, transparent 57%), url(interface/ui_medaillon.png?v=157f5cb8) center / 100% 100% no-repeat;
  filter: grayscale(1) sepia(.35) brightness(.8) contrast(1.1); opacity: .6; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
.livre .officier-vacant b { color: #6b4a2a; font-style: italic; }
.livre.lv-pouvoir .lp-gauche { position: absolute; left: 18.4%; width: 27.6%; top: 9%; height: 76%; overflow: hidden; }
.livre.lv-pouvoir .lp-vignette { margin-bottom: calc(.7 * var(--u)); }
html .livre.lv-pouvoir .lp-vignette > .illu { height: calc(13 * var(--u)) !important; }
.livre.lv-pouvoir .lp-titre { text-align: center; margin: 0 0 calc(.6 * var(--u)) !important; font-size: calc(2.3 * var(--u)) !important; }
.livre.lv-pouvoir .lp-corps { font-size: calc(1.15 * var(--u)); line-height: 1.45; text-align: justify; hyphens: auto; }
.livre.lv-pouvoir .lp-corps p { margin: 0 0 calc(.6 * var(--u)); }
.livre.lv-pouvoir .lp-corps > p:first-of-type::first-letter { float: left; font-family: var(--titre); font-size: 3.3em; line-height: .82; color: #7d1a10;
  margin: calc(.12 * var(--u)) calc(.35 * var(--u)) 0 0; text-shadow: 1px 1px 0 rgba(255, 240, 200, .5); }
.livre.lv-pouvoir .lp-droite { display: flex; flex-direction: column; align-items: center; padding-top: calc(1.2 * var(--u)); }
.livre.lv-pouvoir .lp-grand { width: calc(15 * var(--u)); height: calc(15 * var(--u)); object-fit: contain; filter: drop-shadow(0 4px 5px rgba(60, 30, 10, .45)); }
.livre.lv-pouvoir .lp-h { margin: calc(1 * var(--u)) 0 calc(.6 * var(--u)) !important; font-size: calc(1.7 * var(--u)) !important; color: #7d1a10 !important; text-align: center; }
.livre.lv-pouvoir .lp-cond { display: flex; align-items: center; gap: calc(.7 * var(--u)); width: 100%; margin: calc(.35 * var(--u)) 0; font-size: calc(1.15 * var(--u)); line-height: 1.35; }
.livre.lv-pouvoir .lp-cire { flex: none; width: calc(3.4 * var(--u)); height: calc(3.4 * var(--u)); object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.livre.lv-pouvoir .lp-acquis { font-style: italic; text-align: center; font-size: calc(1.2 * var(--u)); }
