/*! Corsaires ! — © 2026, Chrysopam — tous droits réservés */
.jour.qu .qu-haut { position: absolute; left: 1.4%; top: 2.6%; max-width: 55%; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.jour.qu .qu-etiquettes { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: 100%; }
.jour.qu .qu-magasinier { position: absolute; left: 1.4%; bottom: 3%; max-width: 50%; z-index: 5; }
.jour.qu .qu-magasinier .sc-bulle { font-size: 14.5px; }
.jour.qu .qu-magasinier .sc-bulle > span { -webkit-line-clamp: 3; }
.jour.qu.qu-plein .qu-magasinier { flex-direction: column-reverse; align-items: flex-start; max-width: 19.5%; }
.jour.qu.qu-plein .qu-magasinier .sc-bulle { margin: 0 0 -8px 6px; padding: 7px 11px; font-size: 13px; }
.jour.qu.qu-plein .qu-magasinier .sc-bulle > span { -webkit-line-clamp: 4; }
.jour.qu.qu-plein .qu-piles { left: 21%; right: 24.5%; }
.jour.qu.qu-plein .qu-pile { width: 24.5%; }
.jour.qu .qu-etiquettes .sc-etiquette.muet { font-size: 12.5px; color: #5e3a1c; }
.jour.qu .qu-reste { max-width: 100%; padding: 6px 10px; background: rgba(246, 236, 212, .95); border: 1px solid #8a6230; border-radius: 3px; font-size: 13px; }
.jour.qu .qu-piles { position: absolute; left: 1.5%; right: 25%; bottom: 2.5%; z-index: 3; display: flex; justify-content: space-around; align-items: flex-end; }
.jour.qu .qu-pile { --rot: 0deg; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 23%; max-width: 190px; }
.jour.qu .qu-etiq {
  position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; padding: 5px 16px 6px 12px; text-align: center; line-height: 1.2;
  background: linear-gradient(175deg, rgba(255, 250, 235, .35), rgba(200, 160, 100, .2)), url(interface/ui_papier.png?v=66fa38b6) center / 200px auto, #efe1bf;
  border: 1px solid #8a6230; border-radius: 2px; box-shadow: 0 3px 4px rgba(0, 0, 0, .45); rotate: var(--rot); transition: rotate .15s ease-out;
}
.jour.qu .qu-etiq::after { content: ''; position: absolute; right: -16px; top: -18px; width: 34px; height: 37px; rotate: 14deg; pointer-events: none;
  background: url(interface/onglet_etiquette.png?v=80142d79) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); }
.jour.qu .qu-etiq b { font-size: clamp(14px, 2.1vh, 17px); color: #3b2412; }
.jour.qu .qu-etiq span { font-size: clamp(12px, 1.7vh, 14px); color: #5e3a1c; white-space: nowrap; }
.jour.qu .qu-etiq .tag { font-size: 11px; padding: 0 3px; }
.jour.qu .qu-pile:hover .qu-etiq { rotate: 0deg; }
.jour.qu .qu-tas { position: relative; width: clamp(120px, 20vh, 168px); height: clamp(86px, 15vh, 128px); display: flex; align-items: flex-end; justify-content: center; }
.jour.qu .qu-caisse { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .55)); }
.jour.qu .n1 .qu-caisse { max-height: 62%; }
.jour.qu .n2 .qu-caisse { max-height: 78%; }
.jour.qu .n3 .qu-caisse { max-height: 92%; }
.jour.qu .qu-jetons { display: flex; gap: 6px; }
.jour.qu .qu-pile:nth-child(4n+1) { --rot: -2deg; }
.jour.qu .qu-pile:nth-child(4n+2) { --rot: 1.5deg; translate: 0 -6px; }
.jour.qu .qu-pile:nth-child(4n+3) { --rot: -1deg; translate: 0 3px; }
.jour.qu .qu-pile:nth-child(4n+4) { --rot: 2.2deg; translate: 0 -2px; }
.jour.qu .qu-pile:nth-child(odd) .qu-jetons > :first-child { rotate: -6deg; }
.jour.qu .qu-pile:nth-child(odd) .qu-jetons > :last-child { rotate: 5deg; translate: 0 3px; }
.jour.qu .qu-pile:nth-child(even) .qu-jetons > :first-child { rotate: 4deg; translate: 0 2px; }
.jour.qu .qu-pile:nth-child(even) .qu-jetons > :last-child { rotate: -7deg; }
.jour.qu .qu-jetons .sc-jeton { width: clamp(50px, 8vh, 62px); height: clamp(50px, 8vh, 62px); }
.jour.qu .qu-quai { position: absolute; right: 1.6%; top: 3%; bottom: 3%; width: 22%; z-index: 4; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 8px; }
.jour.qu .qu-objet { position: relative; display: flex; align-items: center; justify-content: center; }
.jour.qu .qu-louer { flex-direction: column; gap: 2px; margin-top: 2%; }
.jour.qu .qu-cle { height: clamp(84px, 15vh, 120px); width: auto; rotate: 24deg; filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .55)); margin-bottom: -10px; }
.jour.qu .qu-carton {
  display: flex; flex-direction: column; align-items: center; max-width: 230px; padding: 6px 14px; text-align: center; line-height: 1.25; rotate: -1.5deg;
  background: linear-gradient(175deg, rgba(255, 250, 235, .35), rgba(200, 160, 100, .2)), url(interface/ui_papier.png?v=66fa38b6) center / 200px auto, #efe1bf;
  border: 1px solid #8a6230; box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
}
.jour.qu .qu-carton b { font-size: 15px; }
.jour.qu .qu-carton small { font-size: 12.5px !important; color: #5e3a1c; }
.jour.qu .qu-carton .mal { color: #9b2a1c; font-style: italic; }
.jour.qu .qu-louer .sc-sceau { width: 76px; height: 76px; margin-top: -6px; }
.jour.qu .qu-louer .sc-sceau .sc-sceau-txt b { font-size: 15px; }
.jour.qu .qu-agrandir { gap: 0; }
.jour.qu .qu-planche {
  position: relative; display: block; width: clamp(104px, 18vh, 140px); aspect-ratio: 296 / 320; rotate: -2deg;
  background: url(interface/onglet_planche.png?v=9a518188) center / contain no-repeat; filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .55));
}
.jour.qu .qu-planche b { position: absolute; left: 0; right: 0; top: 14%; text-align: center; font-weight: 800; font-size: clamp(20px, 3.4vh, 28px); color: #2e1b0c; text-shadow: 0 1px 0 rgba(255, 230, 190, .45); rotate: -2deg; }
.jour.qu .qu-agrandir .sc-sceau { width: 72px; height: 72px; margin-left: -26px; margin-top: -30%; }
.jour.qu .qu-receleur { flex-direction: column; gap: 0; margin-bottom: 1%; }
.jour.qu .qu-porte { height: clamp(120px, 22vh, 170px); width: auto; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .6)); }
.jour.qu .qu-lanterne { position: absolute; left: 50%; top: -4%; translate: -50% 0; width: 70px; height: 70px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 210, 120, .85) 0, rgba(255, 170, 60, .45) 30%, rgba(255, 150, 40, 0) 70%); animation: qu-flamme 3.2s ease-in-out infinite; }
@keyframes qu-flamme { 0%, 100% { opacity: .85; scale: 1; } 40% { opacity: 1; scale: 1.08; } 70% { opacity: .78; scale: .97; } }
.jour.qu .qu-ruban {
  margin-top: -14px; padding: 4px 22px 5px 24px; font-weight: 800; font-size: 15px; white-space: nowrap; color: #3b2412; rotate: 2deg;
  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));
}
.jour.qu .qu-receleur .sc-sceau { position: absolute; right: -14px; bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .jour.qu .qu-lanterne { animation: none; } .jour.qu .qu-etiq { transition: none; } }
