/* 블랙잭·하이로우 — 판 안쪽 (틀·단추·창은 /solitaire/style.css 의 .sl-* 를 그대로 쓴다) */
.bj-board{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:10px 8px 8px;gap:6px;touch-action:manipulation}
.bj-zone{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:calc(var(--cw) * 1.4 + 26px)}
.bj-pz{flex-direction:row;justify-content:center;align-items:flex-end;gap:12px;flex-wrap:nowrap}
.bj-lbl{font-size:13.5px;font-weight:700;color:rgba(255,255,255,.88);white-space:nowrap;text-align:center}
.bj-lbl b{font-size:17px;color:#fff;font-variant-numeric:tabular-nums}
.bj-lbl em{font-style:normal;font-weight:900;color:#ffe08a;margin-left:2px}
.bj-hand{display:flex;justify-content:center;min-height:calc(var(--cw) * 1.4)}
.bj-pz .bj-hand{min-height:calc(var(--pcw) * 1.4)}
.bj-hw{display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 6px 4px;border-radius:14px;border:2px solid transparent;transition:border-color .2s,background .2s}
.bj-hw.on{border-color:var(--acc);background:rgba(255,213,74,.08)}
.bj-hw.r-win .bj-lbl em,.bj-hw.r-bj .bj-lbl em{color:#8dffb1}
.bj-hw.r-lose .bj-lbl em,.bj-hw.r-bust .bj-lbl em{color:#ffb4b4}
.bj-c{position:relative;width:var(--cw);height:calc(var(--cw) * 1.4);flex:none;border-radius:calc(var(--cw) * .075)}
.bj-c+.bj-c{margin-left:calc(var(--cw) * -.42)}
.bj-pz .bj-c{width:var(--pcw);height:calc(var(--pcw) * 1.4);border-radius:calc(var(--pcw) * .075)}
.bj-pz .bj-c+.bj-c{margin-left:calc(var(--pcw) * -.42)}
.bj-c .fa,.bj-c .ba{position:absolute;inset:0;border-radius:inherit;background-size:100% 100%;box-shadow:0 1px 3px rgba(0,0,0,.4)}
.bj-c.up .ba{opacity:0}
.bj-c:not(.up) .fa{opacity:0}
.bj-c.in{animation:bjIn .32s cubic-bezier(.2,.75,.25,1) both}
@keyframes bjIn{from{transform:translate(38vw,-30vh) rotate(18deg);opacity:0}to{transform:none;opacity:1}}
.rm .bj-c.in{animation:none}
.bj-msg{min-height:28px;font-size:17px;font-weight:900;color:#fff;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.4);padding:0 8px}
.bj-shoe{position:absolute;right:10px;top:8px;font-size:11.5px;color:rgba(255,255,255,.55);font-weight:700}
.bj-chips-big{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;min-height:44px;align-items:center;max-width:320px}
.bj-chip{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;font-weight:900;font-size:13px;color:#fff;border:3px dashed rgba(255,255,255,.75);box-shadow:0 2px 4px rgba(0,0,0,.35);font-variant-numeric:tabular-nums}
.bj-chip.c10{background:#2f6fd6}.bj-chip.c50{background:#d23a3a}.bj-chip.c100{background:#20232b}.bj-chip.c500{background:#7a3fc4}
.sl-b.bj-cb{background:rgba(255,255,255,.06)!important}
.sl-b.bj-cb:disabled{opacity:.3}
.sl-b.bj-go{background:#ffc928!important;color:#2b1d00!important}
.sl-b.bj-go:disabled{background:rgba(255,255,255,.1)!important;color:inherit!important}
.sl-b.bj-wide{flex:3}
.sl-b.bj-hl{animation:slPulse 1.1s ease 3;box-shadow:0 0 0 3px var(--acc)}
.bj-note{font-size:11.5px;font-weight:600;opacity:.8;white-space:normal;line-height:1.3}
/* 하이로우 */
.hl-board{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:12px 10px;touch-action:manipulation}
.hl-row{display:flex;align-items:center;justify-content:center;gap:calc(var(--cw) * .25)}
.hl-row .bj-c+.bj-c{margin-left:0}
.hl-row .bj-c.in{animation:hlIn .34s cubic-bezier(.2,.75,.25,1) both}
@keyframes hlIn{from{transform:translateX(calc(var(--cw) * 1.5)) scaleX(.06);opacity:.4}55%{transform:translateX(calc(var(--cw) * .5)) scaleX(.5)}to{transform:none;opacity:1}}
.rm .hl-row .bj-c.in{animation:none}
.hl-arrow{font-size:calc(var(--cw) * .28);color:rgba(255,255,255,.55);font-weight:900}
.hl-prob{width:min(100%,420px);display:flex;flex-direction:column;gap:5px}
.hl-pr{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.hl-pr span:first-child{width:58px;flex:none}
.hl-pr .bar{flex:1;height:12px;border-radius:6px;background:rgba(0,0,0,.25);overflow:hidden}
.hl-pr .bar i{display:block;height:100%;border-radius:6px;background:#8fe0ad;transition:width .3s}
.hl-pr.lo .bar i{background:#7fc4ff}.hl-pr.eq .bar i{background:#ffe08a}
.hl-pr b{width:44px;text-align:right;font-variant-numeric:tabular-nums}
.hl-hist{display:flex;gap:4px;justify-content:center;min-height:calc(var(--cw) * .5)}
.hl-hist .bj-c{--cw:calc(var(--hcw, 28px));width:var(--hcw);height:calc(var(--hcw) * 1.4)}
.hl-hist .bj-c+.bj-c{margin-left:0}
.big-res{font-size:20px}
@media (orientation:landscape) and (max-height:560px){.bj-note{display:none}.bj-zone{min-height:0}}
@media (prefers-reduced-motion:reduce){.bj-c.in,.hl-row .bj-c.in{animation:none}}
