/* ==========================================================================
   BLACKJACK B: the shared blackjack kit's layout and look.
   Decisions: briefs/blackjack-family-b-redesign-decisions.md (approved 2026-11-11 22:21; green 21:04);
   Vegas Strip's space check answers (briefs/vegas-strip-blackjack-decisions.md, 2026-11-12 07:24).
   The approved look: design-review-2026-11/blackjack/bj-b.html (?surf=2, "the pit lamp").
   Copied byte for byte into each blackjack by kit/casino/build-blackjack-b.js; loaded LAST, after game.css.
   The card size (--cw), the gap (--g) and the arrangement (body.bjb-one / bjb-two / bjb-phone) come from
   blackjack-b.js. Every id is the game's own; a game only supplies its data (arc words, limits, twists).
   ========================================================================== */
html{ --cw:96px; --g:12px; }
body.bjb-page{
  --felt:#0A3E25; --ink:#FBF6E6; --gold:#E9C46A; --gold2:#F3D27A; --plate:#07150E; --hair:rgba(242,232,198,.30);
  --btn:#0E1B15; --btn2:#132A20; --btnb:#4A6156; --btnb2:#7C998B; --win:#8EE0A8; --lose:#FFA3A3;
  --chip:48px; --spot:96px;
  margin:0; padding:0 !important; background:#0B0908; font-family:'Inter',system-ui,sans-serif; font-feature-settings:"tnum" 1; color:#F4EFE3;
}
body.bjb-page *{ font-family:'Inter',system-ui,sans-serif; }
body.bjb-page .mono{ font-family:'Inter',system-ui,sans-serif; }

/* ---------- the frame: padded leather armrest (slim on phones), the pit lamp on the cloth ---------- */
body.bjb-page .game-frame.bjb{ position:relative; display:flex; flex-direction:column; height:100vh; height:100dvh; width:100%; max-width:none; margin:0; padding:0; background:none; box-shadow:none; border:0; }
body.bjb-page .bjb-rail{ position:relative; flex:1 1 auto; min-height:0; padding:20px; border-radius:0; background:radial-gradient(ellipse 70% 30% at 50% 0%,rgba(255,255,255,.10),transparent 70%),radial-gradient(ellipse 90% 40% at 50% 100%,rgba(255,255,255,.05),transparent 70%),linear-gradient(180deg,#2A231F,#15110F 50%,#0B0908); box-shadow:none; }
body.bjb-page .bjb-rail::after{ content:""; position:absolute; inset:8px; border-radius:26px; border:1.5px dashed rgba(255,235,210,.22); pointer-events:none; }
body.bjb-page .felt.bjb-felt{
  position:relative; width:100%; height:100%; box-sizing:border-box; overflow:hidden; border-radius:18px; margin:0; padding:12px 16px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse 30% 28% at 50% 20%,rgba(255,232,170,.15),transparent 72%),
    radial-gradient(ellipse 38% 32% at 50% 76%,rgba(255,232,170,.18),transparent 72%),
    radial-gradient(ellipse 90% 85% at 50% 50%,#0C4429 0%,#083620 50%,#021309 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.6),inset 0 0 80px rgba(0,0,0,.55);
  display:grid; gap:var(--g) 16px; align-content:stretch;
}
body.bjb-page .felt.bjb-felt::before,body.bjb-page .felt.bjb-felt::after{ display:none; }
body.bjb-page.bjb-phone .bjb-rail{ padding:8px; }
body.bjb-page.bjb-phone .bjb-rail::after{ inset:3px; border-radius:22px; }
body.bjb-page.bjb-phone .felt.bjb-felt{ padding:8px 10px; border-radius:16px; }
body.bjb-page .game-frame.bjb > footer{ flex:0 0 auto; text-align:center; padding:6px 10px; background:#0B0908; color:#F4EFE3; font-size:12px; font-weight:600; }
body.bjb-page.bjb-phone .game-frame.bjb > footer, body.bjb-page.bjb-side .game-frame.bjb > footer{ display:none; }

/* ---------- the arrangements (the fit picks one: bjb-one, bjb-two, bjb-phone; bjb-side = small two-column) ---------- */
body.bjb-one .felt.bjb-felt{ grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:
  "top top top" "dealer dealer dealer" "msg msg msg" "notes notes notes" "arc arc arc" "printed printed printed" "hands hands hands" "bank mid actions";
  grid-template-rows:auto auto auto auto auto auto 1fr auto; }
body.bjb-two .felt.bjb-felt{ grid-template-columns:minmax(0,1fr) minmax(300px,380px); grid-template-areas:
  "dealer top" "dealer bank" "msg coach" "arc notes" "printed notes" "hands mid" "hands actions";
  grid-template-rows:auto auto auto auto auto 1fr auto; }
/* Q5 (two columns): the message keeps the table column; the Coach pill and the tip sit in the right column */
body.bjb-two .bjb-msg{ display:contents; }
body.bjb-two .bjb-call{ grid-area:msg; justify-self:center; max-width:100%; }
body.bjb-two .bjb-coach{ grid-area:coach; justify-self:start; }
body.bjb-phone .felt.bjb-felt{ grid-template-columns:minmax(0,1fr) auto; grid-template-areas:
  "top top" "mat bank" "dealer dealer" "msg msg" "arc arc" "hands hands" "actions actions";
  grid-template-rows:auto auto auto auto auto 1fr auto; gap:var(--g) 8px; }
.bjb-top{ grid-area:top; display:flex; align-items:flex-start; gap:8px; min-width:0; }
.bjb-mat{ display:flex; flex-direction:column; gap:8px; min-width:0; }
body.bjb-phone .bjb-top{ display:contents; }
body.bjb-phone .bjb-utils{ grid-area:top; }
body.bjb-phone .bjb-mat{ grid-area:mat; align-self:center; }
.bjb-bank{ grid-area:bank; }
.bjb-dealer-row{ grid-area:dealer; min-height:max(calc(var(--cw) * 1.4), 104px); display:flex; justify-content:center; align-items:flex-start; gap:48px; min-width:0; }
.bjb-msg{ grid-area:msg; display:flex; justify-content:center; align-items:center; gap:12px; min-width:0; }
.bjb-notes{ grid-area:notes; display:flex; flex-direction:column; align-items:center; gap:8px; min-width:0; }
.bjb-arc{ grid-area:arc; position:relative; height:44px; width:min(80%,900px); justify-self:center; }
.bjb-printed{ grid-area:printed; }
.bjb-hands{ grid-area:hands; }
.bjb-settle, .bjb-chips{ grid-area:mid; }
.bjb-actions{ grid-area:actions; }
body.bjb-two .bjb-arc{ width:100%; }
body.bjb-two .bjb-top{ justify-content:flex-end; flex-direction:column; align-items:flex-end; }
body.bjb-two .bjb-mat{ align-items:flex-end; }
body.bjb-two .bjb-dealer-row{ gap:24px; }
body.bjb-two .bjb-notes{ align-items:flex-start; text-align:left; justify-content:center; }
body.bjb-phone .bjb-arc{ width:100%; height:28px; }
/* Q2 (phones): at the result the itemised result takes the printed arc's place */
body.bjb-phone .bjb-settle{ grid-area:arc; }
body.bjb-phone[data-ui-phase="settled"] .bjb-arc, body.bjb-phone[data-ui-phase="settling"] .bjb-arc{ visibility:hidden; }
/* Q1 (phones): the tip line is read through Why?; refusal notices stay (over the arc, which is decoration) */
body.bjb-phone .bjb-notes{ grid-area:arc; z-index:3; pointer-events:none; }
body.bjb-phone .bjb-notes > :not(.acbj-notice):not(.bjb-warn){ display:none !important; }   /* European EU3: the warning stays on phones */
body.bjb-phone .bjb-printed{ display:none !important; }
/* Q3 (phones): while betting the chips and limits sit in the empty hand area */
body.bjb-phone .bjb-chips{ grid-area:actions; align-self:start; z-index:2; }   /* sits in the free top of the button slot, straight under your spot */
body.bjb-phone[data-ui-phase="betting"] .bjb-hands{ align-self:start; }

/* ---------- the mat head and the 20-hand strip ---------- */
.bjb-mathead{ display:flex; align-items:baseline; gap:6px; font-size:15px; font-weight:600; color:#EEF2EF; white-space:nowrap; }
.bjb-mathead .felt-stat{ display:inline; background:none; border:0; padding:0; box-shadow:none; }
.bjb-mathead label{ font:inherit; color:inherit; letter-spacing:0; text-transform:none; margin:0; display:inline; }
.bjb-mathead .val{ font:inherit; font-weight:800; color:#fff; display:inline; }
.bjb-mathead .val.pos{ color:var(--win); }
body.bjb-phone .bjb-mathead{ font-size:13px; }
.bjb-strip{ display:flex; flex-wrap:wrap; gap:3px; min-height:18px; max-width:100%; justify-content:flex-end; }   /* the 20-hand strip wraps rather than run under the shoe */
.bjb-strip i{ height:18px; min-width:18px; padding:0 3px; border-radius:4px; font:800 10px/18px Inter,sans-serif; text-align:center; font-style:normal; color:#06100B; }
.bjb-strip .W{ background:#8EE0A8; } .bjb-strip .L{ background:#FFB0B0; } .bjb-strip .P{ background:#F2E8C6; } .bjb-strip .B{ background:#F3D27A; }
body.bjb-phone .bjb-strip{ display:none; }

/* ---------- utility buttons: quiet, line icons, labels underneath ---------- */
.bjb-utils{ display:flex; gap:8px; margin-left:auto; flex-wrap:nowrap; }
body.bjb-page .bjb-utils .gold-icon-btn{ all:unset; box-sizing:border-box; width:60px; height:50px; border-radius:10px; background:rgba(3,10,7,.72); box-shadow:inset 0 0 0 1px rgba(242,232,198,.24);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font:600 11px Inter,sans-serif; color:#EEF2EF; cursor:pointer; flex:0 0 auto; }
body.bjb-page .bjb-utils .gold-icon-btn:focus-visible{ outline:2px solid var(--gold2); outline-offset:2px; }
body.bjb-page .bjb-utils .gold-icon-btn .ico{ width:18px; height:18px; display:block; background:#EEF2EF; font-size:0; -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat; }
body.bjb-page .bjb-utils .gold-icon-btn .btn-label, body.bjb-page .bjb-utils .gold-icon-btn .btn-label *{ font:600 11px/1.1 Inter,sans-serif !important; color:#EEF2EF; letter-spacing:0; text-transform:none; white-space:nowrap; margin:0 !important; display:inline !important; }
body.bjb-page #btnCoach.coach-btn .btn-val{ display:none !important; }
body.bjb-page #btnCoach::before{ content:""; width:18px; height:18px; background:#EEF2EF; -webkit-mask:var(--ic) center/contain no-repeat; mask:var(--ic) center/contain no-repeat; }
body.bjb-page #btnCoach[aria-pressed="true"]{ box-shadow:inset 0 0 0 1.5px var(--gold2); }
#btnCoach{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><path d='M12 3l2.6 5.6 6 .7-4.5 4.1 1.3 6L12 16.4 6.6 19.4l1.3-6L3.4 9.3l6-.7z'/></svg>"); }
#btnTable .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><rect x='3' y='4' width='18' height='16' rx='2'/><path d='M3 9h18M9 9v11'/></svg>"); }
#btnRules .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><path d='M5 4h11a3 3 0 013 3v13H8a3 3 0 01-3-3z'/><path d='M9 9h6M9 13h6'/></svg>"); }
#btnSound .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><path d='M4 9v6h4l5 4V5L8 9z'/><path d='M17 9a4 4 0 010 6'/></svg>"); }
#btnSound[aria-pressed="false"] .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><path d='M4 9v6h4l5 4V5L8 9z'/><path d='M16 9l5 6M21 9l-5 6'/></svg>"); }
#btnGear .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><circle cx='12' cy='12' r='3'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1'/></svg>"); }
#btnNewGame .ico{ --ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'><path d='M20 12a8 8 0 11-2.3-5.7'/><path d='M20 4v5h-5'/></svg>"); }
body.bjb-phone .bjb-utils{ width:100%; justify-content:center; margin:0; }
body.bjb-phone .bjb-utils .gold-icon-btn, body.bjb-two .bjb-utils .gold-icon-btn{ flex:1 1 0 !important; width:auto !important; max-width:56px; min-width:44px; height:46px !important; }
body.bjb-phone .bjb-utils .gold-icon-btn .btn-label, body.bjb-phone .bjb-utils .gold-icon-btn .btn-label *,
body.bjb-two .bjb-utils .gold-icon-btn .btn-label, body.bjb-two .bjb-utils .gold-icon-btn .btn-label *{ font-size:10px !important; }

/* ---------- balance plate ---------- */
body.bjb-page .bjb-bank{ align-self:end; justify-self:start; background:var(--plate); border-radius:12px; box-shadow:inset 0 0 0 1.5px var(--gold); padding:10px 14px; min-width:190px; box-sizing:border-box; }
body.bjb-page .bjb-bank label{ display:block; font-size:11px; font-weight:800; letter-spacing:.12em; color:var(--gold2); text-transform:uppercase; margin:0; }
body.bjb-page .bjb-bank .acbj-bank-val{ font-size:24px; font-weight:800; color:#fff; line-height:1.15; }
body.bjb-page .bjb-inplay{ font-size:13px; font-weight:600; color:#D5DED9; white-space:nowrap; }
body.bjb-phone .bjb-bank, body.bjb-side .bjb-bank{ padding:5px 10px; min-width:0; justify-self:end; align-self:center; }
body.bjb-phone .bjb-bank label, body.bjb-side .bjb-bank label{ font-size:10px; }
body.bjb-phone .bjb-bank .acbj-bank-val, body.bjb-side .bjb-bank .acbj-bank-val{ font-size:18px; }
body.bjb-phone .bjb-inplay, body.bjb-side .bjb-inplay{ font-size:11px; }
body.bjb-two .bjb-bank{ justify-self:end; align-self:start; }

/* ---------- cards ---------- */
body.bjb-page .acbj-cards{ position:relative; height:calc(var(--cw) * 1.4); width:calc(var(--cw) * var(--n, 2) + var(--cw) * .09 * (var(--n, 2) - 1)); --card-w:var(--cw); --card-gap:calc(var(--cw) * .09); flex:0 0 auto; margin:0; padding:0; min-height:0; }
body.bjb-page .card{ position:absolute; top:0; width:var(--cw); height:calc(var(--cw) * 1.4); border-radius:calc(var(--cw) * .075); background:#FBF8F1; box-shadow:0 1px 0 rgba(0,0,0,.15),0 8px 18px rgba(0,0,0,.42); color:#15171A; box-sizing:border-box; border:0; padding:0; margin:0; overflow:hidden; }
body.bjb-page .card.red{ color:#C3262F; }
body.bjb-page .card .card-corner{ position:absolute; left:calc(var(--cw) * .05); top:calc(var(--cw) * .05); font-weight:800; font-size:calc(var(--cw) * .23); line-height:.95; text-align:center; letter-spacing:-.03em; color:inherit; }
body.bjb-page .card .card-corner-bottom{ left:auto; top:auto; right:calc(var(--cw) * .05); bottom:calc(var(--cw) * .05); transform:rotate(180deg); }
body.bjb-page .card .card-centre-suit{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-size:calc(var(--cw) * .30);   /* the corner indices clear the centre suit by 2px at every size (brief §8) */ line-height:1; color:inherit; }
body.bjb-page .card.back{ background:#15203B; box-shadow:inset 0 0 0 calc(var(--cw) * .05) #15203B,inset 0 0 0 calc(var(--cw) * .062) #C9A35E,0 8px 18px rgba(0,0,0,.42); }
body.bjb-page .card.back::after{ content:""; position:absolute; inset:calc(var(--cw) * .12); border-radius:4px; background:repeating-linear-gradient(45deg,rgba(201,163,94,.18) 0 1px,transparent 1px 7px),repeating-linear-gradient(-45deg,rgba(201,163,94,.18) 0 1px,transparent 1px 7px); }

/* ---------- the dealer, the shoe, the discards ---------- */
.bjb-dealer{ display:flex; align-items:center; gap:18px; min-width:0; }
body.bjb-phone .bjb-dealer, body.bjb-side .bjb-dealer{ gap:10px; }
.bjb-discards,.bjb-shoe{ display:flex; flex-direction:column; align-items:center; gap:8px; width:120px; flex:0 0 auto; }
.bjb-tray{ width:72px; height:58px; border-radius:8px; box-shadow:inset 0 0 0 1px rgba(242,232,198,.35); display:flex; align-items:center; justify-content:center; font:800 18px Inter,sans-serif; color:#EEF2EF; }
.bjb-shoebox{ width:108px; height:58px; border-radius:10px 24px 10px 10px; background:linear-gradient(#232826,#0E1110); box-shadow:inset 0 0 0 1px #46544D,0 6px 14px rgba(0,0,0,.4); position:relative; }
.bjb-shoebox::after{ content:""; position:absolute; right:14px; top:16px; width:30px; height:26px; border-radius:3px; background:#15203B; box-shadow:inset 0 0 0 1.5px #C9A35E; transform:skewX(-12deg); }
.bjb-bar{ width:108px; height:6px; border-radius:3px; background:rgba(255,255,255,.14); overflow:hidden; position:relative; }
.bjb-bar i{ display:block; height:100%; width:100%; background:var(--ink); }
.bjb-bar b{ position:absolute; left:75%; top:0; width:2px; height:6px; background:#FFA3A3; }
.bjb-tiny{ font-size:12px; font-weight:700; color:#EEF2EF; letter-spacing:.04em; white-space:nowrap; text-transform:uppercase; }
body.bjb-page #deckCountLabel, body.bjb-page #deckCountUnit, body.bjb-page #acbjShoeCount{ font:inherit; color:inherit; }
body.bjb-phone .bjb-discards{ display:none; }
body.bjb-two .bjb-discards{ display:none; }

/* ---------- totals: the heroes ---------- */
body.bjb-page .bjb-pill, body.bjb-page .acbj-hand-foot{ display:inline-flex; align-items:baseline; gap:7px; height:36px; padding:0 14px; border-radius:18px; background:var(--plate); box-shadow:inset 0 0 0 1.5px var(--ink); font-weight:800; font-size:21px; color:#fff; line-height:36px; white-space:nowrap; flex:0 0 auto; box-sizing:border-box; }
/* before the deal the dealer's badge reads just "Dealer" (live shows the dealer's place named) */
body.bjb-page .bjb-pill:has(.bjb-tot:empty){ gap:0; }
body.bjb-page .bjb-who{ font-size:13px; font-weight:700; color:var(--ink); }
body.bjb-page .bjb-tot{ font:inherit; color:inherit; background:none; box-shadow:none; padding:0; margin:0; border:0; }
body.bjb-phone .bjb-pill, body.bjb-phone .acbj-hand-foot, body.bjb-side .bjb-pill, body.bjb-side .acbj-hand-foot{ height:30px; line-height:30px; font-size:17px; padding:0 11px; }
body.bjb-phone .bjb-who, body.bjb-side .bjb-who{ font-size:12px; }

/* ---------- the message line and the Coach pill ---------- */
body.bjb-page .bjb-call{ display:block; line-height:46px; overflow:hidden; text-overflow:ellipsis; height:46px; padding:0 20px; border-radius:23px; background:rgba(2,8,5,.84); box-shadow:inset 0 0 0 1px rgba(242,232,198,.35); font:800 19px Inter,sans-serif; color:#fff; white-space:nowrap; letter-spacing:0; text-transform:none; margin:0; min-height:0; border:0; line-height:46px; }
/* while the cards are dealt and the dealer plays the line is quiet (brief §10, Ronan 2026-09-24): it keeps its place, without its plate */
body.bjb-page .bjb-call:empty{ background:transparent; box-shadow:none; }
body.bjb-page .bjb-call b{ color:var(--gold2); }
body.bjb-page .bjb-call .w{ color:var(--win); }
.bjb-coach{ display:none; align-items:center; gap:8px; height:46px; padding:0 0 0 18px; border-radius:23px; background:rgba(2,8,5,.84); box-shadow:inset 0 0 0 1px rgba(242,232,198,.35); font:700 19px Inter,sans-serif; color:#fff; white-space:nowrap; }
.bjb-coach b{ color:var(--gold2); font-weight:800; }
body.coach-on.bjb-has-hint .bjb-coach{ display:flex; }
.bjb-why{ all:unset; box-sizing:border-box; height:46px; padding:0 16px; border-radius:23px; box-shadow:inset 0 0 0 1.5px var(--gold2); display:flex; align-items:center; font:800 14px Inter,sans-serif; color:#fff; background:rgba(2,8,5,.6); cursor:pointer; }
body.bjb-phone .bjb-call, body.bjb-side .bjb-call{ height:44px; font-size:14px; padding:0 12px; line-height:44px; }
body.bjb-phone .bjb-coach, body.bjb-side .bjb-coach{ height:44px; font-size:14px; padding:0 0 0 12px; }
body.bjb-phone .bjb-why, body.bjb-side .bjb-why{ height:44px; padding:0 12px; }
/* phones: when the message and the Coach pill would not fit one line, the words go and Why? stays (family point 4) */
body.bjb-page.bjb-coach-short .bjb-coach{ padding:0; background:none; box-shadow:none; }
body.bjb-page.bjb-coach-short .bjb-coach-words{ display:none; }

/* ---------- the notes: tip, notice, reason ---------- */
body.bjb-page .bjb-notes > div{ font-size:14px; font-weight:600; color:#EEF2EF; line-height:1.35; text-align:center; max-width:min(92%,640px); margin:0; padding:0; background:none; border:0; min-height:0; letter-spacing:0; text-transform:none; }
body.bjb-page .bjb-notes > div:empty{ display:none; }
body.bjb-page .bjb-notes .acbj-notice{ color:#FFD0D0; }
body.bjb-page .acbj-hint-line{ display:none !important; }
body.bjb-two .bjb-notes > div{ text-align:left; max-width:none; font-size:13px; }
body.bjb-phone .bjb-notes .acbj-notice{ background:rgba(2,8,5,.92); border-radius:12px; padding:6px 10px; box-shadow:inset 0 0 0 1px #FFB0B0; font-size:13px; }

/* ---------- the printed arc and the printed rules line (desktop) ---------- */
.bjb-arc svg{ position:absolute; left:0; top:0; overflow:visible; }
body.bjb-page .bjb-printed{ display:flex; justify-content:center; flex-wrap:wrap; gap:4px 18px; background:none; border:0; padding:0; margin:0; }
body.bjb-page .bjb-printed .acbj-inline-rules{ display:flex; align-items:baseline; gap:10px; background:none; border:0; padding:0; margin:0; }
body.bjb-page .bjb-printed .pt-title{ display:none; }
body.bjb-page .bjb-printed ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 14px; list-style:none; margin:0; padding:0; }
body.bjb-page .bjb-printed li{ font-size:12px; font-weight:800; letter-spacing:.1em; color:var(--ink); text-transform:uppercase; white-space:nowrap; margin:0; padding:0; }
body.bjb-page .bjb-printed li::before{ display:none; }
body.bjb-page #feltPaytables{ display:none; }

/* ---------- your spot and your hands ---------- */
body.bjb-page .bjb-hands{ min-height:max(calc(var(--cw) * 1.4 + 50px), calc(var(--spot) + 40px)) !important; display:flex; justify-content:center; align-items:center; gap:24px; min-width:0; min-height:0; position:relative; padding:0; margin:0; border:0; background:none; }
body.bjb-page .bjb-spot{ display:flex; flex-direction:column; align-items:center; gap:8px; order:-1; flex:0 0 auto; background:none; border:0; padding:0; margin:0; box-shadow:none; position:static; width:auto; height:auto; }
body.bjb-page .bjb-spot .bet-circle{ position:relative; width:var(--spot); height:var(--spot); border-radius:50%; box-shadow:inset 0 0 0 2px var(--ink); display:flex; align-items:center; justify-content:center; background:none; border:0; margin:0; padding:0; }
body.bjb-page .bjb-spot.active .bet-circle{ box-shadow:inset 0 0 0 2.5px var(--gold2),0 0 0 5px rgba(243,210,122,.12); }
body.bjb-page .bjb-spot .current-bet-val{ position:static; font-weight:800; font-size:14px; color:#fff; background:var(--plate); padding:2px 9px; border-radius:9px; box-shadow:inset 0 0 0 1px var(--hair); white-space:nowrap; transform:none; }
body.bjb-page .bjb-spot .spot-label{ display:none; }
body.bjb-page .acbj-pile{ position:relative; width:var(--chip); height:var(--chip); display:block; overflow:visible; }
/* the chip stack is centred in the bet circle (Ronan 2026-11-15 07:42; checked by harness/chip-centred.js): the box is one chip
   tall and each chip above the first lifts 5px, so the whole stack moves down half its rise and its middle stays on the centre */
body.bjb-page .acbj-pile:has(> .pile-disc:nth-child(2):last-child){ transform:translateY(2.5px); }
body.bjb-page .acbj-pile:has(> .pile-disc:nth-child(3):last-child){ transform:translateY(5px); }
body.bjb-page .acbj-pile:has(> .pile-disc:nth-child(4):last-child){ transform:translateY(7.5px); }
body.bjb-page .acbj-pile:has(> .pile-disc:nth-child(5):last-child){ transform:translateY(10px); }
body.bjb-page .acbj-pile:has(> .pile-disc:nth-child(6):last-child){ transform:translateY(12.5px); }
body.bjb-page .acbj-pile .pile-disc{ position:absolute; left:0; width:var(--chip); height:var(--chip); border-radius:50%; background:var(--c,#1F9A55); box-shadow:0 3px 0 rgba(0,0,0,.4); }
body.bjb-page .acbj-pile .pile-disc::before{ content:""; position:absolute; inset:0; border-radius:50%; background:repeating-conic-gradient(#fff 0 9deg,transparent 9deg 45deg); -webkit-mask:radial-gradient(circle,transparent 61%,#000 62%); mask:radial-gradient(circle,transparent 61%,#000 62%); }
body.bjb-page .acbj-pile .pile-disc::after{ content:""; position:absolute; inset:17%; border-radius:50%; background:#FBF6E8; box-shadow:inset 0 0 0 1.5px var(--c,#1F9A55); }
body.bjb-page .acbj-pile .pile-disc:nth-child(1){ bottom:0; } body.bjb-page .acbj-pile .pile-disc:nth-child(2){ bottom:5px; } body.bjb-page .acbj-pile .pile-disc:nth-child(3){ bottom:10px; }
body.bjb-page .acbj-pile .pile-disc:nth-child(4){ bottom:15px; } body.bjb-page .acbj-pile .pile-disc:nth-child(5){ bottom:20px; } body.bjb-page .acbj-pile .pile-disc:nth-child(6){ bottom:25px; }
body.bjb-page .pile-disc.c5{ --c:#C8373F; } body.bjb-page .pile-disc.c10{ --c:#2F6FD0; } body.bjb-page .pile-disc.c25{ --c:#1F9A55; }
body.bjb-page .pile-disc.c50{ --c:#E07A2A; } body.bjb-page .pile-disc.c100{ --c:#139C9C; } body.bjb-page .pile-disc.c500{ --c:#7A4CC2; }
body.bjb-page .acbj-player-hand{ display:flex; flex-direction:column-reverse; align-items:center; gap:8px; background:none; border:0; padding:0; margin:0; box-shadow:none; min-width:0; flex:0 0 auto; }
body.bjb-page .acbj-player-hand .acbj-hand-head{ display:none; }
body.bjb-page .acbj-player-hand .acbj-hand-foot{ box-shadow:inset 0 0 0 2px var(--gold2); }

body.bjb-page .acbj-hand-total{ font:inherit; color:inherit; }
body.bjb-page .acbj-hand-status{ font-size:13px; font-weight:700; color:var(--ink); }
body.bjb-page .acbj-hand-status:empty{ display:none; }
body.bjb-page .acbj-hand-status.win{ color:var(--win); } body.bjb-page .acbj-hand-status.loss, body.bjb-page .acbj-hand-status.lose{ color:var(--lose); }
body.bjb-page.bjb-multi:not([data-ui-phase="settled"]):not([data-ui-phase="settling"]) .acbj-player-hand.complete:not(.active){ opacity:.65; }
body.bjb-page .acbj-player-hand.active .acbj-hand-foot{ box-shadow:inset 0 0 0 2.5px var(--gold2),0 0 0 4px rgba(243,210,122,.18); }

body.bjb-phone .bjb-spot, body.bjb-side .bjb-spot{ --spot:60px; --chip:36px; }
body.bjb-phone .bjb-hands, body.bjb-side .bjb-hands{ gap:12px; }

/* ---------- chips (the standard set) ---------- */
body.bjb-page .bjb-chips{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:none; border:0; padding:0; margin:0; }
body.bjb-page .bjb-chips .chip-row{ display:flex; gap:8px; flex-wrap:nowrap; margin:0; padding:0; overflow:visible; }
body.bjb-page .bjb-chips .chip{ all:unset; box-sizing:border-box; position:relative; width:52px; height:52px; border-radius:50%; background:var(--c); box-shadow:0 3px 0 rgba(0,0,0,.4); cursor:pointer; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
body.bjb-page .bjb-chips .chip::before{ content:""; position:absolute; inset:0; border-radius:50%; background:repeating-conic-gradient(#fff 0 9deg,transparent 9deg 45deg); -webkit-mask:radial-gradient(circle,transparent 61%,#000 62%); mask:radial-gradient(circle,transparent 61%,#000 62%); }
body.bjb-page .bjb-chips .chip .chip-face{ position:relative; width:66%; height:66%; border-radius:50%; background:#FBF6E8; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1.5px var(--c); font:800 14px Inter,sans-serif; color:#1b1406; }
body.bjb-page .bjb-chips .chip.selected{ box-shadow:0 0 0 3px var(--gold2),0 3px 0 rgba(0,0,0,.4); }
body.bjb-page .bjb-chips .chip:disabled{ opacity:.45; cursor:default; }
body.bjb-page .bjb-chips .c5{ --c:#C8373F; } body.bjb-page .bjb-chips .c10{ --c:#2F6FD0; } body.bjb-page .bjb-chips .c25{ --c:#1F9A55; }
body.bjb-page .bjb-chips .c50{ --c:#E07A2A; } body.bjb-page .bjb-chips .c100{ --c:#139C9C; } body.bjb-page .bjb-chips .c500{ --c:#7A4CC2; }
body.bjb-page .acbj-limits{ font-size:12px; font-weight:700; color:#EEF2EF; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; background:none; border:0; padding:0; }
body.bjb-page .acbj-limits label{ font:inherit; color:inherit; margin:0; display:inline; letter-spacing:inherit; }
body.bjb-phone .bjb-chips .chip, body.bjb-side .bjb-chips .chip{ width:44px; height:44px; }
body.bjb-phone .bjb-chips .chip-row{ gap:6px; }
body.bjb-page .bjb-chips{ display:none; }
body.bjb-page[data-ui-phase="betting"] .bjb-chips{ display:flex; }

/* ---------- the action bar ---------- */
body.bjb-page .bjb-actions{ display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-end; gap:8px; margin:0; padding:0; min-width:0; }
body.bjb-page .bjb-actions .action-row{ display:none; gap:8px; align-items:stretch; margin:0; padding:0; flex-wrap:nowrap; }
body.bjb-page[data-ui-phase="betting"] #betActions,
body.bjb-page[data-ui-phase="insurance"] #acbjInsurance,
body.bjb-page[data-ui-phase="evenMoney"] #acbjEvenMoney,
body.bjb-page[data-ui-phase="player"] #acbjDecision, body.bjb-page[data-ui-phase="dealing"] #acbjDecision, body.bjb-page[data-ui-phase="checking"] #acbjDecision, body.bjb-page[data-ui-phase="dealer"] #acbjDecision,
body.bjb-page[data-ui-phase="settled"] #settleActions, body.bjb-page[data-ui-phase="settling"] #settleActions{ display:flex; }
body.bjb-page .bjb-actions .act{ all:unset; box-sizing:border-box; position:relative; min-width:104px; height:62px; padding:0 14px; border-radius:12px; background:var(--btn); box-shadow:inset 0 0 0 1px var(--btnb); color:#F4EFE3;
  font:800 16px Inter,sans-serif; letter-spacing:.04em; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-align:center; cursor:pointer; flex:0 0 auto; text-transform:uppercase; }
body.bjb-page .bjb-actions .act .db-label, body.bjb-page .bjb-actions .act .rack-label{ font:inherit; letter-spacing:inherit; color:inherit; }
body.bjb-page .bjb-actions .act .db-sub, body.bjb-page .bjb-actions .act small{ font:600 12px Inter,sans-serif; letter-spacing:0; color:#D5DED9; text-transform:none; display:block; }
body.bjb-page .bjb-actions .act .db-sub:empty, body.bjb-page .bjb-actions .act small:empty{ display:none; }
body.bjb-page .bjb-actions .act.big{ min-width:150px; height:66px; font-size:19px; background:var(--btn2); box-shadow:inset 0 0 0 1.5px var(--btnb2); }
body.bjb-page .bjb-actions .act.gold{ background:linear-gradient(#F3D27A,#D9AE4E); color:#1b1406; box-shadow:0 0 0 1px #F3D27A; min-width:170px; }
body.bjb-page .bjb-actions .act.gold small, body.bjb-page .bjb-actions .act.gold .db-sub{ color:#3a2c0c; }
body.bjb-page .bjb-actions .act:disabled{ opacity:.42; cursor:default; }
body.bjb-page .bjb-actions .act:focus-visible{ outline:2px solid var(--gold2); outline-offset:2px; }
body.bjb-page .bjb-actions .act[data-key]::after{ content:attr(data-key); position:absolute; top:5px; right:7px; font:700 10px Inter,sans-serif; color:#A9BBB2; background:none; border:0; padding:0; }
body.bjb-phone .bjb-actions .act[data-key]::after, body.bjb-side .bjb-actions .act[data-key]::after{ display:none; }
body.bjb-phone .bjb-actions, body.bjb-side .bjb-actions{ align-items:stretch; justify-content:flex-end; min-height:114px; }
body.bjb-phone .bjb-actions .action-row, body.bjb-side .bjb-actions .action-row{ width:100%; flex-wrap:wrap; }
body.bjb-phone .bjb-actions .act, body.bjb-side .bjb-actions .act{ flex:1 1 0; min-width:0; height:48px; font-size:13px; padding:0 4px; }
body.bjb-phone .bjb-actions .act.big, body.bjb-side .bjb-actions .act.big{ height:58px; font-size:17px; flex-basis:calc(50% - 6px); }
body.bjb-phone .bjb-actions .act.gold, body.bjb-side .bjb-actions .act.gold{ flex:2 1 0; min-width:0; }
body.bjb-phone .bjb-actions .act .db-sub, body.bjb-phone .bjb-actions .act small, body.bjb-side .bjb-actions .act .db-sub, body.bjb-side .bjb-actions .act small{ font-size:11px; }
body.bjb-two .bjb-actions{ align-items:stretch; }
body.bjb-two .bjb-actions .action-row{ flex-wrap:wrap; }
body.bjb-two .bjb-actions .act{ flex:1 1 0; min-width:0; }
body.bjb-two .bjb-actions .act.big{ flex-basis:calc(50% - 6px); }
/* the HINT tag sits on the button's top edge (casino-coach.js places it; the kit only styles it) */
body.bjb-page .coach-hint-tag{ background:#06100B !important; color:var(--gold2) !important; font:800 10px Inter,sans-serif !important; letter-spacing:.1em; padding:3px 9px !important; border-radius:9px !important; box-shadow:inset 0 0 0 1.5px var(--gold2) !important; border:0 !important; }

/* ---------- the result, itemised (one place) ---------- */
body.bjb-page .bjb-settle{ display:none; background:var(--plate); border-radius:12px; box-shadow:inset 0 0 0 1px var(--hair); padding:8px 12px; font-size:13px; font-weight:600; color:#F4EFE3; min-width:260px; align-self:end; box-sizing:border-box; margin:0; border:0; }
body.bjb-page[data-ui-phase="settled"] .bjb-settle, body.bjb-page[data-ui-phase="settling"] .bjb-settle{ display:block; }
body.bjb-page .bjb-settle .settlement-head{ display:none; }
body.bjb-page .bjb-settle .settlement-rows, body.bjb-page .bjb-settle .settlement-totals{ display:flex; flex-direction:column; gap:1px; margin:0; padding:0; border:0; }
body.bjb-page .bjb-settle .settlement-rows > *, body.bjb-page .bjb-settle .settlement-total-row{ display:flex; justify-content:space-between; gap:12px; margin:0; padding:0; border:0; background:none; font:inherit; color:inherit; }
body.bjb-page .bjb-settle .settlement-rows > * > *{ font:inherit; color:inherit; margin:0; padding:0; }
body.bjb-page .bjb-settle .st-label{ font:inherit; color:inherit; letter-spacing:0; text-transform:none; }
body.bjb-page .bjb-settle .st-val{ font-weight:800; color:#fff; }
body.bjb-page .bjb-settle .win{ color:var(--win) !important; } body.bjb-page .bjb-settle .loss{ color:var(--lose) !important; }
body.bjb-phone .bjb-settle, body.bjb-side .bjb-settle{ min-width:0; width:100%; padding:6px 10px; font-size:12px; align-self:center; }
body.bjb-two .bjb-settle{ align-self:start; }

/* ---------- panels: ivory in the family colours (family point 16) ---------- */
body.bjb-page .panel-overlay{ background:rgba(2,10,6,.72); }
body.bjb-page .panel-overlay .panel, body.bjb-page .coach-start .coach-start-card, body.bjb-page #coachStart > div{ background:#FBF6EC !important; color:#10261A !important; border:0 !important; border-radius:18px !important; box-shadow:0 0 0 2px #C9A35E,0 24px 70px rgba(0,0,0,.6) !important; }
body.bjb-page .panel-overlay .panel h2, body.bjb-page #coachStart h2{ font:800 22px Inter,sans-serif !important; color:#0B3F25 !important; letter-spacing:-.01em; text-transform:none; }
body.bjb-page .panel-overlay .panel p, body.bjb-page .panel-overlay .panel li, body.bjb-page .panel-overlay .panel .sub, body.bjb-page #coachStart p{ color:#1C3326 !important; font-family:Inter,sans-serif !important; }
body.bjb-page .panel-overlay .panel .panel-close, body.bjb-page .panel-overlay .panel .btn-ghost{ background:#fff !important; color:#0B3F25 !important; box-shadow:inset 0 0 0 1.5px #0B3F25 !important; border:0 !important; border-radius:12px !important; min-height:48px; font:800 15px Inter,sans-serif !important; }
body.bjb-page .panel-overlay .panel .btn-deal{ background:#0B4A2C !important; color:#fff !important; border:0 !important; border-radius:12px !important; min-height:48px; font:800 15px Inter,sans-serif !important; box-shadow:none !important; }
body.bjb-page .coach-choice{ background:#fff !important; color:#0B3F25 !important; box-shadow:inset 0 0 0 1.5px #B9C9BE !important; border:0 !important; border-radius:14px !important; text-align:left; }
body.bjb-page .coach-choice.selected{ box-shadow:inset 0 0 0 2.5px #0B6A3A !important; background:#F1F8F3 !important; }
body.bjb-page .coach-choice .coach-choice-title{ color:#0B3F25 !important; font:800 17px Inter,sans-serif !important; }
body.bjb-page .coach-choice .coach-choice-desc{ color:#2E4A3B !important; font:600 13.5px Inter,sans-serif !important; }
body.bjb-page #btnResumeHand{ background:linear-gradient(#F3D27A,#D9AE4E) !important; color:#1b1406 !important; border:0 !important; }
body.bjb-page .coach-reason{ background:#FBF6EC !important; color:#10261A !important; box-shadow:0 0 0 2px #C9A35E,0 12px 30px rgba(0,0,0,.5) !important; border:0 !important; border-radius:12px !important; font:600 14px/1.45 Inter,sans-serif !important; }
/* the Table and Why? panels (kit-built) */
body.bjb-page .bjb-table-panel, body.bjb-page .bjb-why-panel{ max-width:460px; max-height:calc(100vh - 40px); overflow:auto; text-align:left; }
body.bjb-page .bjb-table-panel h3, body.bjb-page .bjb-why-panel h3{ font:800 12px Inter,sans-serif; letter-spacing:.12em; color:#5A4010; text-transform:uppercase; margin:16px 0 6px; }
body.bjb-page .bjb-strip-big{ flex-wrap:wrap; gap:4px; }
body.bjb-page .bjb-strip-big i{ min-width:24px; height:24px; line-height:24px; font-size:11px; border-radius:6px; }
body.bjb-page .bjb-strip-big span{ font-size:14px; color:#3C5647; }
body.bjb-page .bjb-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
body.bjb-page .bjb-stats div{ background:#fff; border-radius:10px; box-shadow:inset 0 0 0 1px #D5E1D8; padding:8px 10px; }
body.bjb-page .bjb-stats b{ display:block; font-size:20px; font-weight:800; color:#0B3F25; }
body.bjb-page .bjb-stats span{ font-size:12px; font-weight:700; color:#3C5647; }
body.bjb-page .bjb-small{ font-size:13px !important; color:#3C5647 !important; }
body.bjb-page .bjb-prow{ display:flex; gap:10px; margin-top:16px; }
body.bjb-page .bjb-prow > *{ flex:1; }
body.bjb-page .bjb-chart{ border-collapse:separate; border-spacing:2px; font:700 12px Inter,sans-serif; margin-top:8px; }
body.bjb-page .bjb-chart td, body.bjb-page .bjb-chart th{ width:28px; height:24px; text-align:center; border-radius:4px; }
body.bjb-page .bjb-chart th{ color:#0B3F25; font-weight:800; }
body.bjb-page .bjb-chart td.H{ background:#F6D1D1; color:#5A1515; } body.bjb-page .bjb-chart td.S{ background:#CFEBD9; color:#0B3F25; } body.bjb-page .bjb-chart td.D{ background:#D6E2F6; color:#173A73; }
body.bjb-page .bjb-chart td.now{ box-shadow:0 0 0 2.5px #B8860B; }

/* ---------- the itemised result, compact: hand · stake · how it paid · net (the balance plate shows the closing balance) ---------- */
body.bjb-page .bjb-settle .settlement-rows > *{ display:grid !important; grid-template-columns:auto auto minmax(0,1fr) auto; gap:12px; align-items:baseline; }
body.bjb-page .bjb-settle .sr-returned, body.bjb-page .bjb-settle .sr-result{ display:none !important; }
body.bjb-page .bjb-settle .sr-rate{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.bjb-page .bjb-settle .sr-delta{ font-weight:800; }
body.bjb-page .bjb-settle .settlement-total-row:last-child{ display:none !important; }
body.bjb-page .bjb-settle:has(.settlement-rows > :only-child) .settlement-totals{ display:none; }
body.bjb-page .bjb-settle .settlement-totals{ border-top:1px solid var(--hair); padding-top:3px; margin-top:3px; }
body.bjb-phone .felt.bjb-felt{ grid-template-rows:auto auto auto auto minmax(58px,auto) 1fr auto; }
body.bjb-phone .bjb-arc{ align-self:center; }
/* many split hands: each hand's pill already says how it ended, so the panel keeps the total (desktop from 4 lines, phones from 3) */
body.bjb-page .bjb-settle:has(.settlement-rows > :nth-child(4)) .settlement-rows{ display:none; }
body.bjb-page .bjb-settle:has(.settlement-rows > :nth-child(4)) .settlement-totals{ display:block; border:0; margin:0; padding:0; }
body.bjb-phone .bjb-settle:has(.settlement-rows > :nth-child(3)) .settlement-rows, body.bjb-side .bjb-settle:has(.settlement-rows > :nth-child(3)) .settlement-rows{ display:none; }
body.bjb-phone .bjb-settle:has(.settlement-rows > :nth-child(3)) .settlement-totals, body.bjb-side .bjb-settle:has(.settlement-rows > :nth-child(3)) .settlement-totals{ display:block;  border:0; margin:0; padding:0; }
/* the shoe label: two short lines, never wider than the shoe column */
body.bjb-page .bjb-shoe .bjb-tiny{ white-space:normal; text-align:center; max-width:190px; }
body.bjb-phone .bjb-hands{ min-height:max(calc(var(--cw) * 1.4 + 50px), 96px) !important; }
/* phones: the limits are already in the bet message ("Place your bet · $5 to $1,000") */
body.bjb-phone .acbj-limits{ display:none !important; }
/* betting bar: Undo / Clear / Rebet are small secondary moves, Deal is the one gold button */
body.bjb-one #betActions .act:not(.gold), body.bjb-two:not(.bjb-side) #betActions .act:not(.gold){ min-width:84px; }
body.bjb-page .bjb-chips .chip{ width:var(--chip); height:var(--chip); }
/* sideways: 44px chips, so the six fit the side column on 640-667px screens (the rule above had overridden the 44px one; sweep 640x360, 2026-11-13) */
body.bjb-page.bjb-side .bjb-chips .chip{ width:44px; height:44px; }
body.bjb-one .bjb-bank{ min-width:0; }
body.bjb-two .bjb-utils .gold-icon-btn{ max-width:66px !important; }
body.bjb-phone .bjb-dealer-row{ min-height:calc(var(--cw) * 1.4); }
body.bjb-phone[data-ui-phase="betting"] .bjb-hands{ align-items:flex-start; }
body.bjb-phone .bjb-actions .act:not(.big):not(.gold), body.bjb-side .bjb-actions .act:not(.big):not(.gold){ flex-basis:calc(25% - 6px); }
/* phones and short screens: the action rows are a 12-step grid, so Hit and Stand always share the first line */
body.bjb-phone[data-ui-phase="betting"] #betActions, body.bjb-side[data-ui-phase="betting"] #betActions,
body.bjb-phone[data-ui-phase="insurance"] #acbjInsurance, body.bjb-side[data-ui-phase="insurance"] #acbjInsurance,
body.bjb-phone[data-ui-phase="evenMoney"] #acbjEvenMoney, body.bjb-side[data-ui-phase="evenMoney"] #acbjEvenMoney,
body.bjb-phone[data-ui-phase="player"] #acbjDecision, body.bjb-phone[data-ui-phase="dealing"] #acbjDecision, body.bjb-phone[data-ui-phase="checking"] #acbjDecision, body.bjb-phone[data-ui-phase="dealer"] #acbjDecision,
body.bjb-side[data-ui-phase="player"] #acbjDecision, body.bjb-side[data-ui-phase="dealing"] #acbjDecision, body.bjb-side[data-ui-phase="checking"] #acbjDecision, body.bjb-side[data-ui-phase="dealer"] #acbjDecision,
body.bjb-phone[data-ui-phase="settled"] #settleActions, body.bjb-phone[data-ui-phase="settling"] #settleActions,
body.bjb-side[data-ui-phase="settled"] #settleActions, body.bjb-side[data-ui-phase="settling"] #settleActions{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:8px; }
body.bjb-phone .bjb-actions .action-row > *, body.bjb-side .bjb-actions .action-row > *{ grid-column:span 6; }
body.bjb-phone #acbjDecision > .act:not(.big), body.bjb-side #acbjDecision > .act:not(.big){ grid-column:span 6; }
body.bjb-phone #acbjDecision:has(> .act:not(.big):nth-of-type(5)) > .act:not(.big), body.bjb-side #acbjDecision:has(> .act:not(.big):nth-of-type(5)) > .act:not(.big){ grid-column:span 4; }
body.bjb-phone #betActions > .act:not(.gold), body.bjb-side #betActions > .act:not(.gold){ grid-column:span 2; }
body.bjb-phone .bjb-actions .act, body.bjb-side .bjb-actions .act{ width:auto; }
/* compact utility buttons: the Coach button's gold ring already says "on" (aria-pressed carries it for screen readers) */
/* compact utility buttons: the Coach state word stays (live shows it), as a small tab on the button's corner */
body.bjb-page.bjb-phone #btnCoach, body.bjb-page.bjb-two #btnCoach, body.bjb-page.bjb-side #btnCoach{ position:relative; overflow:visible; }
body.bjb-page.bjb-phone #btnCoach .btn-state, body.bjb-page.bjb-two #btnCoach .btn-state, body.bjb-page.bjb-side #btnCoach .btn-state{ position:absolute; top:-5px; left:50%; transform:translateX(-50%); font:800 9px/1 Inter,sans-serif !important; letter-spacing:.06em; text-transform:uppercase; padding:3px 5px; border-radius:6px; background:#0B0E0D; color:#F3D27A !important; box-shadow:0 0 0 1px #C9A35E; }
body.bjb-page.bjb-phone #btnCoach:not([aria-pressed="true"]) .btn-state, body.bjb-page.bjb-two #btnCoach:not([aria-pressed="true"]) .btn-state, body.bjb-page.bjb-side #btnCoach:not([aria-pressed="true"]) .btn-state{ color:#DCE7E0 !important; box-shadow:0 0 0 1px #6B7F74; }
body.bjb-two .bjb-utils{ width:100%; justify-content:flex-end; margin:0; }
/* two columns: the dealer's total sits under the dealer's cards, facing yours (yours sits above your cards) */
body.bjb-two .bjb-dealer{ flex-direction:column; gap:8px; }
body.bjb-two .bjb-dealer-row{ min-height:calc(var(--cw) * 1.4 + 54px); }
body.bjb-two .bjb-actions{ align-items:stretch; }
body.bjb-two .bjb-actions .action-row{ width:100%; }
body.bjb-two .bjb-actions .act{ flex:1 1 0; min-width:0 !important; padding:0 8px; }
body.bjb-two #betActions .act.gold, body.bjb-two #settleActions .act.gold{ flex:1.7 1 0; }
/* short screens (landscape phones): the approved side arrangement. Table on the left (dealer, message, arc, your hands),
   a 320px column on the right (buttons, last hand and balance, then chips or the result, then the actions). */
body.bjb-side .felt.bjb-felt{ padding:8px 12px; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; grid-template-areas:
  "dealer top top" "msg mat bank" "arc . ." "hands mid mid" "hands actions actions";
  grid-template-rows:auto auto auto 1fr auto; gap:var(--g) 8px; }
body.bjb-side .felt.bjb-felt{ grid-template-columns:minmax(0,1fr) 204px 108px; }
body.bjb-side .bjb-top{ display:contents; }
body.bjb-side .bjb-utils{ grid-area:top; width:100%; justify-content:space-between; margin:0; align-self:start; }
body.bjb-side .bjb-mat{ grid-area:mat; align-self:center; }
body.bjb-side .bjb-mathead{ font-size:13px; }
body.bjb-side .bjb-strip, body.bjb-side .bjb-discards, body.bjb-side .bjb-printed{ display:none !important; }
body.bjb-side .bjb-bank{ justify-self:end; }
body.bjb-side .bjb-arc{ width:100%; height:26px; }
body.bjb-side .bjb-notes{ grid-area:arc; z-index:3; pointer-events:none; }
body.bjb-side .bjb-notes > :not(.acbj-notice){ display:none !important; }
body.bjb-side .bjb-settle, body.bjb-side .bjb-chips{ grid-area:mid; align-self:end; }
body.bjb-side .bjb-actions{ min-height:0; }
body.bjb-side .bjb-hands{ min-height:max(calc(var(--cw) * 1.4 + 46px), 96px) !important; }
body.bjb-side .bjb-utils .gold-icon-btn{ flex:1 1 0 !important; width:auto !important; max-width:none; min-width:44px; height:46px !important; }
body.bjb-page .bjb-actions > .action-row{ flex-shrink:0; }
body.bjb-side .bjb-dealer-row{ min-height:calc(var(--cw) * 1.4); }
/* short screens: a one-line balance plate, no limits line (the bet message carries them), lower action buttons */
body.bjb-side .bjb-bank{ padding:4px 10px; }
body.bjb-side .bjb-bank .acbj-bank-val{ white-space:nowrap; }
body.bjb-side .acbj-limits{ display:none !important; }
body.bjb-side .bjb-actions .act.big{ height:52px; } body.bjb-side .bjb-actions .act{ height:44px; }
body.bjb-side #betActions .act, body.bjb-side #settleActions .act, body.bjb-side #acbjInsurance .act, body.bjb-side #acbjEvenMoney .act{ height:52px; }
body.bjb-side .felt.bjb-felt{ grid-template-columns:minmax(0,1fr) minmax(150px,auto) auto; }
body.bjb-side .bjb-utils, body.bjb-side .bjb-actions, body.bjb-side .bjb-chips, body.bjb-side .bjb-settle{ width:min(344px, 49vw); justify-self:end; }
body.bjb-side .bjb-mathead{ display:flex; flex-direction:column; gap:2px; } body.bjb-side .bjb-mathead .bjb-dot{ display:none; }
/* the dealer's total under the dealer's cards: the fit tries it on phones and one-column screens and keeps whichever gives bigger cards */
body.bjb-dstack .bjb-dealer{ flex-direction:column; gap:8px; }
body.bjb-phone.bjb-dstack .bjb-dealer-row{ min-height:calc(var(--cw) * 1.4 + 38px); }
body.bjb-one.bjb-dstack .bjb-dealer-row{ min-height:max(calc(var(--cw) * 1.4 + 54px), 104px); }
/* narrow phones: a thinner rail so six 44px buttons keep 8px apart */
@media (max-width:349px){ body.bjb-page.bjb-phone .bjb-rail{ padding:6px; } body.bjb-page.bjb-phone .felt.bjb-felt{ padding:8px 6px; } }
/* phones: the balance plate on two lines (balance, in play) */

body.bjb-phone .bjb-bank .acbj-bank-val{ white-space:nowrap; }
/* the dealer row: discards on the left edge, the dealer's cards centred over your hand, the shoe on the right edge */
body.bjb-page .bjb-dealer-row{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:16px; align-items:start; }
body.bjb-page .bjb-dealer-row > .bjb-discards{ grid-column:1; justify-self:start; }
body.bjb-page .bjb-dealer-row > .bjb-dealer{ grid-column:2; }
body.bjb-page .bjb-dealer-row > .bjb-shoe{ grid-column:3; justify-self:end; }
body.bjb-one .bjb-dealer-row > .bjb-discards{ justify-self:center; } body.bjb-one .bjb-dealer-row > .bjb-shoe{ justify-self:center; }
#acbjShoeCount{ display:block; }
/* at the result the itemised panel says how each hand paid, so the reason line is not repeated */
body.bjb-page[data-ui-phase="settled"] .acbj-result-reason, body.bjb-page[data-ui-phase="settling"] .acbj-result-reason{ display:none !important; }
body.bjb-two .bjb-settle{ align-self:end; width:100%; }
body.bjb-page .bjb-spot .bet-circle{ width:var(--spot) !important; height:var(--spot) !important; min-width:0 !important; aspect-ratio:1; flex:0 0 auto; }
body.bjb-page .bjb-shoe .bjb-tiny{ white-space:nowrap; max-width:none; }
body.bjb-phone #betActions .act:not(.gold), body.bjb-side #betActions .act:not(.gold){ font-size:12px; letter-spacing:0; padding:0 2px; }
/* phones and short screens, betting: Undo, Clear and Rebet each get room for their word; Deal stays the widest and the only gold one */
body.bjb-phone #betActions, body.bjb-side #betActions{ grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.4fr) !important; }
body.bjb-phone #betActions > *, body.bjb-side #betActions > *{ grid-column:auto !important; }
/* between hands (decision 9): Change bet, Double bet, then Rebet & deal (gold, widest) */
body.bjb-phone #settleActions, body.bjb-side #settleActions{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr) !important; }
body.bjb-phone #settleActions > *, body.bjb-side #settleActions > *{ grid-column:auto !important; }
/* the Rules panel (decision 17): pays table first, then headed sections, the panel scrolls inside itself, never the page */
body.bjb-page #rulesOverlay .panel{ max-width:560px; max-height:calc(100vh - 32px); overflow:auto; text-align:left; }
body.bjb-page .bjb-rules section{ margin-top:14px; }
body.bjb-page .bjb-rules h3{ font:800 12px Inter,sans-serif; letter-spacing:.12em; color:#5A4010; text-transform:uppercase; margin:0 0 6px; }
body.bjb-page .bjb-rules .rules-list{ margin:0; padding-left:18px; }
body.bjb-page .bjb-rules .rules-list li{ font:500 14px/1.5 Inter,sans-serif; margin:0 0 6px; }
body.bjb-page #rulesPaytables .pt{ background:#fff; border-radius:12px; box-shadow:inset 0 0 0 1px #D5E1D8; padding:10px 14px; margin-top:10px; }
body.bjb-page #rulesPaytables .pt-title{ font:800 12px Inter,sans-serif; letter-spacing:.12em; color:#5A4010; text-transform:uppercase; margin-bottom:4px; }
body.bjb-page #rulesPaytables .pt-row{ display:flex; justify-content:space-between; font:600 14px/1.9 Inter,sans-serif; color:#10261A; border-top:1px solid #E7EDE8; }
body.bjb-page #rulesPaytables .pt-row:first-of-type{ border-top:0; }
body.bjb-page #rulesOverlay .rules-rg{ font-size:12px !important; margin-top:12px; }
body.bjb-page #rulesOverlay .panel-close{ width:100%; margin-top:12px; }
body.bjb-page #bjbBrokeSummary{ text-align:left; margin:12px 0; }
body.bjb-page #bjbBrokeSummary h3{ font:800 12px Inter,sans-serif; letter-spacing:.12em; color:#5A4010; text-transform:uppercase; margin:0 0 6px; }
/* start and Resume panels on ivory: the key rules as tags; the Resume line in dark ink */
body.bjb-page .bjb-tags{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:8px 0 12px; }
body.bjb-page .bjb-tags span{ font:700 12px/1 Inter,sans-serif; color:#0B3F25; background:#fff; box-shadow:inset 0 0 0 1px #B9CDBF; border-radius:999px; padding:6px 10px; }
body.bjb-page .coach-resume-line, body.bjb-page .coach-start-or{ color:#1C3326 !important; }
body.bjb-page .coach-resume{ background:linear-gradient(180deg,#F3D488,#D9B25E) !important; color:#1A1408 !important; min-height:48px !important; }
/* a move you can't take: dimmed, but its reason stays readable (decision 3) */
body.bjb-page .bjb-actions .act:disabled{ opacity:1; background:rgba(8,22,15,.55) !important; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14) !important; }
body.bjb-page .bjb-actions .act:disabled .db-label, body.bjb-page .bjb-actions .act:disabled:not(:has(.db-label)){ color:rgba(255,255,255,.38) !important; }
body.bjb-page .bjb-actions .act:disabled .db-sub, body.bjb-page .bjb-actions .act:disabled small{ color:#DCE7E0 !important; opacity:1; }
/* Double Exposure D9: a move the rules don't allow here (Double outside hard 9-11, Split without a pair) looks dimmed like any
   move you can't take, but still answers a tap with the rule (decision 8) */
body.bjb-page .bjb-actions .act.rule-off{ opacity:1; background:rgba(8,22,15,.55) !important; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14) !important; cursor:default; }
body.bjb-page .bjb-actions .act.rule-off .db-label{ color:rgba(255,255,255,.38) !important; }
body.bjb-page .bjb-actions .act.rule-off .db-sub{ color:#DCE7E0 !important; opacity:1; }
/* the moments (decision 18) */
body.bjb-page .acbj-player-hand.bjb-bj .acbj-hand-foot, body.bjb-page .bjb-pill.bjb-bj{ background:linear-gradient(180deg,#F6DA8E,#D7AE55) !important; color:#1A1408 !important; box-shadow:0 0 0 4px rgba(243,210,122,.22) !important; }
body.bjb-page .acbj-player-hand.bjb-bj .bjb-who, body.bjb-page .acbj-player-hand.bjb-bj .acbj-hand-status, body.bjb-page .bjb-pill.bjb-bj .bjb-who{ color:#3A2A08 !important; }
body.bjb-page .acbj-player-hand.bjb-bust .acbj-hand-foot, body.bjb-page .bjb-pill.bjb-bust{ box-shadow:inset 0 0 0 2.5px #F07070 !important; }
body.bjb-page .acbj-player-hand.bjb-bust .acbj-hand-status{ color:#FF9C9C !important; }
body.bjb-page .bjb-was-paid .bet-circle{ gap:4px; }
/* the chips on the circle carry their value, as in the rack (Ronan 2026-11-13 17:23: "chips on betting circle not have numbers?") */
body.bjb-page .acbj-pile .pile-disc b{ position:absolute; inset:0; z-index:1; display:flex; align-items:center; justify-content:center; font:800 13px/1 Inter,sans-serif; color:#1b1406; letter-spacing:-.02em; }
body.bjb-page .acbj-pile .pile-disc::after{ inset:12%; }   /* a wider face, so "500" fits a 36px phone chip */
body.bjb-page .bjb-was-paid .acbj-pile .pile-disc b{ font-size:12px; letter-spacing:-.05em; }
/* phones and sideways: no Tip button while you bet; "Place your bet" says what to do (Ronan 2026-11-13 17:23) */
body.bjb-phone[data-ui-phase="betting"] .bjb-coach, body.bjb-side[data-ui-phase="betting"] .bjb-coach{ display:none !important; }
body.bjb-page .bjb-was-paid .acbj-pile{ width:calc(var(--chip) * .8); height:calc(var(--chip) * .8); }
body.bjb-page .bjb-was-paid .acbj-pile .pile-disc{ width:calc(var(--chip) * .8); height:calc(var(--chip) * .8); }
body.bjb-page .bjb-paid.bj .pile-disc{ --c:#C9A24A; }
body.bjb-page .bjb-was-paid #currentBetVal{ display:none !important; }
body.bjb-page .bjb-paid-val{ color:#8FE3AE !important; font-weight:800; white-space:nowrap; }
body.bjb-page .bjb-paid-val.bj{ color:#F6DA8E !important; }
body.bjb-phone .bjb-bank, body.bjb-side .bjb-bank{ display:grid; grid-template-columns:auto auto; column-gap:6px; align-items:baseline; justify-content:start; }
body.bjb-phone .bjb-bank .bjb-inplay, body.bjb-side .bjb-bank .bjb-inplay{ grid-column:1 / -1; }
body.bjb-phone .bjb-bank label, body.bjb-side .bjb-bank label{ display:block; letter-spacing:.08em; }
body.bjb-page .acbj-hand-foot .bjb-who{ margin-right:0; }
/* the Table panel (decision 8): a drawer from the right on desktop, a sheet from the bottom on phones */
body.bjb-page .bjb-table-ov.open{ display:block !important; }
body.bjb-page .bjb-table-ov .bjb-table-panel{ position:fixed; top:0; right:0; bottom:0; width:min(400px,100vw); max-width:none; max-height:none; height:100%; margin:0; border-radius:18px 0 0 18px !important; box-sizing:border-box; padding:22px 20px; overflow:auto; }
body.bjb-phone .bjb-table-ov .bjb-table-panel{ top:auto; left:0; right:0; bottom:0; width:100%; height:auto; max-height:82vh; border-radius:18px 18px 0 0 !important; }
/* L3 (Ronan 2026-11-12 11:05): on phones and short screens the shoe is one line under Last bet / Last win, kept only when
   the cards stay at least live size (the fit decides: html.bjb-noshoe); the Table sheet always carries the count too */
body.bjb-page .bjb-mat > .bjb-shoe{ display:block; width:auto; flex:0 0 auto; }
body.bjb-page .bjb-mat > .bjb-shoe .bjb-shoebox, body.bjb-page .bjb-mat > .bjb-shoe .bjb-bar{ display:none; }
body.bjb-page .bjb-mat > .bjb-shoe .bjb-tiny{ text-align:left; font-size:12px; letter-spacing:.06em; white-space:nowrap; }
body.bjb-page .bjb-mat > .bjb-shoe #acbjShoeCount{ display:inline; }
body.bjb-page .bjb-mat > .bjb-shoe #acbjShoeCount:not(:empty)::before{ content:" · "; }
html.bjb-noshoe body.bjb-page .bjb-mat > .bjb-shoe{ display:none !important; }
body.bjb-phone .bjb-mat, body.bjb-side .bjb-mat{ gap:8px; }
/* L1 (Ronan 2026-11-12 11:05): the full result panel wherever the cards stay at least live size (html.bjb-fullsettle, set by the fit) */
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-head{ display:flex !important; justify-content:space-between; gap:12px; }
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-rows{ display:flex !important; }
html.bjb-fullsettle body.bjb-page .bjb-settle .sr-returned, html.bjb-fullsettle body.bjb-page .bjb-settle .sr-result{ display:inline !important; }
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-rows > *{ grid-template-columns:auto auto auto minmax(0,1fr) auto auto !important; }
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-totals, html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-total-row{ display:flex !important; }
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-totals{ flex-direction:column; }
/* the result panel never wider than its place; long words end in an ellipsis rather than run over the cards */
body.bjb-page .bjb-settle{ min-width:0; max-width:100%; box-sizing:border-box; overflow:hidden; }
body.bjb-page .bjb-settle .settlement-rows > * > *, body.bjb-page .bjb-settle .settlement-head > *{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
html.bjb-fullsettle body.bjb-page .bjb-settle .settlement-rows > *{ grid-template-columns:auto auto auto minmax(0,1fr) auto auto !important; }
/* split hands: the hand's badge is compact (the total, then how it stands), so every hand keeps its own width */
body.bjb-page.bjb-multi .acbj-hand-foot{ height:30px; line-height:30px; font-size:16px; padding:0 9px; gap:5px; }
body.bjb-page.bjb-multi .acbj-hand-foot .bjb-who{ display:none; }
body.bjb-page.bjb-multi .acbj-hand-status{ font-size:11px; }
body.bjb-page.bjb-multi .acbj-player-hand{ min-width:0; }
/* split hands: each hand's name and its own bet, small, above its badge ("Hand 2 · $25") */
body.bjb-page.bjb-multi .acbj-player-hand .acbj-hand-head{ display:flex; justify-content:center; gap:6px; font:700 12px/1.2 Inter,sans-serif; color:var(--ink); white-space:nowrap; margin:0; padding:0; border:0; background:none; }
body.bjb-page.bjb-multi .acbj-player-hand .acbj-hand-head > *{ font:inherit; color:inherit; margin:0; padding:0; background:none; border:0; }
body.bjb-page.bjb-multi .acbj-player-hand .acbj-hand-wager{ color:var(--gold2); }
/* S2 (Ronan 2026-11-12 11:38): phones and sideways, split hands: one row, each hand's cards overlapped, the bet circle hidden */
body.bjb-phone.bjb-multi .bjb-spot, body.bjb-side.bjb-multi .bjb-spot{ display:none !important; }
body.bjb-phone.bjb-multi .acbj-player-hand .acbj-cards, body.bjb-side.bjb-multi .acbj-player-hand .acbj-cards{ width:calc(var(--cw) * 1.6) !important; --card-gap:calc(var(--cw) * -.4); }
body.bjb-phone.bjb-multi .bjb-hands, body.bjb-side.bjb-multi .bjb-hands{ gap:8px; }
body.bjb-phone.bjb-multi .acbj-hand-foot, body.bjb-side.bjb-multi .acbj-hand-foot{ font-size:14px; padding:0 6px; height:26px; line-height:26px; }
body.bjb-phone.bjb-multi .acbj-player-hand .acbj-hand-head, body.bjb-side.bjb-multi .acbj-player-hand .acbj-hand-head{ font-size:11px; gap:4px; }
/* S2: on phones a split hand's badge is two short lines (the total, then how it stands), so four hands share the row */
body.bjb-phone.bjb-multi .acbj-hand-foot, body.bjb-side.bjb-multi .acbj-hand-foot{ height:22px; line-height:22px; font-size:12px; padding:0 4px; gap:2px; border-radius:11px; }
body.bjb-phone.bjb-multi .acbj-hand-status, body.bjb-side.bjb-multi .acbj-hand-status{ font-size:10px; }
/* decision 7: the running count lives in Table under Coach, never on the felt's shoe line */
body.bjb-page .bjb-shoe #acbjShoeCount{ display:none !important; }
/* brief §25: the result arrives in 300ms */
body.bjb-page .bjb-settle{ transition:opacity 300ms ease; }
/* brief §20: while the cards are dealt, the dealer checks and the dealer plays, no decision is offered: the row keeps its place
   (nothing on the table moves) but is not shown */
body.bjb-page[data-ui-phase="dealing"] #acbjDecision, body.bjb-page[data-ui-phase="checking"] #acbjDecision, body.bjb-page[data-ui-phase="dealer"] #acbjDecision{ visibility:hidden; transition:none !important; }
/* Q1 on phones and short screens: the tip leaves the table and is read through the round button. Where there is a tip but no
   suggested move (betting, the result), the button reads "Tip" and opens just the tip */
body.bjb-phone.coach-on.bjb-has-tip .bjb-coach, body.bjb-side.coach-on.bjb-has-tip .bjb-coach{ display:flex; }
body.bjb-phone.bjb-has-tip:not(.bjb-has-hint) .bjb-coach-words, body.bjb-side.bjb-has-tip:not(.bjb-has-hint) .bjb-coach-words{ display:none; }
body.bjb-phone.bjb-has-tip:not(.bjb-has-hint) .bjb-coach, body.bjb-side.bjb-has-tip:not(.bjb-has-hint) .bjb-coach{ padding:0; background:none; box-shadow:none; }
/* your hand centred under the dealer's cards; the bet circle beside it (placed by the kit) */
body.bjb-page.bjb-spot-aside .bjb-spot{ position:absolute; top:50%; transform:translateY(-50%); margin:0; }
body.bjb-one.bjb-multi .bjb-hands, body.bjb-two.bjb-multi .bjb-hands{ column-gap:20px; }
/* brief §20: the chips are for betting only; from the deal to the result they are not shown (their place is kept) */
body.bjb-page:not([data-ui-phase="betting"]) .bjb-chips{ visibility:hidden; }
/* brief §20: Hit and Stand are the largest actions (decision 3: equal to each other, neutral) */
body.bjb-one .bjb-actions #acbjDecision .act.big{ flex:1.6 1 0; }
/* two columns: the decision is two rows, Hit and Stand above (the largest), Double and Split below */
body.bjb-two[data-ui-phase="player"] #acbjDecision, body.bjb-two[data-ui-phase="dealing"] #acbjDecision, body.bjb-two[data-ui-phase="checking"] #acbjDecision, body.bjb-two[data-ui-phase="dealer"] #acbjDecision{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:8px; }
body.bjb-two #acbjDecision > .act{ grid-column:span 6; }
body.bjb-two #acbjDecision > .act:not(.big){ grid-column:span 5; }
body.bjb-two #acbjDecision > #btnDouble{ grid-column:2 / span 5; }   /* Double and Split a little narrower than Hit and Stand (brief §20: Hit and Stand the largest) */
body.bjb-two #acbjDecision:has(> .act:not(.big):nth-of-type(5)) > .act:not(.big){ grid-column:span 4; }
body.bjb-two #acbjDecision > .act.big{ min-height:60px; }
body.bjb-page.bjb-multi .acbj-player-hand{ flex:0 0 auto; }
body.bjb-side.bjb-dstack .bjb-dealer-row{ min-height:calc(var(--cw) * 1.4 + 38px); }
/* H2 (Ronan 2026-11-12 13:09): desktop too, the bet circle hides while a round is split; each hand shows its name and bet */
body.bjb-page.bjb-multi .bjb-spot{ display:none !important; }
/* phones and short screens: Last bet and Last win wrap to two lines rather than run under the balance (brief PH4: $2,000 bets) */
body.bjb-phone .bjb-mathead, body.bjb-side .bjb-mathead{ flex-wrap:wrap; column-gap:10px; row-gap:2px; }
body.bjb-phone .bjb-mathead .bjb-dot{ display:none; }
/* desktop: the utility buttons in the table's top right corner, Last bet / Last win under them (brief T-B1) */
body.bjb-two .bjb-top .bjb-utils{ order:-1; }
body.bjb-two #acbjDecision:has(> .act:not(.big):nth-of-type(5)) > .act:not(.big){ grid-column:span 4; }
/* phones and short screens: the shoe is in the mat and the discards hidden, so the dealer's row is just the dealer, centred */
body.bjb-phone .bjb-dealer-row, body.bjb-side .bjb-dealer-row{ display:flex; justify-content:center; }
/* ---------- the type floor (readability rule, Ronan 2026-10-04 and the casino check): 12px at least, 13px for what a
   player must read to play (money, results, what a button does), 7:1 against what is drawn behind it ---------- */
body.bjb-page .bjb-utils .gold-icon-btn .btn-label, body.bjb-page .bjb-utils .gold-icon-btn .btn-label *{ font-size:12px !important; }
body.bjb-page.bjb-phone #btnCoach .btn-state, body.bjb-page.bjb-two #btnCoach .btn-state, body.bjb-page.bjb-side #btnCoach .btn-state{ font-size:12px !important; }
body.bjb-page .bjb-bank label{ font-size:12px !important; }
body.bjb-page .bjb-inplay, body.bjb-phone .bjb-inplay, body.bjb-side .bjb-inplay{ font-size:13px !important; }
body.bjb-page .bjb-actions .act .db-sub, body.bjb-page .bjb-actions .act small{ font-size:13px !important; }
body.bjb-page .coach-hint-tag{ font-size:12px !important; }
body.bjb-page .bjb-strip i{ height:20px; min-width:20px; font-size:12px; line-height:20px; }
body.bjb-page .bjb-settle, body.bjb-page .bjb-settle *{ font-size:13px !important; }
body.bjb-page.bjb-multi .acbj-hand-status, body.bjb-phone.bjb-multi .acbj-hand-status, body.bjb-side.bjb-multi .acbj-hand-status{ font-size:12px !important; }
body.bjb-page.bjb-multi .acbj-player-hand .acbj-hand-head{ font-size:12px !important; }
body.bjb-phone.bjb-multi .acbj-hand-foot, body.bjb-side.bjb-multi .acbj-hand-foot{ font-size:13px !important; }
/* the mat's figures in print ink (the win green missed 7:1 on the bare cloth) */
body.bjb-page .bjb-mathead .val{ color:#FFFFFF !important; }
/* between hands on desktop: three buttons share the column, so their words are one size down (still above the floor) */
body.bjb-one #settleActions .act, body.bjb-two #settleActions .act{ font-size:14px; letter-spacing:.02em; padding:0 6px; }
/* one column: each action button keeps one width whatever its words say, so nothing beside it moves (brief §8) */
/* fixed button widths keep the row still on split; only where the one-column row has the room */
@media (min-width:1100px){
body.bjb-one #acbjDecision .act.big{ flex:0 0 160px !important; width:160px; }
body.bjb-one #acbjDecision .act:not(.big){ flex:0 0 140px !important; width:140px; }
body.bjb-one #betActions .act:not(.gold){ flex:0 0 96px !important; width:96px; }
body.bjb-one #betActions .act.gold, body.bjb-one #settleActions .act{ flex:0 0 160px !important; width:160px; }
}
/* one column, badge beside the cards: the cards stay centred over your hand and the badge stands just to their right */
body.bjb-one:not(.bjb-dstack) .bjb-dealer{ position:relative; }
body.bjb-one:not(.bjb-dstack) .bjb-dealer > .bjb-pill{ position:absolute; left:calc(100% + 16px); top:50%; transform:translateY(-50%); }
/* P1 (Ronan 2026-11-12 15:57): phones and sideways keep five header buttons; Sound is a switch in Settings */
body.bjb-phone #btnSound, body.bjb-side #btnSound{ display:none !important; }
/* the Coach state on compact layouts: ✓ / – inside the label, no tab */
body.bjb-page.bjb-phone #btnCoach .btn-state, body.bjb-page.bjb-side #btnCoach .btn-state{ position:static; transform:none; padding:0; background:none; box-shadow:none !important; margin-left:3px; letter-spacing:0; }
/* the result buttons: each label on one line (Change bet / Double bet wrapped in the shared row); the two plain buttons take their
   words' width, Rebet & Deal the rest */
body.bjb-page #settleActions .act{ white-space:nowrap; }
body.bjb-two #settleActions .act:not(.gold){ flex:0 0 auto !important; padding:0 10px; }
body.bjb-phone #settleActions, body.bjb-side #settleActions{ grid-template-columns:max-content max-content minmax(0,1fr) !important; }
body.bjb-phone #settleActions .act, body.bjb-side #settleActions .act{ letter-spacing:0; padding:0 6px; }
/* two columns: the Coach state sits under the word inside the button (the tab above the button ran outside it at 12px) */
body.bjb-page.bjb-two #btnCoach .btn-state{ position:static; transform:none; display:block; margin:2px auto 0; padding:1px 5px; line-height:1.1 !important; }
/* upright phones: the result's three buttons do not fit one row at 13px (Pick new chips alone is 94px): Change bet and Double bet
   share the first row, Rebet & Deal takes the full second row, under the thumb (inside the 114px the actions slot already keeps) */
body.bjb-phone #settleActions{ grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
body.bjb-phone #settleActions > .act.gold{ grid-column:1 / -1 !important; order:2; }
/* upright phones: the five header buttons share the row by their words' width (Coach ✓ needs more than New) */
body.bjb-phone .bjb-utils .gold-icon-btn{ flex:1 1 auto !important; width:auto !important; min-width:44px; }
body.bjb-page.bjb-two #btnCoach .btn-label{ display:flex !important; flex-direction:column; align-items:center; line-height:1.1; }
body.bjb-page.bjb-two #btnCoach{ display:flex !important; flex-direction:column; justify-content:center; align-items:center; padding-top:0 !important; padding-bottom:0 !important; }
/* four split hands on a 330px phone: each badge fits its quarter of the row with 8px between neighbours (69px slots) */
body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot{ padding:0 3px !important; gap:1px !important; }
@media (max-width:349px){ body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot{ padding:0 2px !important; gap:0 !important; } }
/* narrow phones (330px): six 48px chips ran edge to edge of the felt; at 44px (the touch floor) they keep 12px clear of its edge */
@media (max-width:345px){ body.bjb-phone .bjb-chips .chip, body.bjb-phone #chipTray .chip{ width:44px !important; height:44px !important; } }
@media (max-width:349px){ body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-player-hand .acbj-hand-head{ gap:3px !important; letter-spacing:0 !important; } }
/* ---------- B1–B3: the first bet made obvious (Ronan 2026-11-12 21:03) ---------- */
/* B1 the empty circle asks: "Place bet" (phones and sideways: "Bet") on the plate where the amount goes, and a soft gold pulse on the ring */
body.bjb-page .bjb-spot .bjb-spot-ask{ display:none; }
body.bjb-page .bjb-spot.bjb-empty .current-bet-val{ display:none; }
body.bjb-page .bjb-spot.bjb-empty .bjb-spot-ask{ display:block; font-weight:800; font-size:14px; line-height:inherit; color:var(--gold2); background:var(--plate); padding:2px 9px; border-radius:9px; box-shadow:inset 0 0 0 1px var(--gold); white-space:nowrap; }
body.bjb-page .bjb-spot .bjb-ask-short{ display:none; }
body.bjb-phone .bjb-spot .bjb-ask-long, body.bjb-side .bjb-spot .bjb-ask-long{ display:none; }
body.bjb-phone .bjb-spot .bjb-ask-short, body.bjb-side .bjb-spot .bjb-ask-short{ display:inline; }
body.bjb-page .bjb-spot.bjb-empty{ cursor:pointer; }
body.bjb-page[data-ui-phase="betting"] .bjb-spot{ cursor:pointer; }
@keyframes bjbAsk{ 0%,100%{ box-shadow:inset 0 0 0 2px var(--gold2), 0 0 0 0 rgba(243,210,122,.45); } 50%{ box-shadow:inset 0 0 0 2.5px var(--gold2), 0 0 0 9px rgba(243,210,122,0); } }
body.bjb-page .bjb-spot.bjb-empty .bet-circle{ animation:bjbAsk 1.8s ease-in-out infinite; }
/* B2 the chip rack lifts in gold on the first round of a visit, until a chip is placed */
body.bjb-page.bjb-firstbet .bjb-chips .chip{ box-shadow:0 0 0 2px var(--gold2), 0 0 12px 2px rgba(243,210,122,.40); }
/* B3 the dimmed Deal says why; a tap on it passes to its row, which nudges the chips */
body.bjb-page #acbjPrimaryAction:disabled{ pointer-events:none; }
@keyframes bjbNudge{ 0%,100%{ transform:translateX(0); } 20%{ transform:translateX(-6px); } 40%{ transform:translateX(6px); } 60%{ transform:translateX(-4px); } 80%{ transform:translateX(4px); } }
body.bjb-page .bjb-chips.bjb-nudge .chip-row{ animation:bjbNudge .5s ease-in-out; }
@media (prefers-reduced-motion: reduce){
  body.bjb-page .bjb-spot.bjb-empty .bet-circle{ animation:none; box-shadow:inset 0 0 0 2.5px var(--gold2), 0 0 0 4px rgba(243,210,122,.22); }
  body.bjb-page .bjb-chips.bjb-nudge .chip-row{ animation:none; }
  body.bjb-page .bjb-chips.bjb-nudge .chip{ box-shadow:0 0 0 3px var(--gold2) !important; }
}
/* B3 on phones: Deal's column takes the room for its reason on one line ("Add a chip first"), every state alike so nothing moves */
body.bjb-phone #betActions, body.bjb-side #betActions{ grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.9fr) !important; }
body.bjb-phone #bjbDealSub, body.bjb-side #bjbDealSub{ white-space:nowrap; }
/* phones and sideways: Hit and Stand take their half of the row (the desktop 150px floor ran 1px past the row at 330px) */
body.bjb-phone .bjb-actions .act.big, body.bjb-side .bjb-actions .act.big{ min-width:0 !important; }
/* brief §8 (no hand moves as play goes on): on phones and sideways each split hand's badge is its slot's full width, so the cards'
   size never depends on a badge's words (Playing / Waiting / Stands get shorter as the round goes on) */
body.bjb-phone.bjb-multi .acbj-player-hand .acbj-hand-foot, body.bjb-side.bjb-multi .acbj-player-hand .acbj-hand-foot{ width:100%; max-width:100%; box-sizing:border-box; justify-content:center; }
/* A1 (Atlantic City, Ronan 2026-11-13 08:13): a fifth decision button (Surrender) joins Double and Split as three equal small buttons */
body.bjb-two #acbjDecision:has(> .act:not(.big):nth-of-type(5)) > #btnDouble{ grid-column:auto / span 4; }
/* C1 (Ronan 2026-11-13 08:33): a rule the arc already prints is not printed again on the second line */
body.bjb-page .bjb-printed li.bjb-in-arc{ display:none !important; }
/* A1 one-column: five decision buttons in one row (game.css caps an action row at 640px, which held four) */
body.bjb-one #acbjDecision{ max-width:none !important; }
/* A2 on phones and sideways: Surrender's sub ("Half back · $12.50") may take two lines in a third of the row */
body.bjb-phone #acbjDecision .act.bjb-surrender, body.bjb-side #acbjDecision .act.bjb-surrender{ padding:0 2px !important; }
body.bjb-phone #acbjDecision .act.bjb-surrender .db-sub, body.bjb-side #acbjDecision .act.bjb-surrender .db-sub{ letter-spacing:0 !important; line-height:1.15; }
body.bjb-phone #acbjDecision:has(> .bjb-surrender) > .act:not(.big), body.bjb-side #acbjDecision:has(> .bjb-surrender) > .act:not(.big){ min-height:54px !important; height:auto !important; }
/* the full result panel's dealer line: "Dealer result" and its total kept apart (they ran together as "Dealer result20", seen 2026-11-13) */
body.bjb-page .bjb-settle .settlement-dealer{ display:flex; gap:6px; align-items:baseline; }
/* E1 (Ronan 2026-11-13 16:54): the table fills the window's width on desktop, up to 1600px (game.css capped it at 1100px,
   leaving bands of the page's black either side) */
body.bjb-page .table-wrap.bjb-rail{ max-width:1600px !important; width:100% !important; align-self:center; box-sizing:border-box; }
/* D3 (Single Deck, Ronan 2026-11-13 16:52): the hand-held deck: a small squared deck of card backs before "1 deck · 39 left" */
/* D3 (Single Deck, Ronan 2026-11-13 16:52): a hand-held deck in the shoe's place — a small stack of card backs, not the shoe box */
body.bjb-deck .bjb-shoebox{ width:40px; height:56px; border-radius:4px; background:#15203B; margin:0 6px 6px 0;
  box-shadow:inset 0 0 0 1.5px #C9A35E, 3px 3px 0 -1px #15203B, 3px 3px 0 0 rgba(201,163,94,.7), 6px 6px 0 -1px #15203B, 6px 6px 0 0 rgba(201,163,94,.5), 0 6px 14px rgba(0,0,0,.4); }
body.bjb-deck .bjb-shoebox::after{ display:none; }
/* where the box is not drawn (the mat), a tiny deck before the words */
body.bjb-page.bjb-deck .bjb-mat > .bjb-shoe .bjb-tiny::before{ content:""; display:inline-block; width:12px; height:17px; margin-right:7px; vertical-align:-3px; border-radius:2px;
  background:#15203B; box-shadow:inset 0 0 0 1.5px #C9A35E, 2px 2px 0 -0.5px #15203B, 2px 2px 0 1px rgba(201,163,94,.7), 4px 4px 0 -0.5px #15203B, 4px 4px 0 1px rgba(201,163,94,.5); }

/* ---------- European (no hole card): EU2 the "one card" badge, EU3 the warning (Ronan 2026-11-14 05:59) ---------- */
body.bjb-page .bjb-onecard-tag{ display:none; }
body.bjb-page.bjb-nohole.bjb-onecard .bjb-onecard-tag{ display:inline-block; align-self:center; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#1A1408; background:var(--gold2); border-radius:9px; padding:0 7px; line-height:18px; height:18px; }
body.bjb-phone .bjb-onecard-tag, body.bjb-side .bjb-onecard-tag{ display:none !important; }   /* EU10b (Ronan 2026-11-14 06:52): no badge on phones and sideways */
/* Double Exposure D4 (Ronan 2026-11-15 07:28): "both up" in the dealer's badge while the dealer has cards; desktop only */
body.bjb-page .bjb-bothup-tag{ display:none; }
body.bjb-page.bjb-exposed:not([data-ui-phase="betting"]) .bjb-bothup-tag{ display:inline-block; align-self:center; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#1A1408; background:var(--gold2); border-radius:9px; padding:0 7px; line-height:18px; height:18px; }
body.bjb-phone .bjb-bothup-tag, body.bjb-side .bjb-bothup-tag{ display:none !important; }
body.bjb-page .bjb-notes .bjb-warn{ color:var(--gold2); font-weight:700; }
body.bjb-phone .bjb-notes .bjb-warn{ background:rgba(2,8,5,.92); border-radius:12px; padding:6px 10px; box-shadow:inset 0 0 0 1px var(--gold); font-size:13px; }
/* European: the warning line and a Coach tip can show together; one desktop column reserves both lines so the hands never move (one size, nothing moves) */
@media (min-height:800px){ body.bjb-page.bjb-nohole.bjb-one .bjb-notes{ min-height:calc(2 * 14px * 1.35 + 8px); justify-content:flex-start; } }   /* short one-column windows have no spare height to reserve */
/* European EU3 on phones and sideways: the warning sits over the arc (as the refusal notice, Q1); the arc steps aside while it shows, as at the result (Q2) */
body.bjb-phone:has(.bjb-warn:not(:empty)) .bjb-arc, body.bjb-side:has(.bjb-warn:not(:empty)) .bjb-arc{ visibility:hidden; }
/* Spanish 21 S1 (Ronan 2026-11-14 18:32): the Special 21s printed on the felt, right of your hand (desktop); phones and sideways: in Rules */
body.bjb-page .bjb-pays21{ position:absolute; right:8px; top:50%; transform:translateY(-50%); display:flex; flex-direction:column; gap:6px; align-items:flex-start; z-index:1; }
body.bjb-phone .bjb-pays21, body.bjb-side .bjb-pays21{ display:none !important; }
body.bjb-page .bjb-pays21 .bjb-pays-t{ font:800 12px/1.2 Inter,sans-serif; letter-spacing:.12em; color:var(--ink); text-transform:uppercase; }
body.bjb-page .bjb-pays21 .bjb-pays-g{ display:grid; grid-template-columns:auto auto; gap:2px 14px; font:700 12px/1.35 Inter,sans-serif; color:var(--ink); letter-spacing:.04em; }
body.bjb-page .bjb-pays21 .bjb-pays-g b{ text-align:right; font-weight:800; }
body.bjb-page .bjb-pays21 .bjb-pays-f{ font:700 12px/1.35 Inter,sans-serif; color:var(--ink); max-width:130px; }
/* Spanish 21 S8: the chart's heading in Why? */
body.bjb-page .bjb-chart-h{ font:800 12px Inter,sans-serif; letter-spacing:.12em; text-transform:uppercase; margin:10px 0 4px; }
/* Spanish 21 S7: a button the game hides (Rescue until a Double; Hit while Rescue shows) stays hidden under the buttons' own display */
body.bjb-page .bjb-actions .act[hidden]{ display:none !important; }
/* S1: the hands' row is never shorter than the Special 21s (166px measured) plus 8px each side, so the table stays clear of them at any card size */
body.bjb-one .bjb-hands:has(> .bjb-pays21), body.bjb-two .bjb-hands:has(> .bjb-pays21){ min-height:max(calc(var(--cw) * 1.4 + 50px), calc(var(--spot) + 40px), 182px) !important; }
/* where one column is too tall for the window, the fit may lay the Special 21s two pays to a row (about 95px tall; html.bjb-pays-wide) */
html.bjb-pays-wide body.bjb-page .bjb-pays21 .bjb-pays-g{ grid-template-columns:auto auto auto auto; }
html.bjb-pays-wide body.bjb-page .bjb-pays21 .bjb-pays-g b{ margin-right:6px; }
html.bjb-pays-wide body.bjb-page .bjb-pays21 .bjb-pays-f{ max-width:none; }
html.bjb-pays-wide body.bjb-one .bjb-hands:has(> .bjb-pays21), html.bjb-pays-wide body.bjb-two .bjb-hands:has(> .bjb-pays21){ min-height:max(calc(var(--cw) * 1.4 + 50px), calc(var(--spot) + 40px), 111px) !important; }
/* S11: a button whose label cannot clear its key mark even at 13px shows no mark (the key still works) */
body.bjb-page .bjb-actions .act.bjb-nokey::after{ display:none !important; }
/* Spanish 21 S9: the longer shoe line is wider than the shoebox: on desktop it takes two lines inside the shoe's own width, so the dealer's cards keep clear of it (BJ-2) */
body.bjb-page.bjb-deckword .bjb-dealer-row > .bjb-shoe .bjb-tiny{ white-space:normal; max-width:118px; display:block; text-align:center; }
/* S1: the tight column (html.bjb-pays-tight): rows closer and the footer on one line, about 128px tall, for short narrow desktops */
html.bjb-pays-tight body.bjb-page .bjb-pays21{ gap:3px; }
html.bjb-pays-tight body.bjb-page .bjb-pays21 .bjb-pays-g{ line-height:1.2; }
html.bjb-pays-tight body.bjb-page .bjb-pays21 .bjb-pays-f{ max-width:none; white-space:nowrap; }
html.bjb-pays-tight body.bjb-one .bjb-hands:has(> .bjb-pays21), html.bjb-pays-tight body.bjb-two .bjb-hands:has(> .bjb-pays21){ min-height:max(calc(var(--cw) * 1.4 + 50px), calc(var(--spot) + 40px), 144px) !important; }
body.bjb-page .bjb-pays21[style*="left"]{ right:auto; }
/* Spanish 21 S1b (Ronan 2026-11-14 22:14): while your hands are split the Special 21s step aside (none can pay on a split hand; Rules keeps them); back at the next deal */
body.bjb-multi .bjb-pays21{ display:none !important; }
/* F11 / F5 (Ronan 2026-11-15 09:57): a split hand's line that still overruns shows its tag (Free Bet's FREE) in place of the amount */
body.bjb-page .acbj-hand-head.bjb-tagonly .bjb-amt{ display:none !important; }
body.bjb-page .acbj-hand-head.bjb-tagonly .bjb-tag{ margin-left:0 !important; }
/* F11 (Ronan 2026-11-15 10:44, "go with recc"): four split hands on phones and sideways: a hand's badge cannot hold its total and a
   word (Soft 18 Waiting 92-103px in a 68-98px hand), so it shows the total only. The hand's look carries the state (gold ring =
   in play, dimmed = finished, the top line's amount = doubled); at the result the badge takes the result colour (the words are in
   the result rows). Three hands and desktop unchanged. Checked by harness/blackjack-b-four-hands.js. */
body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-status, body.bjb-side.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-status{ display:none !important; }
body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.win), body.bjb-side.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.win){ color:var(--win) !important; box-shadow:inset 0 0 0 2px var(--win) !important; }
body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.loss), body.bjb-side.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.loss){ color:var(--lose) !important; box-shadow:inset 0 0 0 2px var(--lose) !important; }
body.bjb-phone.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.push), body.bjb-side.bjb-multi .acbj-hands[data-count="4"] .acbj-hand-foot:has(.acbj-hand-status.push){ color:#D9DED9 !important; box-shadow:inset 0 0 0 2px #9AA59E !important; }
/* Ronan 2026-11-15 11:02 ("add more chips text gets distorted"): each chip's value sat on a layer above every chip, so the lower chips'
   values showed through the top chip and ran together. Each chip is its own layer (a higher chip covers the ones under it) and only
   the top chip prints its value. Checked by harness/chip-centred.js (one value drawn, whole, on a stack of 2 to 6 mixed chips). */
body.bjb-page .acbj-pile .pile-disc{ isolation:isolate; }
body.bjb-page .acbj-pile .pile-disc:not(:last-child) b{ visibility:hidden; }
