/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
html:not(.mobile) .port .onglet-corps > .jour.cpt {
  display: block; position: relative; overflow: hidden; gap: 0; padding: 0;
  margin: -4px -11px -7px; height: calc(clamp(430px, calc(94vh - 178px), 680px) + 11px);
  background: #2a1a0e; font-family: 'Alegreya', Georgia, serif;
}
html:not(.mobile) .port .jour.cpt > img.illu {
  position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; margin: 0;
  object-fit: cover; object-position: 35% 60% !important; border: 0 !important; border-image: none !important;
  border-radius: 0 !important; box-shadow: none !important; outline: 0;
}
.jour.cpt .cpt-livre {
  position: absolute; top: 2.2%; bottom: 2.2%; right: 1.6%; aspect-ratio: .9; max-width: 43%;
  container-type: size; z-index: 3;
}
.jour.cpt .cpt-livre::before {
  content: ''; position: absolute; inset: 0; background: url(interface/comptoir_page.png?v=e35f60e4) center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
  transform: rotate(.6deg);
}
.jour.cpt .cpt-page { position: absolute; inset: 0; transform: rotate(.6deg); color: #3b2412; }
.jour.cpt .cpt-ligne {
  position: absolute; left: 6.5%; right: 7%; top: calc(var(--y) - 12.2%); height: 13.6%;
  display: flex; align-items: center; gap: 1.6cqw; transition: opacity .3s, filter .3s;
}
.jour.cpt .cpt-ico { flex: 0 0 auto; width: 11.5cqh; height: 11.5cqh; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(60, 30, 10, .35)); }
.jour.cpt .cpt-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.12; white-space: nowrap; }
.jour.cpt .cpt-nom { font-size: 3.5cqh; font-weight: 700; color: #3b2412; overflow: hidden; text-overflow: ellipsis; }
.jour.cpt .cpt-cours { font-size: 2.85cqh; font-weight: 700; color: #5e3a1c; overflow: hidden; text-overflow: ellipsis; }
.jour.cpt .cpt-prix { font-variant-numeric: lining-nums; }
.jour.cpt .cpt-cours .cours { font-size: .85em; letter-spacing: -1px; margin: 0 1px; color: #6b5030; }
.jour.cpt .cpt-cours .cours.haut { color: #2f6b2a; }
.jour.cpt .cpt-cours .cours.bas { color: #9b2a1c; }
.jour.cpt .cpt-cours .cours.pale { opacity: .7; }
.jour.cpt .cpt-cours .tag { font-size: .8em; padding: 0 4px; }
.jour.cpt .cpt-ligne.vide .cpt-cale { color: #9a8263; }
.jour.cpt .cpt-ligne.vide .cpt-ico { opacity: .8; }
.jour.cpt .cpt-charger { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 1.6cqw; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.jour.cpt .cpt-charger:disabled { cursor: default; }
.jour.cpt .cpt-charger .cpt-ico { transition: transform .25s ease-out, filter .25s; }
.jour.cpt .cpt-charger .cpt-nom { text-decoration: underline 2px transparent; text-underline-offset: 3px; transition: text-decoration-color .25s; }
.jour.cpt .cpt-charger:not(:disabled):hover .cpt-ico, .jour.cpt .cpt-charger:not(:disabled):focus-visible .cpt-ico { transform: translateY(-3px) scale(1.07); filter: drop-shadow(0 5px 3px rgba(60, 30, 10, .4)); }
.jour.cpt .cpt-charger:not(:disabled):hover .cpt-nom, .jour.cpt .cpt-charger:not(:disabled):focus-visible .cpt-nom { text-decoration-color: #b8862e; }
.jour.cpt .cpt-charger:not(:disabled):active .cpt-ico { transform: translateY(1px) scale(.97); transition-duration: .08s; }
.jour.cpt .cpt-plein { display: none; color: #2f6b2a; }
.jour.cpt .cpt-charger:not(:disabled):hover .cpt-cale, .jour.cpt .cpt-charger:not(:disabled):focus-visible .cpt-cale { display: none; }
.jour.cpt .cpt-charger:not(:disabled):hover .cpt-plein, .jour.cpt .cpt-charger:not(:disabled):focus-visible .cpt-plein { display: inline; }
html.sans-ambiance .jour.cpt .cpt-charger .cpt-ico, html.sans-ambiance .jour.cpt .cpt-charger .cpt-nom { transition: none; }
.jour.cpt .cpt-charger.serre .cpt-plein { color: #9b1c14; }
.jour.cpt .cpt-charger.arme .cpt-cale { display: none; }
.jour.cpt .cpt-gare { color: #9b1c14; font-weight: 700; }
.jour.cpt .cpt-ligne.palit .cpt-ico, .jour.cpt .cpt-ligne.palit .cpt-txt { animation: cpt-palir 1.1s ease-out both; }
@keyframes cpt-palir { from { opacity: 1; filter: none; } 30% { opacity: .35; filter: sepia(1); } to { opacity: .8; filter: none; } }
.jour.cpt .cpt-jetons { flex: 0 0 auto; display: flex; align-items: center; gap: 1.1cqh; }
.jour.cpt .cpt-jeton, .jour.cpt .cpt-tout {
  position: relative; display: inline-grid; place-items: center; padding: 0; margin: 0; border: 0; background: none;
  cursor: var(--c-main, pointer); transition: transform .12s ease-out, filter .12s ease-out;
}
.jour.cpt .cpt-jeton { width: 8.6cqh; height: 8.6cqh; background: center / contain no-repeat; filter: drop-shadow(0 2px 1px rgba(40, 20, 5, .5)); }
.jour.cpt .cpt-jeton.laiton { background-image: url(interface/comptoir_jeton_laiton.png?v=8db10f3b); }
.jour.cpt .cpt-jeton.cuivre { background-image: url(interface/comptoir_jeton_cuivre.png?v=59a4a871); }
.jour.cpt .cpt-jeton > span {
  font-family: 'Alegreya', Georgia, serif; font-weight: 800; font-size: 3.7cqh; line-height: 1; color: #2a1405;
  text-shadow: 0 1px 0 rgba(255, 240, 205, .8); letter-spacing: -.5px; margin-top: -.2cqh; pointer-events: none;
}
.jour.cpt .cpt-jeton:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.15) drop-shadow(0 4px 3px rgba(40, 20, 5, .45)); }
.jour.cpt .cpt-jeton:active:not([disabled]) { transform: translateY(1px) scale(.93); filter: brightness(.92) drop-shadow(0 1px 0 rgba(40, 20, 5, .6)); transition-duration: .05s; }
.jour.cpt .cpt-tout { width: 9.4cqh; height: 9.4cqh; margin-left: .4cqh; transform: rotate(-8deg); }
.jour.cpt .cpt-tout img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.jour.cpt .cpt-tout:hover:not([disabled]) { transform: rotate(-8deg) translateY(-2px) scale(1.06); filter: brightness(1.12) saturate(1.15); }
.jour.cpt .cpt-tout:active:not([disabled]) { transform: rotate(-8deg) scale(.9); transition-duration: .05s; }
.jour.cpt .cpt-jeton[disabled], .jour.cpt .cpt-tout[disabled] { cursor: var(--c-fleche, default); filter: grayscale(1) opacity(.42); }
.jour.cpt .cpt-pied { position: absolute; left: 6.5%; right: 7%; top: calc(var(--y) - 12%); bottom: 2%; }
.jour.cpt .cpt-note { position: absolute; left: 8%; right: 0; top: 0; font-size: 2.5cqh; line-height: 1.3; color: #5e3a1c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.cpt .cpt-note .a-savoir { vertical-align: 1px; }
.jour.cpt .cpt-sceau-boite { position: absolute; left: 0; right: 0; top: 12%; display: flex; flex-direction: column; align-items: center; }
.jour.cpt .cpt-sceau {
  position: relative; display: flex; align-items: center; padding: 0 0 0 9cqh; margin: 0; border: 0; background: none; height: 16cqh;
  cursor: var(--c-main, pointer); transition: transform .12s, filter .12s;
}
.jour.cpt .cpt-sceau-bande {
  display: block; padding: 1.1cqh 3cqh 1.1cqh 8.5cqh; font-family: 'Alegreya', Georgia, serif; font-weight: 800; font-size: 3.3cqh; line-height: 1.1;
  color: #fff3dc; text-shadow: 0 1px 0 #4a0d08, 0 0 3px rgba(60, 5, 2, .7); white-space: nowrap;
  background: linear-gradient(#c4372c, #a5241b 55%, #8a1912); border: 2px solid #d9a64a; border-left: 0; border-radius: 0 5px 5px 0;
  box-shadow: inset 0 0 0 1px #6e120c, inset 0 2px 0 rgba(255, 200, 170, .3), 0 3px 4px rgba(0, 0, 0, .35);
}
.jour.cpt .cpt-sceau-cire {
  position: absolute; left: 0; top: 50%; width: 17cqh; height: 17cqh; transform: translateY(-50%);
  background: url(interface/comptoir_sceau_repos.png?v=746d2234) center / contain no-repeat; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45));
}
.jour.cpt .cpt-sceau:hover:not([disabled]) .cpt-sceau-cire { background-image: url(interface/comptoir_sceau_survol.png?v=72550c88); }
.jour.cpt .cpt-sceau:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.06); }
.jour.cpt .cpt-sceau:active:not([disabled]) .cpt-sceau-cire { background-image: url(interface/comptoir_sceau_presse.png?v=ef9b655a); }
.jour.cpt .cpt-sceau:active:not([disabled]) { transform: translateY(1px); }
.jour.cpt .cpt-sceau[disabled] { cursor: var(--c-fleche, default); filter: grayscale(.85) opacity(.6); }
.jour.cpt .cpt-sceau-raison { margin-top: .3cqh; font-size: 2.3cqh; line-height: 1.2; color: #8a1d12; font-style: italic; max-width: 90%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.cpt .cpt-haut { position: absolute; left: 1.4%; top: 2.6%; right: 41%; z-index: 5; display: flex; align-items: flex-start; gap: 6px; pointer-events: none; }
.jour.cpt .cpt-haut > * { pointer-events: auto; }
.jour.cpt .cpt-ruban { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 0; }
.jour.cpt .cpt-ruban-txt {
  min-width: 0; padding: 7px 22px 7px 26px; font-size: 14px; line-height: 1.3; color: #3b2412; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  border: 14px 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, .4));
}
.jour.cpt .cpt-ruban-txt b { color: #5e2a12; }
.jour.cpt .cpt-ruban-txt img.emo, .jour.cpt .cpt-et-txt img.emo, .jour.cpt .cpt-bulle img.emo { height: 1.2em; vertical-align: -.25em; }
.jour.cpt .cpt-prendre {
  flex: 0 0 auto; width: 62px; height: 62px; margin-left: -18px; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #d8483d 0, #b02a21 38%, #8a1912 66%, #5e0e0a 100%);
  box-shadow: inset 0 0 0 3px rgba(110, 15, 10, .9), inset 0 0 0 5px rgba(230, 120, 100, .25), 0 3px 5px rgba(0, 0, 0, .5);
  display: grid; place-items: center; cursor: var(--c-main, pointer); transition: transform .12s, filter .12s;
}
.jour.cpt .cpt-prendre span { font-family: 'Alegreya', Georgia, serif; font-weight: 800; font-size: 13px; color: #fff0d8; text-shadow: 0 1px 0 #3c0805; }
.jour.cpt .cpt-prendre:hover:not([disabled]) { transform: translateY(-2px) rotate(-4deg); filter: brightness(1.12); }
.jour.cpt .cpt-prendre:active:not([disabled]) { transform: scale(.93); }
.jour.cpt .cpt-prendre[disabled] { filter: grayscale(.9) opacity(.6); cursor: var(--c-fleche, default); }
.jour.cpt .cpt-etiquettes { position: absolute; left: 1.4%; top: 21%; max-width: 56%; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.jour.cpt .cpt-etiquette {
  display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 6px 4px 12px; font-size: 13.5px; line-height: 1.3; color: #3b2412;
  background: rgba(246, 236, 212, .94); border: 1px solid #8a6230; border-radius: 3px; box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.jour.cpt .cpt-et-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jour.cpt .cpt-et-txt small { font-size: inherit !important; }
.jour.cpt .cpt-et-txt .jour-pastille { font-size: 11.5px; }
html.bois .jour.cpt .btn.cpt-et-btn { flex: 0 0 auto; margin: 0 !important; font-size: 12.5px; min-height: 0; padding-top: 1px !important; padding-bottom: 1px !important; white-space: nowrap; }
.jour.cpt .cpt-medaillon { position: absolute; left: 1.6%; bottom: 3%; max-width: 54%; z-index: 4; display: flex; align-items: center; }
.jour.cpt .cpt-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;
}
.jour.cpt .cpt-portrait .visage-port { width: 66px !important; height: 66px !important; margin: -8px 0 0 !important; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #2a1a0e; border: 0 !important; box-shadow: none !important; }
.jour.cpt .cpt-portrait .visage-port img { width: 100%; height: 100%; object-fit: cover; }
.jour.cpt .cpt-bulle {
  min-width: 0; display: flex; align-items: center; gap: 8px; margin-left: -14px; padding: 8px 12px 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.cpt .cpt-bulle-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.jour.cpt .cpt-bulle-txt b { font-style: normal; }
.jour.cpt .cpt-etiquette.avec-visage { padding-left: 4px; }
.jour.cpt .cpt-etiquette .visage-port { float: none; flex: 0 0 auto; width: 26px; height: 26px; margin: 0; border-width: 1px; }
.jour.cpt .cpt-etal {
  --d: 66px; display: block; width: var(--d); height: var(--d); margin-top: -8px; border-radius: 50%; background-color: #2a1a0e;
  --z: 18.9; --fx: .306; --fy: .65;
  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) * 0.4243 * var(--fy)));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.jour.cpt .cpt-etal.cpt-etal-portrait { background: #2a1a0e; overflow: hidden; }
.jour.cpt .cpt-etal.cpt-etal-portrait > img, .jour.cpt .cpt-etal.cpt-etal-portrait > .emoji-seul { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.jour.cpt .cpt-insp { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; }
.jour.cpt .cpt-insp-portrait {
  width: 58px; height: 58px; padding: 0; border-radius: 50%; border: 3px solid #c89a52; background: #14203a; overflow: hidden;
  box-shadow: 0 0 0 2px #5a3a1e, 0 3px 6px rgba(0, 0, 0, .5); cursor: var(--c-main, pointer); transition: transform .12s, filter .12s;
  display: grid; place-items: center; font-size: 26px;
}
.jour.cpt .cpt-insp-portrait .visage-port { float: none; width: 100%; height: 100%; margin: 0; border: 0; box-shadow: none; }
.jour.cpt .cpt-insp:hover .cpt-insp-portrait, .jour.cpt .cpt-insp.ouvert .cpt-insp-portrait { transform: translateY(-2px); filter: brightness(1.1); }
.jour.cpt .cpt-insp-pastilles { margin-top: -7px; display: flex; gap: 2px; white-space: nowrap; position: relative; z-index: 1; }
html .jour.cpt .cpt-insp-pastilles .jour-pastille { margin: 0; font-size: 11px; line-height: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.jour.cpt .cpt-insp-bulle {
  display: none; position: absolute; top: 100%; left: -8px; width: 330px; z-index: 8;
  padding: 10px 12px 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; text-align: left;
}
.jour.cpt .cpt-insp-bulle::before { content: ''; position: absolute; left: 26px; top: -9px; width: 14px; height: 14px; background: #f7eedb; border-left: 2px solid #7a5631; border-top: 2px solid #7a5631; transform: rotate(45deg); }
.jour.cpt .cpt-insp:hover .cpt-insp-bulle, .jour.cpt .cpt-insp.ouvert .cpt-insp-bulle, .jour.cpt .cpt-insp:focus-within .cpt-insp-bulle { display: block; }
.jour.cpt .cpt-insp-tete { font-size: 14px; }
.jour.cpt .cpt-insp-tete small { font-size: inherit !important; }
.jour.cpt .cpt-insp-detail { margin: 5px 0 6px !important; font-size: 12.5px; line-height: 1.35; color: #5e3a1c; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.jour.cpt .cpt-insp-jetons { display: flex; justify-content: center; gap: 18px; padding-top: 4px; border-top: 1px dashed #b89a68; }
.jour.cpt .cpt-jeton-rond {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; margin: 0; border: 0; background: none; color: #3b2412; font-family: 'Alegreya', Georgia, serif;
  cursor: var(--c-main, pointer); transition: transform .12s, filter .12s;
}
.jour.cpt .cpt-jr-piece { width: 46px; height: 46px; display: grid; place-items: center; background: url(interface/comptoir_jeton_laiton.png?v=8db10f3b) center / contain no-repeat; filter: drop-shadow(0 2px 1px rgba(40, 20, 5, .5)); font-size: 20px; }
.jour.cpt .cpt-jr-piece img.emo { height: 22px; }
.jour.cpt .cpt-jeton-rond small { font-size: 12px !important; font-weight: 700; white-space: nowrap; }
.jour.cpt .cpt-jeton-rond:hover:not([disabled]) { transform: translateY(-2px); filter: brightness(1.12); }
.jour.cpt .cpt-jeton-rond:active:not([disabled]) { transform: translateY(1px) scale(.95); }
.jour.cpt .cpt-jeton-rond[disabled] { cursor: var(--c-fleche, default); filter: grayscale(1) opacity(.5); }
.jour.cpt .cpt-livre > .cpt-insp { position: absolute; left: 0; top: -1px; transform: translateX(-64%); z-index: 6; }
.jour.cpt .cpt-livre > .cpt-insp .cpt-insp-bulle { left: auto; right: -14px; }
.jour.cpt .cpt-livre > .cpt-insp .cpt-insp-bulle::before { left: auto; right: 36px; }
.jour.cpt .cpt-ruban.court .cpt-ruban-txt { display: block; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; padding-top: 8px; padding-bottom: 8px; }
.jour.cpt .cpt-medaillon.avec-courtier .cpt-portrait { cursor: help; }
.jour.cpt .cpt-etal-bulle {
  display: none; position: absolute; left: 4px; bottom: calc(100% - 4px); width: max-content; max-width: 380px; z-index: 8;
  padding: 8px 12px; 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.cpt .cpt-etal-bulle::after { content: ''; position: absolute; left: 36px; bottom: -9px; width: 14px; height: 14px; background: #f7eedb; border-right: 2px solid #7a5631; border-bottom: 2px solid #7a5631; transform: rotate(45deg); }
.jour.cpt .cpt-medaillon.avec-courtier:has(.cpt-portrait:hover) .cpt-etal-bulle, .jour.cpt .cpt-etal-bulle:hover { display: block; }
.jour.cpt .cpt-etal-courtier .tag { font-size: 12px; }
#cpt-calque { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; overflow: hidden; }
#cpt-calque .cpt-piece { position: fixed; width: 28px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); will-change: transform; }
#cpt-calque .cpt-coup { position: fixed; transform: rotate(-8deg); filter: drop-shadow(0 1px 0 rgba(90, 10, 5, .3)); }
#cpt-calque .cpt-moitie { position: fixed; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45)); }
#cpt-or { display: inline-block; transition: transform .15s, color .15s; }
#cpt-or.compte { color: #a8770e; transform: scale(1.12); }
#cpt-or.fini { color: #2f6b2a; }
.jour.cpt .cpt-ligne:nth-child(4n+1) .cpt-jeton.laiton { rotate: -4deg; translate: 0 2px; }
.jour.cpt .cpt-ligne:nth-child(4n+2) .cpt-jeton.laiton { rotate: 3.5deg; translate: 0 -3px; }
.jour.cpt .cpt-ligne:nth-child(4n+3) .cpt-jeton.laiton { rotate: -2.5deg; translate: 0 -1px; }
.jour.cpt .cpt-ligne:nth-child(4n+4) .cpt-jeton.laiton { rotate: 4deg; translate: 0 3px; }
.jour.cpt .cpt-ligne:nth-child(4n+1) .cpt-jeton.cuivre { rotate: 3deg; translate: 0 -2px; }
.jour.cpt .cpt-ligne:nth-child(4n+2) .cpt-jeton.cuivre { rotate: -4deg; translate: 0 2px; }
.jour.cpt .cpt-ligne:nth-child(4n+3) .cpt-jeton.cuivre { rotate: 4deg; translate: 0 3px; }
.jour.cpt .cpt-ligne:nth-child(4n+4) .cpt-jeton.cuivre { rotate: -3deg; translate: 0 -3px; }
.jour.cpt .cpt-ligne:nth-child(4n+1) .cpt-tout { rotate: 3deg; translate: 0 1px; }
.jour.cpt .cpt-ligne:nth-child(4n+2) .cpt-tout { rotate: -2deg; translate: 0 -2px; }
.jour.cpt .cpt-ligne:nth-child(4n+3) .cpt-tout { rotate: 4deg; translate: 0 2px; }
.jour.cpt .cpt-ligne:nth-child(4n+4) .cpt-tout { rotate: -1deg; translate: 0 -1px; }
.jour.cpt .cpt-sceau-cire { rotate: -4deg; }
.jour.cpt .cpt-prendre { rotate: 3deg; translate: 0 2px; }
.jour.cpt .cpt-insp-jetons > :nth-child(odd) .cpt-jr-piece { rotate: -4deg; translate: 0 2px; }
.jour.cpt .cpt-insp-jetons > :nth-child(even) .cpt-jr-piece { rotate: 3.5deg; translate: 0 -2px; }
@media (prefers-reduced-motion: reduce) {
  .jour.cpt .cpt-jeton, .jour.cpt .cpt-tout, .jour.cpt .cpt-sceau, .jour.cpt .cpt-prendre, #cpt-or, .jour.cpt .cpt-charger .cpt-ico, .jour.cpt .cpt-charger .cpt-nom { transition: none !important; }
  .jour.cpt .cpt-ligne.palit .cpt-ico, .jour.cpt .cpt-ligne.palit .cpt-txt { animation: none; }
}
html:not(.mobile) .jour.cpt .cpt-portrait { --cpt-med: clamp(150px, 19.5vh, 200px); width: var(--cpt-med); height: calc(var(--cpt-med) * 1.033); background-position: center top; }
html:not(.mobile) .jour.cpt .cpt-etal { --d: calc(var(--cpt-med) * .72); margin-top: calc(var(--cpt-med) * -.093); }
html:not(.mobile) .jour.cpt .cpt-med-nom { position: absolute; left: 0; right: 0; top: 75.5%; height: 11%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; line-height: 1; color: #4a2a12; text-shadow: 0 1px 0 rgba(255, 245, 220, .7); white-space: nowrap; pointer-events: none; }
html:not(.mobile) .jour.cpt .cpt-medaillon { align-items: flex-end; }
html:not(.mobile) .jour.cpt .cpt-medaillon > .cpt-bulle { margin-bottom: 30px; }
.jour.cpt .cpt-med-nom { display: none; }
html:not(.mobile) .jour.cpt .cpt-med-nom { display: flex; }
html:not(.mobile) .jour.cpt .cpt-ruban.court .cpt-ruban-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: 14px; padding-top: 6px; padding-bottom: 6px; }
.jour.cpt:has(.cpt-livre > .cpt-insp) .cpt-haut { right: calc(44.6% + 46px); }
.jour.cpt .cpt-etiquette .tav-sceau { flex: 0 0 auto; width: 50px; height: 50px; margin: -8px -4px -8px 4px; }
.jour.cpt .cpt-etiquette .tav-sceau-txt { max-width: 44px; }
.jour.cpt .cpt-etiquette .tav-sceau-txt b { font-size: 12px; }
.jour.cpt .cpt-etiquette .tav-sceau-txt small { font-size: 12px !important; max-width: 44px; overflow: hidden; text-overflow: clip; }
html:not(.mobile) .port > .quetes-ici.qi-rubans { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin: 2px 0 6px; padding: 0 8px; }
html:not(.mobile) .qi-rubans .qi-ruban { display: flex; align-items: center; gap: 2px; min-width: 0; max-width: min(760px, 100%); rotate: var(--a, 0deg); translate: var(--dx, 0) 0;
  transform-origin: 100% 50%; transition: scale .3s ease-in, opacity .3s ease-in, translate .3s ease-in; }
html:not(.mobile) .qi-rubans .qi-txt { min-width: 0; padding: 6px 26px 6px 28px; font: italic 600 15px/1.3 Alegreya, Georgia, serif; color: #3b2412;
  border: 6px 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)); }
html:not(.mobile) .qi-rubans .qi-txt b { color: #5e2a12; font-style: normal; }
html:not(.mobile) .qi-rubans .tav-sceau { margin: -10px 0 -10px -14px; z-index: 1; }
html:not(.mobile) .qi-rubans .qi-autres { font: italic 600 13px Alegreya, Georgia, serif; color: #f3e6c8; text-shadow: 0 1px 2px #000; cursor: help; }
html:not(.mobile) .qi-rubans .qi-ruban.qi-roule { scale: 0.05 1; opacity: 0; translate: calc(var(--dx, 0px) + 40px) -6px; }
@media (prefers-reduced-motion: reduce) { html:not(.mobile) .qi-rubans .qi-ruban { transition: none; } }
.jour.cpt .cpt-etiquette { position: relative; isolation: isolate; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 6px 10px 6px 24px; }
.jour.cpt .cpt-etiquette::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 6px 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, .4)); }
.jour.cpt .cpt-etiquette.avec-visage { padding-left: 16px; }
.jour.cpt .cpt-insp-bulle { background: none; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; padding: 15px 18px 13px; }
.jour.cpt .cpt-insp-bulle::before { left: 0; top: 0; width: 100%; height: 100%; box-sizing: border-box; transform: none; background: none; z-index: -1; pointer-events: none;
  border: 11px solid transparent; border-image: url(interface/menu_parchemin.png?v=7555d478) 30 fill / 11px stretch;
  filter: drop-shadow(0 3px 3px rgba(20, 10, 2, .5)) drop-shadow(0 8px 14px rgba(10, 5, 1, .35)); }
.jour.cpt .cpt-livre > .cpt-insp .cpt-insp-bulle::before { left: 0; right: auto; }
.jour.cpt .cpt-ligne.prix-bon .cpt-ico,
.jour.cpt .cpt-ligne.prix-bon .cpt-charger:not(:disabled):hover .cpt-ico { filter: drop-shadow(0 0 .35cqh #4fae35) drop-shadow(0 0 .9cqh rgba(79, 174, 53, .95)) drop-shadow(0 0 2cqh rgba(79, 174, 53, .7)); }
.jour.cpt .cpt-ligne.prix-bas .cpt-ico,
.jour.cpt .cpt-ligne.prix-bas .cpt-charger:not(:disabled):hover .cpt-ico { filter: drop-shadow(0 0 .35cqh #c8301a) drop-shadow(0 0 .9cqh rgba(200, 48, 26, .95)) drop-shadow(0 0 2cqh rgba(200, 48, 26, .7)); }
.jour.cpt .cpt-ligne.vire .cpt-ico { animation: cpt-vire .9s ease-out both; }
@keyframes cpt-vire { 0% { scale: 1; } 30% { scale: 1.22; } 60% { scale: .96; } 100% { scale: 1; } }
html:not(.mobile) .port .jour.cpt > canvas.cpt-palan { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#cpt-calque .cpt-sac { position: fixed; width: clamp(44px, 6.4vh, 70px); height: clamp(44px, 6.4vh, 70px); object-fit: contain;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45)); will-change: transform; }
#cpt-calque .cpt-sac.prix-bon { filter: drop-shadow(0 0 3px #5fb247) drop-shadow(0 0 7px rgba(95, 178, 71, .8)) drop-shadow(0 3px 2px rgba(0, 0, 0, .4)); }
#cpt-calque .cpt-sac.prix-bas { filter: drop-shadow(0 0 3px #c2321c) drop-shadow(0 0 7px rgba(194, 50, 28, .8)) drop-shadow(0 3px 2px rgba(0, 0, 0, .4)); }
.jour.cpt .cpt-portrait.sursaut { animation: cpt-sursaut .5s cubic-bezier(.3, 0, .4, 1) both; }
@keyframes cpt-sursaut { 0% { translate: 0 0; rotate: 0deg; } 25% { translate: 0 -12px; rotate: -4deg; } 55% { translate: 0 2px; rotate: 1.5deg; } 100% { translate: 0 0; rotate: 0deg; } }
html.buste:not(.mobile) .bu-port .jour.cpt .bu-med.sursaut, html.buste:not(.mobile) .jour.cpt.bu-port .bu-med.sursaut { animation: bu-sursaut .42s ease-out 1; }
.jour.cpt.qm-1 .cpt-ligne:not(.vide) .cpt-jeton.cuivre:not([disabled]),
.jour.cpt.qm-2 .cpt-ligne:not(.vide) .cpt-ico { animation: cpt-allume 1.4s ease-in-out infinite; }
@keyframes cpt-allume { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
.jour.cpt.qm-1 .cpt-ligne:not(.vide) .cpt-jeton.cuivre:not([disabled]) { border-radius: 50%; box-shadow: 0 0 0 2px rgba(240, 200, 90, .85), 0 0 12px 3px rgba(240, 200, 90, .55); }
html.sans-ambiance .jour.cpt .cpt-ligne.vire .cpt-ico, html.sans-ambiance .jour.cpt .cpt-portrait.sursaut,
html.sans-ambiance .jour.cpt.qm-1 .cpt-jeton, html.sans-ambiance .jour.cpt.qm-2 .cpt-ico { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .jour.cpt .cpt-ligne.vire .cpt-ico, .jour.cpt .cpt-portrait.sursaut, .jour.cpt.qm-1 .cpt-jeton, .jour.cpt.qm-2 .cpt-ico { animation: none; }
}
