/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html:not(.mobile) .port .onglet-corps > .jour.tav {
  display: block; position: relative; overflow: hidden; gap: 0; padding: 0;
  margin: -4px -11px -7px; height: calc(clamp(430px, calc(94vh - 178px), 680px) + 11px);
  background: #24160c; font-family: 'Alegreya', Georgia, serif;
  --med-h: clamp(118px, 22vh, 172px);
}
html:not(.mobile) .port .jour.tav > img.illu {
  position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0;
  object-fit: cover; object-position: 74% 55% !important; border: 0 !important; border-image: none !important;
  border-radius: 0 !important; box-shadow: none !important; outline: 0;
}
.jour.tav .tav-tableau {
  position: absolute; right: 1.6%; top: 4.6%; bottom: 2.6%; width: 41%; z-index: 3;
  padding: 22px 20px 13px; border-radius: 6px;
  background: linear-gradient(rgba(52, 28, 12, .62), rgba(36, 19, 8, .7)), url(interface/ui_bois_fond.png?v=5dc66c82) 0 0 / 180px auto;
  box-shadow: inset 0 0 0 3px #2a170a, inset 0 0 0 9px #8a5a2b, inset 0 0 0 11px #4a2c14, inset 0 0 0 13px #b07f45,
    inset 0 0 24px 14px rgba(20, 10, 4, .55), 0 10px 18px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .4);
  rotate: .4deg;
}
.jour.tav .tav-fronton {
  position: absolute; left: 50%; top: 0; width: 132px; height: 48px; translate: -50% -44%; pointer-events: none;
  background: url(interface/cadre_dore_coquille.png?v=6357ebce) center / contain no-repeat; filter: sepia(.5) brightness(.85) drop-shadow(0 3px 2px rgba(0, 0, 0, .5));
}
.jour.tav .tav-notes {
  height: 100%; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; justify-content: safe center; gap: 11px; padding: 6px 10px 8px 6px;
}
.jour.tav .tav-note {
  --rot: 0deg; --dx: 0px; position: relative; flex: 1 0 auto; display: flex; align-items: center; gap: 10px;
  min-height: 56px; max-height: 78px; padding: 6px 10px 8px 10px; color: #3b2412; isolation: isolate;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .5)) drop-shadow(0 1px 1px rgba(0, 0, 0, .35));
  rotate: var(--rot); translate: var(--dx) 0; transition: rotate .16s ease-out, translate .16s ease-out, scale .16s ease-out;
}
.jour.tav .tav-note::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(175deg, rgba(255, 250, 235, .35), rgba(200, 160, 100, .18) 70%, rgba(150, 105, 55, .3)), url(interface/ui_papier.png?v=66fa38b6) center / 256px auto, #efe1bf;
  clip-path: polygon(0 3%, 6% 0, 18% 2%, 33% 0, 47% 1.5%, 61% 0, 78% 2%, 92% 0, 100% 2.5%, 99.4% 30%, 100% 62%, 99.2% 100%, 90% 96%, 81% 100%, 70% 95.5%, 58% 100%, 46% 96%, 35% 99.5%, 23% 95%, 12% 100%, 4% 96.5%, 0 100%, .6% 66%, 0 34%);
}
.jour.tav .tav-notes > .tav-note:nth-child(6n+1) { --rot: -1.4deg; --dx: 3px; }
.jour.tav .tav-notes > .tav-note:nth-child(6n+2) { --rot: 1.1deg; --dx: -4px; }
.jour.tav .tav-notes > .tav-note:nth-child(6n+3) { --rot: -.7deg; --dx: 5px; }
.jour.tav .tav-notes > .tav-note:nth-child(6n+4) { --rot: 1.6deg; --dx: 0px; }
.jour.tav .tav-notes > .tav-note:nth-child(6n+5) { --rot: -1.2deg; --dx: -3px; }
.jour.tav .tav-notes > .tav-note:nth-child(6n+6) { --rot: .8deg; --dx: 4px; }
.jour.tav .tav-notes > .tav-note:hover, .jour.tav .tav-notes > .tav-note:focus-within { rotate: 0deg; translate: 0 -2px; scale: 1.015; z-index: 2; }
.jour.tav .tav-epingle {
  position: absolute; top: -5px; width: 13px; height: 13px; border-radius: 50%; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fbf1d0 0, #c9c2b4 22%, #7d7a74 60%, #3e3b37 100%);
  box-shadow: 0 2px 2px rgba(0, 0, 0, .55), inset 0 -1px 1px rgba(0, 0, 0, .4);
}
.jour.tav .tav-epingle.g { left: 9%; }
.jour.tav .tav-epingle.d { right: 7%; }
.jour.tav .tav-notes > .tav-note:nth-child(even) .tav-epingle.g { left: 13%; top: -4px; }
.jour.tav .tav-notes > .tav-note:nth-child(3n) .tav-epingle.d { right: 11%; top: -6px; }
.jour.tav .tav-note.quete::before { background: linear-gradient(175deg, rgba(255, 238, 170, .55), rgba(230, 180, 70, .35)), url(interface/ui_papier.png?v=66fa38b6) center / 256px auto, #f3dc9c; }
.jour.tav .tav-note.quete { filter: drop-shadow(0 0 6px rgba(255, 205, 90, .7)) drop-shadow(0 4px 3px rgba(0, 0, 0, .5)); }
.jour.tav .tav-med {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #f6e8c6, #d9bd8a); border: 3px solid #b8873f; font-size: 26px; line-height: 1;
  box-shadow: 0 0 0 2px #5a3a1e, inset 0 0 0 1px rgba(255, 240, 200, .6), 0 2px 3px rgba(0, 0, 0, .35);
}
.jour.tav .tav-med.visage { background: #2a1a0e; }
.jour.tav .tav-med img { width: 100%; height: 100%; object-fit: cover; }
.jour.tav .tav-med img.emo { width: 64%; height: 64%; object-fit: contain; }
.jour.tav .tav-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.22; }
.jour.tav .tav-titre { font-size: clamp(14px, 2.15vh, 18px); font-weight: 700; color: #3b2412; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.tav .tav-titre b { font-weight: inherit; }
.jour.tav .tav-titre small { font-size: .8em !important; font-weight: 400; }
.jour.tav .tav-titre img.emo { height: 1.1em; vertical-align: -.2em; }
.jour.tav .tav-titre .a-savoir { font-size: 11px; vertical-align: 2px; }
.jour.tav .tav-ligne { font-size: clamp(12.5px, 1.75vh, 15px); color: #5e3a1c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.tav .tav-ligne small { font-size: inherit !important; }
.jour.tav .tav-ligne .mal, .jour.tav .tav-note.fermee .tav-ligne .mal { color: #9b2a1c; font-style: italic; }
.jour.tav .tav-ligne img.emo { height: 1.1em; vertical-align: -.2em; }
.jour.tav .tav-note.fermee .tav-med { filter: grayscale(.6); }
.jour.tav .tav-sceaux { flex: 0 0 auto; display: flex; align-items: center; gap: 2px; margin-right: -2px; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau {
  position: relative; width: 60px; height: 60px; padding: 0; margin: -5px 0; border: 0; background: none; display: grid; place-items: center;
  font-family: inherit; cursor: var(--c-main, pointer); transition: transform .12s ease-out, filter .12s ease-out;
}
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-cire { position: absolute; inset: 0; background: url(interface/bilan_sceau_nation.png?v=91f54340) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 50px; text-align: center; line-height: 1.02; color: #fff3dc; text-shadow: 0 1px 0 #4a0d08, 0 0 3px rgba(60, 5, 2, .8); pointer-events: none; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt b { font-size: 13.5px; font-weight: 800; white-space: nowrap; letter-spacing: -.2px; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau-txt small { font-size: 12px !important; font-weight: 700; color: #ffe9c9 !important; opacity: 1 !important; white-space: nowrap; max-width: 50px; letter-spacing: -.3px; overflow: hidden; text-overflow: ellipsis; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau.mot .tav-sceau-txt b { font-size: 11px; white-space: normal; overflow-wrap: anywhere; line-height: 1.05; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau:hover:not([disabled]) { transform: translateY(-2px) scale(1.06); filter: brightness(1.12); }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau:active:not([disabled]) { transform: translateY(1px) scale(.92); filter: brightness(.92); transition-duration: .05s; }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau[disabled] { cursor: var(--c-fleche, default); filter: saturate(.7) brightness(.86); }
:is(.jour.tav, .jour.cpt, .qi-rubans) .tav-sceau[disabled] .tav-sceau-txt { opacity: .8; }
.jour.tav .tav-notes > .tav-note:nth-child(odd) .tav-sceau:nth-child(odd) .tav-cire { rotate: -9deg; }
.jour.tav .tav-notes > .tav-note:nth-child(even) .tav-sceau:nth-child(odd) .tav-cire { rotate: 12deg; }
.jour.tav .tav-notes > .tav-note .tav-sceau:nth-child(even) .tav-cire { rotate: -16deg; }
.jour.tav .tav-notes > .tav-note:nth-child(3n) .tav-sceau:nth-child(odd) { translate: 0 2px; }
.jour.tav .tav-bulle {
  display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 9;
  padding: 9px 14px 8px; background: #f7eedb; border: 2px solid #7a5631; border-radius: 6px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .35); color: #2b1a0e; font-size: 13.5px; line-height: 1.35;
}
.jour.tav .tav-bulle::after { content: ''; position: absolute; right: 60px; bottom: -9px; width: 14px; height: 14px; background: #f7eedb; border-right: 2px solid #7a5631; border-bottom: 2px solid #7a5631; transform: rotate(45deg); }
.jour.tav .tav-bulle ul { margin: 0; padding: 0 0 0 16px; }
.jour.tav .tav-bulle li + li { margin-top: 4px; }
.jour.tav .tav-rumeurs:hover .tav-bulle { display: block; }
.jour.tav .tav-rumeurs { cursor: help; }
.jour.tav .tav-note.tav-rumeurs { flex-wrap: wrap; align-content: center; row-gap: 2px; max-height: 140px; }
.jour.tav .tav-rumeurs .tav-txt { flex-basis: 0; }
.jour.tav .tav-rumeurs .tav-ligne.tav-rumeur { flex: 0 0 calc(100% - 62px); margin: 7px 0 0 62px; white-space: normal; overflow: visible; text-overflow: clip; font-size: clamp(12.5px, 1.7vh, 14px); line-height: 1.25; }
.jour.tav .tav-tableau.serre .tav-rumeurs .tav-ligne.tav-rumeur { flex-basis: calc(100% - 54px); margin-left: 54px; }
.jour.tav .tav-tableau.serre .tav-notes { gap: 10px; }
.jour.tav .tav-tableau.serre .tav-note { min-height: 50px; padding-top: 5px; padding-bottom: 7px; }
.jour.tav .tav-tableau.serre .tav-med { width: 44px; height: 44px; font-size: 22px; }
.jour.tav .tav-tableau.serre .tav-sceau { width: 54px; height: 54px; }
.jour.tav .tav-tableau.tres-serre .tav-note:not(.fermee) .tav-ligne { display: none; }
.jour.tav .tav-tableau.tres-serre .tav-note { min-height: 46px; }
.jour.tav .tav-hotesse { position: absolute; left: 1.4%; bottom: 2.5%; max-width: 41%; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.jour.tav .tav-hotesse-rang { display: flex; align-items: flex-end; }
.jour.tav .tav-portrait {
  flex: 0 0 auto; position: relative; z-index: 2; width: var(--med-h); height: calc(var(--med-h) * 1.033);
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55));
}
.jour.tav .tav-portrait::after { content: ''; position: absolute; inset: 0; z-index: 1; background: url(interface/kit_medaillon.png?v=93aeec93) center top / 100% auto no-repeat; pointer-events: none; }
.jour.tav .tav-visage { position: absolute; left: 17%; top: 16.3%; width: 66%; height: calc(var(--med-h) * .66); border-radius: 50%; overflow: hidden; z-index: 0; background: #3a2412; }
.jour.tav .tav-visage .visage-port { float: none; display: block; width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; border-radius: 0; background: none; }
.jour.tav .tav-visage .visage-port img { width: 100%; height: 100%; object-fit: cover; }
.jour.tav .tav-visage .visage-port.emoji { display: grid; place-items: center; font-size: calc(var(--med-h) * .3); }
.jour.tav .tav-nom {
  position: absolute; z-index: 2; left: 0; right: 0; top: 75.5%; height: 11%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: calc(var(--med-h) * .095); line-height: 1;
  color: #4a2a12; text-shadow: 0 1px 0 rgba(255, 245, 220, .7); white-space: nowrap;
}
.jour.tav .tav-replique {
  min-width: 0; margin: 0 0 calc(var(--med-h) * .2) -16px; padding: 8px 14px 8px 24px;
  background: #f7eedb; border: 2px solid #7a5631; border-radius: 6px; box-shadow: 2px 3px 0 rgba(0, 0, 0, .3);
  font-size: clamp(13.5px, 1.95vh, 16.5px); line-height: 1.3; color: #2b1a0e;
}
.jour.tav .tav-replique span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: italic; }
.jour.tav .tav-bosco {
  display: flex; align-items: center; gap: 8px; max-width: 100%; margin-left: calc(var(--med-h) * .55); padding: 5px 12px 5px 6px;
  background: rgba(246, 236, 212, .95); border: 1px solid #8a6230; border-radius: 22px; box-shadow: 0 2px 4px rgba(0, 0, 0, .35); font-size: 13.5px; line-height: 1.3; color: #3b2412;
}
.jour.tav .tav-bosco-vis .visage-port { float: none; width: 34px; height: 34px; margin: 0; border-width: 2px; }
.jour.tav .tav-bosco-txt { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jour.tav .tav-grand-boite { position: absolute; right: calc(42.6% - 16px); bottom: 3%; z-index: 5; display: flex; flex-direction: column; align-items: center; }
.jour.tav .tav-grand {
  position: relative; width: clamp(128px, 23vh, 178px); aspect-ratio: 1; padding: 0; margin: 0; border: 0; background: none; display: grid; place-items: center;
  font-family: inherit; cursor: var(--c-main, pointer); transition: transform .14s ease-out, filter .14s ease-out;
}
.jour.tav .tav-grand-cire { position: absolute; inset: 0; background: url(interface/bilan_sceau_nation.png?v=91f54340) center / contain no-repeat; rotate: -7deg;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .55)) drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.jour.tav .tav-grand-txt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 66%; text-align: center; pointer-events: none; }
.jour.tav .tav-grand-ico { font-size: clamp(22px, 4vh, 32px); line-height: 1; filter: drop-shadow(0 1px 0 #4a0d08); }
.jour.tav .tav-grand-ico img.emo { height: 1.1em; }
.jour.tav .tav-grand-txt b { font-size: clamp(15px, 2.7vh, 21px); font-weight: 800; line-height: 1.05; color: #fff3dc; text-shadow: 0 1px 0 #4a0d08, 0 0 4px rgba(60, 5, 2, .85); }
.jour.tav .tav-grand:hover:not([disabled]) { transform: translateY(-3px) scale(1.04); filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 190, 90, .55)); }
.jour.tav .tav-grand:active:not([disabled]) { transform: translateY(1px) scale(.95); filter: brightness(.92); transition-duration: .05s; }
.jour.tav .tav-grand[disabled] { cursor: var(--c-fleche, default); filter: grayscale(.85) opacity(.65); }
.jour.tav .tav-grand-prix {
  margin-top: -10px; padding: 1px 10px; border-radius: 9px; background: #f6ecd4; border: 1px solid #8a6230; font-size: 13px !important; font-weight: 700;
  color: #3b2412; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); position: relative; z-index: 1;
}
.jour.tav .tav-grand-prix.mal { color: #9b2a1c; }
.jour.tav > img.illu[data-nom="taverne_pano"] ~ .tav-tableau { background: none; box-shadow: none; rotate: 0deg; width: 37%; padding: 16px 6px 10px; }
.jour.tav > img.illu[data-nom="taverne_pano"] ~ .tav-tableau .tav-fronton { display: none; }
@media (prefers-reduced-motion: reduce) { .jour.tav .tav-note, .jour.tav .tav-sceau, .jour.tav .tav-grand { transition: none; } }
.jour.tav.tav-peuplee > img.illu.illu-respire { animation: none !important; }
.jour.tav.tav-peuplee > img.illu.illu-respire.illu-neuve { animation: illu-fondu .38s ease-out both !important; }
.jour.tav.tav-peuplee .illu-vie > .ivz { animation: none !important; }
.jour.tav.tav-peuplee.vise { cursor: var(--c-main, pointer); }
.jour.tav .tav-gens { position: absolute; inset: 0; pointer-events: none; }
.jour.tav .tav-gen { position: absolute; visibility: hidden; }
.jour.tav.posee .tav-gen { visibility: visible; }
.jour.tav .tav-gen-corps { position: absolute; inset: 0; pointer-events: none; }
.jour.tav .tav-gen-corps canvas { position: absolute; top: 0; left: 0; display: block; image-rendering: auto; filter: drop-shadow(0 3px 2px rgba(20, 10, 4, .45)); }
.jour.tav .tav-gen-corps canvas.signe { visibility: hidden; }
.jour.tav .tav-gen.vu .tav-gen-corps canvas.repos, .jour.tav .tav-gen:focus-within .tav-gen-corps canvas.repos { visibility: hidden; }
.jour.tav .tav-gen.vu .tav-gen-corps canvas.signe, .jour.tav .tav-gen:focus-within .tav-gen-corps canvas.signe { visibility: visible; }
.jour.tav .tav-gen.souffle .tav-gen-corps { translate: 0 1px; }
.jour.tav .tav-gen::before { content: ''; position: absolute; left: 18%; right: 18%; bottom: -6px; height: 12px; border-radius: 50%; background: rgba(20, 10, 4, .42); pointer-events: none; }
.jour.tav .tav-gen[data-qui="arriere_salle"]::before { display: none; }
.jour.tav .tav-gen-pied { position: absolute; z-index: 2; pointer-events: auto; }
.jour.tav .tav-gen-pied .tav-sceau { width: 44px; height: 44px; margin: 0; }
.jour.tav .tav-gen-pied .tav-sceau-txt b { font-size: 12px; }
.jour.tav .tav-gen-pied .tav-cire { rotate: var(--rot, 0deg); }
.jour.tav .tav-gen-pied .tav-sceau-txt small { display: none; }
.jour.tav .tav-gen.vu .tav-gen-pied .tav-sceau:not([disabled]) { filter: brightness(1.1) drop-shadow(0 0 6px rgba(255, 200, 110, .6)); }
.jour.tav .tav-gen-haut {
  display: none; position: absolute; z-index: 9; width: max-content; max-width: min(400px, 46vw); translate: 0 -100%;
  flex-direction: column; align-items: stretch; gap: 6px; pointer-events: auto; --pointe: 50%;
}
.jour.tav .tav-gen.vu .tav-gen-haut, .jour.tav .tav-gen.epingle .tav-gen-haut, .jour.tav .tav-gen:focus-within .tav-gen-haut { display: flex; }
.jour.tav .tav-gen.vu, .jour.tav .tav-gen.epingle, .jour.tav .tav-gen:focus-within { z-index: 6; }
.jour.tav .tav-gen.vu { z-index: 7; }   
.jour.tav .tav-gen-bulle {
  position: relative; padding: 7px 14px 7px; background: #f7eedb; border: 2px solid #7a5631; border-radius: 6px;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, .3); color: #2b1a0e; font-size: clamp(13px, 1.85vh, 16px); line-height: 1.3; font-style: italic;
}
.jour.tav .tav-gen-bulle ul { margin: 5px 0 0; padding: 0 0 0 16px; font-style: normal; font-size: .93em; }
.jour.tav .tav-gen-bulle li + li { margin-top: 3px; }
.jour.tav .tav-gen-plaque {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; align-self: center; min-width: 200px;
  padding: 4px 8px 4px 16px; border: 14px solid transparent; border-image: url(interface/ui_plaque.png?v=302fbcf1) 24 / 14px stretch;
  background: #5a3a1e; background-clip: padding-box; margin: -8px 0 0; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .55)); rotate: -.6deg;
}
.jour.tav .tav-gen-plaque::after { content: ''; position: absolute; bottom: -20px; left: calc(var(--pointe) - 9px); border: 9px solid transparent; border-top-color: #5a3a1e; }
.jour.tav .tav-gen-nom { display: flex; flex-direction: column; line-height: 1.15; }
.jour.tav .tav-gen-nom b { font-size: clamp(15px, 2.2vh, 19px); font-weight: 800; color: #f6dc8c; text-shadow: 0 1px 0 #000, 0 0 4px rgba(0, 0, 0, .6); white-space: nowrap; }
.jour.tav .tav-gen-nom small { font-size: clamp(12.5px, 1.7vh, 14.5px) !important; color: #efdcb4 !important; opacity: 1 !important; font-style: italic; white-space: nowrap; }
.jour.tav .tav-gen-nom small b { font-size: inherit; color: inherit; text-shadow: none; }
.jour.tav .tav-gen-plaque .tav-sceaux { margin: -10px -4px -10px 0; }
.jour.tav .tav-gen-plaque .tav-sceau:nth-child(odd) .tav-cire { rotate: -9deg; }
.jour.tav .tav-gen-plaque .tav-sceau:nth-child(even) .tav-cire { rotate: 12deg; }
.jour.tav .tav-gen.fermee .tav-gen-corps { filter: brightness(.82) saturate(.8); }
.jour.tav .tav-affiches { position: absolute; z-index: 3; --c: 56px; }
.jour.tav .tav-affiche { position: absolute; width: var(--c); height: var(--c); }
.jour.tav .tav-aff-papier {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: var(--c-main, pointer); rotate: var(--rot, 0deg);
  background: linear-gradient(170deg, rgba(255, 250, 235, .35), rgba(150, 105, 55, .25)), url(interface/ui_papier.png?v=66fa38b6) center / 128px auto, #efe1bf;
  clip-path: polygon(0 4%, 20% 0, 46% 3%, 72% 0, 100% 3%, 98% 40%, 100% 74%, 97% 100%, 66% 97%, 38% 100%, 12% 96%, 0 100%, 2% 58%);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); transition: rotate .15s ease-out, scale .15s ease-out;
  font-size: calc(var(--c) * .46); line-height: 1;
}
.jour.tav .tav-affiche.quete .tav-aff-papier { background: linear-gradient(170deg, rgba(255, 238, 170, .55), rgba(230, 180, 70, .35)), url(interface/ui_papier.png?v=66fa38b6) center / 128px auto, #f3dc9c; }
.jour.tav .tav-affiche.fermee .tav-aff-papier { filter: grayscale(.6) drop-shadow(0 3px 2px rgba(0, 0, 0, .5)); }
.jour.tav .tav-aff-papier img { width: 70%; height: 70%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px #8a5a2b; }
.jour.tav .tav-aff-papier img.emo { width: 60%; height: 60%; object-fit: contain; border-radius: 0; box-shadow: none; }
.jour.tav .tav-aff-papier .tav-epingle { position: absolute; top: 3px; left: 50%; translate: -50% 0; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbf1d0 0, #c9c2b4 22%, #7d7a74 60%, #3e3b37 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.jour.tav .tav-affiche:hover, .jour.tav .tav-affiche:focus-within { z-index: 7; }
.jour.tav .tav-affiche:hover .tav-aff-papier, .jour.tav .tav-affiche:focus-within .tav-aff-papier { rotate: 0deg; scale: 1.08; }
.jour.tav .tav-aff-haut { display: none; position: absolute; right: calc(100% - 4px); top: 50%; translate: 0 -50%; padding-right: 10px; width: max-content; max-width: min(420px, 44vw); }
.jour.tav .tav-affiche:hover .tav-aff-haut, .jour.tav .tav-affiche:focus-within .tav-aff-haut { display: block; }
.jour.tav .tav-aff-haut .tav-gen-plaque::after { display: none; }
.jour.tav .tav-aff-haut .tav-gen-nom small { white-space: normal; max-width: 260px; }
.jour.tav .tav-gen-bulle li.tav-autres { list-style: none; margin-left: -16px; font-style: italic; color: #6b4a2a; }
.jour.tav .tav-gen { outline: none; }
.jour.tav .tav-gen.salue .tav-gen-corps canvas.repos { visibility: hidden; }
.jour.tav .tav-gen.salue .tav-gen-corps canvas.signe { visibility: visible; }
.jour.tav.lisere .tav-gen-corps canvas.repos { filter: drop-shadow(1px 0 0 #f6e7c1) drop-shadow(-1px 0 0 #f6e7c1) drop-shadow(0 1px 0 #f6e7c1) drop-shadow(0 -1px 0 #f6e7c1); }
.jour.tav .tav-gen:focus-visible .tav-gen-corps canvas { filter: drop-shadow(1px 0 0 #f6e7c1) drop-shadow(-1px 0 0 #f6e7c1) drop-shadow(0 1px 0 #f6e7c1) drop-shadow(0 -1px 0 #f6e7c1); }
.jour.tav .tav-gen-nom .mal { color: #ffb4a0; font-style: italic; }
.jour.tav.tav-peuplee.vise-ep { cursor: var(--c-main, pointer); }
.jour.tav .tav-epaule { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.jour.tav .tav-epaule .tav-ep-img { position: absolute; display: block; max-width: none; margin: 0; border: 0; pointer-events: none; }
.jour.tav .tav-ep-zone { position: absolute; pointer-events: auto; cursor: var(--c-main, pointer); outline: none; }
.jour.tav .tav-ep-zone:focus-visible { outline: 1px solid #f6e7c1; outline-offset: 2px; }
.jour.tav .tav-ep-lueur { position: absolute; pointer-events: none; mix-blend-mode: screen; opacity: .45; }
.jour.tav .tav-ep-lueur canvas { display: block; }
.jour.tav .tav-epaule[data-cran="1"] .tav-ep-lueur { opacity: .58; }
.jour.tav .tav-epaule[data-cran="2"] .tav-ep-lueur { opacity: .36; }
.jour.tav .tav-epaule.vue .tav-ep-lueur { opacity: .8; }
.jour.tav .tav-epaule.fermee .tav-ep-lueur { opacity: .3; }
.jour.tav .tav-ep-haut { display: none; position: absolute; z-index: 9; pointer-events: auto; width: max-content; }
.jour.tav .tav-epaule.vue .tav-ep-haut { display: block; }
.jour.tav .tav-ep-haut .tav-gen-plaque::after { display: none; }
@media (prefers-reduced-motion: reduce) { .jour.tav .tav-gen.souffle .tav-gen-corps { translate: none; } }
.jour.tav .tav-portrait.verre { cursor: var(--c-main, pointer); outline: none; transition: translate .15s ease-out, filter .15s ease-out; }
.jour.tav .tav-hotesse.vue .tav-portrait.verre, .jour.tav .tav-portrait.verre.salue { translate: 0 -3px; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55)) brightness(1.1); }
.jour.tav .tav-portrait.verre.fermee { cursor: var(--c-fleche, default); }
.jour.tav .tav-portrait.verre:focus-visible, .jour.tav.lisere .tav-portrait.verre { filter: drop-shadow(1px 0 0 #f6e7c1) drop-shadow(-1px 0 0 #f6e7c1) drop-shadow(0 1px 0 #f6e7c1) drop-shadow(0 -1px 0 #f6e7c1); }
.jour.tav .tav-verre-haut { display: none; position: relative; z-index: 9; width: max-content; margin-left: 4px; }
.jour.tav .tav-hotesse.vue .tav-verre-haut { display: block; }
.jour.tav .tav-verre-haut .tav-gen-plaque::after { display: none; }
@media (prefers-reduced-motion: reduce) { .jour.tav .tav-portrait.verre { transition: none; } }
