body[data-page^="bj"] {
  --bj-teal: #0f8a82;
  --bj-teal-2: #0a6e68;
  --bj-purple: #3b1458;
  --bj-pink: #9b3dff;
  --header-h: 0px;
  --bottom-h: 0px;
  padding: 0 !important;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 123, 255, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(0, 229, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #00050a 0%, #050a15 100%);
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: manipulation;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  height: 100svh;
  max-height: 100dvh;
  max-height: 100svh;
}
html:has(body[data-page^="bj"]),
html.bj-lock {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
html.mv-maint body[data-page^="bj"] { padding-top: 0 !important; }
body[data-page^="bj"] .site-header,
body[data-page^="bj"] .desk-side,
body[data-page^="bj"] .site-footer,
body[data-page^="bj"] .bottom-nav,
body[data-page^="bj"] .drawer,
body[data-page^="bj"] .mv-chat-fab,
body[data-page^="bj"] .mv-chat-box {
  display: none !important;
}
@media (min-width: 1080px) {
  body[data-page^="bj"] { padding-left: 0 !important; }
}

.bj-app {
  width: min(430px, 100%);
  margin: 0 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #050a15;
  color: #f0f6ff;
  position: relative;
  overflow: hidden;
}

.bj-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
  background: #16181e;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  z-index: 5;
}
.bj-top-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 6px;
  min-width: 0;
}
.bj-wordmark {
  display: none;
  line-height: 0;
}
.bj-wordmark img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(260px, 42vw);
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}
.bj-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: #000;
  border-radius: 10px;
  font-weight: 500;
}
.bj-cash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 6px 0 14px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 16, 28, 0.92);
  color: #f0f6ff;
  font-weight: 800;
  cursor: pointer;
}
.bj-cash b { font-size: 0.95rem; }
.bj-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2ebd5b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
}
.bj-toast {
  margin: 10px 16px 0;
  padding: 10px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0f6ff;
  background: rgba(8, 16, 32, 0.92);
  border: 1px solid rgba(232, 197, 106, 0.55);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  z-index: 4;
}
.bj-toast.is-win { border-color: #e6c978; }
.bj-toast.is-lose,
.bj-toast.is-push { border-color: #e6c978; }

.bj-felt {
  position: relative;
  flex: 1;
  margin: 8px 8px 0;
  padding: 0;
  background: transparent;
  display: flex;
  min-height: 0;
}
.bj-rail {
  flex: 1;
  display: flex;
  min-height: 0;
  padding: 11px 10px 0;
  border-radius: 160px 160px 28px 28px / 72px 72px 18px 18px;
  background:
    linear-gradient(180deg, #8a5a32 0%, #5a3218 38%, #2c160c 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 214, 150, 0.38),
    inset 0 -8px 16px rgba(0, 0, 0, 0.35);
}
.bj-cloth {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 148px 148px 22px 22px / 62px 62px 14px 14px;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(80, 180, 120, 0.35), transparent 46%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.35), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #147a4a 0%, #0c5a36 48%, #083e28 100%);
  box-shadow:
    inset 0 0 0 3px rgba(232, 197, 106, 0.92),
    inset 0 0 0 9px rgba(8, 48, 32, 0.55),
    inset 0 28px 50px rgba(0, 0, 0, 0.22);
}
.bj-arc {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 34%;
  height: 46%;
  border: 2px solid rgba(232, 197, 106, 0.55);
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 92% 92%;
  pointer-events: none;
  z-index: 1;
}
.bj-brand {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 78%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.bj-brand img {
  width: min(248px, 86%);
  margin: 0 auto 2px;
  mix-blend-mode: normal;
  filter: brightness(0);
  opacity: 0.88;
}
.bj-brand b {
  display: block;
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  color: rgba(243, 216, 120, 0.72);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.bj-brand small {
  display: block;
  margin-top: 6px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(232, 197, 106, 0.78);
}
.bj-tools {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  z-index: 5;
}
.bj-tray {
  position: absolute;
  left: 6px;
  top: 38%;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 58px;
}
.bj-tray-chip {
  width: 52px;
  height: 52px;
  margin-top: -18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  mix-blend-mode: multiply;
}
.bj-tray-chip:first-child { margin-top: 0; }
.bj-cloth:has(#bjBoard:not([hidden])) .bj-brand {
  opacity: 0.34;
}
.bj-cloth:has(#bjBoard:not([hidden])) .bj-arc {
  opacity: 0.4;
}
.bj-tools button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: linear-gradient(180deg, #f4f5f7, #c4c8d0);
  color: #16181e;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
  flex: none;
}

.bj-idle {
  flex: 1;
  width: 100%;
  min-height: 0;
}
.bj-idle[hidden],
.bj-board[hidden],
.bj-play-btns[hidden],
.bj-fx[hidden] { display: none !important; }

.bj-board {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 12px 84px;
  min-height: 0;
}
.bj-seat { position: relative; min-height: 118px; }
.bj-role {
  text-align: center;
  color: #f3d878;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.bj-hand {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 108px;
  padding: 0 8px;
}
.bj-score {
  position: static;
  display: grid;
  margin: 8px auto 0;
  min-width: 42px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  background: #10241c;
  border: 1px solid rgba(232, 197, 106, 0.55);
  color: #f3d878;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.bj-mid {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
}
.bj-winbar {
  width: min(92%, 340px);
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7a2ad6, #b44bff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(80, 0, 120, .35);
}
.bj-winbar small { display: block; font-size: 0.72rem; opacity: .9; }
.bj-winbar b { font-size: 1.05rem; }
.bj-losebar {
  width: min(92%, 340px);
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(40,20,70,.72), rgba(90,40,130,.85));
  color: #fff;
  font-weight: 800;
}
.bj-losebar small { display: block; font-size: 0.78rem; font-weight: 600; opacity: .92; }

.bj-card {
  width: 72px;
  height: 104px;
  margin: 0 -10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f3f1ea 100%);
  color: #171717;
  box-shadow: 0 10px 16px rgba(0,0,0,.32);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 7px;
  font-weight: 800;
  position: relative;
}
.bj-hand .bj-card:last-child,
.bj-mini-hand .bj-card:last-child {
  animation: bjDeal 0.12s ease;
}
body[data-page="bj21"] .bj-top {
  background: #111318;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body[data-page="bj21"] .bj-wordmark { display: block; }
body[data-page="bj21"] .bj-wordmark img {
  height: 28px;
  mix-blend-mode: normal;
  filter: none;
}
body[data-page="bj21"] .bj-back {
  background: #000;
  border-radius: 10px;
}
body[data-page="bj21"] .bj-cash {
  background: rgba(4, 16, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.2);
}
body[data-page="bj21"] .bj-app { background: #071014; }
body[data-page="bj21"] .bj-dock {
  background: #12151c;
  border-top: 0;
}
body[data-page="bj21"] .bj-act {
  height: 52px;
  border-radius: 14px;
  font-size: 1.02rem;
  min-width: 132px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.28);
}
body[data-page="bj21"] .bj-act--stop { background: linear-gradient(180deg, #ff6b73, #d31838); }
body[data-page="bj21"] .bj-act--hit { background: linear-gradient(180deg, #4aeee0, #14c4b8); color: #07332f; }
body[data-page="bj21"] .bj-hand .bj-card:last-child {
  animation: bj21In 0.22s ease;
}
@keyframes bj21In {
  from { opacity: 0; }
  to { opacity: 1; }
}
.bj-card .c { font-size: 0.62rem; line-height: 1.05; }
.bj-card .c.bot { text-align: right; transform: rotate(180deg); }
.bj-card b {
  text-align: center;
  font-size: 2.05rem;
  line-height: 1;
  color: #c9a227;
  text-shadow: 0 1px 0 #fff6c8;
}
.bj-card.is-red { color: #c0392b; }
.bj-card.is-red b { color: #c9a227; }
@keyframes bjDeal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.bj-spot.is-deal .bj-spot-ring {
  animation: bjSpotPulse 0.45s ease;
}
@keyframes bjSpotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 3px #fff; }
  50% { transform: scale(1.08); box-shadow: 0 0 0 5px #f3d878, 0 0 18px rgba(243, 216, 120, .55); }
  100% { transform: scale(1); }
}

.bj-stake {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 108px;
  height: 108px;
  min-width: 0;
  padding: 0;
  border: 3px solid #e8c56a;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(40, 120, 72, 0.45), rgba(6, 28, 18, 0.55));
  color: #fff8d6;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow:
    0 0 0 6px rgba(10, 40, 28, 0.4),
    0 10px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 4;
}
.bj-play-btns {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 5;
}
.bj-act {
  min-width: 118px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  cursor: pointer;
}
.bj-act:disabled { opacity: .4; cursor: not-allowed; }
.bj-act--stop { background: linear-gradient(180deg, #ff5a63, #c81e3a); }
.bj-act--hit { background: linear-gradient(180deg, #3fe0d2, #12b0a8); }

.bj-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.bj-bill {
  position: absolute;
  width: 54px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #9fe39a, #3c9a4a);
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  animation: bjBill 1.6s linear forwards;
  opacity: .92;
}
@keyframes bjBill {
  from { transform: translateY(-10%) rotate(-12deg); opacity: 1; }
  to { transform: translateY(110%) rotate(18deg); opacity: .15; }
}

.bj-dock {
  background:
    linear-gradient(180deg, #0a1220 0%, #050a15 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.16);
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  position: relative;
}
.bj-dock::before,
.bj-dock::after {
  display: none;
}
.bj-mults {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.bj-mults button {
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: linear-gradient(180deg, #f5f6f8, #c2c6ce);
  color: #16181e;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #8e939c;
}
.bj-mults button:disabled { opacity: .45; }
.bj-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.bj-round {
  width: 62px;
  height: 62px;
  border: 3px solid #eceff3;
  border-radius: 50%;
  color: #16181e;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: inset 0 2px 0 #fff, 0 6px 0 #8e939c;
}
.bj-round:disabled { opacity: .4; cursor: not-allowed; }
.bj-round--chips { background: radial-gradient(circle at 35% 28%, #f7f8fa, #b7bcc6); }
.bj-round--play {
  width: 74px;
  height: 74px;
  font-size: 1.6rem;
  background: radial-gradient(circle at 35% 28%, #ffffff, #c9ced6);
}
.bj-round--repeat { background: radial-gradient(circle at 35% 28%, #eef0f3, #b0b5be); }

.bj-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 4, 16, .55);
  display: grid;
  place-items: center;
  padding: 18px;
}
.bj-sheet[hidden] { display: none !important; }
.bj-sheet-card {
  width: min(400px, 100%);
  max-height: min(78dvh, 640px);
  overflow: auto;
  background: linear-gradient(180deg, #5b1d8a, #3a0f62);
  color: #fff;
  border: 3px solid #e8c56a;
  border-radius: 18px;
  padding: 22px 18px 18px;
  position: relative;
}
.bj-sheet-card h2 { margin: 0 0 8px; text-align: center; font-size: 1.25rem; }
.bj-sheet-lead { text-align: center; font-weight: 700; margin: 0 0 12px; }
.bj-sheet-card ol { margin: 0; padding-left: 1.15rem; font-size: 0.82rem; line-height: 1.45; }
.bj-sheet-card li { margin: 0 0 8px; }
.bj-sheet-card p { font-size: 0.82rem; line-height: 1.45; }
.bj-sheet-x {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.bj-hist-head,
.bj-hist-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  font-size: 0.75rem;
  padding: 8px 0;
}
.bj-hist-head { color: rgba(255,255,255,.65); font-weight: 700; }
.bj-hist-row { border-top: 1px solid rgba(255,255,255,.12); }
.bj-hist-empty { text-align: center; padding: 28px 8px; color: rgba(255,255,255,.7); }
.bj-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bj-chip {
  height: 54px;
  border-radius: 50%;
  border: 4px dashed rgba(20, 8, 40, .35);
  font-weight: 800;
  cursor: pointer;
  background: #e8d36a;
  color: #2a1040;
}
.bj-chip[data-v="10"] { background: #dce7f5; }
.bj-chip[data-v="50"] { background: #9ad0ff; }
.bj-chip[data-v="100"] { background: #7dffd2; }
.bj-chip[data-v="500"] { background: #ffb020; }
.bj-chip[data-v="1000"] { background: #ff7aa0; }
.bj-chip[data-v="5000"] { background: #c9a2ff; }

@media (max-height: 720px) {
  .bj-card { width: 58px; height: 84px; margin: 0 -8px; }
  .bj-card b { font-size: 1.55rem; }
  .bj-hand { min-height: 90px; }
  .bj-round { width: 54px; height: 54px; }
  .bj-round--play { width: 64px; height: 64px; }
  .bj-stake { width: 86px; height: 86px; font-size: 0.78rem; }
  .bj-brand b { font-size: 2.1rem; }
  .bj-tray { left: 4px; top: 34%; width: 48px; }
  .bj-tray-chip { width: 44px; height: 44px; margin-top: -16px; }
}
@media (min-width: 900px) {
  body[data-page^="bj"] { display: flex; }
  .bj-app {
    width: min(1180px, 96vw);
    height: 100%;
    min-height: 0;
    border-left: 1px solid rgba(0, 229, 255, 0.1);
    border-right: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  }
  .bj-wordmark { display: block; }
  .bj-top {
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    padding: 10px 18px 12px;
  }
  .bj-felt { margin: 12px 18px 0; }
  .bj-tray {
    left: 22px;
    top: 26%;
    width: 84px;
  }
  .bj-tray-chip {
    width: 76px;
    height: 76px;
    margin-top: -26px;
  }
  .bj-rail {
    border-radius: 220px 220px 36px 36px / 96px 96px 22px 22px;
    padding: 14px 16px 0;
  }
  .bj-cloth {
    border-radius: 200px 200px 28px 28px / 86px 86px 18px 18px;
  }
  .bj-card { width: 86px; height: 124px; margin: 0 -12px; }
  .bj-card b { font-size: 2.35rem; }
  .bj-brand img { width: min(360px, 48%); }
  .bj-hand { min-height: 132px; }
  .bj-dock {
    background: linear-gradient(180deg, #0a1220, #050a15);
    border-top: 1px solid rgba(0, 229, 255, 0.16);
  }
  .bj-mults button {
    border-color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(180deg, #f5f6f8, #c2c6ce);
    color: #16181e;
  }
  .bj-round { border-color: #eceff3; color: #16181e; }
  .bj-round--chips { background: radial-gradient(circle at 35% 28%, #f7f8fa, #b7bcc6); }
  .bj-round--play { background: radial-gradient(circle at 35% 28%, #ffffff, #c9ced6); color: #16181e; }
  .bj-round--repeat { background: radial-gradient(circle at 35% 28%, #eef0f3, #b0b5be); }
}
@media (min-width: 1180px) {
  .bj-app { width: min(1320px, 97vw); }
  .bj-card { width: 94px; height: 136px; }
}

.bj-card.is-back {
  background:
    repeating-linear-gradient(135deg, #062033 0 7px, #0a3a52 7px 14px);
  color: #00e5ff;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 229, 255, 0.45);
}
.bj-card.is-back b { color: #00e5ff; font-size: 1.1rem; }
.bj-act--double { background: linear-gradient(180deg, #f5f6f8, #c2c6ce); color: #16181e; }
.bj-act--split { background: linear-gradient(180deg, #e8c56a, #c9a227); color: #16181e; }
body[data-page="bjx"] .bj-play-btns {
  flex-wrap: wrap;
  padding: 0 8px;
  bottom: 118px;
}
body[data-page="bjx"] .bj-act { min-width: 96px; }
body[data-page="bjx"] .bj-board { padding-bottom: 128px; }
body[data-page="bjx"] .bj-seat--player { min-height: 140px; }

.bj-spots {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  z-index: 4;
  align-items: end;
}
.bj-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.bj-mini {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
}
.bj-mini-hand {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.bj-spot .bj-card {
  width: 28px;
  height: 40px;
  margin: 0 -8px;
  padding: 2px 2px;
  border-radius: 4px;
  font-size: 0.5rem;
  animation: none;
}
.bj-spot .bj-card.bj-just { animation: bjMiniIn 0.28s ease; }
.bj-spot .bj-card b { font-size: 0.72rem; text-shadow: none; }
.bj-spot .bj-card .c { font-size: 0.32rem; line-height: 1; }
@keyframes bjMiniIn {
  from { transform: translateY(-10px) scale(.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.bj-spot-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #e8c56a;
  background: radial-gradient(circle at 50% 38%, rgba(40, 120, 72, 0.45), rgba(6, 28, 18, 0.55));
  color: #fff8d6;
  font-weight: 800;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  box-shadow: 0 0 0 3px rgba(10, 40, 28, 0.35);
}
.bj-spot.is-on .bj-spot-ring {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(232, 197, 106, 0.7);
}
.bj-spot.is-turn .bj-spot-ring {
  box-shadow: 0 0 0 3px #00e5ff, 0 0 12px rgba(0, 229, 255, 0.45);
}
.bj-spot-score {
  min-height: 1.1em;
  font-size: 0.68rem;
  font-weight: 800;
  color: #f3d878;
  text-shadow: 0 2px 6px #000;
}
body[data-page="bjx"] #bjStakeBtn { display: none !important; }
body[data-page="bjx"] .bj-brand b { letter-spacing: 0; font-size: clamp(1.6rem, 8vw, 2.6rem); }

@media (min-width: 900px) {
  .bj-spots { left: 8%; right: 8%; bottom: 16px; gap: 12px; }
  .bj-spot-ring { width: 88px; height: 88px; font-size: 0.82rem; }
  .bj-spot .bj-card { width: 40px; height: 56px; margin: 0 -10px; }
  .bj-spot .bj-card b { font-size: 0.95rem; }
  .bj-mini { min-height: 60px; }
  body[data-page="bjx"] .bj-play-btns { bottom: 150px; }
  body[data-page="bjx"] .bj-board { padding-bottom: 160px; }
}

#bjMuteBtn.is-off { opacity: 0.42; filter: grayscale(1); }
.bj-top, .bj-toast, .bj-dock { flex-shrink: 0; }
.bj-felt { overflow: hidden; overscroll-behavior: none; }

@media (max-width: 899px) {
  .bj-toast {
    margin: 6px 10px 0;
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .bj-felt { margin: 4px 6px 0; }
  .bj-rail { padding: 8px 8px 0; }
  .bj-seat { min-height: 84px; }
  .bj-hand { min-height: 82px; }
  .bj-card { width: 52px; height: 76px; margin: 0 -8px; }
  .bj-card b { font-size: 1.35rem; }
  .bj-board { padding: 6px 8px 68px; gap: 4px; }
  .bj-brand b { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .bj-tray { display: none; }
  .bj-stake { width: 76px; height: 76px; bottom: 8px; font-size: 0.72rem; }
  .bj-play-btns { bottom: 8px; gap: 8px; }
  .bj-act { min-width: 100px; height: 40px; }
  body[data-page="bj21"] .bj-act { height: 42px; min-width: 108px; }
  .bj-dock { padding: 6px 10px calc(8px + env(safe-area-inset-bottom)); }
  .bj-mults { margin-bottom: 8px; gap: 6px; }
  .bj-mults button { height: 34px; }
  .bj-round { width: 48px; height: 48px; font-size: 1.1rem; }
  .bj-round--play { width: 56px; height: 56px; font-size: 1.25rem; }
  .bj-top { padding: calc(6px + env(safe-area-inset-top)) 8px 6px; }
  .bj-cash { height: 32px; }
  .bj-tools button { width: 32px; height: 32px; }
  body[data-page="bjx"] .bj-play-btns { bottom: 82px; }
  body[data-page="bjx"] .bj-board { padding-bottom: 92px; }
  body[data-page="bjx"] .bj-seat--player { min-height: 64px; }
  .bj-spot-ring { width: 46px; height: 46px; font-size: 0.58rem; }
  .bj-spot .bj-card { width: 22px; height: 32px; margin: 0 -6px; }
}
@media (max-width: 899px) and (max-height: 680px) {
  .bj-brand { display: none; }
  .bj-score { height: 28px; font-size: 0.85rem; margin-top: 4px; }
  .bj-role { margin-bottom: 2px; font-size: 0.62rem; }
}




.bj-wordmark img,
body[data-page="bj21"] .bj-wordmark img {
  height: 58px !important;
  max-width: 72px !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) !important;
}
