/* 21 — table en arc, croupier en haut, mains devant chaque siège */
.bj-wrap { max-width: 1080px; margin: 0 auto; }
.bj-table {
  position: relative; border-radius: 28px 28px 50% 50% / 28px 28px 24% 24%; padding: 18px 14px 26px; min-height: 520px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(ellipse at 50% 60%, #17705c 0%, #0f5444 60%, #09382e 100%);
  border: clamp(8px,1.3vw,14px) solid #3a2415;
  box-shadow: 0 0 0 2px #140a04, inset 0 0 70px rgba(0,0,0,.55), 0 30px 70px rgba(0,0,0,.55);
  --cw: clamp(34px, 4.6vw, 58px);
}
.bj-table::before { content: "LE BLACKJACK PAIE 3 POUR 2"; position: absolute; left: 0; right: 0; top: 150px; text-align: center; font: italic 700 clamp(11px,1.5vw,16px) var(--font-display); letter-spacing: 4px; color: rgba(242,193,78,.45); pointer-events: none; }
.bj-table::after { content: "L'ASSURANCE PAIE 2 POUR 1"; position: absolute; left: 0; right: 0; top: 176px; text-align: center; font: 600 clamp(9px,1.1vw,12px) var(--font-ui); letter-spacing: 3px; color: rgba(255,255,255,.2); pointer-events: none; }
.bj-dealer { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: calc(var(--cw) * 1.4 + 40px); position: relative; z-index: 2; }
.bj-dealer .lbl { font: 700 11px var(--font-ui); letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.bj-cards { display: flex; min-height: calc(var(--cw) * 1.4); }
.bj-cards .card { margin-left: calc(var(--cw) * -.42); box-shadow: 0 3px 8px rgba(0,0,0,.55), inset 0 0 0 1px rgba(0,0,0,.12); }
.bj-cards .card:first-child { margin-left: 0; }
.bj-val { position: absolute; padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.2); font: 800 14px var(--font-ui); color: #fff; z-index: 5; white-space: nowrap; transform: translateY(-4px); }
.bj-val.bust { background: var(--red); border-color: var(--red); }
.bj-val.bj { background: var(--gold); color: #2a1a00; border-color: var(--gold); }
.bj-val.t21 { background: var(--green); color: #052; border-color: var(--green); }
.bj-dealer .row { position: relative; display: flex; justify-content: center; padding-bottom: 20px; }
.bj-dealer .bj-val { bottom: 0; left: 50%; transform: translateX(-50%); }
.bj-shoe { position: absolute; right: 16px; top: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 11px var(--font-ui); color: rgba(255,255,255,.65); z-index: 3; }
.bj-shoe .stk { position: relative; width: 38px; height: 52px; }
.bj-shoe .stk i { position: absolute; width: 36px; height: 50px; border-radius: 5px; border: 1px solid #f4f4f0; background: linear-gradient(160deg, #2453b8, #0f2a6b); box-shadow: 0 1px 2px #000a; }
.bj-shoe .cut { width: 50px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.bj-shoe .cut i { display: block; height: 100%; background: var(--gold); }
.bj-banner { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 6; padding: 8px 20px; border-radius: 14px; background: rgba(0,0,0,.72); border: 1px solid rgba(242,193,78,.5); font: 700 clamp(14px,1.8vw,20px) var(--font-display); color: var(--gold); text-align: center; pointer-events: none; animation: pop .3s; }

.bj-seats { display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 1.4vw, 22px); flex-wrap: wrap; margin-top: clamp(40px, 8vw, 90px); position: relative; z-index: 2; }
.bj-seat { display: flex; flex-direction: column; align-items: center; gap: 8px; width: clamp(108px, 14vw, 178px); position: relative; }
.bj-seat .seat { position: relative; left: auto; top: auto; transform: none; width: 100%; }
.bj-hands { display: flex; gap: 10px; justify-content: center; align-items: flex-end; min-height: calc(var(--cw) * 1.4 + 30px); }
.bj-hand { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 6px 22px; border-radius: 12px; transition: box-shadow .25s, background .25s; }
.bj-hand.active { background: rgba(242,193,78,.14); box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(242,193,78,.5); }
.bj-hand .bj-val { bottom: 2px; left: 50%; transform: translateX(-50%); }
.bj-hand .bj-cards { --cw: clamp(28px, 3.6vw, 46px); min-height: calc(var(--cw) * 1.4); }
.bj-seat.me .bj-hand .bj-cards { --cw: clamp(32px, 4.2vw, 54px); }
.bj-hand .res { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 6; font: 800 11px var(--font-ui); padding: 2px 8px; border-radius: 999px; white-space: nowrap; animation: pop .3s; }
.res.win, .res.blackjack { background: var(--green); color: #052; }
.res.lose, .res.bust { background: var(--red); color: #fff; }
.res.push { background: #5b6580; color: #fff; }
.bj-hand .dbl { position: absolute; right: -4px; top: 30%; font: 800 10px var(--font-ui); background: var(--gold); color: #2a1a00; padding: 1px 5px; border-radius: 6px; }
.bj-bet { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 28px; padding: 3px 12px 3px 8px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px dashed rgba(255,255,255,.2); font: 800 14px var(--font-ui); color: #fff; }
.bj-bet.empty { opacity: .35; font-weight: 600; font-size: 12px; }
.bj-bet .ins { font-size: 11px; color: var(--gold); }
.bj-seat .net { position: absolute; top: -8px; right: 0; z-index: 8; font: 800 15px var(--font-display); text-shadow: 0 2px 6px #000; animation: rise 2.4s ease-out forwards; }
.net.pos { color: #7dff95; } .net.neg { color: #ff9b92; }
.bj-seat.gone, .bj-seat.broke { opacity: .5; }

.bj-rack { display: flex; gap: clamp(6px, 1.4vw, 14px); justify-content: center; flex-wrap: wrap; width: 100%; }
.bj-rack .chipb { width: clamp(50px, 7vw, 62px); height: clamp(50px, 7vw, 62px); font-size: clamp(12px,1.6vw,15px); }
.bj-pend { display: flex; align-items: center; gap: 10px; font: 800 20px var(--font-display); color: var(--gold); min-width: 130px; justify-content: center; }
.bj-sub { width: 100%; text-align: center; color: var(--muted); font-size: 13px; }
.bj-banner.end { top: 48%; }
@media (max-width: 760px) {
  .bj-table { padding: 12px 6px 20px; border-radius: 22px 22px 40px 40px; min-height: 0; --cw: clamp(30px, 9vw, 44px); }
  .bj-table::before { top: 112px; } .bj-table::after { top: 134px; }
  .bj-seats { gap: 4px; margin-top: 56px; }
  .bj-seat { width: calc(50% - 6px); max-width: 190px; }
  .bj-shoe { transform: scale(.8); right: 6px; top: 6px; }
}
