.bcs-root,
.bcs-root * { box-sizing: border-box; }

.bcs-root {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  justify-content: center;
}

.bcs-loading {
  width: min(100%, 1200px);
  padding: 24px;
  background: #101820;
  border-radius: 14px;
  text-align: center;
}

.bcs-image-shell {
  width: min(100vw, 1672px);
  margin: 0 auto;
  background: #090909;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  overflow: hidden;
}

.bcs-image-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  background: #071407;
}

.bcs-table-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.bcs-map-hotspot,
.bcs-map-chip {
  position: absolute;
  z-index: 8;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}

.bcs-map-hotspot:hover,
.bcs-map-chip:hover {
  outline: 2px solid rgba(255, 220, 80, .70);
  outline-offset: -2px;
  background: rgba(255,255,255,.04);
}

.bcs-map-hotspot[aria-disabled="true"] {
  cursor: not-allowed;
}

.bcs-map-chip {
  border-radius: 50%;
}

.bcs-map-chip.is-selected {
  outline: 4px solid rgba(255, 225, 80, .98);
  outline-offset: -3px;
  box-shadow: 0 0 0 3px rgba(9, 245, 126, .58), 0 0 24px rgba(255, 210, 50, .88), 0 0 34px rgba(9, 245, 126, .40);
  background: radial-gradient(circle, rgba(255,255,255,.15), rgba(32,255,132,.18) 46%, rgba(255,210,50,.10) 72%, transparent 76%);
}

.bcs-bet-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(22px, 3.2vw, 44px);
  height: clamp(22px, 3.2vw, 44px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 26%, #f7f0c7 27% 47%, #d9a63a 48% 66%, #b87914 67% 100%);
  border: 2px solid #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, .75vw, 12px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,.45), 0 0 14px rgba(255,221,90,.45);
  z-index: 3;
}

.bcs-lock { display:none; }

.bcs-dyn {
  position: absolute;
  z-index: 9;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
  pointer-events: none;
}

.bcs-dyn-credit {
  left: 17.85%; top: 4.2%; width: 8.2%; height: 3.8%;
  display:flex; align-items:center;
  background: linear-gradient(90deg, #070707 0%, rgba(7,7,7,.96) 76%, rgba(7,7,7,0));
  font-size: clamp(11px, 1.35vw, 22px);
}

.bcs-dyn-lastwin {
  left: 74.15%; top: 12.55%; width: 5.4%; height: 3%;
  display:flex; align-items:center;
  background: rgba(0,55,0,.78);
  font-size: clamp(8px, .95vw, 16px);
}

.bcs-dyn-playable {
  left: 80.95%; top: 12.55%; width: 7.4%; height: 3%;
  display:flex; align-items:center;
  background: rgba(0,55,0,.78);
  color: #bcf98c;
  font-size: clamp(8px, .95vw, 16px);
}

.bcs-dyn-bet {
  left: 89.25%; top: 12.55%; width: 5.4%; height: 3%;
  display:flex; align-items:center;
  background: rgba(0,55,0,.78);
  font-size: clamp(8px, .95vw, 16px);
}

.bcs-dyn-puck {
  left: 82.18%; top: 18.35%; width: 4.0%; height: 7.1%;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: clamp(10px, 1.1vw, 20px);
  border: 3px solid rgba(255,255,255,.16);
  background: radial-gradient(circle at 35% 25%, #444, #050505 76%);
}
.bcs-dyn-puck.is-on { background: radial-gradient(circle at 35% 25%, #fff, #dcdcdc 58%, #ababab 100%); color:#111; text-shadow:none; }

.bcs-dyn-point-marker {
  width: 2.32%; height: 4.49%;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle at 35% 25%, #fff, #ddd 64%, #aaa);
  color:#111; text-shadow:none;
  font-size: clamp(9px, .9vw, 17px);
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.bcs-point-4 { left: 35.67%; top: 18.57%; }
.bcs-point-5 { left: 43.66%; top: 18.57%; }
.bcs-point-6 { left: 51.65%; top: 18.57%; }
.bcs-point-8 { left: 59.64%; top: 18.57%; }
.bcs-point-9 { left: 67.63%; top: 18.57%; }
.bcs-point-10 { left: 75.62%; top: 18.57%; }

.bcs-point-box-outline {
  z-index: 12;
  height: 24.76%;
  width: 7.99%;
  top: 19.05%;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 60, .45), 0 0 16px rgba(255,255,255,.22);
  pointer-events: none;
}
.bcs-point-outline-4 { left: 32.83%; }
.bcs-point-outline-5 { left: 40.82%; }
.bcs-point-outline-6 { left: 48.81%; }
.bcs-point-outline-8 { left: 56.80%; }
.bcs-point-outline-9 { left: 64.79%; }
.bcs-point-outline-10 { left: 72.78%; }

.bcs-map-history {
  position: absolute;
  z-index: 7;
  left: 6.62%;
  top: 81.31%;
  width: 77.06%;
  height: 4.85%;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: .45%;
  pointer-events: none;
}
.bcs-map-history span {
  border-radius: 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:#fff;
  font-weight:900;
}
.bcs-map-history span:not(:empty) {
  background: rgba(0,55,15,.92);
  border: 1px solid rgba(255,255,255,.28);
}
.bcs-map-history span.is-seven { background: #1f6fe0; }
.bcs-map-history em { font-style: normal; font-size: clamp(8px, .9vw, 15px); line-height:1; }
.bcs-map-history small { font-size: clamp(6px, .55vw, 10px); line-height:1; margin-top: 2px; }

.bcs-hop-overlay {
  position: absolute;
  z-index: 14;
  left: 5.15%;
  top: 18.25%;
  width: 26.7%;
  height: 59.0%;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15,120,28,.98), rgba(0,82,18,.98));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  padding: .65%;
}
.bcs-hop-tabs {
  height: 10%;
  display:flex;
  gap: 2%;
  margin-bottom: 2%;
}
.bcs-hop-tabs button {
  flex:1;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.3);
  background: linear-gradient(180deg,#c9c9c9,#8b8b8b);
  color:#111;
  font-size: clamp(8px, .8vw, 14px);
  font-weight: 900;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 0 3%;
  cursor:pointer;
}
.bcs-hop-tabs button.is-active { background: linear-gradient(180deg,#91d66a,#4f9a34); color:#fff; }
.bcs-hop-content {
  height: 88%;
  overflow: auto;
  padding-right: 1%;
}
.bcs-hop-content h3 {
  margin: 1.5% 0 2%;
  text-align:center;
  font-size: clamp(10px, 1vw, 18px);
}
.bcs-hop-content h3 small { color: rgba(255,255,255,.72); font-size: .72em; }
.bcs-hop-grid {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}
.bcs-hop-grid-hard { grid-template-columns: repeat(2, 1fr); }
.bcs-hop-zone,
.bcs-hop-grid .bcs-bet-zone {
  position: relative;
  min-height: clamp(34px, 4.4vw, 64px);
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(0,0,0,.13);
  color:#fff;
  cursor:pointer;
  text-align:center;
  padding: 4px;
}
.bcs-hop-grid .bcs-bet-title { display:block; font-size: clamp(8px, .82vw, 14px); font-weight:900; }
.bcs-hop-grid .bcs-bet-sub { display:block; font-size: clamp(6px, .62vw, 10px); color: rgba(255,255,255,.76); }

.bcs-map-coach {
  background: #101820;
  padding: 10px 18px;
  display:flex;
  gap: 10px;
  align-items:center;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.bcs-map-coach strong { color: #f0c73a; white-space: nowrap; }
.bcs-map-coach span { color: rgba(255,255,255,.84); }

/* Hide legacy layout pieces if older markup survives cache. */
.bcs-sidebar,.bcs-header,.bcs-topbar,.bcs-layout,.bcs-terminal,.bcs-dice-stage,.bcs-chip-rail,.bcs-disclaimer { display:none !important; }

@media (max-width: 800px) {
  .bcs-root {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .bcs-image-shell {
    min-width: 980px;
    width: 980px;
  }
  .bcs-map-coach {
    position: sticky;
    left: 0;
    width: 100vw;
  }
}

/* v0.5.1: background-image fallback so the mapped plate still displays if the IMG element is delayed. */
.bcs-image-stage {
  background-image: var(--bcs-table-image), linear-gradient(180deg,#081908,#041008) !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.bcs-table-img.is-broken {
  opacity: 0;
}

/* v0.5.2 mapped-image cleanup: scrubbed base plate now carries the panel backgrounds, so live text should not draw extra boxes/shadows. */
.bcs-dyn {
  text-shadow: 0 1px 1px rgba(0,0,0,.55) !important;
}
.bcs-dyn-credit,
.bcs-dyn-lastwin,
.bcs-dyn-playable,
.bcs-dyn-bet {
  background: transparent !important;
  padding: 0 !important;
  justify-content: flex-start;
}
.bcs-dyn-credit {
  left: 18.05% !important;
  top: 4.62% !important;
  width: 7.2% !important;
  height: 2.9% !important;
  font-size: clamp(11px, 1.25vw, 20px) !important;
}
.bcs-dyn-lastwin {
  left: 74.28% !important;
  top: 12.45% !important;
  width: 5.0% !important;
  height: 2.6% !important;
  font-size: clamp(8px, .9vw, 15px) !important;
}
.bcs-dyn-playable {
  left: 80.98% !important;
  top: 12.45% !important;
  width: 6.9% !important;
  height: 2.6% !important;
  font-size: clamp(8px, .9vw, 15px) !important;
}
.bcs-dyn-bet {
  left: 89.32% !important;
  top: 12.45% !important;
  width: 5.0% !important;
  height: 2.6% !important;
  font-size: clamp(8px, .9vw, 15px) !important;
}
.bcs-dyn-puck {
  left: 83.18% !important;
  top: 17.16% !important;
  width: 4.3% !important;
  height: 7.7% !important;
  z-index: 12;
}
.bcs-map-hotspot:hover,
.bcs-map-chip:hover {
  background: rgba(255,255,255,.025) !important;
  outline: 2px solid rgba(255, 220, 80, .55) !important;
}
.bcs-map-chip.is-selected {
  outline: 3px solid rgba(255, 225, 80, .85) !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}

/* v0.5.3: calibration/debug hit boxes. Use shortcode debug="1" or URL ?bcs_debug=1 while logged in as admin. */
.bcs-debug-toggle {
  margin-left: auto;
  background: #f0c73a;
  color: #111;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
  cursor: pointer;
}
.bcs-debug-banner {
  position: absolute;
  z-index: 60;
  left: 1%;
  top: 8.3%;
  max-width: 38%;
  background: rgba(0,0,0,.78);
  border: 2px solid #f0c73a;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: clamp(10px, .8vw, 14px);
  line-height: 1.25;
  pointer-events: none;
}
.bcs-debug-banner strong {
  color: #f0c73a;
  display: block;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bcs-debug-banner span { color: #fff; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-hotspot,
.bcs-image-shell.is-debug-hitboxes .bcs-map-chip {
  border: 2px solid rgba(255,255,255,.95) !important;
  outline: 2px solid rgba(0,0,0,.55) !important;
  outline-offset: -2px !important;
  background: rgba(0, 136, 255, .24) !important;
  overflow: visible !important;
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-action { background: rgba(255, 164, 0, .33) !important; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-tab { background: rgba(190, 80, 255, .33) !important; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-quick { background: rgba(0, 255, 210, .27) !important; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-chip { background: rgba(255, 225, 0, .38) !important; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-planned {
  background: rgba(255, 67, 67, .26) !important;
  border-color: rgba(255, 67, 67, .95) !important;
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-hotspot::after,
.bcs-image-shell.is-debug-hitboxes .bcs-map-chip::after {
  content: attr(data-debug-label);
  position: absolute;
  z-index: 90;
  left: 0;
  top: 0;
  max-width: 170px;
  transform: translateY(-2px);
  background: rgba(0,0,0,.78);
  color: #fff;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: clamp(7px, .55vw, 11px);
  font-weight: 900;
  line-height: 1.05;
  white-space: normal;
  text-align: left;
  pointer-events: none;
}
.bcs-image-shell.is-debug-hitboxes .bcs-bet-chip::after { content: none; }

/* v0.5.4: debug tuning from live screenshot. */
.bcs-image-shell {
  position: relative;
  z-index: 5000;
  isolation: isolate;
}
.bcs-image-stage {
  position: relative;
  z-index: 5001;
}
/* Hide theme sticky headers/nav copies if they overlap the simulator area. */
.bcs-image-shell :is(.site-header, .main-header, .elementor-location-header, .kadence-sticky-header, .sticky-header) {
  display: none !important;
}
.bcs-debug-coords {
  position: absolute;
  z-index: 61;
  right: 1%;
  top: 8.3%;
  background: rgba(0,0,0,.78);
  border: 2px solid #f0c73a;
  border-radius: 10px;
  color: #fff;
  font-size: clamp(10px, .8vw, 14px);
  font-weight: 900;
  padding: 8px 10px;
  pointer-events: none;
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-setbets-zone {
  background: rgba(255, 67, 67, .26) !important;
  border-color: rgba(255, 67, 67, .95) !important;
}


/* v0.5.5: second coordinate tuning from live hit-box screenshot. */
.bcs-dyn-puck {
  left: 82.85% !important;
  top: 16.85% !important;
  width: 4.75% !important;
  height: 8.35% !important;
  z-index: 20;
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-red-zone::after,
.bcs-image-shell.is-debug-hitboxes .bcs-map-horn-piece::after,
.bcs-image-shell.is-debug-hitboxes .bcs-map-big-zone::after {
  max-width: 120px;
}


/* v0.5.6: stronger calibration tools. */
.bcs-debug-grid {
  position: absolute;
  inset: 0;
  z-index: 59;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,220,70,.30) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(255,220,70,.30) 2px, transparent 2px);
  background-size: 5% 100%, 100% 5%, 10% 100%, 100% 10%;
}
.bcs-debug-marker {
  position: absolute;
  z-index: 95;
  display: none;
  transform: translate(-50%, -115%);
  background: #f0c73a;
  color: #111;
  border: 2px solid #111;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: clamp(8px, .7vw, 12px);
  font-weight: 900;
  pointer-events: none;
  white-space: nowrap;
}
.bcs-debug-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #f0c73a;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
}
.bcs-debug-marker.is-visible { display: block; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-hotspot:hover,
.bcs-image-shell.is-debug-hitboxes .bcs-map-chip:hover {
  background: rgba(255, 240, 70, .45) !important;
  border-color: #fff !important;
  outline-color: #111 !important;
}

.bcs-debug-selection {
  position:absolute;
  z-index: 30;
  display:none;
  border: 2px dashed #fff;
  background: rgba(255, 206, 55, .16);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 1px 2px #000;
  pointer-events:none;
}
.bcs-debug-selection.is-visible { display:block; }

/* v0.5.8: copy/paste calibration output panel. */
.bcs-debug-copy-panel {
  grid-column: 1 / -1;
  align-items: stretch;
  background: rgba(6, 14, 24, .96);
  border: 1px solid rgba(255, 213, 71, .55);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(170px, .75fr) minmax(260px, 1.35fr) auto;
  margin: 8px 0 2px;
  padding: 9px;
  width: 100%;
}
.bcs-debug-copy-panel label {
  color: #ffe078;
  display: grid;
  font-size: 11px;
  font-weight: 800;
  gap: 4px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.bcs-debug-copy-panel input,
.bcs-debug-copy-panel textarea {
  background: #07121d;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  min-height: 38px;
  padding: 8px 10px;
  text-transform: none;
  width: 100%;
}
.bcs-debug-copy-panel textarea {
  height: 40px;
  resize: vertical;
}
.bcs-debug-copy-actions {
  align-items: stretch;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 74px;
  min-width: 210px;
}
.bcs-debug-copy-actions button {
  background: linear-gradient(180deg, #ffe66a, #d5a71e);
  border: 1px solid rgba(0, 0, 0, .45);
  border-radius: 8px;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
}
.bcs-debug-copy-actions span {
  align-self: center;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  grid-column: 1 / -1;
}
.bcs-debug-selection {
  align-items: start;
  font-size: 10px;
  min-width: 130px;
  overflow: visible;
  padding-top: 2px;
  white-space: nowrap;
}
@media (max-width: 850px) {
  .bcs-debug-copy-panel { grid-template-columns: 1fr; }
  .bcs-debug-copy-actions { min-width: 0; }
}


/* v0.5.11 roll-history tuning: mapped to full user-provided strip and uses dice-style tiles. */
.bcs-map-history {
  left: 6.49% !important;
  top: 80.87% !important;
  width: 77.33% !important;
  height: 5.21% !important;
  grid-template-columns: repeat(20, 1fr) !important;
  gap: .38% !important;
}
.bcs-map-history span:not(:empty) {
  background: linear-gradient(180deg, #d71924, #9b0b13) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 3px rgba(0,0,0,.35) !important;
}
.bcs-map-history span.is-seven {
  background: linear-gradient(180deg, #2b85f5, #0955bb) !important;
}
.bcs-hist-dice {
  display:flex;
  gap:2px;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-weight:900;
}
.bcs-die-face {
  display:inline-block;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.20));
}
.bcs-hist-dice .bcs-die-face {
  width: clamp(10px, 1.05vw, 16px);
  height: clamp(10px, 1.05vw, 16px);
}
.bcs-map-history em {
  color:#fff;
  font-size: clamp(6px, .62vw, 10px) !important;
  margin-top: 0 !important;
}

/* v0.5.13: more visible last-roll display and chip styling tuned to bottom rail. */
.bcs-last-roll-panel {
  position: absolute;
  z-index: 9;
  left: 41.0%;
  top: 13.15%;
  width: 20.8%;
  height: 7.7%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(12,22,14,.86), rgba(0,0,0,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.28);
  color: #fff;
  display: grid;
  grid-template-columns: 36% 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: .55% .7%;
  pointer-events: none;
}
.bcs-last-roll-panel strong {
  align-self: end;
  color: #ffe56a;
  font-size: clamp(8px, .72vw, 12px);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bcs-last-roll-panel > span {
  grid-row: 1 / 3;
  grid-column: 2;
  align-items: center;
  display: flex;
  gap: .28em;
  justify-content: flex-end;
  line-height: 1;
}
.bcs-last-roll-panel > span > .bcs-die-face {
  width: clamp(22px, 3.2vw, 48px);
  height: clamp(22px, 3.2vw, 48px);
  border-radius: 7px;
}
.bcs-last-roll-panel > span > b {
  align-items: center;
  background: rgba(255,214,60,.95);
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  font-size: clamp(14px, 1.55vw, 27px);
  font-weight: 950;
  height: clamp(22px, 3vw, 42px);
  justify-content: center;
  margin-left: .25em;
  min-width: clamp(22px, 3vw, 42px);
  padding: 0 .35em;
  text-shadow: none;
}
.bcs-last-roll-panel > em {
  align-self: start;
  color: rgba(255,255,255,.84);
  font-size: clamp(7px, .7vw, 12px);
  font-style: normal;
  font-weight: 700;
}
.bcs-last-roll-panel.is-seven > span > b { background: #2e8dff; color: #fff; }
.bcs-last-roll-panel.is-hard { border-color: rgba(255,232,96,.50); }

.bcs-bet-chip {
  width: clamp(30px, 3.55vw, 54px) !important;
  height: clamp(30px, 3.55vw, 54px) !important;
  background: radial-gradient(circle at 34% 28%, #fff 0 22%, #f4f4f4 23% 48%, #dadada 49% 72%, #f9f9f9 73% 100%) !important;
  border: 3px solid #f9f9f9 !important;
  box-shadow: 0 5px 12px rgba(0,0,0,.45), inset 0 0 0 5px currentColor, inset 0 0 0 8px rgba(255,255,255,.92) !important;
  color: #d9d9d9;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight: 950 !important;
}
.bcs-bet-chip::before,
.bcs-bet-chip::after {
  content:"";
  position:absolute;
  inset: 4px;
  border-radius:50%;
  border: 2px dashed currentColor;
  opacity:.72;
  pointer-events:none;
}
.bcs-bet-chip > span {
  align-items:center;
  background: rgba(255,255,255,.82);
  border-radius: 50%;
  color:#111;
  display:flex;
  font-size: clamp(8px, .78vw, 12px);
  height: 62%;
  justify-content:center;
  line-height: 1;
  min-width: 62%;
  padding: 0 3px;
  position: relative;
  text-shadow:none;
  z-index: 2;
}
.bcs-bet-chip.bcs-chip-denom-1 { color:#d9d9d9; }
.bcs-bet-chip.bcs-chip-denom-2 { color:#d9c43c; }
.bcs-bet-chip.bcs-chip-denom-5 { color:#d73942; }
.bcs-bet-chip.bcs-chip-denom-10 { color:#256bd9; }
.bcs-bet-chip.bcs-chip-denom-20 { color:#39a947; }
.bcs-bet-chip.bcs-chip-denom-50 { color:#ee861f; }

.bcs-travel-chip {
  position: absolute;
  z-index: 10;
  width: clamp(22px, 3.0vw, 42px);
  height: clamp(22px, 3.0vw, 42px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 30%, #fff 0 26%, #f7f0c7 27% 47%, #d9a63a 48% 66%, #b87914 67% 100%);
  color: #111;
  font-size: clamp(7px, .7vw, 12px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,.45), 0 0 14px rgba(255,221,90,.45);
  pointer-events: none;
}
.bcs-travel-chip::before,
.bcs-travel-chip::after {
  content: "";
  position:absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: .7;
}
.bcs-travel-chip > span { position: relative; z-index: 2; }
.bcs-travel-chip-dc { box-shadow: 0 4px 10px rgba(0,0,0,.5), 0 0 14px rgba(255,120,120,.38); }
.bcs-travel-chip.bcs-chip-denom-1 { color:#d9d9d9; }
.bcs-travel-chip.bcs-chip-denom-2 { color:#d9c43c; }
.bcs-travel-chip.bcs-chip-denom-5 { color:#d73942; }
.bcs-travel-chip.bcs-chip-denom-10 { color:#256bd9; }
.bcs-travel-chip.bcs-chip-denom-20 { color:#39a947; }
.bcs-travel-chip.bcs-chip-denom-50 { color:#ee861f; }

/* v0.5.15: Come/Don't Come odds chips and hit-boxes. */
.bcs-travel-chip-odds {
  width: clamp(18px, 2.35vw, 34px);
  height: clamp(18px, 2.35vw, 34px);
  z-index: 11;
  opacity: .96;
  box-shadow: 0 3px 8px rgba(0,0,0,.45), 0 0 11px rgba(120,210,255,.4);
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-odds-zone {
  background: rgba(120, 210, 255, .28);
  border-color: rgba(120, 210, 255, .95);
}

/* v0.5.17: Set Bets On/Off state and stronger helper messaging. */
.bcs-dyn-setbets {
  left: 40.64%;
  top: 45.48%;
  width: 8.19%;
  height: 4.57%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: .55%;
  font-size: clamp(8px, .75vw, 13px);
  letter-spacing: .06em;
  text-shadow: 0 1px 2px rgba(0,0,0,.8) !important;
  color: rgba(255,255,255,.9);
}
.bcs-dyn-setbets.is-off {
  color: #fff;
  background: linear-gradient(90deg, rgba(185,20,20,.02), rgba(185,20,20,.76));
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 0 12px rgba(255,40,40,.35);
}
.bcs-dyn-setbets.is-on {
  opacity: .01;
}
.bcs-coach-messages {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.bcs-coach-messages span {
  display: block;
  color: rgba(255,255,255,.86);
  line-height: 1.25;
}
.bcs-coach-messages span:first-child {
  color: #fff;
  font-weight: 700;
}
.bcs-map-action.bcs-map-setbets-zone:hover {
  outline-color: rgba(255, 255, 255, .9);
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-setbets-zone {
  background: rgba(255, 255, 255, .24) !important;
  border-color: rgba(255,255,255,.88) !important;
}
@media (max-width: 800px) {
  .bcs-map-coach { align-items: flex-start; }
  .bcs-coach-messages span:nth-child(n+4) { display: none; }
}

/* v0.5.18: screen polish, clean production mode, and drag-to-bet chips. */
.bcs-image-shell:not(.is-debug) .bcs-map-hotspot,
.bcs-image-shell:not(.is-debug) .bcs-map-hotspot:hover,
.bcs-image-shell:not(.is-debug) .bcs-map-hotspot:focus,
.bcs-image-shell:not(.is-debug) .bcs-map-hotspot:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.bcs-image-shell:not(.is-debug) .bcs-map-hotspot:hover {
  cursor: pointer;
}

.bcs-image-shell:not(.is-debug) .bcs-map-hotspot[aria-disabled="true"] {
  cursor: not-allowed;
}

.bcs-image-shell:not(.is-debug) .bcs-map-hotspot[aria-disabled="true"]:hover {
  background: transparent !important;
  outline: 0 !important;
}

.bcs-map-chip {
  touch-action: none;
  cursor: grab;
}
.bcs-map-chip:active { cursor: grabbing; }
.bcs-image-shell:not(.is-debug) .bcs-map-chip:hover {
  background: transparent !important;
  outline: 2px solid rgba(255, 232, 100, .45);
  outline-offset: -4px;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  outline: 4px solid rgba(255, 226, 91, .95) !important;
  outline-offset: -4px;
  box-shadow: 0 0 20px rgba(255, 214, 64, .75), inset 0 0 12px rgba(255,255,255,.25) !important;
}

.bcs-drag-chip {
  position: fixed;
  z-index: 999999;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 22%, #f4f4f4 23% 48%, #dadada 49% 72%, #f9f9f9 73% 100%);
  border: 3px solid #f9f9f9;
  box-shadow: 0 12px 28px rgba(0,0,0,.45), inset 0 0 0 7px currentColor, inset 0 0 0 11px rgba(255,255,255,.92), 0 0 24px rgba(255, 221, 90, .55);
  color: #d73942;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: scale(1.06);
}
.bcs-drag-chip::before,
.bcs-drag-chip::after {
  content:"";
  position:absolute;
  inset: 5px;
  border-radius:50%;
  border: 2px dashed currentColor;
  opacity:.74;
}
.bcs-drag-chip > span {
  align-items:center;
  background: rgba(255,255,255,.84);
  border-radius: 50%;
  color:#111;
  display:flex;
  font-size: 13px;
  font-weight: 950;
  height: 62%;
  justify-content:center;
  line-height: 1;
  min-width: 62%;
  padding: 0 4px;
  position: relative;
  text-shadow:none;
  z-index: 2;
}
.bcs-drag-chip.bcs-chip-denom-1 { color:#d9d9d9; }
.bcs-drag-chip.bcs-chip-denom-2 { color:#d9c43c; }
.bcs-drag-chip.bcs-chip-denom-5 { color:#d73942; }
.bcs-drag-chip.bcs-chip-denom-10 { color:#256bd9; }
.bcs-drag-chip.bcs-chip-denom-20 { color:#39a947; }
.bcs-drag-chip.bcs-chip-denom-50 { color:#ee861f; }

.bcs-bet-chip.is-adjusted {
  animation: bcs-chip-drop .22s ease-out;
}
@keyframes bcs-chip-drop {
  from { transform: translate(-50%, -50%) scale(.55); opacity: .4; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.bcs-travel-chip {
  animation: bcs-chip-drop-centered .24s ease-out;
}
@keyframes bcs-chip-drop-centered {
  from { transform: translate(-50%, -50%) scale(.55); opacity: .4; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.bcs-image-shell.is-rolling .bcs-last-roll-panel {
  animation: bcs-roll-pulse .45s ease-in-out;
}
@keyframes bcs-roll-pulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.045); filter: brightness(1.18); }
}

.bcs-roll-flash {
  position: absolute;
  z-index: 12;
  left: 62.8%;
  top: 14.1%;
  min-width: 11.5%;
  max-width: 18%;
  border-radius: 999px;
  padding: .42% .72%;
  pointer-events: none;
  text-align: center;
  color: #fff;
  font-size: clamp(8px, .82vw, 14px);
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
  animation: bcs-flash-pop 2.8s ease-out both;
}
.bcs-roll-flash.is-win {
  background: linear-gradient(180deg, rgba(53,211,92,.92), rgba(8,118,36,.80));
  box-shadow: 0 0 18px rgba(77,255,111,.45), inset 0 1px 0 rgba(255,255,255,.25);
}
.bcs-roll-flash.is-loss {
  background: linear-gradient(180deg, rgba(210,52,52,.82), rgba(110,10,10,.68));
  box-shadow: 0 0 16px rgba(255,80,80,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.bcs-roll-flash.is-neutral {
  background: linear-gradient(180deg, rgba(45,95,160,.82), rgba(12,34,88,.65));
  box-shadow: 0 0 16px rgba(80,140,255,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
@keyframes bcs-flash-pop {
  0% { opacity: 0; transform: translateY(10px) scale(.9); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-3px) scale(.98); }
}

.bcs-image-shell.has-win .bcs-image-stage::after {
  content:"";
  position:absolute;
  z-index: 2;
  inset: 0;
  pointer-events:none;
  background: radial-gradient(circle at 70% 18%, rgba(93,255,110,.15), transparent 18%), radial-gradient(circle at 50% 50%, rgba(255,225,90,.08), transparent 32%);
  animation: bcs-win-glow 1.4s ease-out both;
}
@keyframes bcs-win-glow {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

.bcs-map-coach {
  border-top: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(8,18,24,.98), rgba(3,8,12,.98));
}
.bcs-map-coach strong::before {
  content: "Coach: ";
  color: rgba(255,255,255,.65);
}

@media (max-width: 800px) {
  .bcs-roll-flash { left: 55%; max-width: 30%; font-size: 10px; }
  .bcs-drag-chip { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}

/* v0.5.19: single moving puck, bet-to-bet drag, and clearer roll plus/minus. */
.bcs-off-puck-cover {
  left: 82.03%;
  top: 18.1%;
  width: 4.55%;
  height: 7.85%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 46%, rgba(8,121,16,.98) 0 57%, rgba(7,109,15,.98) 58% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 0 0 2px rgba(0,0,0,.08);
}
.bcs-dyn-point-marker {
  width: 4.05%;
  height: 7.1%;
  font-size: clamp(10px, 1.1vw, 20px);
  font-weight: 950;
  border: 3px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 15px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.85);
}
.bcs-point-4 { left: 34.95%; top: 28.2%; }
.bcs-point-5 { left: 42.75%; top: 28.2%; }
.bcs-point-6 { left: 50.55%; top: 28.2%; }
.bcs-point-8 { left: 58.35%; top: 28.2%; }
.bcs-point-9 { left: 66.15%; top: 28.2%; }
.bcs-point-10 { left: 73.95%; top: 28.2%; }
.bcs-roll-net {
  align-self: start;
  border-radius: 999px;
  display: inline-flex;
  font-size: clamp(9px, .78vw, 13px);
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  margin-top: .35em;
  padding: .36em .62em;
  text-shadow: none;
}
.bcs-roll-net.is-plus {
  background: linear-gradient(180deg,#e7ffd5,#6bdd65);
  color: #0c4015;
}
.bcs-roll-net.is-minus {
  background: linear-gradient(180deg,#ffdada,#e94b4b);
  color: #fff;
}
.bcs-roll-net.is-zero {
  background: linear-gradient(180deg,#e9f1ff,#90a8d8);
  color: #132a55;
}
.bcs-bet-chip {
  cursor: grab;
  touch-action: none;
}
.bcs-bet-chip:active {
  cursor: grabbing;
}
.bcs-drag-chip.is-from-bet {
  box-shadow: 0 12px 30px rgba(0,0,0,.50), inset 0 0 0 7px currentColor, inset 0 0 0 11px rgba(255,255,255,.92), 0 0 28px rgba(96, 202, 255, .58);
}

/* v0.5.20: fun production polish — sound, bubble roll, scenarios, and session summary. */
.bcs-last-roll-panel.is-bubbling {
  border-color: rgba(255,232,96,.54);
  background: linear-gradient(180deg, rgba(30,38,18,.92), rgba(0,0,0,.62));
  animation: bcs-bubble-panel .58s ease-in-out infinite alternate;
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice .bcs-die-face {
  animation: bcs-bubble-die .42s ease-in-out infinite;
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice .bcs-die-face:nth-child(2) { animation-delay: .09s; }
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice b {
  animation: bcs-bubble-total .48s ease-in-out infinite alternate;
}
@keyframes bcs-bubble-panel {
  from { filter: brightness(1); transform: scale(1); }
  to { filter: brightness(1.18); transform: scale(1.025); }
}
@keyframes bcs-bubble-die {
  0%,100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-8%) rotate(-10deg); }
  68% { transform: translateY(6%) rotate(12deg); }
}
@keyframes bcs-bubble-total {
  from { transform: scale(.92); opacity:.72; }
  to { transform: scale(1.08); opacity:1; }
}

.bcs-map-coach {
  align-items: stretch;
  gap: 14px;
  min-height: 92px;
}
.bcs-map-coach > strong {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.bcs-coach-wrap {
  align-items: center;
  display: grid;
  flex: 1;
  gap: 10px;
  grid-template-columns: minmax(280px, 1.35fr) minmax(185px, .8fr) minmax(360px, 1.4fr) auto;
}
.bcs-coach-primary {
  color: rgba(255,255,255,.92);
  font-size: clamp(12px, .92vw, 15px);
  font-weight: 700;
  line-height: 1.28;
}
.bcs-coach-details {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  max-height: 170px;
  overflow: auto;
  padding: 9px 11px;
}
.bcs-coach-details summary {
  color: #ffe56a;
  cursor: pointer;
  font-weight: 900;
  list-style-position: inside;
}
.bcs-coach-details ol,
.bcs-coach-details p {
  margin: 7px 0 0;
  padding-left: 18px;
}
.bcs-coach-details li {
  margin: 4px 0;
  font-size: 12px;
  line-height: 1.25;
}
.bcs-session-summary {
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  padding: 9px 11px;
}
.bcs-session-summary span {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.bcs-session-summary strong {
  font-size: clamp(13px, 1vw, 18px);
  white-space: nowrap;
}
.bcs-session-summary strong.is-plus { color: #7ff28d; }
.bcs-session-summary strong.is-minus { color: #ff8b8b; }
.bcs-session-summary strong.is-zero { color: #c9d7ff; }
.bcs-session-summary em {
  color: rgba(255,255,255,.70);
  font-size: 11px;
  font-style: normal;
  line-height: 1.15;
}
.bcs-practice-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.bcs-practice-scenarios button,
.bcs-sound-toggle {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 10px;
}
.bcs-practice-scenarios button {
  background: linear-gradient(180deg, #33434f, #17242e);
  color: #fff;
}
.bcs-practice-scenarios button:hover {
  filter: brightness(1.14);
}
.bcs-sound-toggle {
  background: linear-gradient(180deg, #3e4650, #1c242c);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.bcs-sound-toggle.is-on {
  background: linear-gradient(180deg, #ffe682, #d3a623);
  color: #111;
}

.bcs-image-shell.is-rolling .bcs-image-stage::before {
  content:"";
  position:absolute;
  z-index: 2;
  inset: 0;
  pointer-events:none;
  background: radial-gradient(circle at 52% 17%, rgba(255,225,80,.18), transparent 14%), radial-gradient(circle at 62% 20%, rgba(255,255,255,.12), transparent 10%);
  animation: bcs-bubble-screen .5s ease-in-out infinite alternate;
}
@keyframes bcs-bubble-screen {
  from { opacity:.35; }
  to { opacity:.85; }
}

@media (max-width: 1250px) {
  .bcs-coach-wrap {
    grid-template-columns: minmax(260px, 1fr) minmax(190px, .8fr);
  }
  .bcs-practice-scenarios { grid-column: 1 / 3; }
  .bcs-sound-toggle { grid-column: 2; justify-self: end; }
}
@media (max-width: 800px) {
  .bcs-map-coach {
    min-height: 120px;
  }
  .bcs-coach-wrap {
    grid-template-columns: 1fr;
  }
  .bcs-practice-scenarios,
  .bcs-sound-toggle { grid-column: auto; }
  .bcs-coach-details { max-height: 120px; }
}

/* v0.5.22: UI polish — felt chips, dice history, last-roll panel, and coach language. */
.bcs-map-coach {
  background: linear-gradient(180deg, rgba(9,20,28,.99), rgba(4,10,14,.99));
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.bcs-map-coach > strong::before {
  content: "Table Coach: ";
  color: rgba(255,255,255,.64);
}
.bcs-coach-primary {
  background: linear-gradient(90deg, rgba(255,231,99,.10), rgba(255,255,255,.035));
  border-left: 3px solid #ffe56a;
  border-radius: 10px;
  padding: 9px 11px;
}
.bcs-coach-details {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.13);
}
.bcs-coach-details summary {
  color: #ffe56a;
  text-transform: none;
}
.bcs-session-summary {
  background: linear-gradient(180deg, rgba(15,41,54,.92), rgba(8,21,29,.92));
  border-color: rgba(130,210,255,.16);
}
.bcs-practice-scenarios button {
  background: linear-gradient(180deg, #2f5266, #132b3a);
  border-color: rgba(130,210,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.bcs-practice-scenarios button:hover,
.bcs-sound-toggle:hover {
  transform: translateY(-1px);
}
.bcs-sound-toggle {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.bcs-bet-chip,
.bcs-travel-chip {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 32%, #ececec 33% 41%, transparent 42%),
    repeating-conic-gradient(from 8deg, currentColor 0 13deg, #f7f7f7 13deg 27deg),
    radial-gradient(circle at 32% 28%, #fff 0 12%, #f0f0f0 28%, #d4d4d4 65%, #f8f8f8 100%) !important;
  border: 2px solid rgba(255,255,255,.94) !important;
  box-shadow: 0 4px 9px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.24), inset 0 0 0 2px rgba(255,255,255,.95) !important;
}
.bcs-bet-chip::before,
.bcs-bet-chip::after,
.bcs-travel-chip::before,
.bcs-travel-chip::after {
  border-width: 1px;
  inset: 5px;
  opacity: .62;
}
.bcs-bet-chip > span,
.bcs-travel-chip > span {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
  color: #111 !important;
  font-weight: 950;
}
.bcs-map-hotspot:hover .bcs-bet-chip,
.bcs-bet-chip:hover,
.bcs-travel-chip:hover {
  filter: brightness(1.05);
}
.bcs-bet-chip:active,
.bcs-travel-chip:active {
  cursor: grabbing;
  transform: scale(.98);
}

.bcs-map-history {
  align-items: center;
  padding: .35% .5%;
}
.bcs-map-history span {
  border-radius: 4px !important;
  min-height: 82%;
}
.bcs-map-history span:not(:empty) {
  background: linear-gradient(180deg, #dc282a, #841013) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 2px 4px rgba(0,0,0,.36) !important;
  padding: 1px 2px;
}
.bcs-map-history span.is-seven {
  background: linear-gradient(180deg, #357cff, #0a4dac) !important;
}
.bcs-hist-dice {
  gap: 1px;
}
.bcs-hist-dice .bcs-die-face {
  width: clamp(11px, .98vw, 16px);
  height: clamp(11px, .98vw, 16px);
  border-radius: 3px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.22));
}
.bcs-map-history em {
  background: rgba(0,0,0,.24);
  border-radius: 6px;
  padding: 0 4px;
  font-weight: 950;
  line-height: 1.1;
}

.bcs-last-roll-panel {
  left: 40.7%;
  top: 12.75%;
  width: 22.4%;
  height: 8.1%;
  background: linear-gradient(180deg, rgba(13,35,20,.90), rgba(1,8,5,.64));
  border-color: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 18px rgba(0,0,0,.30), 0 0 18px rgba(31,185,67,.10);
}
.bcs-last-roll-panel strong {
  color: #ffe86d;
}
.bcs-last-roll-panel > span > .bcs-die-face,
.bcs-bubble-dice .bcs-die-face {
  width: clamp(24px, 3.15vw, 47px);
  height: clamp(24px, 3.15vw, 47px);
  border-radius: 5px;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.35));
}
.bcs-last-roll-panel > span > b {
  background: linear-gradient(180deg, #ffe879, #d6a61f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 5px rgba(0,0,0,.3);
}
.bcs-roll-net {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.bcs-roll-flash {
  letter-spacing: .02em;
}
.bcs-image-shell.has-win .bcs-image-stage::after {
  background: radial-gradient(circle at 72% 18%, rgba(105,255,126,.18), transparent 18%), radial-gradient(circle at 50% 53%, rgba(255,228,90,.10), transparent 34%);
}

@media (max-width: 980px) {
  .bcs-coach-primary { padding: 8px 9px; }
  .bcs-last-roll-panel { width: 27%; }
  .bcs-last-roll-panel > span > .bcs-die-face,
  .bcs-bubble-dice .bcs-die-face { width: 28px; height: 28px; }
}

/* v0.5.23: live Win Condition rail and more realistic ON puck. */
.bcs-win-condition-lights {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.bcs-win-light {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #4aa3ff 0%, #1773dc 52%, #0752b4 100%);
  border: 1px solid rgba(211, 239, 255, .74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 0 10px rgba(64, 151, 255, .45);
  color: #fff;
  font-weight: 950;
  font-size: clamp(12px, 1.28vw, 22px);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.72);
  animation: bcs-win-condition-pop .22s ease-out;
}
@keyframes bcs-win-condition-pop {
  from { transform: scale(.92); opacity: .35; }
  to { transform: scale(1); opacity: 1; }
}
.bcs-dyn-point-marker {
  top: 20.7% !important;
  width: 3.85% !important;
  height: 6.85% !important;
  background: radial-gradient(circle at 32% 25%, #ffffff 0 16%, #f2f2f2 17% 52%, #bdbdbd 75%, #777 100%) !important;
  border: 2px solid rgba(40,40,40,.75) !important;
  color: #111 !important;
  text-shadow: none !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.85), inset 0 -4px 7px rgba(0,0,0,.20), 0 5px 12px rgba(0,0,0,.45) !important;
  z-index: 13 !important;
}
.bcs-point-4 { left: 34.95% !important; }
.bcs-point-5 { left: 42.75% !important; }
.bcs-point-6 { left: 50.55% !important; }
.bcs-point-8 { left: 58.35% !important; }
.bcs-point-9 { left: 66.15% !important; }
.bcs-point-10 { left: 73.95% !important; }
.bcs-off-puck-cover {
  background: radial-gradient(circle at 50% 48%, rgba(9,110,20,.98) 0 60%, rgba(7,91,18,.98) 61% 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 0 0 2px rgba(0,0,0,.12) !important;
}

/* v0.5.24: closer Interblock-style roll-history colors and active-chip burst. */
.bcs-map-history span:not(:empty) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 1px;
}
.bcs-map-history span.is-seven,
.bcs-map-history span.is-seven-out,
.bcs-map-history span.is-win-total,
.bcs-map-history span.is-neutral-total {
  background: transparent !important;
}
.bcs-map-history .bcs-hist-dice {
  min-height: 56%;
}
.bcs-map-history em {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: clamp(12px, 1.05vw, 18px);
  height: clamp(8px, .78vw, 13px);
  border-radius: 3px !important;
  padding: 0 3px !important;
  color: #fff !important;
  font-size: clamp(6px, .58vw, 10px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  border: 1px solid rgba(255,255,255,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(0,0,0,.35);
}
.bcs-map-history span.is-seven em,
.bcs-map-history span.is-seven-out em {
  background: linear-gradient(180deg, #ff3b3b, #a70610) !important;
}
.bcs-map-history span.is-win-total em {
  background: linear-gradient(180deg, #3c92ff, #0752b4) !important;
}
.bcs-map-history span.is-neutral-total em {
  background: linear-gradient(180deg, #353535, #080808) !important;
}
.bcs-map-history .bcs-die-face {
  background: transparent !important;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  outline: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 136%;
  height: 136%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(236,255,147,.95) 0 10%, rgba(149,255,77,.75) 11% 24%, rgba(58,255,44,.42) 25% 38%, transparent 39% 100%),
    repeating-conic-gradient(from 8deg, rgba(125,255,64,.75) 0 7deg, transparent 8deg 18deg);
  filter: blur(.3px) saturate(1.25);
  opacity: .92;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: bcs-chip-burst-pulse 1.05s ease-in-out infinite alternate;
}
@keyframes bcs-chip-burst-pulse {
  from { opacity: .70; transform: translate(-50%, -50%) scale(.94) rotate(-3deg); }
  to { opacity: .98; transform: translate(-50%, -50%) scale(1.06) rotate(4deg); }
}

/* v0.5.25: tab totals, tray-return drag, and win-rail micro alignment. */
.bcs-tab-total {
  position: absolute;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.85%;
  width: 4.8%;
  border-radius: 6px;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: clamp(8px, .78vw, 14px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
  pointer-events: none;
}
.bcs-tab-total-hard {
  left: 13.55%;
  top: 20.02%;
}
.bcs-tab-total-hop {
  left: 26.85%;
  top: 20.02%;
}
.bcs-map-chip::before {
  transition: opacity .16s ease, transform .16s ease, filter .16s ease;
}
.bcs-image-shell.is-dragging-from-bet .bcs-map-chip::before,
.bcs-image-shell.is-dragging-from-bet .bcs-map-chip::after {
  filter: brightness(1.08);
}

/* v0.5.26: machine-style Odds helper pop-up after Pass/Come/Don't points establish. */
.bcs-odds-backdrop {
  position: absolute;
  z-index: 36;
  inset: 0;
  background: transparent;
}
.bcs-odds-popup {
  position: absolute;
  z-index: 37;
  left: 37.55%;
  top: 12.75%;
  width: 41.7%;
  min-height: 8.0%;
  padding: .72% .85%;
  border: 1px solid rgba(70, 190, 74, .72);
  border-radius: 6px;
  background: rgba(20,20,20,.96);
  box-shadow: 0 6px 18px rgba(0,0,0,.34);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.bcs-odds-popup p {
  margin: 0 2.2em .55em 0;
  font-size: clamp(8px, .72vw, 13px);
  line-height: 1.25;
  color: rgba(255,255,255,.88);
}
.bcs-odds-popup p strong {
  color: #fff;
  font-weight: 900;
}
.bcs-odds-meta {
  display: flex;
  gap: .45em;
  flex-wrap: wrap;
  margin: 0 0 .55em;
}
.bcs-odds-meta span {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.88);
  font-size: clamp(7px, .62vw, 11px);
  font-weight: 800;
  line-height: 1;
  padding: .35em .6em;
}
.bcs-odds-buttons {
  align-items: center;
  display: flex;
  gap: .55em;
  flex-wrap: nowrap;
}
.bcs-odds-choice {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  flex-direction: column;
  width: clamp(34px, 3.75vw, 62px);
  height: clamp(34px, 3.75vw, 62px);
  border: 1px solid rgba(0,0,0,.48);
  border-radius: 999px;
  background: #c9c9c9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -4px 0 rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.45);
  color: #111;
  cursor: pointer;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.bcs-odds-choice span {
  display: block;
  font-size: clamp(9px, .95vw, 16px);
  line-height: 1;
}
.bcs-odds-choice small {
  display: block;
  margin-top: .18em;
  font-size: clamp(6px, .52vw, 9px);
  line-height: 1;
  opacity: .74;
}
.bcs-odds-choice:hover:not(:disabled),
.bcs-odds-choice:focus-visible:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.bcs-odds-choice:disabled {
  cursor: not-allowed;
  filter: grayscale(.75) brightness(.72);
  opacity: .55;
}
.bcs-odds-choice.bcs-no-odds {
  min-width: clamp(38px, 4.1vw, 68px);
  background: #c7c7c7;
}
.bcs-odds-choice.bcs-no-odds span {
  font-size: clamp(6px, .58vw, 10px);
  letter-spacing: .02em;
  max-width: 4.2em;
  line-height: 1.05;
}
.bcs-odds-close {
  position: absolute;
  top: .38em;
  right: .48em;
  width: 1.65em;
  height: 1.65em;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 900;
  line-height: 1;
}
.bcs-odds-close:hover,
.bcs-odds-close:focus-visible {
  background: rgba(255,255,255,.22);
}
@media (max-width: 760px) {
  .bcs-odds-popup {
    left: 11%;
    top: 11%;
    width: 78%;
    padding: 10px;
  }
  .bcs-odds-buttons { gap: 6px; flex-wrap: wrap; }
}


/* v0.5.27: flatter, wider machine-style odds popup and parent-bet odds chip positioning. */
.bcs-odds-popup {
  background: rgba(18,18,18,.96) !important;
  background-image: none !important;
}
.bcs-odds-buttons {
  gap: .72em;
}
.bcs-odds-choice {
  background-image: none !important;
}
.bcs-map-parent-odds .bcs-bet-chip {
  transform: scale(.88);
}
.bcs-map-parent-odds .bcs-bet-chip > span {
  font-size: clamp(7px, .68vw, 11px);
}

/* v0.5.28: prop-tab glow and closer Hop Bets panel overlay. */
.bcs-prop-tab-active {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  border-radius: 9px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.42), transparent 42%),
    linear-gradient(180deg, rgba(164, 232, 111, .78), rgba(59, 157, 45, .70));
  border: 1px solid rgba(206, 255, 175, .68);
  box-shadow:
    0 0 18px rgba(84,255,65,.66),
    0 0 7px rgba(255,255,255,.32) inset,
    inset 0 1px 0 rgba(255,255,255,.48);
  mix-blend-mode: screen;
  opacity: .86;
}
.bcs-image-shell[data-current-prop-tab="hop"] .bcs-tab-total {
  display: none;
}
.bcs-hop-overlay {
  position: absolute;
  z-index: 18;
  left: 5.15%;
  top: 18.25%;
  width: 26.7%;
  height: 59.0%;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(3, 94, 22, .98), rgba(0, 66, 16, .99));
  border: 1px solid rgba(141, 238, 119, .58);
  box-shadow: 0 10px 24px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.08);
  padding: .48%;
  color: #fff;
}
.bcs-hop-tabs {
  height: 10.8%;
  display: flex;
  gap: 2.1%;
  margin-bottom: 2.1%;
}
.bcs-hop-tabs button {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(180deg,#d1d1d1,#8f8f8f);
  color: #171717;
  font-size: clamp(8px, .78vw, 13px);
  font-weight: 950;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 0 3.1%;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 6px rgba(0,0,0,.28);
}
.bcs-hop-tabs button span {
  min-width: 34%;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.47));
  color: #fff;
  padding: .45em .55em;
  text-align: center;
  font-size: .88em;
  text-shadow: 0 1px 2px rgba(0,0,0,.9);
}
.bcs-hop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(164,232,111,.95), rgba(65,157,45,.95));
  color: #fff;
  border-color: rgba(209,255,185,.78);
  box-shadow:
    0 0 18px rgba(84,255,65,.58),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 0 10px rgba(255,255,255,.14);
  text-shadow: 0 1px 2px rgba(0,0,0,.72);
}
.bcs-hop-panel-body {
  height: 87%;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(0, 25, 8, .23);
  border: 1px solid rgba(255,255,255,.12);
  padding: 1.8%;
}
.bcs-hop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 3%;
  color: rgba(255,255,255,.78);
  font-size: clamp(7px, .63vw, 11px);
  font-weight: 900;
  margin: 0 0 1.45%;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.bcs-hop-heading strong {
  color: #fff;
  font-size: clamp(9px, .86vw, 15px);
  text-align: center;
  white-space: nowrap;
}
.bcs-hop-heading span:first-child { text-align: right; }
.bcs-hop-heading span:last-child { text-align: left; }
.bcs-hop-heading-main { margin-top: 2.4%; }
.bcs-hop-grid {
  display: grid;
  gap: 1.45%;
  margin: 0;
}
.bcs-hop-grid-hard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 25.5%;
}
.bcs-hop-grid-easy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 55%;
}
.bcs-hop-cell {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(14,124,34,.58), rgba(0,77,21,.78));
  color: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44% 1fr;
  align-items: center;
  gap: 3%;
  padding: 2.7% 3.2%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.22);
  overflow: visible;
}
.bcs-hop-cell:hover {
  border-color: rgba(255,226,100,.84);
  background: linear-gradient(180deg, rgba(25,150,46,.70), rgba(4,98,28,.83));
}
.bcs-hop-dice-pair {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
}
.bcs-hop-dice-pair .bcs-die-face {
  width: clamp(12px, 1.62vw, 28px);
  height: clamp(12px, 1.62vw, 28px);
  border-radius: 3px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.28));
}
.bcs-hop-cell strong {
  display: block;
  text-align: center;
  font-size: clamp(9px, .9vw, 15px);
  font-weight: 950;
  letter-spacing: .02em;
  line-height: 1;
}
.bcs-hop-cell .bcs-bet-chip {
  width: clamp(22px, 2.25vw, 36px) !important;
  height: clamp(22px, 2.25vw, 36px) !important;
  left: 52%;
  top: 50%;
  font-size: clamp(7px, .55vw, 10px);
}
.bcs-image-shell.is-debug .bcs-hop-overlay {
  opacity: .94;
}

/* v0.5.29: keep prop tab hit zones above decorative glow/totals so HOP BETS is actually clickable. */
.bcs-map-tab { z-index: 60 !important; pointer-events: auto !important; }
.bcs-hop-tabs button { position: relative; z-index: 61; pointer-events: auto; }
.bcs-prop-tab-active { pointer-events: none !important; }

/* v0.5.30: reference-style Hop Bets panel: 3-column lower layout and reliable click layer. */
.bcs-hop-overlay {
  z-index: 55 !important;
  pointer-events: auto !important;
}
.bcs-hop-overlay * {
  pointer-events: auto;
}
.bcs-hop-panel-body {
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  gap: 1.4%;
}
.bcs-hop-heading {
  flex: 0 0 auto;
  margin: 0 !important;
}
.bcs-hop-columns {
  display: grid;
  gap: 2%;
  min-height: 0;
}
.bcs-hop-hard-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 0 24.5%;
}
.bcs-hop-easy-cols {
  grid-template-columns: 1.02fr .92fr 1.02fr;
  flex: 1 1 auto;
}
.bcs-hop-column {
  display: flex;
  flex-direction: column;
  gap: 2.1%;
  min-height: 0;
}
.bcs-hop-cell {
  flex: 1 1 0;
  min-height: 0 !important;
  width: 100%;
  grid-template-columns: 42% 1fr;
  padding: 2.1% 2.4% !important;
  z-index: 56;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.bcs-hop-hard-cols .bcs-hop-cell {
  grid-template-columns: 47% 1fr;
}
.bcs-hop-dice-pair .bcs-die-face {
  width: clamp(11px, 1.52vw, 25px) !important;
  height: clamp(11px, 1.52vw, 25px) !important;
}
.bcs-hop-cell strong {
  font-size: clamp(8px, .82vw, 14px) !important;
}
.bcs-hop-cell .bcs-bet-chip {
  right: 2px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* v0.5.31: machine-like chip interactions and selected-chip burst behind the tray chip. */
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  z-index: 9;
  overflow: visible !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  z-index: -1;
  width: 172%;
  height: 172%;
  background:
    radial-gradient(circle, transparent 0 37%, rgba(242,255,146,.88) 38% 44%, rgba(134,255,58,.64) 45% 56%, transparent 57% 100%),
    repeating-conic-gradient(from 8deg, rgba(124,255,58,.76) 0 6deg, transparent 7deg 18deg);
  filter: blur(.45px) saturate(1.18);
  opacity: .86;
  mix-blend-mode: screen;
}
.bcs-hop-cell {
  cursor: pointer !important;
}
.bcs-hop-cell:active {
  transform: translateY(1px);
  border-color: rgba(255,235,110,.92);
}

/* v0.5.34: interaction diagnostics for click-to-bet and sound debugging. */
.bcs-debug-event-panel {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 2px solid rgba(102, 202, 255, .85);
  border-radius: 12px;
  background: rgba(0, 18, 30, .92);
  color: #fff;
}
.bcs-debug-event-panel > div:first-child {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.bcs-debug-event-panel strong {
  color: #83e1ff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bcs-debug-event-panel [data-bcs-debug-state] {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}
.bcs-debug-event-panel textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(0,0,0,.62);
  color: #d7f4ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  padding: 8px;
}
.bcs-debug-event-panel .bcs-debug-copy-actions button {
  background: #1e5571;
  color: #fff;
}
.bcs-debug-event-panel .bcs-debug-copy-actions button:hover {
  filter: brightness(1.14);
}
.bcs-image-shell.is-debug-hitboxes .bcs-map-hotspot:hover,
.bcs-image-shell.is-debug-hitboxes .bcs-map-chip:hover {
  outline: 3px solid #8cf0ff !important;
}


/* v0.5.35: selectable debug tools so hit boxes, grid, coordinates, calibrator, and event log can be viewed independently. */
.bcs-debug-coords.is-hidden { display: none !important; }
.bcs-debug-mode-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin: 8px 0 2px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 213, 71, .55);
  border-radius: 12px;
  background: rgba(7, 16, 25, .96);
  color: #fff;
}
.bcs-debug-mode-panel strong {
  color: #ffe078;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: 3px;
}
.bcs-debug-mode-panel button {
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: linear-gradient(180deg, #263746, #152431);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}
.bcs-debug-mode-panel button.is-on {
  background: linear-gradient(180deg, #ffe66a, #d7aa22);
  color: #111;
  border-color: rgba(0,0,0,.35);
}
.bcs-debug-banner {
  max-width: 32%;
  opacity: .94;
}
.bcs-debug-event-panel {
  max-height: 315px;
  overflow: hidden;
}
.bcs-debug-event-panel textarea {
  min-height: 96px;
  max-height: 180px;
}
.bcs-debug-copy-panel {
  max-height: 210px;
  overflow: hidden;
}
.bcs-image-shell.is-debug:not(.is-debug-hitboxes) .bcs-map-hotspot,
.bcs-image-shell.is-debug:not(.is-debug-hitboxes) .bcs-map-chip {
  background: transparent !important;
  border-color: transparent !important;
  outline: 0 !important;
}
.bcs-image-shell.is-debug:not(.is-debug-hitboxes) .bcs-map-hotspot::after,
.bcs-image-shell.is-debug:not(.is-debug-hitboxes) .bcs-map-chip::after {
  content: none !important;
}
@media (max-width: 900px) {
  .bcs-debug-mode-panel { gap: 5px; }
  .bcs-debug-mode-panel button { font-size: 11px; padding: 6px 8px; }
  .bcs-debug-banner { max-width: 58%; }
}

/* v0.5.36: move debug controls/logs into a separate section below the simulator. */
.bcs-debug-section {
  width: 100%;
  margin: 16px 0 0;
  padding: 14px;
  border: 2px solid rgba(255, 213, 71, .62);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 18, 28, .98), rgba(2, 10, 16, .98));
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  clear: both;
}
.bcs-debug-section-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.bcs-debug-section-head strong {
  display: block;
  color: #ffe06c;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bcs-debug-section-head span {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}
.bcs-debug-section-head > button {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: linear-gradient(180deg,#344250,#172532);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
}
.bcs-debug-live-coords {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(102, 202, 255, .45);
  border-radius: 10px;
  background: rgba(0,0,0,.42);
  color: #d7f4ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  overflow-wrap: anywhere;
}
.bcs-debug-live-coords.is-hidden { display: none !important; }
.bcs-debug-section .bcs-debug-mode-panel {
  margin: 0 0 12px;
  width: 100%;
  border-color: rgba(255,255,255,.16);
  background: rgba(10, 25, 38, .72);
}
.bcs-debug-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 12px;
  align-items: start;
}
.bcs-debug-section .bcs-debug-copy-panel,
.bcs-debug-section .bcs-debug-event-panel {
  grid-column: auto;
  width: 100%;
  max-height: none;
  overflow: visible;
  margin: 0;
}
.bcs-debug-section .bcs-debug-copy-panel textarea,
.bcs-debug-section .bcs-debug-event-panel textarea {
  min-height: 180px;
  max-height: none;
}
.bcs-debug-section .bcs-debug-event-panel > div:first-child,
.bcs-debug-section .bcs-debug-copy-actions {
  margin-bottom: 8px;
}
@media (max-width: 850px) {
  .bcs-debug-section-head { grid-template-columns: 1fr; }
  .bcs-debug-section-grid { grid-template-columns: 1fr; }
}


/* v0.5.37: click/sound debug fixes and small-screen chip scaling. */
.bcs-image-stage {
  container-type: inline-size;
}
.bcs-bet-chip {
  width: clamp(18px, 3.05cqw, 48px) !important;
  height: clamp(18px, 3.05cqw, 48px) !important;
}
.bcs-travel-chip {
  width: clamp(18px, 3.0cqw, 46px) !important;
  height: clamp(18px, 3.0cqw, 46px) !important;
}
.bcs-bet-chip > span,
.bcs-travel-chip > span {
  font-size: clamp(7px, .95cqw, 13px) !important;
}
.bcs-hop-cell .bcs-bet-chip {
  width: clamp(16px, 2.45cqw, 34px) !important;
  height: clamp(16px, 2.45cqw, 34px) !important;
}
@media (max-width: 900px) {
  .bcs-bet-chip { width: 22px !important; height: 22px !important; }
  .bcs-bet-chip > span { font-size: 8px !important; }
  .bcs-hop-cell .bcs-bet-chip { width: 18px !important; height: 18px !important; }
}

/* v0.5.40: less confusing no-op renders + smaller-screen scaling polish. */
.bcs-roll-flash {
  pointer-events: none;
}
.bcs-image-stage {
  container-type: inline-size;
}
@container (max-width: 980px) {
  .bcs-last-roll-panel {
    left: 37.5%;
    top: 12.35%;
    width: 28.5%;
    height: 9.0%;
    padding: .55% .65%;
    border-radius: 8px;
  }
  .bcs-last-roll-panel strong {
    font-size: clamp(7px, 1.15cqw, 10px);
    letter-spacing: .04em;
  }
  .bcs-last-roll-panel > em {
    font-size: clamp(6px, .95cqw, 9px);
  }
  .bcs-last-roll-panel > span > .bcs-die-face,
  .bcs-bubble-dice .bcs-die-face {
    width: clamp(18px, 3.0cqw, 34px);
    height: clamp(18px, 3.0cqw, 34px);
  }
  .bcs-last-roll-panel > span > b {
    min-width: clamp(18px, 2.8cqw, 32px);
    height: clamp(18px, 2.8cqw, 32px);
    font-size: clamp(11px, 1.55cqw, 19px);
  }
  .bcs-odds-popup {
    left: 32%;
    top: 11.9%;
    width: 55%;
    min-height: 9.4%;
    padding: .9% 1.05%;
  }
  .bcs-odds-popup p {
    font-size: clamp(7px, 1.05cqw, 10px);
    margin-bottom: .45em;
  }
  .bcs-odds-meta {
    gap: .25em;
    margin-bottom: .42em;
  }
  .bcs-odds-meta span {
    font-size: clamp(6px, .9cqw, 9px);
    padding: .28em .46em;
  }
  .bcs-odds-buttons {
    gap: .38em;
    flex-wrap: nowrap;
  }
  .bcs-odds-choice {
    width: clamp(28px, 4.6cqw, 44px);
    height: clamp(28px, 4.6cqw, 44px);
  }
  .bcs-odds-choice span {
    font-size: clamp(8px, 1.35cqw, 12px);
  }
  .bcs-odds-choice small {
    font-size: clamp(5px, .82cqw, 7px);
  }
}
@container (max-width: 700px) {
  .bcs-last-roll-panel {
    left: 35%;
    width: 32%;
    height: 9.8%;
  }
  .bcs-last-roll-panel > em {
    display: none;
  }
  .bcs-last-roll-panel > span {
    gap: .16em;
  }
  .bcs-odds-popup {
    left: 6%;
    top: 10.8%;
    width: 88%;
    min-height: 11%;
    padding: 1.2% 1.4%;
  }
  .bcs-odds-buttons {
    flex-wrap: wrap;
  }
  .bcs-odds-choice {
    width: clamp(30px, 7.5cqw, 44px);
    height: clamp(30px, 7.5cqw, 44px);
  }
  .bcs-map-coach {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }
  .bcs-coach-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@container (max-width: 560px) {
  .bcs-bet-chip,
  .bcs-travel-chip {
    width: clamp(14px, 3.4cqw, 22px) !important;
    height: clamp(14px, 3.4cqw, 22px) !important;
  }
  .bcs-bet-chip > span,
  .bcs-travel-chip > span {
    font-size: clamp(6px, 1.1cqw, 8px) !important;
  }
  .bcs-hop-cell .bcs-bet-chip {
    width: clamp(12px, 3.0cqw, 18px) !important;
    height: clamp(12px, 3.0cqw, 18px) !important;
  }
  .bcs-hist-dice .bcs-die-face {
    width: clamp(8px, 1.65cqw, 11px);
    height: clamp(8px, 1.65cqw, 11px);
  }
}

/* v0.5.41: replace green ON dot with rectangular ON puck panel over the printed OFF puck. */
.bcs-puck-on-panel {
  left: 80.89%;
  top: 16.63%;
  width: 7.58%;
  height: 7.16%;
  aspect-ratio: auto;
  object-fit: fill;
  background: #102c1e !important;
  z-index: 13;
  pointer-events: none;
  opacity: 1;
  border-radius: 9px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.28));
}

/* v0.5.43: WP user player name overlay and practice leaderboard. */
.bcs-dyn-player-name {
  left: 32.15%;
  top: 2.91%;
  width: 7.51%;
  height: 3.64%;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 2.15%;
  padding-right: .42%;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(3,3,3,.92), rgba(10,10,10,.76));
  border-radius: 999px;
  color: #fff;
  font-size: clamp(7px, .72vw, 13px);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.bcs-leaderboard {
  margin: 14px auto 0;
  max-width: min(100%, 1672px);
  background: linear-gradient(180deg, #0f1b22, #071016);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  overflow: hidden;
}
.bcs-leaderboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(8,34,18,.95), rgba(6,20,30,.95));
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.bcs-leaderboard-head strong {
  display: block;
  color: #ffe86b;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bcs-leaderboard-head span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.bcs-current-player-card {
  min-width: 210px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(91,206,118,.35);
  text-align: right;
}
.bcs-current-player-card span,
.bcs-current-player-card em {
  display: block;
  color: rgba(255,255,255,.70);
  font-size: 11px;
  font-style: normal;
}
.bcs-current-player-card b {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bcs-leaderboard-table {
  display: grid;
  padding: 8px;
  gap: 4px;
}
.bcs-lb-row {
  display: grid;
  grid-template-columns: 44px minmax(120px, 1fr) 120px 120px 120px 80px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}
.bcs-lb-row-head {
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 900;
}
.bcs-lb-row.is-current {
  background: linear-gradient(90deg, rgba(42,128,57,.45), rgba(38,89,138,.28));
  border-color: rgba(104,255,124,.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 18px rgba(61,220,89,.20);
}
.bcs-lb-row span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}
.bcs-lb-row .is-plus { color: #72ff9a; font-weight: 950; }
.bcs-lb-row .is-minus { color: #ff7a7a; font-weight: 950; }
.bcs-leaderboard-empty {
  margin: 0;
  padding: 18px 16px;
  color: rgba(255,255,255,.76);
}
@media (max-width: 820px) {
  .bcs-leaderboard-head { align-items: stretch; flex-direction: column; }
  .bcs-current-player-card { min-width: 0; text-align: left; }
  .bcs-lb-row {
    grid-template-columns: 36px minmax(100px, 1fr) 92px 92px;
  }
  .bcs-lb-row span:nth-child(5),
  .bcs-lb-row span:nth-child(6) { display: none; }
}

/* v0.5.44: machine-style payout count-up overlay and generated table audio polish. */
.bcs-roll-flash.bcs-machine-payout {
  left: 50%;
  top: 18.6%;
  min-width: 19%;
  max-width: 30%;
  transform: translateX(-50%);
  border-radius: 10px;
  padding: .45% 1.35%;
  background:
    radial-gradient(circle at 55% 44%, rgba(255, 70, 48, .60), transparent 42%),
    linear-gradient(180deg, rgba(62, 18, 14, .92), rgba(28, 5, 4, .76));
  border: 1px solid rgba(255, 186, 84, .42);
  box-shadow:
    0 0 30px rgba(255, 215, 64, .48),
    0 0 62px rgba(68, 255, 45, .28),
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -10px 18px rgba(0,0,0,.24);
  animation: bcs-machine-payout-pop 2.65s ease-out both;
}
.bcs-roll-flash.bcs-machine-payout span {
  display: block;
  color: #ffd75d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 4.45vw, 78px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .95;
  text-shadow:
    0 2px 0 rgba(121, 39, 0, .82),
    0 5px 8px rgba(0,0,0,.62),
    0 0 14px rgba(255, 247, 147, .40);
}
.bcs-roll-flash.bcs-machine-payout::before,
.bcs-roll-flash.bcs-machine-payout::after {
  content: "";
  position: absolute;
  inset: -34% -18%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(139, 255, 45, .40), rgba(139, 255, 45, .16) 34%, transparent 68%);
  filter: blur(1px);
  animation: bcs-machine-win-aura 2.4s ease-out both;
}
.bcs-roll-flash.bcs-machine-payout::after {
  inset: -50% -28%;
  background: radial-gradient(ellipse at center, rgba(255, 228, 67, .34), transparent 62%);
  animation-delay: .08s;
}
@keyframes bcs-machine-payout-pop {
  0% { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.66); filter: brightness(1.3); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.08); }
  20% { transform: translateX(-50%) translateY(0) scale(1); }
  78% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.96); }
}
@keyframes bcs-machine-win-aura {
  0% { opacity: 0; transform: scale(.86); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.18); }
}
@container (max-width: 980px) {
  .bcs-roll-flash.bcs-machine-payout {
    top: 20%;
    min-width: 24%;
    max-width: 38%;
    padding: .55% 1.2%;
  }
  .bcs-roll-flash.bcs-machine-payout span {
    font-size: clamp(18px, 5.2cqw, 44px);
  }
}


/* v0.5.45: more detailed roll breakdown support. */
.bcs-coach-details ol {
  padding-left: 20px;
}
.bcs-coach-details li {
  margin: 5px 0;
}
@media (min-width: 1000px) {
  .bcs-coach-details {
    max-height: 220px;
  }
}


/* v0.5.47: full UI scale/refinement pass. */
.bcs-root {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow-x: hidden !important;
}
.bcs-image-shell,
.bcs-leaderboard,
.bcs-debug-section {
  width: min(100vw, 1672px) !important;
  max-width: 1672px !important;
  flex: 0 0 auto !important;
}
.bcs-image-stage { container-type: inline-size; }

/* Keep terminal labels inside their printed boxes at every scale. */
.bcs-dyn-credit,
.bcs-dyn-lastwin,
.bcs-dyn-playable,
.bcs-dyn-bet,
.bcs-tab-total,
.bcs-dyn-player-name {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
}
.bcs-dyn-credit { font-size: clamp(7px, 1.18cqw, 20px) !important; }
.bcs-dyn-lastwin,
.bcs-dyn-playable,
.bcs-dyn-bet { font-size: clamp(6px, .9cqw, 15px) !important; }
.bcs-dyn-player-name {
  left: 32.63% !important;
  top: 2.43% !important;
  width: 7.30% !important;
  height: 4.61% !important;
  padding-left: 1.15% !important;
  padding-right: .35% !important;
  font-size: clamp(5px, .76cqw, 12px) !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

/* Move the helper/last roll up and make it compact enough for split-screen views. */
.bcs-last-roll-panel {
  left: 40.2% !important;
  top: 10.75% !important;
  width: 22.2% !important;
  height: 7.7% !important;
  padding: .45% .62% !important;
  border-radius: clamp(5px, .8cqw, 12px) !important;
  grid-template-columns: 34% 1fr !important;
}
.bcs-last-roll-panel strong { font-size: clamp(5px, .66cqw, 11px) !important; }
.bcs-last-roll-panel > em { font-size: clamp(5px, .60cqw, 10px) !important; }
.bcs-last-roll-panel > span { gap: .18em !important; }
.bcs-last-roll-panel > span > .bcs-die-face,
.bcs-bubble-dice .bcs-die-face {
  width: clamp(14px, 2.45cqw, 40px) !important;
  height: clamp(14px, 2.45cqw, 40px) !important;
}
.bcs-last-roll-panel > span > b {
  min-width: clamp(14px, 2.15cqw, 36px) !important;
  height: clamp(14px, 2.15cqw, 36px) !important;
  font-size: clamp(8px, 1.25cqw, 22px) !important;
}

/* Win condition rail: smaller, cleaner blue pills. */
.bcs-win-light {
  transform: scale(.82) !important;
  transform-origin: center !important;
  border-radius: 4px !important;
  font-size: clamp(7px, .95cqw, 17px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 7px rgba(64,151,255,.36) !important;
}

/* Keep the printed OFF puck covered with a compact no-border panel, but restore the moving ON puck on the point. */
.bcs-puck-on-panel {
  left: 80.95% !important;
  top: 18.35% !important;
  width: 5.85% !important;
  height: auto !important;
  aspect-ratio: 3 / 1 !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.22)) !important;
}
.bcs-dyn-point-marker {
  top: 20.95% !important;
  width: 3.55% !important;
  height: 6.15% !important;
  font-size: clamp(6px, .75cqw, 14px) !important;
  z-index: 14 !important;
}
.bcs-point-4 { left: 34.55% !important; }
.bcs-point-5 { left: 42.35% !important; }
.bcs-point-6 { left: 50.15% !important; }
.bcs-point-8 { left: 57.95% !important; }
.bcs-point-9 { left: 65.75% !important; }
.bcs-point-10 { left: 73.55% !important; }

/* Drag chip should feel like the terminal chip, not a giant floating button. */
.bcs-drag-chip {
  width: clamp(34px, 4.2vw, 54px) !important;
  height: clamp(34px, 4.2vw, 54px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  border-width: 2px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.40), inset 0 0 0 5px currentColor, inset 0 0 0 8px rgba(255,255,255,.92), 0 0 16px rgba(255,221,90,.38) !important;
}
.bcs-drag-chip::before,
.bcs-drag-chip::after { inset: 4px !important; border-width: 1px !important; }
.bcs-drag-chip > span { font-size: clamp(9px, 1.05vw, 12px) !important; }

/* Table chip sizing that scales by the actual table width. */
.bcs-bet-chip,
.bcs-travel-chip {
  width: clamp(14px, 2.65cqw, 42px) !important;
  height: clamp(14px, 2.65cqw, 42px) !important;
}
.bcs-bet-chip > span,
.bcs-travel-chip > span { font-size: clamp(5px, .78cqw, 11px) !important; }
.bcs-hop-cell .bcs-bet-chip {
  width: clamp(12px, 2.15cqw, 28px) !important;
  height: clamp(12px, 2.15cqw, 28px) !important;
}

/* Leaderboard/debug are full-width sections below the game, not side panels. */
.bcs-leaderboard { margin: 14px auto 0 !important; }
.bcs-leaderboard-head { gap: 10px !important; }
.bcs-leaderboard-head strong { font-size: clamp(14px, 1.25cqw, 22px) !important; white-space: nowrap !important; }
.bcs-leaderboard-head span { font-size: clamp(9px, .82cqw, 12px) !important; }
.bcs-current-player-card { min-width: 180px !important; max-width: 320px !important; }
.bcs-lb-row {
  grid-template-columns: 36px minmax(120px, 1fr) minmax(72px, 110px) minmax(72px, 110px) minmax(72px, 110px) minmax(54px, 76px) !important;
  font-size: clamp(10px, .86cqw, 13px) !important;
}
.bcs-debug-section {
  margin: 16px auto 0 !important;
  align-self: center !important;
}
.bcs-debug-section-grid { grid-template-columns: minmax(0, 1fr) !important; }
.bcs-debug-section .bcs-debug-copy-panel textarea,
.bcs-debug-section .bcs-debug-event-panel textarea { min-height: 145px !important; }

@container (max-width: 900px) {
  .bcs-last-roll-panel {
    left: 36.8% !important;
    top: 9.9% !important;
    width: 29.5% !important;
    height: 8.8% !important;
  }
  .bcs-last-roll-panel > em { display: none !important; }
  .bcs-dyn-player-name { font-size: clamp(4px, .92cqw, 9px) !important; }
  .bcs-win-light { transform: scale(.74) !important; font-size: clamp(6px, 1.15cqw, 12px) !important; }
  .bcs-puck-on-panel { width: 5.35% !important; }
}

@media (max-width: 800px) {
  .bcs-root { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; overflow-x: hidden !important; }
  .bcs-image-shell { min-width: 0 !important; width: 100% !important; }
  .bcs-map-coach { position: static !important; width: 100% !important; left: auto !important; }
  .bcs-leaderboard, .bcs-debug-section { width: 100% !important; }
  .bcs-lb-row { grid-template-columns: 30px minmax(92px, 1fr) 70px 70px !important; }
  .bcs-lb-row span:nth-child(5), .bcs-lb-row span:nth-child(6) { display: none !important; }
}

/* v0.5.48: viewport-first layout with learning dock below and optional pinned coach. */
.bcs-root {
  --bcs-visible-height-offset: clamp(88px, 16svh, 210px);
  --bcs-table-fit-width: calc((100svh - var(--bcs-visible-height-offset)) * 1.7778958555);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  overflow-x: hidden !important;
}
.bcs-image-shell {
  width: min(100vw, 1672px, var(--bcs-table-fit-width)) !important;
  max-width: 1672px !important;
  flex: 0 0 auto !important;
  border-radius: 0 0 clamp(10px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px) !important;
}
.bcs-image-stage {
  width: 100% !important;
  aspect-ratio: 1672 / 941 !important;
  max-height: calc(100svh - var(--bcs-visible-height-offset)) !important;
  container-type: inline-size !important;
}
.bcs-table-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.bcs-map-coach { display: none !important; }

.bcs-below-hint {
  width: min(100vw, 1672px, var(--bcs-table-fit-width)) !important;
  margin: 0 auto !important;
  padding: 9px 12px !important;
  border: 0 !important;
  border-radius: 0 0 14px 14px !important;
  background: linear-gradient(180deg, rgba(8,18,24,.98), rgba(3,8,12,.98)) !important;
  color: rgba(255,255,255,.88) !important;
  font-weight: 900 !important;
  font-size: clamp(11px, .95vw, 14px) !important;
  letter-spacing: .01em !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
}
.bcs-below-hint span {
  color: #f7d44c !important;
  display: inline-block !important;
  margin-left: 6px !important;
  animation: bcs-below-arrow 1.2s ease-in-out infinite;
}
@keyframes bcs-below-arrow {
  0%,100% { transform: translateY(-1px); opacity: .72; }
  50% { transform: translateY(3px); opacity: 1; }
}

.bcs-learning-dock,
.bcs-leaderboard,
.bcs-debug-section {
  width: min(100vw - 20px, 1672px) !important;
  max-width: 1672px !important;
  margin: 14px auto 0 !important;
  flex: 0 0 auto !important;
}
.bcs-learning-dock {
  border: 1px solid rgba(96, 202, 255, .28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9,24,34,.98), rgba(4,12,18,.98));
  box-shadow: 0 14px 34px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.bcs-learning-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bcs-learning-dock-head strong {
  display: block;
  color: #ffe867;
  font-size: clamp(15px, 1.25vw, 21px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bcs-learning-dock-head span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.70);
  font-size: clamp(11px, .85vw, 13px);
}
.bcs-learning-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bcs-learning-actions button,
.bcs-learning-dock .bcs-sound-toggle,
.bcs-practice-scenarios button {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34,91,119,.96), rgba(20,66,94,.96));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
  font-size: clamp(11px, .82vw, 13px);
  line-height: 1;
  white-space: nowrap;
}
.bcs-learning-actions button.is-on,
.bcs-learning-dock .bcs-sound-toggle.is-on {
  background: linear-gradient(180deg, #f7d44c, #ce9428);
  color: #111;
}
.bcs-learning-dock.is-collapsed .bcs-learning-dock-head { border-bottom: 0; }

.bcs-learning-dock .bcs-coach-wrap {
  display: grid !important;
  grid-template-columns: minmax(260px, .95fr) minmax(340px, 1.35fr) minmax(220px, .8fr) minmax(260px, .95fr) auto !important;
  gap: 12px !important;
  align-items: stretch !important;
  padding: 14px 16px 16px !important;
}
.bcs-learning-dock .bcs-coach-primary,
.bcs-learning-dock .bcs-coach-details,
.bcs-learning-dock .bcs-session-summary,
.bcs-learning-dock .bcs-practice-scenarios,
.bcs-learning-dock .bcs-sound-toggle {
  min-width: 0 !important;
}
.bcs-learning-dock .bcs-coach-primary {
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.09);
  border-left: 4px solid #ffe867;
  border-radius: 12px;
  padding: 12px;
  font-size: clamp(12px, .92vw, 15px);
  line-height: 1.35;
}
.bcs-learning-dock .bcs-coach-details {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 10px 12px;
  max-height: 260px;
  overflow: auto;
}
.bcs-learning-dock .bcs-coach-details summary {
  cursor: pointer;
  color: #ffe867;
  font-weight: 950;
  margin-bottom: 6px;
}
.bcs-learning-dock .bcs-coach-details ol { margin: 6px 0 0; padding-left: 20px; }
.bcs-learning-dock .bcs-coach-details li { margin: 5px 0; font-size: clamp(12px, .86vw, 14px); line-height: 1.35; }
.bcs-learning-dock .bcs-session-summary {
  display: grid;
  align-content: center;
  gap: 4px;
  background: linear-gradient(180deg, rgba(14,49,64,.9), rgba(6,28,40,.9));
  border: 1px solid rgba(96,202,255,.22);
  border-radius: 12px;
  padding: 11px 12px;
}
.bcs-learning-dock .bcs-session-summary span {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.bcs-learning-dock .bcs-session-summary strong { font-size: clamp(18px, 1.7vw, 28px); }
.bcs-learning-dock .bcs-session-summary strong.is-plus { color: #65e47d; }
.bcs-learning-dock .bcs-session-summary strong.is-minus { color: #ff7373; }
.bcs-learning-dock .bcs-session-summary strong.is-zero { color: #d7e7ff; }
.bcs-learning-dock .bcs-session-summary em { color: rgba(255,255,255,.72); font-style: normal; font-size: 12px; line-height: 1.25; }
.bcs-learning-dock .bcs-practice-scenarios {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bcs-learning-dock .bcs-sound-toggle {
  align-self: center;
  min-width: 118px;
}

.bcs-floating-coach {
  position: absolute;
  z-index: 18;
  right: 1.0%;
  bottom: 10.8%;
  width: min(30%, 380px);
  max-height: 35%;
  overflow: auto;
  border: 1px solid rgba(96,202,255,.38);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(6,24,34,.94), rgba(0,8,13,.91));
  box-shadow: 0 12px 30px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.07);
  padding: 10px;
  color: #fff;
  pointer-events: auto;
}
.bcs-floating-coach-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.bcs-floating-coach-head strong { color: #ffe867; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(10px, .85cqw, 14px); }
.bcs-floating-coach-head button {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.bcs-floating-coach p { margin: 0; font-size: clamp(9px, .82cqw, 13px); line-height: 1.3; }
.bcs-floating-coach details { margin-top: 7px; }
.bcs-floating-coach summary { color: #ffe867; cursor: pointer; font-size: clamp(9px, .78cqw, 12px); font-weight: 900; }
.bcs-floating-coach ol { margin: 5px 0 0; padding-left: 17px; }
.bcs-floating-coach li { margin: 3px 0; font-size: clamp(8px, .72cqw, 11px); line-height: 1.25; }

@media (max-width: 1280px) {
  .bcs-root { --bcs-visible-height-offset: clamp(82px, 14svh, 175px); }
  .bcs-learning-dock .bcs-coach-wrap {
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.25fr) minmax(210px, .9fr) !important;
  }
  .bcs-learning-dock .bcs-practice-scenarios,
  .bcs-learning-dock .bcs-sound-toggle { grid-column: auto; }
}
@media (max-width: 980px) {
  .bcs-root { --bcs-visible-height-offset: 72px; }
  .bcs-image-shell,
  .bcs-below-hint { width: 100vw !important; }
  .bcs-learning-dock .bcs-coach-wrap { grid-template-columns: 1fr !important; }
  .bcs-learning-dock-head { align-items: stretch; flex-direction: column; }
  .bcs-learning-actions { justify-content: flex-start; }
  .bcs-floating-coach { right: 1.5%; bottom: 12%; width: 44%; max-height: 40%; }
}
@media (max-width: 720px) {
  .bcs-floating-coach { display: none !important; }
  .bcs-below-hint { font-size: 11px !important; padding: 7px 10px !important; }
}

/* v0.5.49: branded front-end leaderboard + reliable refreshed score display. */
.bcs-leaderboard {
  position: relative;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 232, 103, .24) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 156, 64, .34), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(62, 157, 255, .20), transparent 38%),
    linear-gradient(180deg, rgba(8, 25, 19, .98), rgba(3, 10, 14, .99)) !important;
  box-shadow: 0 22px 52px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.07) !important;
}
.bcs-leaderboard::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 80%);
}
.bcs-leaderboard > * { position: relative; z-index: 1; }
.bcs-leaderboard-hero {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 340px);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bcs-lb-title {
  min-height: 92px;
  border-radius: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,.48), rgba(10, 55, 28, .42));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.bcs-lb-title small {
  display:block;
  color: #ffe867;
  font-size: clamp(10px, .8vw, 13px);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 950;
}
.bcs-lb-title strong {
  display:block;
  margin-top: 5px;
  color:#fff;
  font-size: clamp(26px, 3.4vw, 52px);
  line-height:.92;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,.44);
}
.bcs-lb-title span {
  display:block;
  margin-top: 8px;
  color: rgba(255,255,255,.74);
  font-size: clamp(12px, .95vw, 15px);
}
.bcs-leaderboard .bcs-current-player-card {
  min-width: 0 !important;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(104,255,124,.22), transparent 45%),
    linear-gradient(180deg, rgba(8,34,24,.72), rgba(0,0,0,.48)) !important;
  border: 1px solid rgba(104,255,124,.34) !important;
}
.bcs-leaderboard .bcs-current-player-card span {
  color:#ffe867 !important;
  font-weight:950;
  text-transform: uppercase;
  letter-spacing:.08em;
}
.bcs-leaderboard .bcs-current-player-card b {
  font-size: clamp(18px, 1.6vw, 28px) !important;
  max-width: none !important;
}
.bcs-lb-stat-strip {
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
  padding: 12px 18px 2px;
}
.bcs-lb-stat-strip div {
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032));
  border: 1px solid rgba(255,255,255,.075);
}
.bcs-lb-stat-strip span {
  display:block;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing:.08em;
  font-weight: 900;
}
.bcs-lb-stat-strip strong {
  display:block;
  margin-top: 5px;
  color:#fff;
  font-size: clamp(14px, 1.25vw, 20px);
  white-space: nowrap;
}
.bcs-lb-stat-strip .is-plus,
.bcs-lb-podium-card .is-plus,
.bcs-lb-row .is-plus { color: #6dff93 !important; }
.bcs-lb-stat-strip .is-minus,
.bcs-lb-podium-card .is-minus,
.bcs-lb-row .is-minus { color: #ff7777 !important; }
.bcs-lb-podium {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  padding: 16px 18px 8px;
}
.bcs-lb-podium-card {
  min-height: 112px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,72,48,.84), rgba(4,16,18,.90));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(0,0,0,.22);
}
.bcs-lb-podium-card.rank-1 {
  background: linear-gradient(180deg, rgba(95,78,20,.82), rgba(4,16,18,.94));
  border-color: rgba(255,232,103,.42);
}
.bcs-lb-podium-card.is-current { box-shadow: inset 0 0 0 1px rgba(104,255,124,.42), 0 0 24px rgba(104,255,124,.18); }
.bcs-lb-podium-card > span { font-size: 24px; line-height: 1; }
.bcs-lb-podium-card strong {
  display:block;
  margin-top: 8px;
  font-size: clamp(15px, 1.25vw, 21px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcs-lb-podium-card em {
  display:block;
  margin-top: 5px;
  font-size: clamp(16px, 1.4vw, 24px);
  font-style: normal;
  font-weight: 950;
}
.bcs-lb-podium-card small {
  display:block;
  margin-top: 5px;
  color: rgba(255,255,255,.62);
  font-weight: 700;
}
.bcs-leaderboard-table {
  padding: 12px 18px 16px !important;
  gap: 6px !important;
}
.bcs-leaderboard .bcs-lb-row {
  grid-template-columns: 46px minmax(150px,1fr) 130px 130px 120px 80px !important;
  border-radius: 13px !important;
  padding: 10px 12px !important;
  background: rgba(255,255,255,.045) !important;
}
.bcs-leaderboard .bcs-lb-row-head {
  background: rgba(0,0,0,.34) !important;
}
.bcs-lb-footnote {
  padding: 0 18px 16px;
  color: rgba(255,255,255,.54);
  font-size: 12px;
}
@media (max-width: 900px) {
  .bcs-leaderboard-hero { grid-template-columns: 1fr; }
  .bcs-lb-stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bcs-lb-podium { grid-template-columns: 1fr; }
  .bcs-leaderboard .bcs-lb-row { grid-template-columns: 38px minmax(110px,1fr) 100px 84px !important; }
  .bcs-leaderboard .bcs-lb-row span:nth-child(4) { display:block !important; }
  .bcs-leaderboard .bcs-lb-row span:nth-child(5),
  .bcs-leaderboard .bcs-lb-row span:nth-child(6) { display:none !important; }
}


/* v0.5.50: branded below-table layout — same width as machine screen. */
.bcs-root {
  --bcs-panel-width: min(calc(100vw - 24px), 1672px, var(--bcs-table-fit-width));
}
.bcs-below-hint,
.bcs-learning-dock,
.bcs-leaderboard,
.bcs-debug-section {
  width: var(--bcs-panel-width) !important;
  max-width: 1672px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.bcs-below-hint {
  border-radius: 0 0 14px 14px !important;
  border-top: 1px solid rgba(229, 40, 37, .68) !important;
  background:
    linear-gradient(90deg, rgba(229,40,37,.12), transparent 22%, transparent 78%, rgba(248,196,65,.10)),
    linear-gradient(180deg, #101821, #071017) !important;
  color: rgba(255,255,255,.84) !important;
}
.bcs-below-hint span { color: #f7c948 !important; }

.bcs-learning-dock,
.bcs-leaderboard,
.bcs-debug-section {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 42px rgba(7, 16, 24, .22), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.bcs-learning-dock {
  border: 1px solid rgba(229, 40, 37, .22) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(229,40,37,.14), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(248,196,65,.14), transparent 32%),
    linear-gradient(180deg, #111b24 0%, #071017 100%) !important;
}
.bcs-learning-dock-head {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  background:
    linear-gradient(90deg, rgba(229,40,37,.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)) !important;
}
.bcs-learning-dock-head strong {
  color: #f7c948 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(16px, 1.15vw, 20px) !important;
  letter-spacing: .06em !important;
}
.bcs-learning-dock-head span {
  max-width: 760px !important;
  color: rgba(255,255,255,.76) !important;
}
.bcs-learning-actions button,
.bcs-learning-dock .bcs-sound-toggle,
.bcs-practice-scenarios button {
  background: linear-gradient(180deg, #16364b, #0d2536) !important;
  border: 1px solid rgba(96,202,255,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 6px 14px rgba(0,0,0,.18) !important;
}
.bcs-learning-actions button:hover,
.bcs-learning-dock .bcs-sound-toggle:hover,
.bcs-practice-scenarios button:hover {
  transform: translateY(-1px);
  border-color: rgba(248,196,65,.48) !important;
}
.bcs-learning-actions button.is-on,
.bcs-learning-dock .bcs-sound-toggle.is-on {
  background: linear-gradient(180deg, #ffe36b, #c98c24) !important;
  border-color: rgba(255,255,255,.30) !important;
  color: #101820 !important;
}
.bcs-learning-dock .bcs-coach-wrap {
  grid-template-columns: minmax(240px, .9fr) minmax(310px, 1.35fr) minmax(210px, .82fr) minmax(230px, .95fr) auto !important;
  gap: 10px !important;
  padding: 14px !important;
}
.bcs-learning-dock .bcs-coach-primary,
.bcs-learning-dock .bcs-coach-details,
.bcs-learning-dock .bcs-session-summary,
.bcs-learning-dock .bcs-practice-scenarios,
.bcs-learning-dock .bcs-sound-toggle {
  border-radius: 14px !important;
}
.bcs-learning-dock .bcs-coach-primary {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-left: 4px solid #e52825 !important;
  color: rgba(255,255,255,.92) !important;
}
.bcs-learning-dock .bcs-coach-details {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)) !important;
  border: 1px solid rgba(248,196,65,.16) !important;
}
.bcs-learning-dock .bcs-coach-details summary { color: #f7c948 !important; }
.bcs-learning-dock .bcs-session-summary {
  background:
    linear-gradient(90deg, rgba(229,40,37,.10), transparent 45%),
    linear-gradient(180deg, rgba(18,52,68,.94), rgba(9,28,41,.94)) !important;
  border-color: rgba(96,202,255,.24) !important;
}
.bcs-learning-dock .bcs-practice-scenarios {
  padding: 8px !important;
  background: rgba(0,0,0,.12) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
}
.bcs-learning-dock .bcs-sound-toggle { min-width: 112px !important; }

.bcs-leaderboard {
  padding: 0 !important;
  border: 1px solid rgba(229, 40, 37, .22) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(229,40,37,.19), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(248,196,65,.18), transparent 34%),
    linear-gradient(180deg, #121c25 0%, #071017 100%) !important;
}
.bcs-leaderboard::before {
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) !important;
  background-size: 38px 38px !important;
}
.bcs-leaderboard-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px) !important;
  padding: 16px !important;
  gap: 14px !important;
}
.bcs-lb-title {
  min-height: 74px !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  background:
    linear-gradient(90deg, rgba(229,40,37,.20), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)) !important;
  border-color: rgba(255,255,255,.08) !important;
}
.bcs-lb-title small { color: #f7c948 !important; }
.bcs-lb-title strong {
  font-size: clamp(24px, 2.45vw, 42px) !important;
  letter-spacing: -.035em !important;
}
.bcs-lb-title span { font-size: clamp(12px, .9vw, 14px) !important; }
.bcs-leaderboard .bcs-current-player-card {
  border-color: rgba(248,196,65,.24) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(248,196,65,.18), transparent 45%),
    linear-gradient(180deg, rgba(13,43,35,.78), rgba(0,0,0,.42)) !important;
}
.bcs-lb-stat-strip {
  padding: 10px 16px 2px !important;
  gap: 8px !important;
}
.bcs-lb-stat-strip div {
  border-radius: 13px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.026)) !important;
}
.bcs-lb-podium {
  padding: 14px 16px 6px !important;
  gap: 10px !important;
}
.bcs-lb-podium-card {
  min-height: 98px !important;
  border-radius: 16px !important;
  padding: 14px !important;
  background: linear-gradient(180deg, rgba(20,62,48,.74), rgba(5,19,22,.88)) !important;
}
.bcs-lb-podium-card.rank-1 {
  background: linear-gradient(180deg, rgba(105,78,18,.80), rgba(8,21,22,.92)) !important;
  border-color: rgba(248,196,65,.42) !important;
}
.bcs-leaderboard-table { padding: 10px 16px 14px !important; }
.bcs-leaderboard .bcs-lb-row {
  grid-template-columns: 42px minmax(140px,1fr) 118px 118px 108px 72px !important;
  padding: 9px 11px !important;
  border: 1px solid rgba(255,255,255,.055) !important;
  background: rgba(255,255,255,.04) !important;
}
.bcs-leaderboard .bcs-lb-row.is-current {
  border-color: rgba(104,255,124,.38) !important;
  background: linear-gradient(90deg, rgba(70,180,85,.20), rgba(255,255,255,.035)) !important;
}
.bcs-lb-footnote {
  padding: 0 16px 14px !important;
  color: rgba(255,255,255,.56) !important;
}

@media (max-width: 1280px) {
  .bcs-learning-dock .bcs-coach-wrap {
    grid-template-columns: minmax(220px, 1fr) minmax(270px, 1.2fr) minmax(210px, .85fr) !important;
  }
  .bcs-learning-dock .bcs-practice-scenarios { grid-column: 1 / 3 !important; }
  .bcs-learning-dock .bcs-sound-toggle { grid-column: 3 !important; justify-self: end !important; }
  .bcs-lb-stat-strip { grid-template-columns: repeat(5, minmax(0,1fr)) !important; }
}
@media (max-width: 980px) {
  .bcs-root { --bcs-panel-width: calc(100vw - 16px); }
  .bcs-learning-dock,
  .bcs-leaderboard,
  .bcs-debug-section { border-radius: 14px !important; }
  .bcs-learning-dock .bcs-coach-wrap { grid-template-columns: 1fr !important; }
  .bcs-learning-dock .bcs-practice-scenarios,
  .bcs-learning-dock .bcs-sound-toggle { grid-column: auto !important; justify-self: stretch !important; }
  .bcs-leaderboard-hero { grid-template-columns: 1fr !important; }
  .bcs-lb-stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .bcs-lb-podium { grid-template-columns: 1fr !important; }
  .bcs-leaderboard .bcs-lb-row { grid-template-columns: 38px minmax(110px,1fr) 102px 84px !important; }
  .bcs-leaderboard .bcs-lb-row span:nth-child(5),
  .bcs-leaderboard .bcs-lb-row span:nth-child(6) { display: none !important; }
}


/* v0.5.51: connect below-machine sections to the Bubble-Craps.com site design. */
.bcs-root {
  --bcs-site-navy: #102744;
  --bcs-site-navy-2: #071827;
  --bcs-site-red: #df2027;
  --bcs-site-gold: #f7b519;
  --bcs-site-blue: #1f58d6;
  --bcs-site-ink: #16273d;
  --bcs-site-muted: #5c6a7c;
  --bcs-site-card: #ffffff;
  --bcs-site-soft: #f5f7fb;
}

.bcs-below-hint {
  margin-top: 0 !important;
  border-radius: 0 0 12px 12px !important;
  border-top: 3px solid var(--bcs-site-red) !important;
  border-bottom: 3px solid var(--bcs-site-gold) !important;
  background: #101820 !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 28px rgba(16,39,68,.16) !important;
}

.bcs-learning-dock,
.bcs-leaderboard,
.bcs-debug-section {
  background: var(--bcs-site-card) !important;
  color: var(--bcs-site-ink) !important;
  border: 1px solid rgba(16,39,68,.10) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 46px rgba(16,39,68,.14), 0 2px 0 rgba(247,181,25,.70) !important;
}

.bcs-learning-dock::before,
.bcs-leaderboard::after,
.bcs-debug-section::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--bcs-site-red), var(--bcs-site-gold), var(--bcs-site-blue));
}

.bcs-learning-dock-head {
  background: #fff !important;
  border-bottom: 1px solid rgba(16,39,68,.10) !important;
  padding: 16px 18px !important;
}
.bcs-learning-dock-head strong,
.bcs-lb-title strong {
  color: var(--bcs-site-navy) !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
}
.bcs-learning-dock-head span,
.bcs-lb-title span {
  color: var(--bcs-site-muted) !important;
}
.bcs-learning-dock-head strong::after,
.bcs-lb-title strong::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--bcs-site-red);
  box-shadow: 18px 0 0 var(--bcs-site-gold);
}

.bcs-learning-actions button,
.bcs-learning-dock .bcs-sound-toggle,
.bcs-practice-scenarios button {
  border-radius: 10px !important;
  border: 1px solid rgba(16,39,68,.12) !important;
  background: var(--bcs-site-navy) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(16,39,68,.14) !important;
}
.bcs-learning-actions button:hover,
.bcs-learning-dock .bcs-sound-toggle:hover,
.bcs-practice-scenarios button:hover {
  border-color: rgba(223,32,39,.34) !important;
  transform: translateY(-1px);
}
.bcs-learning-actions button.is-on,
.bcs-learning-dock .bcs-sound-toggle.is-on {
  background: linear-gradient(180deg, #ffc83d, var(--bcs-site-gold)) !important;
  color: #101820 !important;
}

.bcs-learning-dock .bcs-coach-wrap {
  background: var(--bcs-site-soft) !important;
  padding: 16px !important;
}
.bcs-learning-dock .bcs-coach-primary,
.bcs-learning-dock .bcs-coach-details,
.bcs-learning-dock .bcs-practice-scenarios {
  background: #fff !important;
  color: var(--bcs-site-ink) !important;
  border: 1px solid rgba(16,39,68,.10) !important;
  box-shadow: 0 8px 18px rgba(16,39,68,.06) !important;
}
.bcs-learning-dock .bcs-coach-primary {
  border-left: 5px solid var(--bcs-site-red) !important;
  font-weight: 700 !important;
}
.bcs-learning-dock .bcs-coach-details summary {
  color: var(--bcs-site-navy) !important;
}
.bcs-learning-dock .bcs-coach-details summary::marker { color: var(--bcs-site-gold); }
.bcs-learning-dock .bcs-coach-details li,
.bcs-learning-dock .bcs-coach-details p {
  color: #26384d !important;
}
.bcs-learning-dock .bcs-session-summary {
  background: linear-gradient(135deg, var(--bcs-site-navy), #071827) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 24px rgba(16,39,68,.18) !important;
}
.bcs-learning-dock .bcs-session-summary span,
.bcs-learning-dock .bcs-session-summary em { color: rgba(255,255,255,.72) !important; }
.bcs-learning-dock .bcs-session-summary strong.is-plus { color: #64e17b !important; }
.bcs-learning-dock .bcs-session-summary strong.is-minus { color: #ff6d70 !important; }
.bcs-learning-dock .bcs-session-summary strong.is-zero { color: #fff !important; }
.bcs-learning-dock .bcs-practice-scenarios {
  align-content: center !important;
}
.bcs-learning-dock .bcs-practice-scenarios button:nth-child(1) { background: var(--bcs-site-red) !important; }
.bcs-learning-dock .bcs-practice-scenarios button:nth-child(2) { background: var(--bcs-site-blue) !important; }
.bcs-learning-dock .bcs-practice-scenarios button:nth-child(3),
.bcs-learning-dock .bcs-practice-scenarios button:nth-child(4),
.bcs-learning-dock .bcs-practice-scenarios button:nth-child(5) { background: var(--bcs-site-navy) !important; }

.bcs-leaderboard {
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}
.bcs-leaderboard::before {
  display: none !important;
}
.bcs-leaderboard-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(247,181,25,.18), transparent 36%),
    linear-gradient(135deg, #fff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid rgba(16,39,68,.10) !important;
}
.bcs-lb-title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bcs-lb-title small,
.bcs-leaderboard .bcs-current-player-card span {
  color: var(--bcs-site-red) !important;
  font-weight: 950 !important;
}
.bcs-leaderboard .bcs-current-player-card {
  background: linear-gradient(135deg, var(--bcs-site-navy), #071827) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(16,39,68,.16) !important;
}
.bcs-leaderboard .bcs-current-player-card b { color: #fff !important; }
.bcs-leaderboard .bcs-current-player-card em { color: rgba(255,255,255,.76) !important; }

.bcs-lb-stat-strip {
  background: #fff !important;
}
.bcs-lb-stat-strip div {
  background: var(--bcs-site-soft) !important;
  border: 1px solid rgba(16,39,68,.08) !important;
  color: var(--bcs-site-ink) !important;
  box-shadow: none !important;
}
.bcs-lb-stat-strip span { color: var(--bcs-site-muted) !important; }
.bcs-lb-stat-strip strong { color: var(--bcs-site-navy) !important; }
.bcs-lb-stat-strip strong.is-minus { color: var(--bcs-site-red) !important; }
.bcs-lb-stat-strip strong.is-plus { color: #16803a !important; }

.bcs-lb-podium {
  background: #fff !important;
}
.bcs-lb-podium-card {
  background: linear-gradient(135deg, var(--bcs-site-navy), #071827) !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(16,39,68,.13) !important;
  color: #fff !important;
}
.bcs-lb-podium-card.rank-1 {
  background: linear-gradient(135deg, #8f5d08, var(--bcs-site-gold)) !important;
  color: #121212 !important;
}
.bcs-lb-podium-card small { color: rgba(255,255,255,.72) !important; }
.bcs-lb-podium-card.rank-1 small { color: rgba(0,0,0,.68) !important; }

.bcs-leaderboard-table {
  background: #fff !important;
}
.bcs-leaderboard .bcs-lb-row {
  background: #fff !important;
  color: var(--bcs-site-ink) !important;
  border: 1px solid rgba(16,39,68,.08) !important;
}
.bcs-leaderboard .bcs-lb-row-head {
  background: var(--bcs-site-navy) !important;
  color: #fff !important;
}
.bcs-leaderboard .bcs-lb-row.is-current {
  border-color: rgba(247,181,25,.80) !important;
  background: rgba(247,181,25,.10) !important;
}
.bcs-leaderboard .bcs-lb-row .is-minus { color: var(--bcs-site-red) !important; }
.bcs-leaderboard .bcs-lb-row .is-plus { color: #16803a !important; }
.bcs-leaderboard-empty,
.bcs-lb-footnote {
  color: var(--bcs-site-muted) !important;
  background: #fff !important;
}

.bcs-debug-section {
  background: #fff !important;
  color: var(--bcs-site-ink) !important;
}
.bcs-debug-section :is(input, textarea, select) {
  color: var(--bcs-site-ink) !important;
  background: #f8fafc !important;
}

@media (max-width: 1280px) {
  .bcs-learning-dock .bcs-coach-wrap {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(180px,.7fr) !important;
  }
}
@media (max-width: 980px) {
  .bcs-learning-dock,
  .bcs-leaderboard,
  .bcs-debug-section { border-radius: 14px !important; }
  .bcs-learning-dock-head,
  .bcs-leaderboard-hero { padding: 14px !important; }
}


/* v0.5.54: UI tuning — lower/full-width odds popup, top settings/help buttons, restored tray-chip burst, and circle calibrator. */
.bcs-odds-popup {
  top: 23.4% !important;
  left: 28.8% !important;
  width: 52.8% !important;
  box-sizing: border-box !important;
  padding: .78% 1.0% !important;
}
.bcs-odds-popup p,
.bcs-odds-meta,
.bcs-odds-buttons {
  width: 100% !important;
  box-sizing: border-box !important;
}
.bcs-odds-buttons {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: .42em !important;
  align-items: stretch !important;
}
.bcs-odds-choice {
  width: 100% !important;
  min-width: 0 !important;
  height: clamp(30px, 3.25vw, 54px) !important;
  padding: .25em .2em !important;
}
.bcs-odds-choice.bcs-no-odds {
  min-width: 0 !important;
  border-radius: 12px !important;
}
@media (max-width: 780px) {
  .bcs-odds-popup {
    top: 22.4% !important;
    left: 20.5% !important;
    width: 65.5% !important;
  }
  .bcs-odds-buttons { gap: .25em !important; }
  .bcs-odds-choice { height: clamp(24px, 5.2vw, 42px) !important; }
  .bcs-odds-choice small { display: none !important; }
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  z-index: 30 !important;
  overflow: visible !important;
  isolation: isolate !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 184% !important;
  height: 184% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle, transparent 0 35%, rgba(241,255,150,.95) 36% 42%, rgba(122,255,59,.66) 43% 55%, transparent 56% 100%),
    repeating-conic-gradient(from 6deg, rgba(112,255,65,.85) 0 5deg, transparent 6deg 17deg) !important;
  opacity: .92 !important;
  filter: blur(.32px) saturate(1.25) !important;
  mix-blend-mode: screen !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: bcs-chip-burst-pulse 1.05s ease-in-out infinite alternate !important;
}
.bcs-screen-menu-backdrop {
  position: absolute;
  z-index: 45;
  inset: 0;
  background: transparent;
}
.bcs-screen-menu {
  position: absolute;
  z-index: 46;
  right: 1.6%;
  top: 7.35%;
  width: min(19.5%, 210px);
  min-width: 128px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(10, 18, 25, .94);
  box-shadow: 0 12px 32px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  padding: 8px;
  font-family: Arial, Helvetica, sans-serif;
}
.bcs-screen-menu-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding: 2px 2px 7px;
  border-bottom:1px solid rgba(255,255,255,.12);
  margin-bottom:7px;
}
.bcs-screen-menu-head strong {
  color:#ffe45c;
  font-size: clamp(10px, .85vw, 14px);
  text-transform: uppercase;
  letter-spacing:.05em;
}
.bcs-screen-menu-head button,
.bcs-screen-menu-row {
  border:0;
  cursor:pointer;
}
.bcs-screen-menu-head button {
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-weight:900;
}
.bcs-screen-menu-row {
  display:flex;
  width:100%;
  align-items:center;
  gap:8px;
  padding:8px 9px;
  border-radius:10px;
  background:rgba(255,255,255,.065);
  color:#fff;
  margin-top:6px;
  text-align:left;
}
.bcs-screen-menu-row:hover { background:rgba(255,255,255,.13); }
.bcs-screen-menu-row span {
  display:inline-flex;
  width:25px;
  height:25px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(247,181,25,.22);
  font-size:15px;
}
.bcs-screen-menu-row em {
  font-style:normal;
  font-weight:800;
  font-size: clamp(10px, .82vw, 13px);
}
.bcs-map-top-icon { z-index: 42 !important; }
.bcs-debug-selection.is-circle {
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 3px !important;
  overflow: visible !important;
}
.bcs-debug-mode-panel [data-action="toggleDebugShape"] {
  min-width: 112px;
}


/* v0.5.55: debug calibrator overlay should match the dragged geometry exactly.
   Text and minimum sizing moved out of the on-table selection box so tiny zones can be measured. */
.bcs-debug-selection,
.bcs-debug-selection.is-visible,
.bcs-debug-selection.is-circle {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto;
  height: auto;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  color: transparent !important;
  text-shadow: none !important;
}
.bcs-debug-selection::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.85), 0 0 8px rgba(240,199,58,.95);
  pointer-events: none;
}
.bcs-debug-selection.is-circle {
  display: block !important;
  border-radius: 999px !important;
}
.bcs-debug-selection.is-circle::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1px;
  height: 50%;
  background: rgba(255,255,255,.65);
  transform-origin: top center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}


/* v0.5.56: live-calibrated hitbox pass from debug readings. */
.bcs-map-tablemin-zone { z-index: 42 !important; }
.bcs-image-shell.is-debug-hitboxes .bcs-map-tablemin-zone {
  background: rgba(240, 199, 58, .22) !important;
  outline-color: rgba(255,255,255,.85) !important;
}


/* v0.5.59: anchor refinements for odds chips, OFF puck cover, and roll history strip. */
.bcs-puck-on-panel {
  left: 81.09% !important;
  top: 16.99% !important;
  width: 7.24% !important;
  height: 7.16% !important;
  aspect-ratio: auto !important;
  object-fit: fill !important;
  object-position: center !important;
  background: #0e2316 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.bcs-map-hotspot[data-bet="passOdds"],
.bcs-map-hotspot[data-bet="dontPassOdds"] {
  border-radius: 999px !important;
}
.bcs-map-hotspot[data-bet="passOdds"] .bcs-bet-chip,
.bcs-map-hotspot[data-bet="dontPassOdds"] .bcs-bet-chip {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.bcs-map-history {
  left: 6.69% !important;
  top: 81.43% !important;
  width: 76.93% !important;
  height: 5.46% !important;
  padding: 0 .08% !important;
  display: grid !important;
  grid-template-columns: repeat(20, minmax(0, 1fr)) !important;
  gap: 0.72% !important;
  align-items: center !important;
}
.bcs-map-history span {
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  padding: 0 !important;
}
.bcs-map-history .bcs-hist-dice {
  gap: 1px !important;
}
.bcs-map-history .bcs-die-face {
  width: clamp(8px, 1.0cqw, 14px) !important;
  height: clamp(8px, 1.0cqw, 14px) !important;
}
.bcs-map-history em {
  min-width: clamp(10px, .95cqw, 16px) !important;
  height: clamp(8px, .78cqw, 12px) !important;
  padding: 0 2px !important;
  font-size: clamp(6px, .55cqw, 9px) !important;
}


/* v0.5.60: final calibration pass for OFF puck cover, odds chip anchors, and roll-history strip. */
.bcs-puck-on-panel {
  left: 81.09% !important;
  top: 16.99% !important;
  width: 7.24% !important;
  height: 7.16% !important;
  aspect-ratio: auto !important;
  object-fit: fill !important;
  object-position: center !important;
  background: #0d2415 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.bcs-map-hotspot[data-bet="passOdds"] {
  left: 49.69% !important;
  top: 69.54% !important;
  width: 4.30% !important;
  height: 7.04% !important;
  border-radius: 999px !important;
}
.bcs-map-hotspot[data-bet="dontPassOdds"] {
  left: 49.90% !important;
  top: 62.01% !important;
  width: 3.89% !important;
  height: 7.28% !important;
  border-radius: 999px !important;
}
.bcs-map-hotspot[data-bet="passOdds"] .bcs-bet-chip,
.bcs-map-hotspot[data-bet="dontPassOdds"] .bcs-bet-chip {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

.bcs-map-history {
  left: 6.69% !important;
  top: 81.43% !important;
  width: 76.93% !important;
  height: 5.46% !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(20, minmax(0, 1fr)) !important;
  gap: 0.34% !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}
.bcs-map-history span {
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 2% 1% 3% !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(12,67,22,.92) 0%, rgba(8,46,16,.92) 100%) !important;
  border: 1px solid rgba(122, 200, 134, .42) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 0 1px rgba(0,0,0,.08) !important;
}
.bcs-map-history .bcs-hist-dice {
  min-height: 0 !important;
  margin-top: 6% !important;
  margin-bottom: auto !important;
  gap: 1px !important;
}
.bcs-map-history .bcs-die-face {
  width: clamp(8px, .92cqw, 13px) !important;
  height: clamp(8px, .92cqw, 13px) !important;
}
.bcs-map-history em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: auto !important;
  margin-bottom: 1px !important;
  min-width: clamp(11px, .90cqw, 15px) !important;
  height: clamp(9px, .82cqw, 12px) !important;
  padding: 0 2px !important;
  border-radius: 3px !important;
  font-size: clamp(6px, .52cqw, 8px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}


/* v0.5.61: revert roll history only to the stable pre-calibration layout from v0.5.54. */
.bcs-map-history {
  position: absolute !important;
  z-index: 7 !important;
  left: 6.49% !important;
  top: 80.87% !important;
  width: 77.33% !important;
  height: 5.21% !important;
  display: grid !important;
  grid-template-columns: repeat(20, 1fr) !important;
  gap: .38% !important;
  padding: 0 !important;
  align-items: center !important;
  justify-items: stretch !important;
  pointer-events: none !important;
}
.bcs-map-history span {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 1px !important;
  padding: 0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bcs-map-history span:not(:empty),
.bcs-map-history span.is-seven,
.bcs-map-history span.is-seven-out,
.bcs-map-history span.is-win-total,
.bcs-map-history span.is-neutral-total {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.bcs-map-history .bcs-hist-dice {
  display: flex !important;
  gap: 2px !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  min-height: 56% !important;
  margin: 0 !important;
}
.bcs-map-history .bcs-die-face,
.bcs-hist-dice .bcs-die-face {
  width: clamp(10px, 1.05vw, 16px) !important;
  height: clamp(10px, 1.05vw, 16px) !important;
  display: inline-block !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  image-rendering: auto !important;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)) !important;
}
.bcs-map-history em {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: clamp(12px, 1.05vw, 18px) !important;
  height: clamp(8px, .78vw, 13px) !important;
  border-radius: 3px !important;
  padding: 0 3px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(6px, .58vw, 10px) !important;
  font-weight: 950 !important;
  font-style: normal !important;
  line-height: 1 !important;
  border: 1px solid rgba(255,255,255,.52) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(0,0,0,.35) !important;
}
.bcs-map-history span.is-seven em,
.bcs-map-history span.is-seven-out em {
  background: linear-gradient(180deg, #ff3b3b, #a70610) !important;
}
.bcs-map-history span.is-win-total em {
  background: linear-gradient(180deg, #3c92ff, #0752b4) !important;
}
.bcs-map-history span.is-neutral-total em {
  background: linear-gradient(180deg, #353535, #080808) !important;
}


/* v0.5.62: livelier dice roll animation, selected-chip zoom, roll-history nudge, circular ON puck. */
.bcs-map-chip {
  transition: transform .16s ease, filter .16s ease;
  transform-origin: center center;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  transform: scale(1.075) !important;
  filter: saturate(1.1) brightness(1.05);
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  width: 148% !important;
  height: 148% !important;
}

.bcs-image-shell.is-rolling [data-action="roll"] {
  animation: bcs-roll-button-thump .42s ease-in-out infinite alternate;
}
@keyframes bcs-roll-button-thump {
  from { transform: scale(.985); filter: brightness(1); }
  to { transform: scale(1.025); filter: brightness(1.22); }
}

.bcs-last-roll-panel.is-bubbling {
  overflow: visible !important;
  border-color: rgba(255, 226, 92, .70) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 0 20px rgba(255,216,65,.22), 0 10px 26px rgba(0,0,0,.38) !important;
}
.bcs-last-roll-panel.is-bubbling::after {
  content: '';
  position: absolute;
  inset: -15% -8%;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,232,92,.25), transparent 62%);
  animation: bcs-bubble-aura .62s ease-in-out infinite alternate;
}
.bcs-bubble-dice {
  position: relative;
  transform-origin: center;
  animation: bcs-bubble-dice-zoom .38s ease-in-out infinite alternate;
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice .bcs-die-face {
  width: clamp(17px, 2.8cqw, 46px) !important;
  height: clamp(17px, 2.8cqw, 46px) !important;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)) brightness(1.08);
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice .bcs-die-face:nth-child(1) {
  animation: bcs-dice-tumble-a .36s linear infinite !important;
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice .bcs-die-face:nth-child(2) {
  animation: bcs-dice-tumble-b .31s linear infinite reverse !important;
}
.bcs-last-roll-panel.is-bubbling .bcs-bubble-dice b {
  animation: bcs-question-pop .42s ease-in-out infinite alternate !important;
}
.bcs-last-roll-panel:not(.is-bubbling) > span .bcs-die-face {
  animation: bcs-dice-reveal-pop .42s cubic-bezier(.2, 1.25, .25, 1) both;
}
.bcs-last-roll-panel:not(.is-bubbling) > span .bcs-die-face:nth-child(2) {
  animation-delay: .055s;
}
@keyframes bcs-bubble-aura {
  from { opacity: .45; transform: scale(.98); }
  to { opacity: .95; transform: scale(1.025); }
}
@keyframes bcs-bubble-dice-zoom {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.11) translateY(-2%); }
}
@keyframes bcs-dice-tumble-a {
  0% { transform: translate(-9%, 4%) rotate(-20deg) scale(.98); }
  25% { transform: translate(7%, -8%) rotate(70deg) scale(1.06); }
  50% { transform: translate(12%, 5%) rotate(160deg) scale(.98); }
  75% { transform: translate(-5%, -5%) rotate(245deg) scale(1.08); }
  100% { transform: translate(-9%, 4%) rotate(340deg) scale(.98); }
}
@keyframes bcs-dice-tumble-b {
  0% { transform: translate(8%, -3%) rotate(18deg) scale(1.04); }
  30% { transform: translate(-6%, 8%) rotate(-90deg) scale(.98); }
  58% { transform: translate(-11%, -5%) rotate(-175deg) scale(1.08); }
  100% { transform: translate(8%, -3%) rotate(-342deg) scale(1.04); }
}
@keyframes bcs-question-pop {
  from { transform: scale(.9); opacity: .75; }
  to { transform: scale(1.14); opacity: 1; }
}
@keyframes bcs-dice-reveal-pop {
  0% { transform: scale(.68) rotate(-14deg); opacity: .55; filter: blur(1px) brightness(1.4); }
  70% { transform: scale(1.13) rotate(4deg); opacity: 1; filter: blur(0) brightness(1.12); }
  100% { transform: scale(1) rotate(0); opacity: 1; filter: blur(0) brightness(1); }
}

/* Keep the old roll-history graphics, just nudge the full strip left a bit. */
.bcs-map-history {
  left: 6.30% !important;
}

/* Replace the rectangular ON cover with a circular puck matching the printed OFF puck style/size. */
.bcs-puck-on-panel {
  left: 82.03% !important;
  top: 17.62% !important;
  width: 3.92% !important;
  height: 6.72% !important;
  aspect-ratio: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 36% 25%, #fff 0 17%, #f2f2f2 18% 54%, #cfcfcf 70%, #8b8b8b 100%) !important;
  color: #111 !important;
  border: 2px solid rgba(25,25,25,.86) !important;
  outline: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.92), inset 0 -5px 8px rgba(0,0,0,.22), 0 4px 10px rgba(0,0,0,.55) !important;
  text-shadow: none !important;
  font-size: clamp(5px, .58cqw, 12px) !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  line-height: 1 !important;
  object-fit: unset !important;
  filter: none !important;
  opacity: 1 !important;
}


/* v0.5.63: screenshot tuning — roll history left/tighter, selected-chip ring burst, player-name cover. */
.bcs-map-history {
  left: 6.12% !important;
  width: 77.55% !important;
  gap: .18% !important;
}
.bcs-map-history span {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.bcs-map-history .bcs-hist-dice {
  gap: 1px !important;
}
.bcs-map-history em {
  margin-top: -1px !important;
}

/* cover the printed PLAYER 1 area fully and align the live name a bit left */
.bcs-dyn-player-name {
  left: 31.64% !important;
  top: 2.62% !important;
  width: 8.08% !important;
  height: 4.18% !important;
  padding-left: 2.45% !important;
  padding-right: .45% !important;
  background:
    radial-gradient(circle at 10% 50%, rgba(120,120,120,.30) 0 13%, transparent 14%),
    linear-gradient(90deg, rgba(3,3,3,.98), rgba(8,8,8,.96) 82%, rgba(8,8,8,.82)) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 1px 3px rgba(0,0,0,.35) !important;
}

/* active tray chip: ring-only burst from the chip outline, not a blob under the graphic */
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  outline: 0 !important;
  box-shadow: none !important;
  transform: scale(1.055) !important;
  overflow: visible !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76% !important;
  height: 76% !important;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: transparent !important;
  border: clamp(2px, .22cqw, 4px) solid rgba(72, 255, 98, .95);
  box-shadow:
    0 0 0 clamp(1px, .10cqw, 2px) rgba(255,255,255,.88),
    0 0 10px rgba(72,255,98,.88),
    0 0 18px rgba(255,218,67,.55),
    inset 0 0 8px rgba(72,255,98,.34);
  filter: none !important;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .98;
  animation: bcs-chip-ring-pulse .85s ease-in-out infinite alternate !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96%;
  height: 96%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px dashed rgba(255, 231, 90, .82);
  box-shadow: 0 0 11px rgba(255,231,90,.38);
  pointer-events: none;
  animation: bcs-chip-ring-spin 3.6s linear infinite;
}
@keyframes bcs-chip-ring-pulse {
  from { transform: translate(-50%, -50%) scale(.96); opacity: .72; }
  to { transform: translate(-50%, -50%) scale(1.07); opacity: 1; }
}
@keyframes bcs-chip-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* v0.5.64: tighter roll-history spacing and lost-chip sweep to banker. */
.bcs-map-history {
  left: 6.12% !important;
  width: 78.85% !important;
  gap: 0 !important;
}
.bcs-map-history span {
  transform: scale(.96);
  transform-origin: center center;
}
.bcs-map-history .bcs-hist-dice {
  gap: 0 !important;
}
.bcs-map-history .bcs-die-face {
  width: clamp(11px, 1.18cqw, 18px) !important;
  height: clamp(11px, 1.18cqw, 18px) !important;
}
.bcs-map-history em {
  min-width: clamp(12px, 1.02cqw, 17px) !important;
  height: clamp(9px, .86cqw, 13px) !important;
  font-size: clamp(6px, .60cqw, 9px) !important;
}

.bcs-lost-chip-layer {
  position: absolute;
  inset: 0;
  z-index: 42;
  pointer-events: none;
}
.bcs-lost-chip {
  position: absolute;
  width: clamp(18px, 2.65cqw, 42px);
  height: clamp(18px, 2.65cqw, 42px);
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 34% 28%, #fff 0 22%, #f4f4f4 23% 48%, #dadada 49% 72%, #f9f9f9 73% 100%);
  border: 2px solid #fff;
  color: #111;
  font-weight: 950;
  box-shadow: 0 4px 10px rgba(0,0,0,.45), 0 0 10px rgba(255,221,90,.28);
  animation: bcs-lost-chip-to-banker 1.18s cubic-bezier(.26,.9,.22,1) both;
}
.bcs-lost-chip::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: rgba(0,0,0,0);
  animation: bcs-lost-chip-darken 1.18s ease-out both;
  pointer-events: none;
}
.bcs-lost-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: .72;
  pointer-events: none;
}
.bcs-lost-chip > span {
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:center;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color:#111;
  font-size: clamp(6px, .78cqw, 11px);
  line-height: 1;
  text-shadow: none;
}
.bcs-lost-chip.bcs-chip-denom-1 { color:#d9d9d9; }
.bcs-lost-chip.bcs-chip-denom-2 { color:#d9c43c; }
.bcs-lost-chip.bcs-chip-denom-5 { color:#d73942; }
.bcs-lost-chip.bcs-chip-denom-10 { color:#256bd9; }
.bcs-lost-chip.bcs-chip-denom-20 { color:#39a947; }
.bcs-lost-chip.bcs-chip-denom-50 { color:#ee861f; }

@keyframes bcs-lost-chip-darken {
  0% { background: rgba(0,0,0,0); }
  18% { background: rgba(0,0,0,.56); }
  58% { background: rgba(0,0,0,.62); }
  100% { background: rgba(0,0,0,.70); }
}
@keyframes bcs-lost-chip-to-banker {
  0% {
    opacity: 1;
    filter: brightness(1);
    transform: translate(-50%, -50%) scale(1);
  }
  18% {
    opacity: 1;
    filter: brightness(.48) saturate(.55);
    transform: translate(-50%, -50%) scale(1.04);
  }
  48% {
    opacity: .96;
    filter: brightness(.42) saturate(.50);
  }
  100% {
    left: 53%;
    top: 5.8%;
    opacity: 0;
    filter: brightness(.35) saturate(.35);
    transform: translate(-50%, -50%) scale(.42) rotate(-18deg);
  }
}

/* v0.5.65: original scalable Bubble-Craps.com SVG terminal mapping and live overlay polish. */
.bcs-table-img[src$="bubble-craps-terminal-v0576.png"],
.bcs-table-img[src$="bubble-craps-terminal.png"],
.bcs-table-img {
  image-rendering: auto !important;
}

.bcs-dyn-credit {
  left: 21.22% !important;
  top: 3.95% !important;
  width: 7.15% !important;
  height: 3.05% !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(8px, 1.18cqw, 20px) !important;
  letter-spacing: .02em !important;
}
.bcs-dyn-player-name {
  left: 31.82% !important;
  top: 2.35% !important;
  width: 10.2% !important;
  height: 4.2% !important;
  padding-left: 1.1% !important;
  padding-right: .55% !important;
  justify-content: flex-start !important;
  background: linear-gradient(90deg, rgba(3,3,3,.94), rgba(7,7,7,.88) 78%, rgba(7,7,7,.55)) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.bcs-dyn-lastwin {
  left: 64.35% !important;
  top: 15.18% !important;
  width: 6.25% !important;
  height: 2.95% !important;
  justify-content: center !important;
  background: transparent !important;
  color: #fff !important;
}
.bcs-dyn-playable {
  left: 76.90% !important;
  top: 15.18% !important;
  width: 7.25% !important;
  height: 2.95% !important;
  justify-content: center !important;
  background: transparent !important;
  color: #8eff89 !important;
}
.bcs-dyn-bet {
  left: 89.08% !important;
  top: 15.18% !important;
  width: 5.7% !important;
  height: 2.95% !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  opacity: 1 !important;
  color: #fff !important;
}

.bcs-last-roll-panel {
  left: 40.15% !important;
  top: 10.15% !important;
  width: 22.25% !important;
  height: 8.55% !important;
  background: linear-gradient(180deg, rgba(9, 23, 15, .92), rgba(1, 6, 4, .72)) !important;
  border: 1px solid rgba(202, 161, 52, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 20px rgba(0,0,0,.35), 0 0 18px rgba(26,140,50,.14) !important;
}

.bcs-puck-on-panel,
.bcs-puck-home {
  left: 82.54% !important;
  top: 14.24% !important;
  width: 4.78% !important;
  height: 8.50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  font-size: clamp(6px, .70cqw, 13px) !important;
  letter-spacing: -.035em !important;
  z-index: 13 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.bcs-puck-on-panel.is-off {
  color: #f7f7f7 !important;
  background: radial-gradient(circle at 34% 25%, #454545 0 14%, #151515 54%, #050505 100%) !important;
  border: 2px solid rgba(220, 190, 95, .76) !important;
  outline: 1px solid rgba(0,0,0,.85) !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.12), inset 0 -5px 8px rgba(0,0,0,.42), 0 5px 12px rgba(0,0,0,.45) !important;
}
.bcs-puck-on-panel.is-on {
  color: #111 !important;
  background: radial-gradient(circle at 34% 25%, #fff 0 17%, #f4f4f4 18% 54%, #cfcfcf 72%, #858585 100%) !important;
  border: 2px solid rgba(35,35,35,.88) !important;
  outline: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.92), inset 0 -5px 8px rgba(0,0,0,.23), 0 5px 12px rgba(0,0,0,.55) !important;
}

.bcs-map-history {
  left: 6.12% !important;
  top: 81.28% !important;
  width: 78.85% !important;
  height: 4.75% !important;
  gap: 0 !important;
}
.bcs-map-history span {
  transform: scale(.94) !important;
}
.bcs-map-history .bcs-die-face {
  width: clamp(10px, 1.08cqw, 17px) !important;
  height: clamp(10px, 1.08cqw, 17px) !important;
}

.bcs-map-chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  color: #d9d9d9;
}
.bcs-map-chip.bcs-chip-denom-1 { color:#d9d9d9 !important; }
.bcs-map-chip.bcs-chip-denom-2 { color:#d9c43c !important; }
.bcs-map-chip.bcs-chip-denom-5 { color:#d73942 !important; }
.bcs-map-chip.bcs-chip-denom-10 { color:#256bd9 !important; }
.bcs-map-chip.bcs-chip-denom-20 { color:#39a947 !important; }
.bcs-map-chip.bcs-chip-denom-50 { color:#ee861f !important; }
.bcs-tray-chip-face {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82%, 68px);
  height: min(82%, 68px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 34% 28%, #fff 0 21%, #f6f6f6 22% 46%, #dcdcdc 47% 72%, #fbfbfb 73% 100%);
  border: clamp(2px, .20cqw, 3px) solid #fbfbfb;
  box-shadow: 0 5px 12px rgba(0,0,0,.46), inset 0 0 0 clamp(5px, .55cqw, 8px) currentColor, inset 0 0 0 clamp(8px, .85cqw, 12px) rgba(255,255,255,.92), 0 0 10px rgba(255,221,90,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.bcs-tray-chip-face > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58%;
  height: 58%;
  border-radius: 999px;
  color: #111;
  background: rgba(255,255,255,.84);
  font-size: clamp(7px, .86cqw, 14px);
  font-weight: 950;
  line-height: 1;
  text-shadow: none;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  transform: scale(1.04) !important;
  filter: none !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 92% !important;
  height: 92% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: clamp(2px, .22cqw, 4px) solid rgba(72, 255, 98, .95) !important;
  box-shadow: 0 0 0 clamp(1px, .10cqw, 2px) rgba(255,255,255,.88), 0 0 12px rgba(72,255,98,.9), 0 0 20px rgba(255,218,67,.58), inset 0 0 8px rgba(72,255,98,.34) !important;
  filter: none !important;
  mix-blend-mode: screen !important;
  pointer-events: none !important;
  opacity: .98 !important;
  z-index: 3 !important;
  animation: bcs-chip-ring-pulse .85s ease-in-out infinite alternate !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 112% !important;
  height: 112% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 999px !important;
  border: 1px dashed rgba(255, 231, 90, .82) !important;
  box-shadow: 0 0 11px rgba(255,231,90,.38) !important;
  pointer-events: none !important;
  z-index: 4 !important;
  animation: bcs-chip-ring-spin 3.6s linear infinite !important;
}

.bcs-tab-total {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
}
.bcs-tab-total-hard { left: 13.18% !important; top: 20.17% !important; }
.bcs-tab-total-hop { left: 26.52% !important; top: 20.17% !important; }

.bcs-win-light {
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.50) !important;
  background: linear-gradient(180deg, #4aa0ff, #0850ac) !important;
  color: #fff !important;
  transform: scale(.88) !important;
}


/* v0.5.66: cleanup pass — prop panel polish, cleaner field feel, and more natural chips. */
.bcs-prop-tab-active {
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(170,236,116,.26), rgba(83,185,57,.20)) !important;
  border: 1px solid rgba(209,255,185,.52) !important;
  box-shadow: 0 0 10px rgba(90,255,85,.32), inset 0 0 0 1px rgba(255,255,255,.10) !important;
  opacity: .88 !important;
}
.bcs-tab-total {
  background: linear-gradient(180deg, rgba(8,20,12,.75), rgba(2,8,4,.72)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.bcs-hop-overlay {
  left: 5.05% !important;
  top: 18.2% !important;
  width: 26.75% !important;
  height: 58.95% !important;
  padding: .55% !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(4,72,22,.97), rgba(1,52,16,.985)) !important;
  border: 1px solid rgba(198, 163, 54, .72) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 14px 26px rgba(0,0,0,.30) !important;
}
.bcs-hop-tabs {
  height: 10.2% !important;
  gap: 2.2% !important;
  margin-bottom: 2.0% !important;
}
.bcs-hop-tabs button {
  border-radius: 9px !important;
  background: linear-gradient(180deg, #d6d6d6, #8d8d8d) !important;
  border: 1px solid rgba(33,33,33,.75) !important;
  color: #171717 !important;
  padding: 0 3.4% !important;
  font-size: clamp(10px, .82vw, 15px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.50), 0 2px 6px rgba(0,0,0,.25) !important;
}
.bcs-hop-tabs button span {
  min-width: 31% !important;
  background: linear-gradient(180deg, rgba(75,75,75,.92), rgba(29,29,29,.97)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
}
.bcs-hop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(31,117,36,.96), rgba(11,76,22,.98)) !important;
  border-color: rgba(223,198,103,.80) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(223,198,103,.32), 0 0 12px rgba(85,232,91,.28) !important;
}
.bcs-hop-panel-body {
  background: rgba(0, 0, 0, .10) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  padding: 2.0% !important;
}
.bcs-hop-heading {
  color: rgba(240,240,240,.74) !important;
  font-size: clamp(8px, .70vw, 11px) !important;
  letter-spacing: .06em !important;
}
.bcs-hop-heading strong {
  font-size: clamp(12px, .94vw, 16px) !important;
  letter-spacing: .06em !important;
}
.bcs-hop-hard-cols { flex-basis: 23.5% !important; }
.bcs-hop-easy-cols { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
.bcs-hop-column { gap: 2.4% !important; }
.bcs-hop-cell {
  border-radius: 7px !important;
  border: 1px solid rgba(214,181,86,.26) !important;
  background: linear-gradient(180deg, rgba(9,78,26,.72), rgba(2,57,17,.86)) !important;
  grid-template-columns: 42% 1fr !important;
  padding: 2.7% 2.8% !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.18) !important;
}
.bcs-hop-cell:hover {
  background: linear-gradient(180deg, rgba(14,98,33,.80), rgba(4,72,22,.90)) !important;
  border-color: rgba(236,214,132,.72) !important;
}
.bcs-hop-dice-pair {
  justify-content: center !important;
  gap: 3px !important;
}
.bcs-hop-dice-pair .bcs-die-face {
  width: clamp(11px, 1.40vw, 24px) !important;
  height: clamp(11px, 1.40vw, 24px) !important;
}
.bcs-hop-cell strong {
  font-size: clamp(10px, .88vw, 14px) !important;
  letter-spacing: .05em !important;
}

/* cleaner chip language across the table */
.bcs-bet-chip,
.bcs-travel-chip {
  width: clamp(26px, 2.15cqw, 34px) !important;
  height: clamp(26px, 2.15cqw, 34px) !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 34% 26%, #ffffff 0 20%, #f4f4f4 21% 44%, #dddddd 45% 68%, #fbfbfb 69% 100%) !important;
  border: 1px solid rgba(255,255,255,.98) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,.44), inset 0 0 0 clamp(4px, .42cqw, 7px) currentColor, inset 0 0 0 clamp(7px, .70cqw, 10px) rgba(255,255,255,.94) !important;
}
.bcs-bet-chip::before,
.bcs-bet-chip::after,
.bcs-travel-chip::before,
.bcs-travel-chip::after {
  content: none !important;
}
.bcs-bet-chip > span,
.bcs-travel-chip > span {
  width: 58% !important;
  height: 58% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.84) !important;
  color: #111 !important;
  font-weight: 950 !important;
  font-size: clamp(7px, .74cqw, 11px) !important;
  text-shadow: none !important;
}
.bcs-hop-cell .bcs-bet-chip {
  width: clamp(18px, 1.7vw, 26px) !important;
  height: clamp(18px, 1.7vw, 26px) !important;
  right: 3px !important;
}
.bcs-map-chip {
  overflow: visible !important;
}
.bcs-tray-chip-face {
  width: min(80%, 64px) !important;
  height: min(80%, 64px) !important;
  background: radial-gradient(circle at 34% 24%, #ffffff 0 18%, #f3f3f3 19% 46%, #d9d9d9 47% 69%, #fbfbfb 70% 100%) !important;
  border: clamp(2px, .19cqw, 3px) solid #ffffff !important;
  box-shadow: 0 5px 10px rgba(0,0,0,.42), inset 0 0 0 clamp(5px, .54cqw, 8px) currentColor, inset 0 0 0 clamp(8px, .80cqw, 11px) rgba(255,255,255,.95) !important;
}
.bcs-tray-chip-face > span {
  width: 56% !important;
  height: 56% !important;
  font-size: clamp(8px, .82cqw, 13px) !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected {
  transform: scale(1.03) !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  width: 96% !important;
  height: 96% !important;
  border: clamp(2px, .22cqw, 4px) solid rgba(96,255,119,.90) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.82), 0 0 10px rgba(88,255,116,.66), 0 0 18px rgba(255,214,74,.38) !important;
  animation: bcs-chip-ring-pulse 1.05s ease-in-out infinite alternate !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::after {
  width: 114% !important;
  height: 114% !important;
  border-color: rgba(255,226,107,.62) !important;
  box-shadow: 0 0 8px rgba(255,226,107,.26) !important;
}

/* tone down the oversized puck / top status so it sits better with the art */
.bcs-puck-on-panel,
.bcs-puck-home {
  width: 4.45% !important;
  height: 7.65% !important;
  left: 82.72% !important;
  top: 14.52% !important;
}
.bcs-dyn-point-marker {
  width: 3.1% !important;
  height: 5.2% !important;
  font-size: clamp(7px, .66cqw, 12px) !important;
}


/* v0.5.75: align prop overlay to approved blank left-panel zone and fully mask background remnants. */
.bcs-prop-overlay {
  position: absolute !important;
  z-index: 24 !important;
  left: 1.44% !important;
  top: 14.81% !important;
  width: 21.64% !important;
  height: 61.40% !important;
  padding: .55% !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(0, 49, 16, .985), rgba(0, 27, 8, .992)) !important;
  border: 1px solid rgba(194,155,53,.62) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05) !important;
  display: flex !important;
  flex-direction: column !important;
  pointer-events: none !important;
}
.bcs-prop-overlay * { box-sizing: border-box !important; }
.bcs-prop-overlay .bcs-prop-tabs,
.bcs-prop-overlay .bcs-prop-content,
.bcs-prop-overlay .bcs-bet-zone,
.bcs-prop-overlay button {
  pointer-events: auto !important;
}
.bcs-prop-overlay .bcs-prop-tabs {
  flex: 0 0 10.9% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2.2% !important;
  margin: 0 0 2.0% 0 !important;
}
.bcs-prop-overlay .bcs-prop-tabs button {
  min-width: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(196,164,74,.78) !important;
  background: linear-gradient(180deg, rgba(225,225,225,.97), rgba(140,140,140,.97)) !important;
  color: #191919 !important;
  font-size: clamp(10px, .84vw, 16px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 0 4.5% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.50), 0 2px 6px rgba(0,0,0,.28) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button span {
  min-width: 31% !important;
  border-radius: 6px !important;
  padding: .45em .55em !important;
  background: linear-gradient(180deg, rgba(75,75,75,.94), rgba(24,24,24,.98)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
  font-size: .80em !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-prop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(12,110,31,.98), rgba(3,72,18,.99)) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(232,204,99,.32), 0 0 14px rgba(72,255,90,.26) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button.is-active span {
  background: linear-gradient(180deg, rgba(14,27,14,.88), rgba(5,10,5,.94)) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(0,43,13,.985), rgba(0,24,8,.99)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  padding: 1.8% !important;
  overflow: hidden !important;
}
.bcs-prop-overlay .bcs-hardways-panel,
.bcs-prop-overlay .bcs-hop-panel {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.6% !important;
  color: #fff !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 2.6% !important;
  margin: 0 !important;
  color: rgba(235,245,235,.76) !important;
  font-size: clamp(8px, .68vw, 11px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  color: #fff !important;
  font-size: clamp(13px, 1vw, 18px) !important;
  letter-spacing: .07em !important;
}
.bcs-prop-overlay .bcs-panel-heading-oneroll { margin-top: 1.1% !important; }
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 26.8% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 2.0% !important;
}
.bcs-prop-overlay .bcs-bet-zone {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(214,182,88,.32) !important;
  background: linear-gradient(180deg, rgba(8,77,25,.76), rgba(1,52,16,.90)) !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 3.1% 10% !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.20) !important;
  overflow: hidden !important;
}
.bcs-prop-overlay .bcs-bet-zone:hover {
  border-color: rgba(240,219,130,.84) !important;
  background: linear-gradient(180deg, rgba(12,95,31,.82), rgba(3,67,20,.94)) !important;
}
.bcs-prop-overlay .bcs-bet-zone[aria-disabled="true"] {
  opacity: .60 !important;
}
.bcs-prop-overlay .bcs-bet-title {
  display: block !important;
  text-align: center !important;
  font-size: clamp(11px, .98vw, 17px) !important;
  font-weight: 950 !important;
  line-height: 1.02 !important;
  letter-spacing: .02em !important;
}
.bcs-prop-overlay .bcs-bet-sub {
  display: block !important;
  text-align: center !important;
  font-size: clamp(9px, .78vw, 13px) !important;
  line-height: 1.05 !important;
  color: rgba(255,255,255,.96) !important;
}
.bcs-prop-overlay .bcs-hard-zone .bcs-bet-title { color: #b8ff9e !important; }
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row {
  flex: 0 0 14.6% !important;
  display: grid !important;
  grid-template-columns: .9fr 2.2fr .9fr !important;
  gap: 2.0% !important;
  align-items: stretch !important;
}
.bcs-prop-overlay .bcs-seven-row > span,
.bcs-prop-overlay .bcs-any-craps-row > span,
.bcs-prop-overlay .bcs-horn-grid > .bcs-horn-payout {
  border-radius: 8px !important;
  border: 1px solid rgba(214,182,88,.32) !important;
  background: linear-gradient(180deg, rgba(8,77,25,.76), rgba(1,52,16,.90)) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: clamp(9px, .82vw, 14px) !important;
  font-weight: 850 !important;
}
.bcs-prop-overlay .bcs-seven-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-anycraps-zone .bcs-bet-title { color: #ff3e3e !important; }
.bcs-prop-overlay .bcs-horn-grid {
  flex: 0 0 15.4% !important;
  display: grid !important;
  grid-template-columns: 1fr 1.4fr 1fr !important;
  gap: 2.0% !important;
  align-items: stretch !important;
}
.bcs-prop-overlay .bcs-hop-panel .bcs-panel-heading { justify-content: space-between !important; padding: 0 .8% !important; }
.bcs-prop-overlay .bcs-hop-grid {
  display: grid !important;
  gap: 1.8% !important;
}
.bcs-prop-overlay .bcs-hop-grid-hard {
  flex: 0 0 23.5% !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
}
.bcs-prop-overlay .bcs-hop-grid:not(.bcs-hop-grid-hard) {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  grid-auto-rows: 1fr !important;
}
.bcs-prop-overlay .bcs-hop-zone {
  padding-right: 24% !important;
}
.bcs-prop-overlay .bcs-hop-zone .bcs-bet-title {
  font-size: clamp(10px, .86vw, 14px) !important;
}
.bcs-prop-overlay .bcs-lock {
  position: absolute !important;
  left: 6px !important;
  top: 5px !important;
  font-size: clamp(7px, .54vw, 10px) !important;
  font-weight: 900 !important;
  color: #ffd861 !important;
}

/* final prop-panel chip alignment */
.bcs-prop-overlay .bcs-bet-chip {
  width: clamp(22px, 1.85vw, 30px) !important;
  height: clamp(22px, 1.85vw, 30px) !important;
  left: auto !important;
  right: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.bcs-prop-overlay .bcs-hard-grid .bcs-bet-chip,
.bcs-prop-overlay .bcs-seven-row .bcs-bet-chip,
.bcs-prop-overlay .bcs-any-craps-row .bcs-bet-chip,
.bcs-prop-overlay .bcs-horn-grid .bcs-bet-chip {
  right: 6px !important;
}
.bcs-prop-overlay .bcs-bet-chip > span {
  font-size: clamp(7px, .62vw, 10px) !important;
}

/* tighten general spacing and solve reported crowding. */
.bcs-dyn-lastwin {
  left: 64.10% !important;
  top: 14.20% !important;
  width: 6.6% !important;
  height: 2.45% !important;
  font-size: clamp(7px, .78cqw, 13px) !important;
}
.bcs-dyn-playable {
  left: 76.55% !important;
  top: 14.20% !important;
  width: 7.9% !important;
  height: 2.45% !important;
  font-size: clamp(7px, .78cqw, 13px) !important;
}
.bcs-dyn-bet {
  left: 89.05% !important;
  top: 14.20% !important;
  width: 5.8% !important;
  height: 2.45% !important;
  font-size: clamp(7px, .78cqw, 13px) !important;
}
.bcs-last-roll-panel {
  left: 39.85% !important;
  top: 9.65% !important;
  width: 21.45% !important;
  height: 7.45% !important;
}
.bcs-last-roll-panel strong { font-size: clamp(6px, .70cqw, 12px) !important; }
.bcs-last-roll-panel > em { font-size: clamp(5px, .56cqw, 9px) !important; }
.bcs-last-roll-panel > span > .bcs-die-face,
.bcs-last-roll-panel > span > b {
  width: clamp(17px, 1.45cqw, 24px) !important;
  height: clamp(17px, 1.45cqw, 24px) !important;
}
.bcs-puck-on-panel,
.bcs-puck-home {
  left: 83.10% !important;
  top: 15.02% !important;
  width: 4.20% !important;
  height: 7.10% !important;
}
.bcs-win-condition-lights .bcs-win-light {
  font-size: clamp(8px, .88cqw, 15px) !important;
}
.bcs-map-history {
  left: 6.56% !important;
  top: 81.15% !important;
  width: 77.10% !important;
  height: 4.55% !important;
  gap: .28% !important;
}
.bcs-map-history span {
  justify-content: center !important;
  gap: 1px !important;
  padding: 0 !important;
}
.bcs-map-history .bcs-hist-dice {
  gap: 1px !important;
  min-height: auto !important;
}
.bcs-map-history .bcs-die-face,
.bcs-hist-dice .bcs-die-face {
  width: clamp(9px, .95cqw, 14px) !important;
  height: clamp(9px, .95cqw, 14px) !important;
}
.bcs-map-history em {
  min-width: clamp(10px, .86cqw, 14px) !important;
  font-size: clamp(6px, .52cqw, 8px) !important;
  margin: 0 !important;
}

/* v0.5.68: new raster base graphic mapping. Dynamic areas are blank on the base and filled live. */
.bcs-table-img[src$="bubble-craps-terminal-v0576.png"],
.bcs-table-img[src$="bubble-craps-terminal.png"],
.bcs-table-img {
  image-rendering: auto !important;
}

/* Top meters on the new art */
.bcs-dyn-credit {
  left: 25.25% !important;
  top: 6.45% !important;
  width: 10.05% !important;
  height: 3.75% !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(8px, 1.00cqw, 18px) !important;
}
.bcs-dyn-player-name {
  left: 36.35% !important;
  top: 6.45% !important;
  width: 7.05% !important;
  height: 3.75% !important;
  justify-content: flex-start !important;
  padding-left: .55% !important;
  background: transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: clamp(7px, .78cqw, 13px) !important;
}
.bcs-dyn-lastwin {
  left: 61.42% !important;
  top: 6.45% !important;
  width: 6.95% !important;
  height: 3.75% !important;
  justify-content: center !important;
  background: transparent !important;
  color: #fff !important;
  font-size: clamp(7px, .82cqw, 14px) !important;
}
.bcs-dyn-playable {
  left: 69.08% !important;
  top: 6.45% !important;
  width: 7.00% !important;
  height: 3.75% !important;
  justify-content: center !important;
  background: transparent !important;
  color: #8eff89 !important;
  font-size: clamp(7px, .82cqw, 14px) !important;
}
.bcs-dyn-bet {
  left: 77.12% !important;
  top: 6.45% !important;
  width: 5.80% !important;
  height: 3.75% !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(7px, .82cqw, 14px) !important;
}

/* Keep last roll off the table geometry until we design a permanent home for it. */
.bcs-last-roll-panel {
  left: 40.20% !important;
  top: 11.05% !important;
  width: 20.70% !important;
  height: 5.95% !important;
  background: linear-gradient(180deg, rgba(6, 22, 13, .94), rgba(0, 5, 3, .78)) !important;
  border: 1px solid rgba(202, 161, 52, .72) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 18px rgba(0,0,0,.34) !important;
}
.bcs-last-roll-panel strong { font-size: clamp(6px, .63cqw, 11px) !important; }
.bcs-last-roll-panel > em { font-size: clamp(5px, .54cqw, 9px) !important; }
.bcs-last-roll-panel > span > .bcs-die-face,
.bcs-last-roll-panel > span > b {
  width: clamp(16px, 1.25cqw, 22px) !important;
  height: clamp(16px, 1.25cqw, 22px) !important;
}

/* Left prop panel: base is blank; this is the live Hardways/Hop Bets screen. */
.bcs-prop-overlay {
  left: 2.18% !important;
  top: 15.55% !important;
  width: 21.25% !important;
  height: 57.95% !important;
  padding: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, rgba(1, 44, 15, .98), rgba(0, 26, 9, .99)) !important;
  border: 1px solid rgba(202,161,52,.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 16px rgba(0,0,0,.22) !important;
  overflow: hidden !important;
}
.bcs-prop-overlay .bcs-prop-tabs {
  height: 10.25% !important;
  flex: 0 0 10.25% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
}
.bcs-prop-overlay .bcs-prop-tabs button {
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(202,161,52,.65) !important;
  border-right: 1px solid rgba(202,161,52,.42) !important;
  background: linear-gradient(180deg, rgba(35,35,35,.98), rgba(10,10,10,.98)) !important;
  color: rgba(255,255,255,.65) !important;
  font-size: clamp(9px, .80cqw, 14px) !important;
  letter-spacing: .02em !important;
  padding: 0 5% !important;
}
.bcs-prop-overlay .bcs-prop-tabs button.is-active {
  color: #fff06a !important;
  background: linear-gradient(180deg, rgba(6,82,27,.98), rgba(2,55,18,.99)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,240,106,.35), 0 0 12px rgba(88,255,95,.18) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button span {
  min-width: 34% !important;
  font-size: .74em !important;
  padding: .35em .42em !important;
  background: rgba(0,0,0,.42) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  height: 89.75% !important;
  flex: 1 1 auto !important;
  padding: 2.1% !important;
  background: linear-gradient(180deg, rgba(1,43,14,.92), rgba(0,22,8,.94)) !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.bcs-prop-overlay .bcs-hardways-panel,
.bcs-prop-overlay .bcs-hop-panel { gap: 1.6% !important; }
.bcs-prop-overlay .bcs-panel-heading strong { font-size: clamp(10px, .88cqw, 15px) !important; }
.bcs-prop-overlay .bcs-panel-heading { font-size: clamp(6px, .52cqw, 9px) !important; }
.bcs-prop-overlay .bcs-hard-grid { flex: 0 0 27.0% !important; gap: 1.5% !important; }
.bcs-prop-overlay .bcs-bet-zone {
  padding: 2.4% 18% 2.4% 2.5% !important;
  border-radius: 6px !important;
  border: 1px solid rgba(209,177,85,.28) !important;
}
.bcs-prop-overlay .bcs-bet-title { font-size: clamp(8px, .80cqw, 13px) !important; }
.bcs-prop-overlay .bcs-bet-sub { font-size: clamp(7px, .66cqw, 11px) !important; }
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row { flex: 0 0 13.2% !important; gap: 1.6% !important; }
.bcs-prop-overlay .bcs-horn-grid { flex: 0 0 14.4% !important; gap: 1.6% !important; }
.bcs-prop-overlay .bcs-hop-grid-hard { flex: 0 0 23.0% !important; }
.bcs-prop-overlay .bcs-hop-grid:not(.bcs-hop-grid-hard) { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 1.2% !important; }
.bcs-prop-overlay .bcs-hop-zone { padding-right: 20% !important; }
.bcs-prop-overlay .bcs-bet-chip { right: 3px !important; width: clamp(18px, 1.55cqw, 25px) !important; height: clamp(18px, 1.55cqw, 25px) !important; }

/* Puck home + point marker */
.bcs-puck-on-panel,
.bcs-puck-home {
  left: 82.08% !important;
  top: 15.00% !important;
  width: 4.58% !important;
  height: 8.05% !important;
  border-radius: 999px !important;
  font-size: clamp(6px, .66cqw, 12px) !important;
  z-index: 14 !important;
}
.bcs-dyn-point-marker {
  top: 23.20% !important;
  width: 4.05% !important;
  height: 7.10% !important;
  font-size: clamp(6px, .68cqw, 13px) !important;
}
.bcs-point-4 { left: 29.45% !important; }
.bcs-point-5 { left: 37.75% !important; }
.bcs-point-6 { left: 46.05% !important; }
.bcs-point-8 { left: 54.35% !important; }
.bcs-point-9 { left: 62.65% !important; }
.bcs-point-10 { left: 70.95% !important; }
.bcs-point-box-outline { top: 17.1% !important; height: 21.0% !important; }

/* Roll history on new base */
.bcs-map-history {
  left: 15.85% !important;
  top: 77.35% !important;
  width: 67.85% !important;
  height: 5.30% !important;
  grid-template-columns: repeat(20, minmax(0, 1fr)) !important;
  gap: .45% !important;
}
.bcs-map-history span {
  justify-content: center !important;
  gap: 1px !important;
}
.bcs-map-history .bcs-die-face,
.bcs-hist-dice .bcs-die-face {
  width: clamp(8px, .82cqw, 13px) !important;
  height: clamp(8px, .82cqw, 13px) !important;
}
.bcs-map-history em { font-size: clamp(6px, .52cqw, 8px) !important; }

/* Make live chip tray sit on the now-empty tray circles. */
.bcs-map-chip { overflow: visible !important; }
.bcs-tray-chip-face {
  width: min(84%, 66px) !important;
  height: min(84%, 66px) !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::before {
  width: 104% !important;
  height: 104% !important;
}
.bcs-image-shell:not(.is-debug) .bcs-map-chip.is-selected::after {
  width: 124% !important;
  height: 124% !important;
}


/* v0.5.69: coordinate calibration pass for new PNG base. */
/* Point outline boxes now align to each numbered point cell instead of drifting right. */
.bcs-point-box-outline {
  top: 16.85% !important;
  height: 21.10% !important;
  width: 8.33% !important;
  border-radius: 7px !important;
}
.bcs-point-outline-4 { left: 27.05% !important; }
.bcs-point-outline-5 { left: 35.38% !important; }
.bcs-point-outline-6 { left: 43.72% !important; }
.bcs-point-outline-8 { left: 52.05% !important; }
.bcs-point-outline-9 { left: 60.38% !important; }
.bcs-point-outline-10 { left: 68.72% !important; }

/* Keep the movable ON/OFF puck centered inside the blank puck home. */
.bcs-puck-on-panel,
.bcs-puck-home {
  left: 81.10% !important;
  top: 14.82% !important;
  width: 4.35% !important;
  height: 7.75% !important;
}
.bcs-dyn-point-marker {
  top: 22.95% !important;
  width: 3.85% !important;
  height: 6.85% !important;
}
.bcs-point-4 { left: 29.32% !important; }
.bcs-point-5 { left: 37.65% !important; }
.bcs-point-6 { left: 45.98% !important; }
.bcs-point-8 { left: 54.32% !important; }
.bcs-point-9 { left: 62.65% !important; }
.bcs-point-10 { left: 70.98% !important; }

/* Roll history slots now sit inside the drawn slot row, not above it. */
.bcs-map-history {
  left: 15.78% !important;
  top: 77.48% !important;
  width: 67.75% !important;
  height: 4.85% !important;
  gap: .46% !important;
}
.bcs-map-history span {
  align-self: stretch !important;
  justify-content: center !important;
  padding: 0 !important;
}
.bcs-map-history .bcs-hist-dice {
  min-height: auto !important;
  line-height: 1 !important;
}
.bcs-map-history .bcs-die-face,
.bcs-hist-dice .bcs-die-face {
  width: clamp(8px, .76cqw, 12px) !important;
  height: clamp(8px, .76cqw, 12px) !important;
}
.bcs-map-history em {
  font-size: clamp(6px, .48cqw, 8px) !important;
}

/* Chip tray is per-slot calibrated in JS; make chips visually centered in those hit boxes. */
.bcs-map-chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.bcs-tray-chip-face {
  width: min(78%, 62px) !important;
  height: min(78%, 62px) !important;
}

/* Slightly shrink the active point glow so it does not feel like a debug rectangle. */
.bcs-point-box-outline {
  border-width: 1.5px !important;
  background: rgba(255,255,255,.018) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 210, 60, .34), 0 0 12px rgba(255,255,255,.16) !important;
}


/* v0.5.71 mapping-tool upgrade: pinned on-table calibrator + report export. */
.bcs-debug-floating-panel {
  position: absolute;
  z-index: 70;
  top: 1.2%;
  right: 1.1%;
  width: min(28.5%, 360px);
  max-height: 84%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 2px solid rgba(255, 213, 71, .72);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6, 18, 28, .97), rgba(2, 10, 16, .97));
  box-shadow: 0 12px 24px rgba(0,0,0,.36);
  overflow: auto;
  backdrop-filter: blur(2px);
}
.bcs-debug-floating-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.bcs-debug-floating-head strong {
  color:#ffe06c;
  font-size:13px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bcs-debug-floating-head span {
  color:#d8f4ff;
  border:1px solid rgba(102, 202, 255, .36);
  background:rgba(0,0,0,.35);
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  font-weight:800;
}
.bcs-debug-floating-panel label {
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
}
.bcs-debug-floating-panel :is(input, textarea) {
  width:100%;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:rgba(0,0,0,.46);
  color:#fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:12px;
  padding:8px 10px;
}
.bcs-debug-floating-panel input { min-height: 38px; }
.bcs-debug-floating-panel textarea {
  min-height: 72px;
  resize: vertical;
}
.bcs-debug-floating-panel textarea[data-bcs-debug-report] {
  min-height: 150px;
}
.bcs-debug-copy-actions.is-compact {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  margin:0;
}
.bcs-debug-copy-actions.is-compact button {
  flex:1 1 auto;
  min-width:0;
}
.bcs-debug-floating-help {
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.35;
}
.bcs-debug-floating-status {
  min-height: 34px;
  border:1px solid rgba(102, 202, 255, .36);
  border-radius:10px;
  background:rgba(0,0,0,.34);
  color:#d8f4ff;
  font-size:11px;
  line-height:1.35;
  padding:8px 10px;
}
@media (max-width: 1080px) {
  .bcs-debug-floating-panel {
    width: min(39%, 360px);
    max-height: 76%;
  }
}
@media (max-width: 820px) {
  .bcs-debug-floating-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 10px;
  }
}


/* v0.5.76: base PNG prop region is truly blank; remove overlay divider line under tabs. */
.bcs-prop-overlay {
  left: 1.44% !important;
  top: 14.81% !important;
  width: 21.64% !important;
  height: 61.40% !important;
  background: linear-gradient(180deg, rgba(0,43,14,.995), rgba(0,28,9,.998)) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
.bcs-prop-overlay .bcs-prop-tabs {
  margin-bottom: 1.25% !important;
}
.bcs-prop-overlay .bcs-prop-content {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 1.2% !important;
}
.bcs-prop-overlay .bcs-hardways-panel,
.bcs-prop-overlay .bcs-hop-panel {
  background: transparent !important;
}


/* v0.5.77: styled live Hardways/Hop panel with reference-inspired dice cards and live hardway counters. */
.bcs-prop-overlay {
  border: 1px solid rgba(212, 175, 76, .76) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 6px 18px rgba(0,0,0,.24) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  border: 1px solid rgba(212, 175, 76, .48) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05) !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  justify-content: center !important;
  gap: 1.2% !important;
  color: rgba(231,243,231,.86) !important;
  margin-bottom: .6% !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(12px, .92cqw, 16px) !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 30% !important;
  gap: 2.1% !important;
}
.bcs-prop-overlay .bcs-hard-card,
.bcs-prop-overlay .bcs-hop-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 4.5% !important;
  padding: 4.2% 10% 4.2% 4.5% !important;
  text-align: left !important;
}
.bcs-prop-overlay .bcs-hard-card {
  background: linear-gradient(180deg, rgba(20,124,39,.88), rgba(5,86,25,.95)) !important;
  border-color: rgba(188, 219, 133, .46) !important;
}
.bcs-prop-overlay .bcs-hard-card:hover,
.bcs-prop-overlay .bcs-hop-card:hover {
  transform: translateY(-1px);
}
.bcs-prop-overlay .bcs-hard-dice,
.bcs-prop-overlay .bcs-hop-dice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face,
.bcs-prop-overlay .bcs-hop-dice .bcs-die-face {
  width: clamp(24px, 1.8cqw, 34px) !important;
  height: clamp(24px, 1.8cqw, 34px) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.30) !important;
  background: #b6001e !important;
}
.bcs-prop-overlay .bcs-hard-meta,
.bcs-prop-overlay .bcs-hop-card-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}
.bcs-prop-overlay .bcs-hard-label,
.bcs-prop-overlay .bcs-hop-pair {
  color: #fff !important;
  font-size: clamp(12px, .94cqw, 17px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .03em !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap em {
  font-style: normal !important;
  color: rgba(239,248,221,.82) !important;
  font-size: clamp(6px, .50cqw, 9px) !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  padding: .14em .55em !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(18,45,17,.98), rgba(7,22,7,.98)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #d4ff89 !important;
  font-size: clamp(10px, .82cqw, 14px) !important;
  font-weight: 950 !important;
}
.bcs-prop-overlay .bcs-hard-payout,
.bcs-prop-overlay .bcs-hop-payout {
  color: rgba(248,248,248,.92) !important;
  font-size: clamp(8px, .64cqw, 11px) !important;
  font-weight: 850 !important;
  letter-spacing: .05em !important;
}
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row {
  flex: 0 0 15% !important;
}
.bcs-prop-overlay .bcs-horn-grid {
  flex: 0 0 15.6% !important;
}
.bcs-prop-overlay .bcs-hop-panel .bcs-panel-heading {
  justify-content: space-between !important;
  padding: 0 .8% !important;
}
.bcs-prop-overlay .bcs-hop-grid-hard {
  flex: 0 0 24.5% !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 2.1% !important;
}
.bcs-prop-overlay .bcs-hop-grid-easy {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  grid-auto-rows: 1fr !important;
  gap: 1.8% !important;
}
.bcs-prop-overlay .bcs-hop-card {
  background: linear-gradient(180deg, rgba(14,118,34,.86), rgba(6,79,22,.95)) !important;
  border-color: rgba(188, 219, 133, .42) !important;
  gap: 6% !important;
  padding: 4.5% 16% 4.5% 4.5% !important;
}
.bcs-prop-overlay .bcs-hop-card.is-hard-hop {
  grid-template-columns: 1fr 1fr !important;
}
.bcs-prop-overlay .bcs-hop-card.is-hard-hop .bcs-hop-dice {
  justify-content: flex-start !important;
}
.bcs-prop-overlay .bcs-hop-card.is-hard-hop .bcs-hop-card-meta {
  align-items: flex-end !important;
  text-align: right !important;
}
.bcs-prop-overlay .bcs-hop-card .bcs-bet-chip,
.bcs-prop-overlay .bcs-hard-card .bcs-bet-chip {
  right: 4px !important;
  top: 6px !important;
  transform: none !important;
}
.bcs-prop-overlay .bcs-hop-card .bcs-lock,
.bcs-prop-overlay .bcs-hard-card .bcs-lock {
  top: 4px !important;
  left: auto !important;
  right: 6px !important;
}


/* v0.5.78: tighter prop-panel polish after live visual review. */
.bcs-prop-overlay {
  padding: .28% !important;
  background: linear-gradient(180deg, rgba(0,44,14,.995), rgba(0,21,7,.995)) !important;
  border: 1px solid rgba(203, 165, 58, .82) !important;
  border-radius: 10px !important;
}
.bcs-prop-overlay .bcs-prop-tabs {
  flex: 0 0 12.2% !important;
  gap: 0 !important;
  margin: 0 0 1.1% 0 !important;
}
.bcs-prop-overlay .bcs-prop-tabs button {
  border-radius: 0 !important;
  border: 1px solid rgba(200,166,62,.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12) !important;
  justify-content: space-between !important;
  padding: 0 5.1% !important;
  font-size: clamp(12px, 1.15vw, 22px) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button:first-child { border-top-left-radius: 9px !important; }
.bcs-prop-overlay .bcs-prop-tabs button:last-child { border-top-right-radius: 9px !important; }
.bcs-prop-overlay .bcs-prop-tabs button:not(.is-active) {
  background: linear-gradient(180deg, rgba(43,43,43,.98), rgba(10,10,10,.98)) !important;
  color: rgba(255,255,255,.76) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(7,95,27,.98), rgba(0,61,18,.98)) !important;
  color: #fff078 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 10px rgba(71,255,80,.16) !important;
}
.bcs-prop-overlay .bcs-prop-tabs button span {
  min-width: 45px !important;
  padding: .30em .75em !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #0c130e, #030604) !important;
  font-size: clamp(9px, .75vw, 13px) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  flex: 1 1 auto !important;
  border-radius: 0 0 9px 9px !important;
  padding: 1.05% !important;
  background: linear-gradient(180deg, rgba(0,43,13,1), rgba(0,24,8,1)) !important;
  border: 1px solid rgba(196,164,74,.48) !important;
}
.bcs-prop-overlay .bcs-hardways-panel,
.bcs-prop-overlay .bcs-hop-panel {
  gap: .95% !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  min-height: 5.7% !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(13px, 1.05vw, 20px) !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-panel-heading span {
  font-size: clamp(7px, .60vw, 11px) !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 29.5% !important;
  gap: 1.5% !important;
}
.bcs-prop-overlay .bcs-hard-card {
  grid-template-columns: 31% 1fr !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 3% !important;
  padding: 2.2% 4.2% !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(12,120,34,.90), rgba(4,83,23,.98)) !important;
  border: 1px solid rgba(141, 220, 117, .42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -8px 22px rgba(0,0,0,.11) !important;
}
.bcs-prop-overlay .bcs-hard-dice {
  justify-content: center !important;
  gap: 3px !important;
  transform: none !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(16px, 1.18vw, 23px) !important;
  height: clamp(16px, 1.18vw, 23px) !important;
  border-radius: 4px !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto auto !important;
  align-items: center !important;
  column-gap: 6px !important;
  row-gap: 2px !important;
  min-width: 0 !important;
}
.bcs-prop-overlay .bcs-hard-label {
  grid-column: 1 / 3 !important;
  text-align: left !important;
  font-size: clamp(12px, .98vw, 18px) !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap {
  grid-column: 1 / 3 !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 6px !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap em {
  font-size: clamp(6px, .52vw, 9px) !important;
  line-height: 1.05 !important;
  color: rgba(226,255,206,.88) !important;
  max-width: 82px !important;
}
.bcs-prop-overlay .bcs-hard-counter-wrap strong {
  min-width: 28px !important;
  height: 23px !important;
  padding: 0 .45em !important;
  font-size: clamp(10px, .82vw, 14px) !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  grid-column: 1 / 3 !important;
  font-size: clamp(7px, .60vw, 10px) !important;
  color: rgba(255,255,255,.82) !important;
  text-align: left !important;
}
.bcs-prop-overlay .bcs-panel-heading-oneroll {
  margin-top: .4% !important;
}
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row {
  flex: 0 0 13.0% !important;
  gap: 1.1% !important;
}
.bcs-prop-overlay .bcs-horn-grid {
  flex: 0 0 13.2% !important;
  gap: 1.1% !important;
}
.bcs-prop-overlay .bcs-bet-zone {
  border-radius: 7px !important;
  padding: 2.0% 7% !important;
}
.bcs-prop-overlay .bcs-bet-title {
  font-size: clamp(9px, .82vw, 15px) !important;
}
.bcs-prop-overlay .bcs-bet-sub {
  font-size: clamp(6px, .54vw, 10px) !important;
}
.bcs-prop-overlay .bcs-hop-grid-hard {
  flex: 0 0 24.0% !important;
  gap: 1.3% !important;
}
.bcs-prop-overlay .bcs-hop-grid-easy {
  gap: 1.2% !important;
}
.bcs-prop-overlay .bcs-hop-card {
  grid-template-columns: 45% 1fr !important;
  padding: 2.4% 11% 2.4% 3.5% !important;
  gap: 4% !important;
}
.bcs-prop-overlay .bcs-hop-dice .bcs-die-face {
  width: clamp(14px, 1vw, 20px) !important;
  height: clamp(14px, 1vw, 20px) !important;
  border-radius: 3px !important;
}
.bcs-prop-overlay .bcs-hop-pair {
  font-size: clamp(10px, .82vw, 15px) !important;
}
.bcs-prop-overlay .bcs-hop-payout {
  font-size: clamp(6px, .52vw, 9px) !important;
}
.bcs-prop-overlay .bcs-hard-card .bcs-bet-chip,
.bcs-prop-overlay .bcs-hop-card .bcs-bet-chip {
  width: clamp(18px, 1.35vw, 24px) !important;
  height: clamp(18px, 1.35vw, 24px) !important;
  right: 3px !important;
  top: 4px !important;
}


/* v0.5.79: refine hardways/hop styling to better match compact reference panel. */
.bcs-prop-overlay {
  padding: .42% !important;
}
.bcs-prop-tabs {
  gap: .45% !important;
  margin-bottom: .45% !important;
}
.bcs-prop-tabs button {
  min-height: 42px !important;
  border-radius: 8px 8px 0 0 !important;
  background: linear-gradient(180deg, rgba(213,220,214,.92), rgba(126,131,129,.92)) !important;
  color: #111 !important;
  font-size: clamp(10px, .78vw, 14px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 4px rgba(0,0,0,.22) !important;
}
.bcs-prop-tabs button span {
  background: linear-gradient(180deg, rgba(15,18,18,.95), rgba(0,0,0,.96)) !important;
  color: #fff !important;
  min-width: 42px !important;
  height: 26px !important;
  border-radius: 10px !important;
  font-size: clamp(9px, .70vw, 12px) !important;
}
.bcs-prop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(162,235,124,.96), rgba(84,167,57,.98)) !important;
  color: #142514 !important;
  border-color: rgba(227,209,122,.8) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  padding: .85% !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  min-height: 4.7% !important;
  margin-bottom: .35% !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(11px, .88vw, 16px) !important;
  letter-spacing: .03em !important;
}
.bcs-prop-overlay .bcs-panel-heading span {
  font-size: clamp(6px, .48vw, 9px) !important;
  letter-spacing: .06em !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 28% !important;
  gap: 1.1% !important;
}
.bcs-prop-overlay .bcs-hard-card {
  padding: 1.4% 2.6% !important;
  border-radius: 6px !important;
  grid-template-columns: 31% 1fr !important;
  gap: 2.2% !important;
  background: linear-gradient(180deg, rgba(48,130,45,.92), rgba(26,103,28,.97)) !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right {
  grid-template-columns: 1fr 31% !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-dice {
  grid-column: 2 !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-meta {
  grid-column: 1 !important;
}
.bcs-prop-overlay .bcs-hard-dice {
  justify-content: center !important;
  align-self: center !important;
  gap: 2px !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(13px, .92vw, 18px) !important;
  height: clamp(13px, .92vw, 18px) !important;
  border-radius: 4px !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto auto !important;
  row-gap: 1px !important;
  column-gap: 5px !important;
  align-items: center !important;
}
.bcs-prop-overlay .bcs-hard-label {
  grid-column: 1 / 3 !important;
  text-align: center !important;
  font-size: clamp(10px, .84vw, 16px) !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-hard-counter-text {
  grid-column: 1 !important;
  font-size: clamp(5px, .42vw, 8px) !important;
  line-height: 1.1 !important;
  color: rgba(241,249,232,.92) !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
}
.bcs-prop-overlay .bcs-hard-counter-pill {
  grid-column: 2 !important;
  grid-row: 2 / 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(20,50,15,.98), rgba(8,26,8,.98)) !important;
  color: #d8ff70 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: clamp(9px, .72vw, 12px) !important;
  font-weight: 900 !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  grid-column: 1 !important;
  font-size: clamp(5px, .42vw, 8px) !important;
  line-height: 1 !important;
  color: rgba(255,255,255,.88) !important;
  letter-spacing: .05em !important;
}
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row {
  flex: 0 0 12.1% !important;
  gap: .8% !important;
}
.bcs-prop-overlay .bcs-horn-grid {
  flex: 0 0 12.3% !important;
  gap: .8% !important;
}
.bcs-prop-overlay .bcs-seven-row > span,
.bcs-prop-overlay .bcs-any-craps-row > span,
.bcs-prop-overlay .bcs-horn-grid > .bcs-horn-payout {
  font-size: clamp(6px, .52vw, 10px) !important;
  border-radius: 6px !important;
}
.bcs-prop-overlay .bcs-bet-zone {
  border-radius: 6px !important;
  padding: 1.3% 6% !important;
}
.bcs-prop-overlay .bcs-seven-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-anycraps-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-horn-zone .bcs-bet-title {
  font-size: clamp(10px, .78vw, 14px) !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-horn-zone .bcs-bet-sub {
  font-size: clamp(5px, .40vw, 7px) !important;
}
.bcs-prop-overlay .bcs-hop-grid-hard {
  flex: 0 0 22.5% !important;
  gap: .9% !important;
}
.bcs-prop-overlay .bcs-hop-grid-easy {
  gap: .85% !important;
}
.bcs-prop-overlay .bcs-hop-card {
  border-radius: 6px !important;
  padding: 1.6% 10% 1.6% 3.2% !important;
  grid-template-columns: 42% 1fr !important;
  gap: 3% !important;
}
.bcs-prop-overlay .bcs-hop-dice .bcs-die-face {
  width: clamp(12px, .85vw, 17px) !important;
  height: clamp(12px, .85vw, 17px) !important;
}
.bcs-prop-overlay .bcs-hop-pair {
  font-size: clamp(8px, .68vw, 12px) !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-hop-payout {
  font-size: clamp(5px, .42vw, 8px) !important;
}
.bcs-prop-overlay .bcs-hard-card .bcs-bet-chip,
.bcs-prop-overlay .bcs-hop-card .bcs-bet-chip {
  width: clamp(16px, 1.08vw, 21px) !important;
  height: clamp(16px, 1.08vw, 21px) !important;
  top: 3px !important;
  right: 3px !important;
}
.bcs-prop-overlay .bcs-hard-card .bcs-lock,
.bcs-prop-overlay .bcs-hop-card .bcs-lock {
  font-size: clamp(5px, .42vw, 8px) !important;
}


/* v0.5.80: restore original darker green panel feel and simplify hardway card layout to match reference more closely. */
.bcs-prop-overlay {
  background: linear-gradient(180deg, rgba(0,49,16,.985), rgba(0,27,8,.992)) !important;
  border-color: rgba(194,155,53,.68) !important;
}
.bcs-prop-overlay .bcs-prop-content {
  background: linear-gradient(180deg, rgba(0,43,13,.985), rgba(0,24,8,.99)) !important;
  border-color: rgba(212,175,76,.48) !important;
}
.bcs-prop-tabs {
  gap: .55% !important;
  margin-bottom: .5% !important;
}
.bcs-prop-tabs button {
  min-height: 40px !important;
  border-radius: 8px 8px 0 0 !important;
  background: linear-gradient(180deg, rgba(227,231,229,.94), rgba(132,136,134,.92)) !important;
  color: #151515 !important;
}
.bcs-prop-tabs button.is-active {
  background: linear-gradient(180deg, rgba(145,224,101,.96), rgba(73,155,45,.98)) !important;
  color: #182e16 !important;
}
.bcs-prop-tabs button span {
  min-width: 44px !important;
  height: 24px !important;
  border-radius: 9px !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  min-height: 4.3% !important;
  margin-bottom: .25% !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(11px, .86vw, 15px) !important;
}
.bcs-prop-overlay .bcs-panel-heading span {
  font-size: clamp(6px, .46vw, 8px) !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 29% !important;
  gap: 1.05% !important;
}
.bcs-prop-overlay .bcs-hard-card {
  grid-template-columns: 37% 1fr !important;
  gap: 1.4% !important;
  padding: 1.1% 2.4% !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, rgba(47,128,43,.88), rgba(23,99,26,.95)) !important;
  border: 1px solid rgba(175,214,132,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -10px 18px rgba(0,0,0,.12) !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right {
  grid-template-columns: 1fr 37% !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-dice {
  grid-column: 2 !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-meta {
  grid-column: 1 !important;
}
.bcs-prop-overlay .bcs-hard-dice {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(17px, 1.12vw, 22px) !important;
  height: clamp(17px, 1.12vw, 22px) !important;
  border-radius: 4px !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-hard-label {
  font-size: clamp(10px, .84vw, 15px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-hard-counter-text {
  font-size: clamp(5px, .40vw, 7px) !important;
  line-height: 1.1 !important;
  color: rgba(245,250,239,.92) !important;
  letter-spacing: .06em !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-hard-counter-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 18px !important;
  padding: 0 .4em !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(24,52,17,.98), rgba(9,27,8,.98)) !important;
  color: #d8ff70 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: clamp(9px, .68vw, 12px) !important;
  font-weight: 900 !important;
  margin-top: 1px !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  font-size: clamp(5px, .42vw, 8px) !important;
  line-height: 1 !important;
  color: rgba(255,255,255,.90) !important;
  letter-spacing: .05em !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-panel-heading-oneroll {
  margin-top: .35% !important;
}
/* leave hop/grid colors alone except slightly tighter spacing */
.bcs-prop-overlay .bcs-hop-grid-hard { gap: .8% !important; }
.bcs-prop-overlay .bcs-hop-grid-easy { gap: .75% !important; }


/* v0.5.81: final hardways layout reset to match reference with big side dice, center count, payout below. */
.bcs-prop-overlay .bcs-hard-card {
  position: relative !important;
  grid-template-columns: 40% 1fr !important;
  gap: 1.5% !important;
  padding: 1.2% 2.3% !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(46,128,42,.88), rgba(23,99,26,.95)) !important;
  border: 1px solid rgba(169,212,129,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -8px 16px rgba(0,0,0,.13) !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right {
  grid-template-columns: 1fr 40% !important;
}
.bcs-prop-overlay .bcs-hard-dice {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  align-self: center !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(18px, 1.18vw, 23px) !important;
  height: clamp(18px, 1.18vw, 23px) !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.24) !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  text-align: center !important;
}
.bcs-prop-overlay .bcs-hard-counter-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  height: 22px !important;
  padding: 0 .55em !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(28,72,23,.98), rgba(13,43,12,.98)) !important;
  color: #000 !important;
  font-size: clamp(9px, .72vw, 13px) !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  display: block !important;
  color: rgba(245,248,241,.94) !important;
  font-size: clamp(7px, .54vw, 10px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-hard-label,
.bcs-prop-overlay .bcs-hard-counter-text {
  display: none !important;
}
.bcs-prop-overlay .bcs-hard-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* v0.5.82: hardways visual cleanup after screenshot - one-line tabs, red dice, tighter true-machine proportions. */
.bcs-prop-tabs button {
  min-width: 0 !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  gap: 3px !important;
  padding: 0 4.5% !important;
  font-size: clamp(9px, .70vw, 13px) !important;
  letter-spacing: -.02em !important;
  line-height: 1 !important;
}
.bcs-prop-tabs button span {
  flex: 0 0 auto !important;
  min-width: 34px !important;
  height: 21px !important;
  font-size: clamp(8px, .62vw, 11px) !important;
  padding: 0 .45em !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  min-height: 3.7% !important;
  margin-bottom: .15% !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(10px, .74vw, 14px) !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-panel-heading span {
  font-size: clamp(5px, .38vw, 7px) !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 23.8% !important;
  gap: .75% !important;
}
.bcs-prop-overlay .bcs-hard-card {
  min-height: 0 !important;
  grid-template-columns: 43% 1fr !important;
  padding: .8% 2.4% !important;
  gap: 1.2% !important;
  border-radius: 5px !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right {
  grid-template-columns: 1fr 43% !important;
}
.bcs-prop-overlay .bcs-hard-dice {
  gap: 2px !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(20px, 1.36vw, 27px) !important;
  height: clamp(20px, 1.36vw, 27px) !important;
  border-radius: 4px !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.38)) !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  gap: 2px !important;
  min-width: 0 !important;
}
.bcs-prop-overlay .bcs-hard-counter-pill {
  min-width: 50px !important;
  height: 20px !important;
  color: #020b03 !important;
  background: linear-gradient(180deg, rgba(21,83,23,.96), rgba(8,49,13,.98)) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.10), 0 1px 2px rgba(0,0,0,.22) !important;
  font-size: clamp(8px, .64vw, 12px) !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  font-size: clamp(6px, .46vw, 9px) !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-panel-heading-oneroll {
  min-height: 4.1% !important;
  margin-top: .25% !important;
  margin-bottom: .4% !important;
}
.bcs-prop-overlay .bcs-seven-row,
.bcs-prop-overlay .bcs-any-craps-row {
  flex: 0 0 10.8% !important;
}
.bcs-prop-overlay .bcs-horn-grid {
  flex: 0 0 11.0% !important;
}
.bcs-prop-overlay .bcs-seven-row > span,
.bcs-prop-overlay .bcs-any-craps-row > span,
.bcs-prop-overlay .bcs-horn-grid > .bcs-horn-payout {
  font-size: clamp(5px, .44vw, 8px) !important;
}
.bcs-prop-overlay .bcs-seven-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-anycraps-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-horn-zone .bcs-bet-title {
  font-size: clamp(8px, .68vw, 13px) !important;
}
.bcs-prop-overlay .bcs-horn-zone .bcs-bet-sub {
  font-size: clamp(4px, .34vw, 6px) !important;
}


/* v0.5.83: one clean reference-style Hardways/One Roll layout override. Keeps the fixed outline/boundary. */
.bcs-prop-overlay {
  overflow: hidden !important;
}
.bcs-prop-overlay .bcs-prop-content {
  height: calc(100% - 43px) !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 1.1% 1.7% 1.7% !important;
  background: linear-gradient(180deg, rgba(0,55,16,.99), rgba(0,30,9,.995)) !important;
}
.bcs-prop-tabs {
  height: 42px !important;
  min-height: 42px !important;
  margin-bottom: 0 !important;
  gap: .55% !important;
}
.bcs-prop-tabs button {
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 3.2% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  word-break: keep-all !important;
  flex-wrap: nowrap !important;
  line-height: .95 !important;
  font-size: clamp(8px, .58cqw, 12px) !important;
  letter-spacing: -.035em !important;
}
.bcs-prop-tabs button span {
  min-width: 36px !important;
  width: auto !important;
  height: 23px !important;
  padding: 0 .50em !important;
  flex: 0 0 auto !important;
  font-size: clamp(8px, .60cqw, 11px) !important;
}
.bcs-hardways-ref-panel {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .8% !important;
}
.bcs-prop-overlay .bcs-panel-heading {
  flex: 0 0 5.2% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 1% !important;
  background: rgba(0, 18, 7, .78) !important;
  border-radius: 5px 5px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}
.bcs-prop-overlay .bcs-panel-heading strong {
  font-size: clamp(10px, .72cqw, 15px) !important;
  letter-spacing: .03em !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-panel-heading span {
  font-size: clamp(5px, .36cqw, 8px) !important;
  letter-spacing: .02em !important;
  white-space: nowrap !important;
  opacity: .9 !important;
}
.bcs-prop-overlay .bcs-hard-grid {
  flex: 0 0 28% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  grid-template-rows: repeat(2, minmax(0,1fr)) !important;
  gap: 1.35% 2.7% !important;
  margin: 0 !important;
}
.bcs-prop-overlay .bcs-hard-card {
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: 43% 1fr !important;
  align-items: center !important;
  gap: 2% !important;
  padding: 2.2% 3.1% !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(38,132,43,.78), rgba(14,94,27,.86)) !important;
  border: 1px solid rgba(188, 233, 155, .34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -9px 16px rgba(0,0,0,.12) !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right {
  grid-template-columns: 1fr 43% !important;
}
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-dice { grid-column: 2 !important; grid-row: 1 !important; }
.bcs-prop-overlay .bcs-hard-card.dice-right .bcs-hard-meta { grid-column: 1 !important; grid-row: 1 !important; }
.bcs-prop-overlay .bcs-hard-dice {
  justify-content: center !important;
  gap: 4px !important;
}
.bcs-prop-overlay .bcs-hard-dice .bcs-red-die,
.bcs-prop-overlay .bcs-hard-dice .bcs-die-face {
  width: clamp(21px, 1.55cqw, 31px) !important;
  height: clamp(21px, 1.55cqw, 31px) !important;
  border-radius: 4px !important;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)) !important;
}
.bcs-prop-overlay .bcs-hard-meta {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
}
.bcs-prop-overlay .bcs-hard-counter-pill {
  min-width: 50px !important;
  height: 18px !important;
  padding: 0 .5em !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(4,54,12,.96), rgba(2,31,7,.98)) !important;
  color: #050505 !important;
  text-shadow: 0 1px 0 rgba(83,150,69,.32) !important;
  font-size: clamp(8px, .58cqw, 11px) !important;
  font-weight: 950 !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.24) !important;
}
.bcs-prop-overlay .bcs-hard-payout {
  display: block !important;
  white-space: nowrap !important;
  color: rgba(245,252,240,.95) !important;
  font-size: clamp(6px, .48cqw, 9px) !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
}
.bcs-prop-overlay .bcs-hard-label,
.bcs-prop-overlay .bcs-hard-counter-text { display: none !important; }
.bcs-prop-overlay .bcs-panel-heading-oneroll {
  flex: 0 0 5.3% !important;
  border-radius: 5px !important;
  margin-top: .5% !important;
}
.bcs-one-roll-ref {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.45% !important;
}
.bcs-prop-overlay .bcs-seven-ref-row,
.bcs-prop-overlay .bcs-any-ref-row {
  flex: 0 0 20.5% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 25% 1fr 25% !important;
  gap: 1% !important;
  margin: 0 !important;
}
.bcs-prop-overlay .bcs-seven-row > span,
.bcs-prop-overlay .bcs-any-craps-row > span {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px !important;
  background: rgba(10, 105, 31, .45) !important;
  border: 1px solid rgba(189,226,159,.30) !important;
  color: rgba(235,244,229,.92) !important;
  font-size: clamp(7px, .58cqw, 11px) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-seven-zone,
.bcs-prop-overlay .bcs-anycraps-zone {
  height: 100% !important;
  border-radius: 5px !important;
  background: rgba(0,55,17,.54) !important;
  border: 1px solid rgba(189,226,159,.34) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.bcs-prop-overlay .bcs-seven-zone .bcs-bet-title,
.bcs-prop-overlay .bcs-anycraps-zone .bcs-bet-title {
  color: #ff2637 !important;
  font-size: clamp(12px, .92cqw, 18px) !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.70), 0 0 6px rgba(255, 0, 20, .20) !important;
}
.bcs-horn-ref-board {
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 25% 25% 25% 25% !important;
  grid-template-rows: repeat(2, minmax(0,1fr)) !important;
  gap: 1% !important;
}
.bcs-horn-ref-board .bcs-horn-deco,
.bcs-horn-ref-board .bcs-horn-zone {
  min-height: 0 !important;
  border-radius: 5px !important;
  border: 1px solid rgba(189,226,159,.30) !important;
  background: rgba(10, 105, 31, .45) !important;
  color: rgba(235,244,229,.92) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
}
.bcs-horn-ref-board .bcs-horn-deco:hover,
.bcs-horn-ref-board .bcs-horn-zone:hover,
.bcs-seven-zone:hover,
.bcs-anycraps-zone:hover {
  border-color: rgba(255, 232, 102, .72) !important;
  filter: brightness(1.08) !important;
}
.bcs-horn-ref-board .bcs-horn-pay-cell span {
  font-size: clamp(6px, .48cqw, 9px) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
.bcs-horn-ref-board .bcs-horn-dice {
  display: flex !important;
  gap: 3px !important;
  align-items: center !important;
  justify-content: center !important;
}
.bcs-horn-ref-board .bcs-horn-dice .bcs-red-die,
.bcs-horn-ref-board .bcs-horn-dice .bcs-die-face {
  width: clamp(18px, 1.28cqw, 26px) !important;
  height: clamp(18px, 1.28cqw, 26px) !important;
  border-radius: 4px !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.36)) !important;
}
.bcs-horn-ref-board .bcs-horn-zone {
  position: absolute !important;
  left: 31.5% !important;
  top: 22% !important;
  width: 37% !important;
  height: 56% !important;
  z-index: 2 !important;
  background: linear-gradient(180deg, rgba(30,115,43,.97), rgba(10,79,25,.99)) !important;
  border-color: rgba(189,226,159,.42) !important;
  box-shadow: 0 3px 7px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.08) !important;
  flex-direction: column !important;
}
.bcs-horn-ref-board .bcs-horn-zone .bcs-bet-title {
  font-size: clamp(10px, .82cqw, 16px) !important;
  font-weight: 950 !important;
  line-height: .95 !important;
  white-space: nowrap !important;
  color: #fff !important;
}
.bcs-horn-ref-board .bcs-horn-zone .bcs-bet-sub {
  font-size: clamp(5px, .38cqw, 7px) !important;
  line-height: 1 !important;
  margin-top: 2px !important;
  color: rgba(255,255,255,.86) !important;
  white-space: nowrap !important;
}
.bcs-prop-overlay .bcs-bet-chip {
  width: clamp(14px, 1.55cqw, 25px) !important;
  height: clamp(14px, 1.55cqw, 25px) !important;
  right: 3px !important;
  top: 3px !important;
  left: auto !important;
  transform: none !important;
}
.bcs-horn-ref-board .bcs-horn-zone .bcs-bet-chip,
.bcs-seven-zone .bcs-bet-chip,
.bcs-anycraps-zone .bcs-bet-chip {
  right: 4px !important;
  top: 4px !important;
}
@container (max-width: 740px) {
  .bcs-prop-tabs button { font-size: 8px !important; padding: 0 2.6% !important; }
  .bcs-prop-tabs button span { min-width: 31px !important; height: 19px !important; font-size: 8px !important; }
  .bcs-prop-overlay .bcs-hard-dice .bcs-die-face { width: 20px !important; height: 20px !important; }
  .bcs-horn-ref-board .bcs-horn-dice .bcs-die-face { width: 17px !important; height: 17px !important; }
}
