/* BUCKSHOTS v2 — objets (loupe, scie, bière, menottes) */
#game.bs { --it-loupe: #8ff6ff; --it-saw: #ff6a4a; --it-beer: #ffc23d; --it-cuffs: #c9d4cf; }

/* rangées DEALER / YOU : nom · objets · menottes · vies */
#game.bs .bs-row { justify-content: flex-start; gap: 6px; }
#game.bs .bs-row > span:first-child { min-width: 62px; }
.bs-inv { flex: 1; display: flex; justify-content: center; gap: 4px; min-height: 24px; }
.bs-inv i { width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px currentColor; }
.bs-inv i svg { width: 19px; height: 19px; display: block; }
.bs-inv i.loupe, .bs-item.loupe, .bs-fx.loupe, .bs-tag.loupe { color: var(--it-loupe); }
.bs-inv i.saw, .bs-item.saw, .bs-fx.saw { color: var(--it-saw); }
.bs-inv i.beer, .bs-item.beer, .bs-fx.beer, .bs-tag.beer { color: var(--it-beer); }
.bs-inv i.cuffs, .bs-item.cuffs, .bs-fx.cuffs { color: var(--it-cuffs); }
#bsPanel.deal .bs-inv i { animation: mcPop .3s cubic-bezier(.2,1.6,.4,1) backwards; }
#bsPanel.deal .bs-inv i:nth-child(2) { animation-delay: .08s; }

/* menotté : chaîne rouge + vies cerclées */
.bs-cuffb { display: none; width: 22px; height: 22px; color: var(--red); filter: drop-shadow(0 0 5px rgba(255,61,94,.8)); }
.bs-cuffb svg { width: 22px; height: 22px; display: block; }
.bs-row.cuffed .bs-cuffb { display: block; animation: bsCuff 1s ease-in-out infinite; }
.bs-row.cuffed .bs-lives { outline: 2px dashed var(--red); outline-offset: 2px; border-radius: 3px; }
@keyframes bsCuff { 50% { transform: scale(1.18) rotate(-8deg); } }

/* scie active : canon rougi + trait de coupe + badge ×2 */
.bs-cut { opacity: 0; }
.bs-gun.sawed .bs-cut { opacity: 1; }
.bs-gun.sawed { filter: drop-shadow(0 0 7px rgba(255,61,94,.75)) drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.bs-gun.sawed .bs-barrel { filter: sepia(.6) saturate(3) hue-rotate(-30deg); }
.bs-sawb { position: absolute; left: 50%; top: 197px; transform: translateX(-50%) scale(.6); opacity: 0; display: flex; align-items: center; gap: 6px;
  padding: 2px 10px 2px 6px; border-radius: 6px; background: #c81f3f; color: #fff; white-space: nowrap; pointer-events: none;
  font: 800 14px/22px 'Barlow Semi Condensed'; letter-spacing: 1px; transition: opacity .2s, transform .25s cubic-bezier(.2,1.6,.4,1); }
.bs-sawb svg { width: 20px; height: 20px; }
.bs-sawb.on { opacity: 1; transform: translateX(-50%) scale(1); }

/* cartouche courante vue (loupe) / regardée par le croupier / éjectée (bière) */
.bs-shells .shell .bs-tag { position: absolute; right: -9px; top: -3px; width: 16px; height: 16px; display: block !important;
  background: rgba(5,10,8,.85); border-radius: 50%; padding: 1px; box-shadow: 0 0 0 1px currentColor; }
.bs-shells .shell .bs-tag svg { width: 14px; height: 14px; display: block; }
.bs-shells .shell.seen { filter: drop-shadow(0 0 9px rgba(143,246,255,.95)); animation: bsSeen .35s cubic-bezier(.2,1.6,.4,1); }
.bs-shells .shell.peek { filter: drop-shadow(0 0 9px rgba(255,61,94,.9)); }
.bs-shells .shell.peek .bs-tag { color: var(--red); }
.bs-shells .shell.spent.ejected { opacity: .62; filter: none; transform: translateY(5px) rotate(-14deg); }
@keyframes bsSeen { from { transform: scale(1.5); } }

/* icône d'objet utilisé qui jaillit de la rangée du camp */
.bs-fx { position: absolute; left: 50%; top: -6px; width: 34px; height: 34px; margin-left: -17px; pointer-events: none;
  filter: drop-shadow(0 0 8px currentColor); animation: bsFx .95s ease-out forwards; }
.bs-fx svg { width: 34px; height: 34px; display: block; }
@keyframes bsFx { 0% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1.35); } 100% { opacity: 0; transform: translateY(-30px) scale(1); } }

/* tuiles du joueur, sous les boutons de tir (cibles 74 px) */
.bs-items { position: absolute; left: 0; right: 0; top: 124px; height: 74px; display: flex; gap: 14px; }
.bs-item { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 14px; cursor: pointer;
  border: 2px solid currentColor; background: linear-gradient(rgba(20,32,26,.95), rgba(8,14,11,.95));
  box-shadow: 0 5px 0 rgba(0,0,0,.4), 0 0 22px rgba(0,0,0,.4), inset 0 0 18px rgba(255,255,255,.03);
  touch-action: manipulation; transition: transform .08s, opacity .2s, filter .2s; text-align: left; }
.bs-item:active { transform: translateY(3px) scale(.97); }
.bs-item > svg { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 0 6px currentColor); }
.bs-item span { display: flex; flex-direction: column; }
.bs-item b { font: 900 24px/1 Montserrat; color: #fff; letter-spacing: .5px; }
.bs-item small { font: 700 16px/1.2 'Barlow Semi Condensed'; color: currentColor; letter-spacing: 1px; margin-top: 4px; }
.bs-item.off, .bs-item[disabled] { opacity: .32; filter: grayscale(.6); pointer-events: none; }
.bs-slot { flex: 1; border-radius: 14px; border: 2px dashed rgba(255,255,255,.08); }

/* légende plus compacte (les leçons d'objets sont plus longues) */
#game.bs .cap { font-size: 24px; max-width: 700px; overflow: hidden; text-overflow: ellipsis; }
/* colonne de droite plus serrée (meilleure action + verdict) */
#game.bs .stat2 { margin-top: 12px; }
#game.bs .mathsays { margin-top: 8px; }
