.bc-table {
  --bc-ivory:#fff1ce;
  --bc-gold:#efcb91;
  --bc-line:#d8bc7c56;
  max-width:44rem;
  margin:0 auto;
  padding:clamp(7px,2.25vw,15px);
  color:var(--bc-ivory);
  background:linear-gradient(135deg,#513646 0,#2c222b 38%,#25242f 100%);
  border:1px solid #ab8861;
  border-radius:17px 17px 12px 12px;
  text-align:left;
  box-shadow:0 7px 20px #070b14a3,inset 0 0 0 3px #251b24;
}
.bc-table *, .bc-table *::before, .bc-table *::after {box-sizing:border-box}
.bc-felt {
  position:relative;
  padding:clamp(9px,2.65vw,18px);
  color:var(--bc-ivory);
  background:radial-gradient(ellipse at top,#51425770 0,transparent 68%),linear-gradient(108deg,#233644 0,#182d39 42%,#3d2b39 100%);
  border:1px solid var(--bc-line);
  border-radius:10px;
}
.bc-deal-label {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:5px 12px;
  padding:0 0 8px;
  color:#f8dda9;
  font:650 clamp(.78rem,3.3vw,1rem)/1.35 var(--serif,serif);
  letter-spacing:.06em;
  text-align:center;
}
.bc-deal-label>span {font-size:.74em;color:var(--bc-gold)}
.bc-hands {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,2.1vw,14px)}
.bc-hand {
  --bc-accent:#9ec9ef;
  min-width:0;
  padding:clamp(5px,1.7vw,13px);
  background:#10202c65;
  border:1px solid #99bfdf52;
  border-radius:6px;
}
.bc-hand-banker {--bc-accent:#ffb4bc;background:#321c276d;border-color:#ffb4bc50}
.bc-hand-won {border-color:#f7d891;box-shadow:inset 0 0 0 1px #edc7844b}
.bc-hand-label {display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;justify-content:space-between;margin:0 0 8px}
.bc-table .bc-hand h2 {margin:0;color:var(--bc-accent);font-size:clamp(.77rem,3.5vw,1.1rem);line-height:1.16}
.bc-score {line-height:1;color:var(--bc-ivory);font-size:.7rem;white-space:nowrap}
.bc-score b {font:700 clamp(1.1rem,4.4vw,1.6rem)/1 Georgia,serif;color:#ffe0a3}
.bc-cards {display:grid;grid-template-columns:repeat(3,minmax(0,clamp(29px,12vw,73px)));align-items:center;gap:clamp(3px,1vw,8px)}
.bc-card {
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:5/7;
  color:#182936;
  background:linear-gradient(136deg,#fffaf0,#f2e8ce);
  border:1px solid #d2b981;
  border-radius:clamp(3px,1vw,6px);
  box-shadow:0 2px 5px #0c111a86;
}
.bc-card b {position:absolute;left:10%;top:5%;font:700 clamp(.69rem,3.7vw,1.29rem)/1 Georgia,serif}
.bc-card i {font:600 clamp(1rem,6.2vw,2.15rem)/1 Georgia,serif}
.bc-card-red {color:#a33249}
.bc-card-back {background:repeating-linear-gradient(135deg,#a38b6720 0 2px,transparent 2px 5px),#294153;border-color:#a38b67}
.bc-hand-banker .bc-card-back {background:repeating-linear-gradient(135deg,#cfb0a026 0 2px,transparent 2px 5px),#684153}
.bc-card-back::after {
  content:"";
  width:24%;
  aspect-ratio:1;
  transform:rotate(45deg);
  border:1px solid #e8ce9e;
  background:#493647;
}
.bc-card-empty {background:#141e294f;border:1px dashed #eddac155;box-shadow:none}
.bc-dealing .bc-card[style] {animation:bc-turn .28s cubic-bezier(.2,.68,.27,1) var(--bc-appear) both}
@keyframes bc-turn {from{opacity:0;transform:translateY(-13px) scale(.84)}to{opacity:1;transform:translateY(0) scale(1)}}
.bc-controls {padding:0 clamp(2px,.8vw,6px)}
.bc-table .bc-invite {margin:10px 0;color:#eedcc3;font:500 .84rem/1.55 var(--serif,serif)}
.bc-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(3px,1vw,8px);margin-top:8px}
.bc-table button {
  min-width:0;
  min-height:45px;
  padding:6px 3px;
  color:var(--bc-ivory);
  font-family:inherit;
  touch-action:manipulation;
}
.bc-table .bc-pick {
  display:grid;
  align-content:center;
  gap:4px;
  min-height:54px;
  text-align:center;
  background:#39465d;
  border:1px solid #a1b7c676;
  border-radius:6px;
}
.bc-table .bc-pick-banker {background:#653d51;border-color:#d9a6b074}
.bc-table .bc-pick-tie {background:#534533;border-color:#e1c99568}
.bc-pick>strong {font-size:clamp(.75rem,3vw,1.01rem);line-height:1.1;white-space:nowrap}
.bc-pick>span {color:#fae4c6;font-size:clamp(.65rem,2.8vw,.83rem);line-height:1.2;white-space:nowrap}
.bc-pick b {font-weight:670}
.bc-table .bc-pick[aria-pressed=true] {border-color:#ffe2a9;box-shadow:inset 0 0 0 1px #ffe2a9}
.bc-table button:focus-visible {outline:2px solid #fff0b4;outline-offset:2px}
.bc-table .bc-commission {margin:7px 0 10px;color:#e4d0b7;font-size:.72rem;line-height:1.4}
.bc-betbar {
  display:grid;
  grid-template-columns:1fr minmax(5.2rem,.86fr);
  align-items:center;
  gap:6px;
  padding:10px 0 2px;
  border-top:1px solid var(--bc-line);
}
.bc-betbar>div {display:grid;gap:3px;font-size:.86rem;line-height:1.15}
.bc-betbar>div b,.bc-result b {color:#ffe3aa;font:700 clamp(1.24rem,5.2vw,1.63rem)/1 Georgia,serif}
.bc-betbar small {color:#e7d8bf;font-size:.75rem}
.bc-table .bc-deal {color:#30273a;background:#f4d9a5;border:1px solid #ffe9b8;border-radius:6px;font-size:.94rem;font-weight:720}
.bc-table .bc-deal:disabled {color:#dbd0c7;background:#45424b;border-color:#9e8e94}
.bc-result,.bc-table .bc-status {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:4px 14px;
  margin:0;
  padding:10px 8px 3px;
  color:#ead9bf;
  font-size:.86rem;
}
.bc-result>strong {color:#ffe4ad;font:700 1rem/1.4 var(--serif,serif)}
@media (prefers-reduced-motion:reduce) {
  .bc-dealing .bc-card[style] {animation:none}
}
