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,
body[data-page^="bj"] #bottom,
body[data-page^="bj"] .mail-line {
  display: none !important;
}
html.bj-embed,
html.bj-embed body[data-page^="bj"] {
  height: 100%;
  max-height: 100%;
}
html.bj-embed body[data-page^="bj"] .bj-app {
  width: 100%;
  max-width: none;
  height: 100%;
  border: 0;
  box-shadow: none;
}
@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: 84px !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)) !important;
}

.bj-cash.is-bonus {
  border-color: rgba(245, 185, 66, 0.75);
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.28);
}
.bj-cash.is-bonus b::after {
  content: " · бонус";
  font-size: 0.62rem;
  font-weight: 800;
  color: #f5b942;
}

/* 21 — объёмный стол. Классический блэкджек эти правила не берёт. */
body[data-page="bj21"] .bj-felt {
  perspective: 980px;
  perspective-origin: 50% 28%;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(232, 197, 106, 0.08), transparent 42%),
    #07090e;
}
body[data-page="bj21"] .bj-rail {
  transform-style: preserve-3d;
  overflow: hidden;
  box-shadow:
    inset 0 2px 0 rgba(255, 226, 176, 0.45),
    inset 0 -8px 14px rgba(0, 0, 0, 0.35),
    0 16px 28px rgba(0, 0, 0, 0.4);
}
body[data-page="bj21"] .bj-cloth {
  transform: rotateX(7deg);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(0, 0, 0, 0.42), transparent 46%),
    radial-gradient(ellipse at 50% 22%, rgba(150, 230, 180, 0.2), transparent 34%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.22), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #083824 0%, #0c5c38 46%, #17864e 100%);
}
body[data-page="bj21"] .bj-cloth::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 16%;
  width: 52px;
  height: 74px;
  border-radius: 7px;
  background:
    linear-gradient(160deg, rgba(243, 216, 120, 0.9), rgba(180, 140, 50, 0.2) 28%, transparent 29%),
    repeating-linear-gradient(135deg, #0d4030 0 7px, #0a3226 7px 14px);
  border: 1px solid rgba(232, 197, 106, 0.8);
  box-shadow:
    -5px 3px 0 #0b3328,
    -10px 6px 0 #09281f,
    -14px 10px 14px rgba(0, 0, 0, 0.45);
  transform: rotateZ(-8deg) translateZ(24px);
  z-index: 4;
  pointer-events: none;
}
body[data-page="bj21"] .bj-board,
body[data-page="bj21"] .bj-seat,
body[data-page="bj21"] .bj-hand {
  transform-style: preserve-3d;
  overflow: visible;
}
body[data-page="bj21"] .bj-brand {
  transform: translate(-50%, -50%);
}
body[data-page="bj21"] .bj-seat--dealer { transform: translateY(-6px); }
body[data-page="bj21"] .bj-seat--player { transform: translateY(8px); }
body[data-page="bj21"] .bj-seat--player .bj-score { position: relative; z-index: 4; }
body[data-page="bj21"] .bj-card {
  width: 74px;
  height: 106px;
  margin: 0 -12px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  transform:
    translateY(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * -6px))
    rotateZ(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * 7deg));
}
body[data-page="bj21"] .bj-seat--dealer .bj-card {
  transform:
    translateY(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * -4px))
    rotateZ(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * 5deg));
}
body[data-page="bj21"] .bj-hand .bj-card:last-child { animation: none; }
body[data-page="bj21"] .bj-card-3d,
body[data-page="bj21"] .bj-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
body[data-page="bj21"] .bj-face {
  position: absolute;
  inset: 0;
  border-radius: 9px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 7px;
}
body[data-page="bj21"] .bj-face--front {
  background: linear-gradient(165deg, #fffef9 0%, #f4efe4 100%);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 14px 18px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 #fff;
}
body[data-page="bj21"] .bj-face--back {
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(243, 216, 120, 0.22), transparent 46%),
    repeating-linear-gradient(135deg, #0e4634 0 8px, #0a3528 8px 16px);
  border: 2px solid rgba(232, 197, 106, 0.82);
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.38);
}
body[data-page="bj21"] .bj-face--back b {
  color: #f3d878;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-shadow: none;
}
body[data-page="bj21"] .bj-card.is-back .bj-card-inner { transform: rotateY(180deg); }
body[data-page="bj21"] .bj-card.is-fresh:not(.is-back) .bj-card-inner {
  animation: bj21Flip 0.62s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
body[data-page="bj21"] .bj-card.is-fresh.is-back .bj-card-inner {
  animation: bj21Slide 0.55s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
@keyframes bj21Flip {
  0% { transform: translate3d(70px, -150px, 90px) rotateY(180deg) rotateZ(16deg); }
  100% { transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg); }
}
@keyframes bj21Slide {
  0% { transform: translate3d(80px, -150px, 70px) rotateY(180deg) rotateZ(12deg); }
  100% { transform: rotateY(180deg); }
}
body[data-page="bj21"] .bj-score {
  transform: translateZ(20px);
}
body[data-page="bj21"] .bj-stake {
  width: 96px;
  height: 96px;
  border: 0;
  background: repeating-conic-gradient(#f6e7b4 0 14deg, #b8893a 14deg 20deg);
  box-shadow:
    inset 0 0 0 7px #e8c56a,
    inset 0 0 0 10px #6a4a16,
    0 8px 0 #5c4014,
    0 16px 16px rgba(0, 0, 0, 0.45);
}
body[data-page="bj21"] .bj-stake span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2ea36a, #0c4d32 70%);
  border: 2px dashed rgba(255, 232, 170, 0.85);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25);
}
body[data-page="bj21"] .bj-tray-chip {
  box-shadow:
    0 2px 0 rgba(255,255,255,.25) inset,
    0 7px 0 rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.35);
}
@media (max-width: 520px) {
  body[data-page="bj21"] .bj-card { width: 62px; height: 90px; margin: 0 -14px; }
  body[data-page="bj21"] .bj-seat--dealer .bj-card { width: 58px; height: 84px; }
  body[data-page="bj21"] .bj-cloth::before { width: 40px; height: 58px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="bj21"] .bj-card.is-fresh .bj-card-inner { animation: none; }
}

body[data-page="bj21"] .bj-score {
  width: max-content;
  min-width: 46px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 4;
}
body[data-page="bj21"] .bj-board { padding-bottom: 96px; }
body[data-page="bj21"] .bj-play-btns { z-index: 6; }
body[data-page="bj21"] .bj-brand {
  top: 48%;
  width: 46%;
}
body[data-page="bj21"] .bj-brand img { width: min(150px, 78%); opacity: 0.5; }
body[data-page="bj21"] .bj-brand b { font-size: 2.1rem; }

body[data-page="bj21"] .bj-seat--player { display: flex; flex-direction: column; align-items: center; }
body[data-page="bj21"] .bj-seat--player .bj-role { order: -2; }
body[data-page="bj21"] .bj-seat--player .bj-score { order: -1; margin: 0 auto 8px; }
body[data-page="bj21"] .bj-brand {
  top: 47%;
  width: min(280px, 52%);
  z-index: 1;
  opacity: 1;
  transform: translate(-50%, -50%);
}
body[data-page="bj21"] .bj-brand img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: screen;
}
body[data-page="bj21"] .bj-cloth:has(#bjBoard:not([hidden])) .bj-brand {
  opacity: 0.62;
}


body[data-page="bj21"] .bj-seat--player { margin-bottom: 72px; }
body[data-page="bj21"] .bj-mid { position: relative; z-index: 5; }
body[data-page="bj21"] .bj-seat--dealer .bj-score { margin-bottom: 12px; }

body[data-page="bj21"],
html.bj-embed body[data-page="bj21"] {
  width: 100%;
}
body[data-page="bj21"] .bj-app,
html.bj-embed body[data-page="bj21"] .bj-app {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  border: 0;
  box-shadow: none;
}
@media (min-width: 900px) {
  body[data-page="bj21"] { display: block !important; }
}
body[data-page="bj21"] .bj-felt { margin: 2px 4px 0; }
body[data-page="bj21"] .bj-rail { padding: 10px 10px 0; }
body[data-page="bj21"] .bj-cloth {
  transform: rotateX(3deg);
  transform-origin: 50% 92%;
}
body[data-page="bj21"] .bj-dock {
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
body[data-page="bj21"] .bj-mults { margin-bottom: 8px; }
body[data-page="bj21"] .bj-card { width: 92px; height: 132px; }
body[data-page="bj21"] .bj-brand { width: min(460px, 46%); }
body[data-page="bj21"] .bj-seat--player { margin-bottom: 36px; }
@media (max-width: 720px) {
  body[data-page="bj21"] .bj-card { width: 74px; height: 106px; margin: 0 -12px; }
  body[data-page="bj21"] .bj-seat--dealer .bj-card { width: 68px; height: 98px; }
  body[data-page="bj21"] .bj-brand { width: min(250px, 68%); }
  body[data-page="bj21"] .bj-felt { margin: 2px; }
}

/* 21-fill — стол на высоту окна */
body[data-page="bj21"] .bj-wordmark { display: none !important; }
body[data-page="bj21"] .bj-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  padding: 8px 10px 22px;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.92) 0%, rgba(6, 10, 16, 0.35) 62%, rgba(6, 10, 16, 0) 100%);
  border-bottom: 0;
}
body[data-page="bj21"] .bj-toast {
  position: absolute;
  top: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(520px, 80%);
  margin: 0;
  z-index: 8;
  padding: 6px 16px;
  pointer-events: none;
}
body[data-page="bj21"] .bj-felt {
  margin: 0 !important;
  flex: 1 1 auto;
  min-height: 0;
}
body[data-page="bj21"] .bj-rail {
  border-radius: 18px !important;
  padding: 8px !important;
}
body[data-page="bj21"] .bj-cloth {
  border-radius: 14px !important;
  transform: rotateX(1.5deg);
  transform-origin: 50% 100%;
}
body[data-page="bj21"] .bj-dock {
  padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
}
body[data-page="bj21"] .bj-mults { margin-bottom: 6px; gap: 8px; }
body[data-page="bj21"] .bj-mults button { height: 38px; }
body[data-page="bj21"] .bj-main { gap: 16px; }
body[data-page="bj21"] .bj-round { width: 54px; height: 54px; }
body[data-page="bj21"] .bj-round--play { width: 66px; height: 66px; }
body[data-page="bj21"] .bj-board {
  padding: 70px 16px 108px;
  justify-content: space-between;
}
body[data-page="bj21"] .bj-seat { min-height: 0; }
body[data-page="bj21"] .bj-seat--player { margin-bottom: 4px; }
body[data-page="bj21"] .bj-card { width: 108px; height: 154px; }
body[data-page="bj21"] .bj-brand {
  width: min(520px, 42%);
  top: 48%;
}
body[data-page="bj21"] .bj-brand img {
  max-height: min(340px, 36vh);
  object-fit: contain;
}
@media (min-width: 900px) {
  body[data-page="bj21"] .bj-rail {
    border-radius: 28px !important;
    padding: 12px !important;
  }
  body[data-page="bj21"] .bj-cloth { border-radius: 22px !important; }
  body[data-page="bj21"] .bj-card { width: 116px; height: 166px; }
  body[data-page="bj21"] .bj-brand { width: min(620px, 40%); }
}
@media (max-width: 720px) {
  body[data-page="bj21"] .bj-toast { top: 52px; max-width: 88%; }
  body[data-page="bj21"] .bj-card { width: 78px; height: 112px; margin: 0 -14px; }
  body[data-page="bj21"] .bj-seat--dealer .bj-card { width: 72px; height: 104px; }
  body[data-page="bj21"] .bj-brand { width: min(280px, 70%); }
  body[data-page="bj21"] .bj-brand img { max-height: min(280px, 32vh); }
  body[data-page="bj21"] .bj-board { padding: 64px 8px 96px; }
  body[data-page="bj21"] .bj-rail { padding: 5px !important; border-radius: 16px !important; }
  body[data-page="bj21"] .bj-mults button { height: 42px; }
  body[data-page="bj21"] .bj-round { width: 50px; height: 50px; }
  body[data-page="bj21"] .bj-round--play { width: 60px; height: 60px; }
}

body[data-page="bj21"] .bj-role { display: none; }
body[data-page="bj21"] .bj-cloth { transform: rotateX(3deg); transform-origin: 50% 100%; }
body[data-page="bj21"] .bj-cloth:has(#bjBoard:not([hidden])) .bj-brand { top: 50%; opacity: 0.5; }
@media (max-width: 720px) {
  body[data-page="bj21"] .bj-cloth:has(#bjBoard:not([hidden])) .bj-brand { width: min(210px, 56%); top: 46%; }
}

/* 21 — фишки M1 */
body[data-page="bj21"] .bj-tray-chip {
  mix-blend-mode: normal;
  object-fit: contain;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.38);
}
body[data-page="bj21"] .bj-stake {
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  background: url("/casino/assets/img/m1-chip-bet.png?v=m464chip") center / cover no-repeat;
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.42);
  color: #1a140c;
}
body[data-page="bj21"] .bj-stake span {
  width: 54%;
  height: 54%;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #1a140c;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}
body[data-page="bj21"] .bj-chip-grid { justify-items: center; }
body[data-page="bj21"] .bj-chip {
  width: 96px;
  height: 96px;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  color: transparent;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
}
@media (max-width: 720px) {
  body[data-page="bj21"] .bj-stake { width: 96px; height: 96px; }
  body[data-page="bj21"] .bj-stake span { font-size: 0.82rem; }
  body[data-page="bj21"] .bj-chip { width: 84px; height: 84px; }
}

/* M1 Production — заставка при открытии 21 и блэкджека */
body[data-page^="bj"] .m1-prod {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(243, 216, 120, 0.2), transparent 46%),
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.65), transparent 50%),
    #05060a;
  perspective: 980px;
}
body[data-page^="bj"] .m1-prod.is-out {
  animation: m1ProdOut 0.48s ease forwards;
}
@keyframes m1ProdOut {
  to { opacity: 0; visibility: hidden; }
}
body[data-page^="bj"] .m1-prod-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
}
body[data-page^="bj"] .m1-prod-ring {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin-left: calc(min(280px, 70vw) / -2);
  margin-top: calc(min(280px, 70vw) / -2);
  border-radius: 50%;
  border: 1px solid rgba(243, 216, 120, 0.55);
  box-shadow:
    0 0 0 10px rgba(243, 216, 120, 0.06),
    inset 0 0 24px rgba(243, 216, 120, 0.18);
  transform: rotateX(68deg);
  animation: m1Orbit 2.4s linear both;
  pointer-events: none;
}
@keyframes m1Orbit {
  from { transform: rotateX(68deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateZ(260deg); }
}
body[data-page^="bj"] .m1-prod-card {
  transform-style: preserve-3d;
  animation: m1ProdIn 1.15s cubic-bezier(0.16, 0.84, 0.22, 1) both;
}
@keyframes m1ProdIn {
  0% { transform: rotateY(-82deg) rotateX(16deg) translateZ(-120px) scale(0.62); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: rotateY(0deg) rotateX(0deg) translateZ(40px) scale(1); opacity: 1; }
}
body[data-page^="bj"] .m1-prod-card img {
  display: block;
  width: min(250px, 62vw);
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.55));
}
body[data-page^="bj"] .m1-prod-card b {
  display: block;
  margin-top: 4px;
  text-align: center;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.46em;
  color: #f3d878;
  text-indent: 0.46em;
  animation: m1ProdWord 0.7s 0.62s both;
}
@keyframes m1ProdWord {
  from { opacity: 0; letter-spacing: 0.9em; transform: translateZ(20px); }
  to { opacity: 1; letter-spacing: 0.46em; transform: translateZ(0); }
}
body[data-page^="bj"] .m1-prod-load {
  width: min(220px, 56vw);
  height: 3px;
  margin-top: 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
body[data-page^="bj"] .m1-prod-load i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8a6a2a, #f6e7a8);
  box-shadow: 0 0 12px rgba(243, 216, 120, 0.8);
  animation: m1ProdBar 1.65s 0.4s ease forwards;
}
@keyframes m1ProdBar { to { width: 100%; } }
body[data-page^="bj"] .m1-prod small {
  margin-top: 8px;
  font-family: Sora, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(243, 216, 120, 0.82);
}
body[data-page^="bj"] .m1-prod-card img {
  max-height: min(240px, 34vh);
  object-fit: contain;
}
body[data-page^="bj"] .m1-prod-go {
  position: static;
  margin-top: 22px;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: #f3d878;
  color: #1a1406;
  font-family: Sora, sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}
body[data-page^="bj"] .m1-prod.is-ready .m1-prod-go {
  display: inline-flex;
  animation: m1GoIn .35s ease;
}
@keyframes m1GoIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
body[data-page^="bj"] .m1-prod.is-ready .m1-prod-load,
body[data-page^="bj"] .m1-prod.is-ready small {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  body[data-page^="bj"] .m1-prod,
  body[data-page^="bj"] .m1-prod-card,
  body[data-page^="bj"] .m1-prod-card b,
  body[data-page^="bj"] .m1-prod-load i,
  body[data-page^="bj"] .m1-prod-ring {
    animation: none;
  }
  body[data-page^="bj"] .m1-prod-go { animation-delay: 0s; }
}

/* блэкджек — объёмный стол */
body[data-page="bjx"],
html.bj-embed body[data-page="bjx"] {
  width: 100%;
  background: #07090e;
}
body[data-page="bjx"] .bj-app,
html.bj-embed body[data-page="bjx"] .bj-app {
  width: 100% !important;
  max-width: none !important;
  background: #07090e;
}
body[data-page="bjx"] .bj-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  padding: 8px 10px 22px;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.92) 0%, rgba(6, 10, 16, 0.28) 70%, rgba(6, 10, 16, 0) 100%);
  border-bottom: 0;
}
body[data-page="bjx"] .bj-toast {
  position: absolute;
  top: 56px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(520px, 86%);
  margin: 0;
  z-index: 8;
  padding: 6px 16px;
  pointer-events: none;
}
body[data-page="bjx"] .bj-felt {
  margin: 0 !important;
  perspective: 1200px;
  perspective-origin: 50% 22%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(232, 197, 106, 0.08), transparent 42%),
    #07090e;
}
body[data-page="bjx"] .bj-rail {
  transform-style: preserve-3d;
  overflow: hidden;
  border-radius: 26px 26px 18px 18px !important;
  padding: 12px 12px 8px !important;
  background: linear-gradient(180deg, #a56b3c 0%, #6a3b1c 42%, #2a140c 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 226, 176, 0.5),
    inset 0 -10px 16px rgba(0, 0, 0, 0.4),
    0 22px 36px rgba(0, 0, 0, 0.45);
}
body[data-page="bjx"] .bj-cloth {
  transform: rotateX(7deg);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  overflow: visible;
  border-radius: 22px 22px 14px 14px !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.4), transparent 42%),
    radial-gradient(ellipse at 50% 18%, rgba(170, 240, 190, 0.16), transparent 36%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.28), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #083824 0%, #0c5c38 48%, #147a45 100%);
  box-shadow:
    inset 0 0 0 3px rgba(232, 197, 106, 0.92),
    inset 0 0 0 8px rgba(8, 40, 26, 0.55);
}
body[data-page="bjx"] .bj-cloth::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 14%;
  width: 48px;
  height: 68px;
  border-radius: 7px;
  background:
    linear-gradient(160deg, rgba(243, 216, 120, 0.95), rgba(180, 140, 50, 0.15) 26%, transparent 27%),
    repeating-linear-gradient(135deg, #0d4030 0 7px, #0a3226 7px 14px);
  border: 1px solid rgba(232, 197, 106, 0.85);
  box-shadow:
    -5px 3px 0 #0b3328,
    -10px 6px 0 #09281f,
    -14px 10px 14px rgba(0, 0, 0, 0.45);
  transform: rotateZ(-8deg) translateZ(28px);
  z-index: 4;
  pointer-events: none;
}
body[data-page="bjx"] .bj-board,
body[data-page="bjx"] .bj-seat,
body[data-page="bjx"] .bj-hand,
body[data-page="bjx"] .bj-spots,
body[data-page="bjx"] .bj-spot {
  transform-style: preserve-3d;
}
body[data-page="bjx"] .bj-brand {
  width: min(420px, 46%);
  top: 46%;
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(8px);
}
body[data-page="bjx"] .bj-brand img {
  display: block;
  width: 100%;
  max-height: min(280px, 30vh);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.9;
  filter: none;
  mix-blend-mode: screen;
}
body[data-page="bjx"] .bj-brand b { font-size: clamp(2rem, 6vw, 3.2rem); }
body[data-page="bjx"] .bj-cloth:has(#bjDealerHand .bj-card) .bj-brand {
  opacity: 0.42;
}
body[data-page="bjx"] .bj-tray {
  display: flex;
  transform: translateZ(20px);
}
body[data-page="bjx"] .bj-tray-chip {
  mix-blend-mode: normal;
  box-shadow:
    0 2px 0 rgba(255,255,255,.28) inset,
    0 7px 0 rgba(0,0,0,.28),
    0 12px 12px rgba(0,0,0,.35);
}
body[data-page="bjx"] .bj-board {
  padding: 72px 12px 168px;
  justify-content: space-between;
}
body[data-page="bjx"] .bj-seat { min-height: 0; }
body[data-page="bjx"] .bj-seat--dealer { transform: translateY(-8px) translateZ(6px); }
body[data-page="bjx"] .bj-seat--player { transform: translateY(6px) translateZ(16px); min-height: 0; }
body[data-page="bjx"] .bj-role {
  transform: translateZ(18px);
}
body[data-page="bjx"] .bj-hand .bj-card {
  width: 96px;
  height: 138px;
  margin: 0 -16px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  transform:
    translateY(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * -7px))
    rotateZ(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * 7deg))
    translateZ(18px);
}
body[data-page="bjx"] .bj-seat--dealer .bj-hand .bj-card {
  width: 86px;
  height: 124px;
  transform:
    translateY(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * -4px))
    rotateZ(calc((var(--i, 0) - (var(--n, 1) - 1) / 2) * 5deg))
    translateZ(8px);
}
body[data-page="bjx"] .bj-hand .bj-card:last-child { animation: none; }
body[data-page="bjx"] .bj-card-3d,
body[data-page="bjx"] .bj-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
body[data-page="bjx"] .bj-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 8px;
}
body[data-page="bjx"] .bj-face--front {
  background: linear-gradient(165deg, #fffef9 0%, #f3eee2 100%);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 16px 18px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 #fff;
}
body[data-page="bjx"] .bj-face--back {
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(243, 216, 120, 0.22), transparent 46%),
    repeating-linear-gradient(135deg, #0e4634 0 8px, #0a3528 8px 16px);
  border: 2px solid rgba(232, 197, 106, 0.85);
  box-shadow: 0 16px 18px rgba(0, 0, 0, 0.38);
}
body[data-page="bjx"] .bj-face--back b {
  color: #f3d878;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-shadow: none;
}
body[data-page="bjx"] .bj-hand .bj-card.is-back .bj-card-inner { transform: rotateY(180deg); }
body[data-page="bjx"] .bj-hand .bj-card.is-fresh:not(.is-back) .bj-card-inner {
  animation: bj3dFlip 0.62s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
body[data-page="bjx"] .bj-hand .bj-card.is-fresh.is-back .bj-card-inner {
  animation: bj3dSlide 0.55s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
@keyframes bj3dFlip {
  0% { transform: translate3d(80px, -160px, 90px) rotateY(180deg) rotateZ(16deg); }
  100% { transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg); }
}
@keyframes bj3dSlide {
  0% { transform: translate3d(90px, -160px, 70px) rotateY(180deg) rotateZ(12deg); }
  100% { transform: rotateY(180deg); }
}
body[data-page="bjx"] .bj-score { transform: translateZ(22px); position: relative; z-index: 4; }
body[data-page="bjx"] .bj-spots {
  left: 4%;
  right: 4%;
  bottom: 12px;
  transform: translateZ(24px);
}
body[data-page="bjx"] .bj-spot-ring {
  width: 72px;
  height: 72px;
  border: 0;
  color: #fff8d6;
  background:
    radial-gradient(circle at 50% 46%, #1f8a58 0 46%, #0c4d32 47% 58%, transparent 59%),
    repeating-conic-gradient(#f6e7b4 0 12deg, #b8893a 12deg 18deg);
  box-shadow:
    inset 0 0 0 6px #e8c56a,
    inset 0 0 0 9px #6a4a16,
    0 7px 0 #5c4014,
    0 12px 14px rgba(0, 0, 0, 0.4);
}
body[data-page="bjx"] .bj-spot.is-on .bj-spot-ring {
  box-shadow:
    inset 0 0 0 6px #fff6d2,
    inset 0 0 0 9px #6a4a16,
    0 0 0 3px #fff,
    0 7px 0 #5c4014,
    0 12px 14px rgba(0, 0, 0, 0.4);
}
body[data-page="bjx"] .bj-spot.is-turn .bj-spot-ring {
  box-shadow:
    inset 0 0 0 6px #9ff6ff,
    inset 0 0 0 9px #6a4a16,
    0 0 0 3px #00e5ff,
    0 7px 0 #5c4014;
}
body[data-page="bjx"] .bj-spot .bj-card {
  transform: rotateX(16deg) translateZ(10px);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.35);
}
body[data-page="bjx"] .bj-play-btns {
  bottom: 132px;
  z-index: 6;
  transform: translateZ(30px);
}
body[data-page="bjx"] .bj-dock {
  background: #12151c;
  border-top: 0;
}
@media (min-width: 900px) {
  body[data-page="bjx"] .bj-hand .bj-card { width: 108px; height: 154px; }
  body[data-page="bjx"] .bj-seat--dealer .bj-hand .bj-card { width: 96px; height: 138px; }
  body[data-page="bjx"] .bj-spot-ring { width: 92px; height: 92px; font-size: 0.78rem; }
  body[data-page="bjx"] .bj-spots { bottom: 18px; }
  body[data-page="bjx"] .bj-play-btns { bottom: 168px; }
  body[data-page="bjx"] .bj-board { padding-bottom: 210px; }
  body[data-page="bjx"] .bj-brand { width: min(520px, 34%); }
}
@media (max-width: 720px) {
  body[data-page="bjx"] .bj-toast { top: 52px; }
  body[data-page="bjx"] .bj-cloth::before { width: 36px; height: 52px; right: 8px; }
  body[data-page="bjx"] .bj-tray { display: none; }
  body[data-page="bjx"] .bj-hand .bj-card { width: 64px; height: 92px; margin: 0 -12px; }
  body[data-page="bjx"] .bj-seat--dealer .bj-hand .bj-card { width: 58px; height: 84px; }
  body[data-page="bjx"] .bj-brand { width: min(220px, 62%); }
  body[data-page="bjx"] .bj-brand img { max-height: 22vh; }
  body[data-page="bjx"] .bj-board { padding: 64px 6px 128px; }
  body[data-page="bjx"] .bj-play-btns { bottom: 108px; }
  body[data-page="bjx"] .bj-spot-ring { width: 54px; height: 54px; font-size: 0.55rem; }
  body[data-page="bjx"] .bj-rail { padding: 6px !important; border-radius: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="bjx"] .bj-hand .bj-card.is-fresh .bj-card-inner { animation: none; }
}

/* bjx score pill */
body[data-page="bjx"] .bj-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body[data-page="bjx"] .bj-score {
  width: max-content;
  min-width: 46px;
  height: 34px;
  margin: 6px auto 0;
  padding: 0 12px;
  transform: translateZ(12px);
}
body[data-page="bjx"] .bj-play-btns { transform: none; bottom: 118px; }
body[data-page="bjx"] .bj-board { padding: 76px 16px 196px; }
body[data-page="bjx"] .bj-tray { top: 16%; }
body[data-page="bjx"] .bj-cloth:has(#bjDealerHand .bj-card) .bj-brand {
  opacity: 0.2;
  width: min(220px, 26%);
}
@media (min-width: 900px) {
  body[data-page="bjx"] .bj-play-btns { bottom: 126px; }
  body[data-page="bjx"] .bj-board { padding: 82px 20px 214px; }
}
@media (max-width: 720px) {
  body[data-page="bjx"] .bj-play-btns { bottom: 92px; gap: 6px; }
  body[data-page="bjx"] .bj-act { min-width: 72px; height: 36px; font-size: 0.72rem; padding: 0 8px; }
  body[data-page="bjx"] .bj-board { padding: 58px 6px 148px; }
  body[data-page="bjx"] .bj-cloth:has(#bjDealerHand .bj-card) .bj-brand { width: min(150px, 42%); }
}

body[data-page="bjx"] .bj-seat--player .bj-role { order: -2; }
body[data-page="bjx"] .bj-seat--player .bj-score { order: -1; margin: 0 auto 6px; }

@media (min-width: 900px) {
  body[data-page="bjx"] .bj-board { padding-bottom: 268px; }
  body[data-page="bjx"] .bj-play-btns { bottom: 148px; }
  body[data-page="bjx"] .bj-hand { min-height: 0; }
}

@media (min-width: 900px) {
  body[data-page="bjx"] .bj-board { padding: 118px 20px 236px; }
}

body[data-page="bjx"] .bj-seat--dealer .bj-role { display: none; }
@media (min-width: 900px) {
  body[data-page="bjx"] .bj-board { padding-top: 168px; }
}
@media (max-width: 720px) {
  body[data-page="bjx"] .bj-board { padding-top: 78px; }
}

body[data-page="bjx"] .bj-seat--dealer { transform: translateY(28px) translateZ(6px); }
body[data-page="bjx"] .bj-toast { z-index: 8; }

body[data-page="bjx"] .bj-spots,
body[data-page="bjx"] .bj-spot,
body[data-page="bjx"] .bj-mini,
body[data-page="bjx"] .bj-mini-hand {
  pointer-events: none;
}
body[data-page="bjx"] .bj-spot-ring { pointer-events: auto; }
body[data-page="bjx"] .bj-play-btns { z-index: 8; pointer-events: auto; }

/* m425 sharp splash */
body[data-page^="bj"] .m1-prod {
  perspective: none;
  background: #05060a;
}
body[data-page^="bj"] .m1-prod-stage,
body[data-page^="bj"] .m1-prod-card,
body[data-page^="bj"] .m1-prod-ring {
  transform-style: flat;
}
body[data-page^="bj"] .m1-prod-ring {
  transform: none;
  animation: m1OrbitFlat 8s linear infinite;
  border-color: rgba(120, 190, 255, 0.35);
  box-shadow: 0 0 0 10px rgba(0, 140, 255, 0.05);
}
@keyframes m1OrbitFlat {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
body[data-page^="bj"] .m1-prod-card {
  animation: m1ProdInFlat .45s ease both;
}
@keyframes m1ProdInFlat {
  from { opacity: 0; transform: none; }
  to { opacity: 1; transform: none; }
}
body[data-page^="bj"] .m1-prod.is-ready .m1-prod-card,
body[data-page^="bj"] .m1-prod.is-ready .m1-prod-card b {
  animation: none;
  transform: none;
  filter: none;
}
body[data-page^="bj"] .m1-prod-card img {
  mix-blend-mode: normal !important;
  filter: none !important;
}
body[data-page^="bj"] .m1-prod-card b {
  animation: none;
  transform: none;
}
body[data-page^="bj"] .m1-prod-go {
  background: linear-gradient(135deg, #00f2ff 0%, #007bff 100%);
  color: #041018;
  box-shadow: 0 10px 24px rgba(20, 90, 220, 0.35);
}
body[data-page^="bj"] .m1-prod-go:hover { filter: brightness(1.06); }
body[data-page^="bj"] .m1-prod-load i {
  background: linear-gradient(90deg, #007bff, #00f2ff);
  box-shadow: none;
}


/* m463 red table */
body[data-page^="bj"],
html.bj-embed body[data-page^="bj"] {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(225, 6, 0, 0.28), transparent 58%),
    radial-gradient(700px 420px at 100% 80%, rgba(225, 6, 0, 0.12), transparent 50%),
    #050505 !important;
}
.bj-app,
body[data-page="bj21"] .bj-app,
html.bj-embed body[data-page="bj21"] .bj-app,
body[data-page="bjx"] .bj-app,
html.bj-embed body[data-page="bjx"] .bj-app {
  background: #050505 !important;
  color: #fff;
}
.bj-top,
body[data-page="bj21"] .bj-top {
  background: #0c0c0c !important;
  border-bottom-color: rgba(225, 6, 0, 0.45) !important;
}
.bj-cash,
body[data-page="bj21"] .bj-cash {
  border-color: rgba(225, 6, 0, 0.55) !important;
  background: rgba(18, 4, 4, 0.92) !important;
  color: #fff !important;
}
.bj-plus { background: #e10600 !important; color: #fff !important; }
.bj-toast { border-color: rgba(255, 255, 255, 0.35) !important; background: rgba(12, 4, 4, 0.94) !important; }
.bj-rail,
body[data-page="bj21"] .bj-rail,
body[data-page="bjx"] .bj-rail {
  background: linear-gradient(180deg, #2a0a0a 0%, #140606 46%, #050505 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 180, 180, 0.28),
    inset 0 -10px 16px rgba(0, 0, 0, 0.55),
    0 18px 36px rgba(0, 0, 0, 0.45) !important;
}
.bj-cloth,
body[data-page="bj21"] .bj-cloth,
body[data-page="bjx"] .bj-cloth {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.35), transparent 42%),
    radial-gradient(ellipse at 50% 18%, rgba(255, 80, 80, 0.22), transparent 36%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.38), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #9d1414 0%, #c41818 46%, #7a0e0e 100%) !important;
  box-shadow:
    inset 0 0 0 3px rgba(255, 236, 236, 0.85),
    inset 0 0 0 8px rgba(60, 8, 8, 0.55),
    inset 0 28px 50px rgba(0, 0, 0, 0.22) !important;
}
body[data-page="bj21"] .bj-felt,
body[data-page="bjx"] .bj-felt {
  background:
    radial-gradient(ellipse at 50% 90%, rgba(225, 6, 0, 0.16), transparent 46%),
    #050505 !important;
}
.bj-arc { border-color: rgba(255, 236, 236, 0.55) !important; }
.bj-brand b,
.bj-brand small,
.bj-role { color: rgba(255, 244, 244, 0.82) !important; }
.bj-score {
  background: #1a0505 !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}
.bj-winbar {
  background: linear-gradient(90deg, #8f1010, #e10600) !important;
  box-shadow: 0 8px 20px rgba(180, 0, 0, 0.35) !important;
}
.bj-losebar { background: linear-gradient(90deg, rgba(20,4,4,.88), rgba(90,10,10,.9)) !important; }
.bj-act--hit,
body[data-page="bj21"] .bj-act--hit {
  background: linear-gradient(180deg, #ffffff, #f3d0d0) !important;
  color: #6d0c0c !important;
}
.bj-act--stop,
body[data-page="bj21"] .bj-act--stop {
  background: linear-gradient(180deg, #ff3b3b, #b00000) !important;
  color: #fff !important;
}
.bj-act--split { background: linear-gradient(180deg, #fff, #e7e7e7) !important; color: #1a1a1a !important; }
.bj-dock,
body[data-page="bj21"] .bj-dock,
body[data-page="bjx"] .bj-dock {
  background: linear-gradient(180deg, #160606, #050505) !important;
  border-top: 1px solid rgba(225, 6, 0, 0.35) !important;
}
.bj-card.is-back {
  background: repeating-linear-gradient(135deg, #4a0808 0 7px, #1a0505 7px 14px) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}
.bj-card.is-back b { color: #fff !important; }
.bj-card.is-red,
.bj-card.is-red b { color: #c41818 !important; }
body[data-page="bj21"] .bj-cloth::before,
body[data-page="bjx"] .bj-cloth::before {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.05) 28%, transparent 29%),
    repeating-linear-gradient(135deg, #6d1010 0 7px, #2a0808 7px 14px) !important;
  border-color: rgba(255, 236, 236, 0.8) !important;
  box-shadow: -5px 3px 0 #3a0a0a, -10px 6px 0 #1a0505, -14px 10px 14px rgba(0,0,0,.45) !important;
}
.bj-chip { border-color: rgba(255,255,255,.45) !important; color: #1a0505 !important; }
.bj-chip[data-v="10"] { background: #f7f7f7 !important; }
.bj-chip[data-v="50"] { background: #ffd0d0 !important; }
.bj-chip[data-v="100"] { background: #e10600 !important; color: #fff !important; }
.bj-chip[data-v="500"] { background: #1a1a1a !important; color: #fff !important; }
.bj-chip[data-v="1000"] { background: #fff !important; color: #9d1414 !important; }
.bj-chip[data-v="5000"] { background: #6d0c0c !important; color: #fff !important; }

/* m463 red splash */
body[data-page^="bj"] .m1-prod {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(225, 6, 0, 0.28), transparent 46%),
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.65), transparent 50%),
    #050505 !important;
}
body[data-page^="bj"] .m1-prod-ring {
  border-color: rgba(225, 6, 0, 0.65) !important;
  box-shadow: 0 0 0 10px rgba(225, 6, 0, 0.08), inset 0 0 24px rgba(225, 6, 0, 0.22) !important;
}
body[data-page^="bj"] .m1-prod-card b,
body[data-page^="bj"] .m1-prod small { color: #ffb4b4 !important; }
body[data-page^="bj"] .m1-prod-load i {
  background: linear-gradient(90deg, #9d1010, #ff4d4d) !important;
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.8) !important;
}
body[data-page^="bj"] .m1-prod-go {
  background: #e10600 !important;
  color: #fff !important;
}

body[data-page="bj21"] .bj-stake span {
  background: radial-gradient(circle at 35% 30%, #e10600, #6d0c0c 70%) !important;
  border-color: rgba(255,255,255,.8) !important;
}
body[data-page="bjx"] .bj-spot-ring {
  color: #fff !important;
  background:
    radial-gradient(circle at 50% 46%, #e10600 0 46%, #6d0c0c 47% 58%, transparent 59%),
    repeating-conic-gradient(#fff 0 12deg, #3a0a0a 12deg 18deg) !important;
  box-shadow:
    inset 0 0 0 6px #fff,
    inset 0 0 0 9px #3a0a0a,
    0 7px 0 #1a0505,
    0 12px 14px rgba(0,0,0,.4) !important;
}
body[data-page="bjx"] .bj-spot.is-turn .bj-spot-ring {
  box-shadow:
    inset 0 0 0 6px #fff,
    inset 0 0 0 9px #3a0a0a,
    0 0 0 3px #fff,
    0 7px 0 #1a0505 !important;
}
.bj-spot-ring { border-color:#fff !important; background:radial-gradient(circle at 50% 38%, rgba(225,6,0,.55), rgba(20,4,4,.7)) !important; color:#fff !important; }
.bj-spot.is-turn .bj-spot-ring { box-shadow:0 0 0 3px #fff, 0 0 12px rgba(255,255,255,.45) !important; }

/* m464 logo m1l */
body[data-page="bj21"] .bj-brand img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(0 0 5px rgba(0,0,0,.55));
}
body[data-page="bj21"] .m1-prod-card img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(0 0 5px rgba(0,0,0,.55));
}
body[data-page="bj21"] .bj-wordmark img { mix-blend-mode: normal; }

/* m465 felt full bleed */
body[data-page="bjx"],
html.bj-embed body[data-page="bjx"],
body[data-page="bjx"] .bj-app,
html.bj-embed body[data-page="bjx"] .bj-app,
body[data-page="bjx"] .bj-felt {
  background: #8e1212 !important;
}
body[data-page="bjx"] .bj-felt {
  margin: 0 !important;
  padding: 0 !important;
}
body[data-page="bjx"] .bj-rail {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #8e1212 !important;
  box-shadow: none !important;
}
body[data-page="bjx"] .bj-cloth {
  transform: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
body[data-page="bjx"] .bj-top {
  background: linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.35) 46%, rgba(5,5,5,0) 100%) !important;
}
