/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html:not(.mobile) .port .onglet-corps > .jour.sc {
  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; color: #3b2412;
  --ox: .5;
}
html:not(.mobile) .port .jour.sc > img.illu {
  position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0;
  object-fit: cover; object-position: calc(var(--ox) * 100%) 50% !important; border: 0 !important; border-image: none !important;
  border-radius: 0 !important; box-shadow: none !important; outline: 0;
}
.jour.sc .sc-calque {
  position: absolute; top: 0; height: 100%; aspect-ratio: var(--r); left: calc(var(--ox) * 100%); translate: calc(var(--ox) * -100%) 0;
  z-index: 3; pointer-events: none;
}
.jour.sc .sc-calque > * { pointer-events: auto; }
.jour.sc .sc-pose { position: absolute; }
.jour.sc .sc-sceau {
  position: relative; flex: 0 0 auto; width: 60px; height: 60px; padding: 0; margin: 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;
}
.jour.sc .sc-cire { position: absolute; inset: 0; background: url(interface/bilan_sceau_nation.png?v=91f54340) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); rotate: -8deg; }
.jour.sc .sc-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; }
.jour.sc .sc-sceau-txt b { font-size: 13.5px; font-weight: 800; white-space: nowrap; letter-spacing: -.2px; }
.jour.sc .sc-sceau-txt small { font-size: 12px !important; font-weight: 700; color: #ffe9c9 !important; opacity: 1 !important; white-space: nowrap; max-width: 50px; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.3px; }
.jour.sc .sc-sceau.mot .sc-sceau-txt b { font-size: 12px; letter-spacing: -.3px; white-space: normal; overflow-wrap: anywhere; line-height: 1.05; }
.jour.sc .sc-sceau:hover:not([disabled]) { transform: translateY(-2px) scale(1.06); filter: brightness(1.12); }
.jour.sc .sc-sceau:active:not([disabled]) { transform: translateY(1px) scale(.92); filter: brightness(.92); transition-duration: .05s; }
.jour.sc .sc-sceau[disabled] { cursor: var(--c-fleche, default); filter: saturate(.7) brightness(.86); }
.jour.sc .sc-sceau[disabled] .sc-sceau-txt { opacity: .8; }
.jour.sc .sc-et-txt img.emo, .jour.sc .sc-bulle img.emo, .jour.sc .sc-cartouche img.emo, .jour.sc b img.emo, .jour.sc small img.emo, .jour.sc span img.emo { height: 1.15em; width: auto; vertical-align: -.22em; }
.jour.sc .sc-sceau.grand { width: 74px; height: 74px; }
.jour.sc .sc-sceau.grand .sc-sceau-txt { max-width: 60px; }
.jour.sc .sc-sceau.grand .sc-sceau-txt b { font-size: 15px; }
.jour.sc .sc-sceau.grand.mot .sc-sceau-txt b { font-size: 13.5px; }
.jour.sc .sc-jeton {
  position: relative; flex: 0 0 auto; width: 54px; height: 54px; padding: 0; margin: 0; border: 0; display: grid; place-items: center;
  background: url(interface/comptoir_jeton_laiton.png?v=8db10f3b) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(40, 20, 5, .55));
  font-family: inherit; cursor: var(--c-main, pointer); transition: transform .12s ease-out, filter .12s ease-out;
}
.jour.sc .sc-jeton.cuivre { background-image: url(interface/comptoir_jeton_cuivre.png?v=59a4a871); }
.jour.sc .sc-jeton > span { max-width: 44px; font-weight: 800; font-size: 12px; line-height: 1; color: #2a1405; text-shadow: 0 1px 0 rgba(255, 240, 205, .8); letter-spacing: -.3px; pointer-events: none; overflow-wrap: anywhere; text-align: center; }
.jour.sc .sc-jeton:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.15) drop-shadow(0 4px 3px rgba(40, 20, 5, .45)); }
.jour.sc .sc-jeton:active:not([disabled]) { transform: translateY(1px) scale(.93); transition-duration: .05s; }
.jour.sc .sc-jeton[disabled] { cursor: var(--c-fleche, default); filter: grayscale(1) brightness(.85) opacity(.68) drop-shadow(0 2px 2px rgba(40, 20, 5, .5)); }
.jour.sc .sc-etiquette {
  display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 10px; font-size: 13.5px; line-height: 1.3; color: #3b2412;
  background: rgba(246, 236, 212, .95); border: 1px solid #8a6230; border-radius: 3px; box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}
.jour.sc .sc-et-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.sc .sc-et-txt small { font-size: inherit !important; }
.jour.sc .sc-et-txt .mal { color: #9b2a1c; font-style: italic; }
.jour.sc .sc-etiquette .a-savoir { font-size: 11px; }
.jour.sc .sc-etiquette .sc-sceau { width: 46px; height: 46px; margin: -8px -4px -8px 0; }
.jour.sc .sc-etiquette .sc-sceau .sc-sceau-txt b { font-size: 11px; }
.jour.sc .sc-cartouche {
  display: inline-block; max-width: 100%; padding: 6px 22px 6px 24px; font-size: 15px; font-weight: 700; line-height: 1.25; color: #3b2412;
  border: 0 solid transparent; border-width: 6px 20px; border-image: url(interface/cartouche.png?v=91992a1f) 40 70 fill / 6px 20px stretch;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jour.sc .sc-cartouche small { font-weight: 400; font-size: 13px !important; }
.jour.sc .sc-cartouche .a-savoir { font-size: 11px; vertical-align: 2px; }
.jour.sc .sc-portrait {
  flex: 0 0 auto; position: relative; z-index: 2; width: 92px; height: 92px; display: grid; place-items: center;
  background: url(interface/kit_medaillon.png?v=93aeec93) center top / 100% auto no-repeat; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5));
}
.jour.sc .sc-visage, .jour.sc .sc-visage-pano { --d: 60px; display: block; width: var(--d); height: var(--d); margin-top: -10px; border-radius: 50%; overflow: hidden; background-color: #2a1a0e; }
.jour.sc .sc-visage .visage-port { float: none; width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.jour.sc .sc-visage img { width: 100%; height: 100%; object-fit: cover; }
.jour.sc .sc-visage-pano {
  background-repeat: no-repeat; background-size: calc(var(--d) * var(--z)) auto;
  background-position: calc(var(--d) * (0.5 - var(--z) * var(--fx))) calc(var(--d) * (0.5 - var(--z) / var(--r) * var(--fy)));
}
.jour.sc .sc-bulle {
  min-width: 0; margin-left: -14px; padding: 8px 14px 8px 22px; background: #f7eedb; border: 2px solid #7a5631; border-radius: 6px;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.3; color: #2b1a0e;
}
.jour.sc .sc-bulle > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jour.sc .sc-bulle i { font-style: italic; }
.jour.sc .sc-parle { display: flex; align-items: center; }
.jour.sc { --med-w: clamp(112px, 17vh, 140px); }
.jour.sc .sc-portrait.nomme { display: block; width: var(--med-w); height: calc(var(--med-w) * 1.033); background-size: 100% auto; }
.jour.sc .sc-portrait.nomme .sc-visage, .jour.sc .sc-portrait.nomme .sc-visage-pano { --d: calc(var(--med-w) * .634); position: absolute; left: 18.3%; top: 17.3%; margin: 0; }
.jour.sc .sc-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-w) * .095); line-height: 1; color: #4a2a12; text-shadow: 0 1px 0 rgba(255, 245, 220, .7); white-space: nowrap;
}
.jour.sc .sc-nom.long { font-size: calc(var(--med-w) * .078); letter-spacing: -.2px; }
.jour.sc .sc-parle:has(> .nomme) { align-items: flex-end; }
.jour.sc .sc-parle:has(> .nomme) > .sc-bulle { margin-bottom: calc(var(--med-w) * .2); }
@media (prefers-reduced-motion: reduce) { .jour.sc .sc-sceau, .jour.sc .sc-jeton { transition: none; } }
html:not(.mobile) .port:has(> .quetes-ici) .onglet-corps > .jour:is(.ch, .cpt, .sc, .tav) { height: calc(clamp(430px, calc(94vh - 178px), 680px) - 47px); }
html:not(.mobile) .port:has(> .quetes-ici.actions-grille) .onglet-corps > .jour:is(.ch, .cpt, .sc, .tav) { height: calc(clamp(430px, calc(94vh - 178px), 680px) - 58px); }
.jour.sc.pl .ct-droite { left: 1.6cqw; right: auto; width: 40cqw; justify-content: flex-start; top: 2cqw; bottom: auto; }
.jour.sc.pl .pl-assaut { position: absolute; right: 3cqw; bottom: 3cqw; z-index: 5; }
.jour.sc.pl .sc-sceau.pl-grand { width: max(96px, 8.4cqw); height: max(96px, 8.4cqw); }
.jour.sc.pl .sc-sceau.pl-grand .sc-sceau-txt { max-width: 80%; }
.jour.sc.pl .sc-sceau.pl-grand .sc-sceau-txt b { font-size: max(17px, 1.5cqw); }
.jour.sc.rp.jour-conquis .rp-visage > img, .jour.sc.rp.jour-pirate .rp-visage > img { object-position: 50% 20%; }
