.es-root {
  --es-accent: var(--brand-45, #FFE233);
  --es-accent-soft: var(--brand-50, #FBE24B);
  --es-accent-muted: rgba(251, 226, 75, 0.45);
  --es-accent-bg: rgba(251, 226, 75, 0.12);
  --es-surface: #0d0d0c;
  --es-surface-raised: #141210;
  --es-text-on-accent: #0d0c07;
  --es-radius: 8px;
  --es-panel-font: 12px;
  --es-main-row-min: 0;
  --es-graph-h: 298px;

  display: flex;
  flex-direction: column;
  gap: 0;
  color: #e8e8e8;
  font-size: 14px;
  width: 100%;
}
.es-main-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  height: auto;
  overflow: visible;
  background: transparent;
  border: none;
}
.es-main-slot--bets {
  min-width: 0;
}
.es-main-block.es-main-block--measuring {
  align-items: start;
}
.es-main-block.es-main-block--measuring .es-main-slot > .es-main-col {
  height: auto;
  max-height: none;
}
.es-main-slot {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 6px;
}
.es-main-col {
  --es-col-border: rgba(255, 255, 255, 0.1);
  --es-col-bg: #161615;
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: var(--es-col-bg);
  border: none;
  border-radius: var(--es-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
  isolation: isolate;
}
.es-main-col::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--es-col-border);
  pointer-events: none;
  z-index: 2;
}
.es-main-slot > .es-main-col {
  flex: 1 1 auto;
  height: var(--es-row-height, auto);
  max-height: var(--es-row-height, none);
}
.es-main-col--chat {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.es-main-col--queue {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.es-main-col--queue .es-bets-scroll {
  position: relative;
  z-index: 1;
  padding: 0 10px 8px;
  box-sizing: border-box;
}
.es-main-col--queue .es-runs-chat-bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.es-batch-pf-commit {
  margin: 0 0 6px;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(232, 232, 232, 0.72);
  word-break: break-all;
}
.es-batch-pf-commit__hash {
  font-size: 10px;
}
.es-runs-chat-bar--players {
  justify-content: center;
  align-items: center;
  min-height: 52px;
  box-sizing: border-box;
}
.es-runs-chat-bar--players .es-col-foot__link {
  min-height: 36px;
  box-sizing: border-box;
}
.es-col-foot__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: var(--es-radius, 8px);
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Roboto Mono', monospace;
  font-size: var(--es-panel-font, 12px);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s ease, background 0.15s ease;
}
.es-col-foot__link:hover,
.es-col-foot__link:focus-visible {
  color: var(--es-accent, #ffe233);
  background: rgba(251, 226, 75, 0.08);
  outline: none;
}
.es-col-foot__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.es-col-head {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  align-self: center;
  margin: -0.3125rem 0 6px;
  padding: 0;
  text-align: center;
  line-height: 1;
}
.es-col-head > span {
  display: inline-block;
  padding: 0 0.4rem;
  background: var(--es-col-bg);
  color: var(--es-accent);
  font-family: "Public Pixel", ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.es-main-col--chat .es-chat-feed {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 10px 8px;
  border: none;
  border-radius: 0;
  background: transparent;
}
.es-main-col--chat .es-chat-msg {
  padding: 0;
}
.es-main-col--chat .es-runs-chat-bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.es-main-col--builder {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.es-main-col--builder .es-builder-stack {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 10px 8px;
  box-sizing: border-box;
}
.es-main-col--builder .es-runs-chat-bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.es-builder-stack {
  position: relative;
  width: 100%;
}
.es-builder-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.es-builder-body.es-hidden {
  display: none;
}
.es-panel {
  background: var(--es-surface);
  border: 1px solid var(--es-accent-muted);
  border-radius: var(--es-radius);
  padding: 14px 16px;
}
.es-stream-bar {
  display: flex;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  padding: 7px 14px;
  line-height: 1;
  background: var(--es-surface);
  border: 1px solid var(--es-accent-muted);
  border-radius: var(--es-radius);
  margin-bottom: 0;
}
.es-play-ladder-bar {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 10px;
  padding: 0;
  box-sizing: border-box;
}
.es-stream-bar--ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  padding: 1px 10px 8px;
  min-height: 0;
  border-top: none;
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible;
}
.es-runs-ladder-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.es-runs-ladder-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.es-runs-ladder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
}
.es-runs-ladder-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: calc(2.5rem - 5px);
  padding: 3px 3px 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--es-radius);
  min-width: 0;
}
.es-runs-ladder-n {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}
.es-runs-ladder-x {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.1;
  white-space: nowrap;
}
.es-runs-ladder-next {
  font-size: clamp(10px, 0.9vw, 11px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--es-accent);
  line-height: 1;
  flex-shrink: 0;
}
.es-runs-ladder-step--current {
  background: var(--es-accent-bg);
  border-color: var(--es-accent-muted);
  justify-content: center;
}
.es-runs-ladder-step--current .es-runs-ladder-x {
  color: var(--es-accent);
}
.es-runs-ladder-step--next {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-color: var(--es-accent);
  box-shadow: inset 0 0 0 1px rgba(251, 226, 75, 0.35);
}
.es-runs-ladder-step--next .es-runs-ladder-x {
  color: var(--es-accent);
}
.es-runs-ladder-step--current.es-runs-ladder-step--next {
  box-shadow: inset 0 0 0 1px rgba(251, 226, 75, 0.55);
}
.es-stream-bar .es-panel-title {
  margin: 0;
}
.es-live-graph-panel {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding-top: 4px;
  background: #0a0a09;
  border: 1px solid var(--es-accent-muted);
  overflow: hidden;
}
.es-root--runs .es-live-graph-panel {
  width: 100%;
}
.es-live-graph-stage {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  flex: 0 0 var(--es-graph-h, 220px);
  min-height: var(--es-graph-h, 220px);
  max-height: var(--es-graph-h, 220px);
  height: var(--es-graph-h, 220px);
}
.es-live-graph-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 28px;
  padding: calc(6px + 14px + 3px) 0 calc(8px + 39px + 3px) 4px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  background: #0a0a09;
  z-index: 2;
}
.es-live-graph-body {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.es-live-graph-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
}
.es-live-graph-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 4;
}
.es-runs-sync-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  box-sizing: border-box;
  pointer-events: none;
  background: rgba(8, 8, 7, 0.88);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.es-runs-sync-overlay[hidden] {
  display: none !important;
}
.es-runs-sync-overlay__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fbe24b;
}
.es-runs-sync-overlay__count {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  min-height: 1.1em;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#esRoot .es-runs-sync-overlay__title {
  color: #fbe24b !important;
  -webkit-text-fill-color: #fbe24b !important;
}
#esRoot .es-runs-sync-overlay__count {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 42px;
}
.es-graph-match-effect {
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
}
.es-graph-match-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid #4ade80;
  border-radius: 50%;
  animation: es-match-ring 0.75s ease-out forwards;
}
.es-graph-match-pop {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #0d0c07;
  color: #0d0c07;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  animation: es-match-pop 0.7s ease-out forwards;
}
.es-graph-match-streak {
  position: absolute;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0), rgba(74, 222, 128, 0.85));
  transform-origin: right center;
  animation: es-match-streak 0.55s ease-out forwards;
}
@keyframes es-match-ring {
  0% { transform: scale(0.45); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes es-match-pop {
  0% { transform: scale(0.2); opacity: 0; }
  45% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0.95; }
}
@keyframes es-match-streak {
  0% { transform: scaleX(0); opacity: 0.2; }
  100% { transform: scaleX(1); opacity: 0.85; }
}
.es-ball--match-hit {
  animation: es-ball-match 0.7s ease-out;
}
@keyframes es-ball-match {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(74, 222, 128, 0));
    background: var(--es-accent);
  }
  40% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.9));
    background: #4ade80;
    border-color: #4ade80;
    color: #0d0c07;
  }
  100% {
    transform: scale(1);
    filter: none;
    background: var(--es-accent);
    border-color: var(--es-accent);
    color: var(--es-text-on-accent);
  }
}
.es-stream-bar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 0;
}
.es-stream-bar-left .es-panel-meta {
  white-space: nowrap;
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.01em;
}
.es-stream-bar-left .es-panel-meta::before {
  content: '·';
  margin: 0 0.5em;
  color: rgba(255, 255, 255, 0.22);
}
.es-stream-bar-title {
  margin: 0;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.05em;
}
.es-main-col--builder .es-game-picker {
  flex-shrink: 0;
  margin-bottom: 8px;
}
.es-main-col--builder .es-stake-row,
.es-main-col--builder .es-buy-btn,
.es-main-col--builder .es-buy-hint {
  flex-shrink: 0;
}
.es-main-col--builder .es-risk-block {
  flex-shrink: 0;
}
.es-builder-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.es-builder-tab {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: var(--es-radius);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1.2;
  box-sizing: border-box;
}
.es-builder-tab.is-active {
  color: var(--es-accent);
  border-color: var(--es-accent);
  background: var(--es-accent-bg);
}
.es-builder-tab:not(.is-active):hover,
.es-builder-tab:not(.is-active):focus-visible {
  color: rgba(255, 255, 255, 0.65);
  outline: none;
}
.es-chat-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  box-sizing: border-box;
}
.es-chat-panel.es-hidden {
  display: none;
}
.es-chat-feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 10px;
}
.es-chat-messages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}
.es-chat-msg {
  font-size: var(--es-panel-font);
  line-height: 1.4;
  padding: 3px 0;
  word-break: break-word;
}
.es-chat-user {
  color: var(--es-accent);
  font-weight: 700;
  margin-right: 0.35em;
}
.es-chat-text {
  color: rgba(255, 255, 255, 0.82);
}
.es-chat-msg--run .es-chat-text {
  color: #4ade80;
  font-weight: 600;
}
.es-chat-msg--win .es-chat-text {
  color: #4ade80;
}
.es-chat-msg--loss .es-chat-text {
  color: #f87171;
}
.es-chat-msg--buy .es-chat-user {
  color: var(--es-accent-soft);
}
.es-chat-msg--chat .es-chat-text {
  color: rgba(255, 255, 255, 0.92);
}
.es-chat-msg--notice .es-chat-text {
  color: rgba(251, 226, 75, 0.78);
  font-style: italic;
}
.es-chat-empty {
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--es-panel-font);
  font-style: italic;
  padding: 8px 0;
}
.es-panel-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin: 0 0 10px;
  color: var(--es-accent);
}
.es-panel-meta { color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.es-signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--es-accent);
  margin-right: 5px;
  vertical-align: 0.05em;
  animation: es-pulse 1.2s infinite;
}
@keyframes es-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.es-stream-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.es-ball {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.es-ball--latest {
  width: 52px; height: 52px; font-size: 20px;
  background: var(--es-accent);
  border-color: var(--es-accent);
  color: var(--es-text-on-accent);
  transform-origin: center center;
  will-change: transform;
}
.es-stream-seq {
  margin: 0;
  flex-shrink: 0;
  color: var(--es-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.es-tabs { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.es-game-picker {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.es-tabs--games {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 0;
}
.es-tabs--games .es-tab {
  width: 100%;
  min-width: 0;
  min-height: 0;
  font-size: 10px;
  padding: 10px 4px;
}
.es-game-preview {
  flex: 0 0 44%;
  max-width: 172px;
  min-width: 112px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.es-game-preview-stage {
  display: flex;
  flex: 1 1 auto;
  min-height: 96px;
}
.es-game-preview-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  width: 16px;
  padding: 4px 0 4px 3px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.es-game-preview-body {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.es-game-preview-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.es-game-preview-rule {
  margin: 0;
  padding: 4px 6px;
  font-size: 9px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.es-risk-block {
  --es-builder-panel-h: 112px;
  flex: 0 0 var(--es-builder-panel-h);
  min-height: var(--es-builder-panel-h);
  margin: 0 0 4px;
  padding: 6px 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.es-risk-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-height: 14px;
  margin-bottom: 2px;
}
.es-risk-head .es-label {
  margin: 0;
  flex-shrink: 0;
}
.es-risk-rule {
  color: var(--es-accent-soft);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.es-risk-control {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.es-risk-control.es-hidden {
  display: none;
}
.es-risk-slider-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.es-slider-notches {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  pointer-events: none;
  z-index: 0;
}
.es-slider-notch {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 22px;
  margin: 0;
  padding: 0;
  margin-top: -11px;
  transform: translateX(-50%);
  border: none;
  border-radius: 2px;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}
.es-slider-notch::after {
  content: '';
  display: block;
  width: 2px;
  height: 10px;
  margin: 6px auto 0;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.es-slider-notch:hover::after,
.es-slider-notch:focus-visible::after {
  background: rgba(255, 226, 51, 0.85);
}
.es-risk-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}
.es-risk-slider-input:focus {
  outline: none;
}
.es-risk-slider-input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.es-risk-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -12px;
  opacity: 0;
  cursor: grab;
}
.es-risk-slider-input:active::-webkit-slider-thumb {
  cursor: grabbing;
}
.es-risk-slider-input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
}
.es-risk-slider-input::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  cursor: grab;
}
.es-risk-ball {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  background: var(--es-accent);
  border: 2px solid var(--es-accent);
  color: var(--es-text-on-accent);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: none;
}
.es-risk-quote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 2px;
}
.es-risk-quote-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.es-risk-quote-k {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.es-risk-quote-v {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}
.es-tab {
  flex: 1; padding: 8px 6px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a19; color: rgba(255, 255, 255, 0.55); border-radius: var(--es-radius);
  cursor: pointer; font-size: 11px; font-weight: 600;
}
.es-tab--active {
  background: var(--es-accent-bg);
  border-color: var(--es-accent);
  color: var(--es-accent);
}
.es-builder-pane { margin-bottom: 8px; }
.es-hidden { display: none !important; }
.es-label { display: block; color: rgba(255, 255, 255, 0.55); font-size: 11px; margin: 4px 0 2px; }
.es-input {
  width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: var(--es-radius);
  border: 1px solid rgba(255, 255, 255, 0.12); background: #121211; color: #fff;
}
.es-window-control {
  margin: 4px 0 6px;
  width: 100%;
  box-sizing: border-box;
}
.es-window-slider-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121211;
  padding: 8px 10px;
  border-radius: var(--es-radius);
}
.es-window-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.es-window-value-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.es-window-value {
  color: var(--es-accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
/* Override global style.css input[type=range] { width: 200px } */
.es-root .es-window-control input[type="range"].es-window-slider {
  display: block;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: 6px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.12);
  background-image: none;
  background-size: auto;
  background-repeat: no-repeat;
  cursor: pointer;
}
.es-root .es-window-control input[type="range"].es-window-slider:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.es-root .es-window-control input[type="range"].es-window-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  border: none;
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.es-root .es-window-control input[type="range"].es-window-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  border: none;
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.es-root .es-window-control input[type="range"].es-window-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 18px;
  margin-top: -6px;
  border-radius: var(--es-radius);
  border: 2px solid var(--es-text-on-accent);
  background: var(--es-accent);
  box-shadow: none;
  cursor: ew-resize;
}
.es-root .es-window-control input[type="range"].es-window-slider::-moz-range-thumb {
  width: 14px;
  height: 18px;
  border-radius: var(--es-radius);
  border: 2px solid var(--es-text-on-accent);
  background: var(--es-accent);
  box-shadow: none;
  cursor: ew-resize;
}
.es-window-quote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.es-presets { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.es-presets--count { flex-wrap: nowrap; }
.es-presets--count .es-preset {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 8px 4px;
  font-weight: 700;
}
.es-presets--rules-full {
  flex-wrap: nowrap;
  margin: 0;
  width: 100%;
  flex-shrink: 0;
  align-items: stretch;
}
.es-presets--rules-full .es-preset {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  align-self: auto;
  text-align: center;
  padding: 8px 2px;
  font-size: 11px;
  font-weight: 700;
}
.es-hl-config-shell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
  flex-shrink: 0;
  width: 100%;
}
.es-apply-all-label {
  margin: 0;
}
.es-rules-area {
  position: relative;
  min-height: 58px;
  margin: 4px 0 6px;
}
.es-rules-area .es-rules-apply,
.es-rules-area .es-rules-custom {
  position: absolute;
  inset: 0;
  width: 100%;
}
.es-rules-mode--off {
  visibility: hidden;
  pointer-events: none;
}
.es-seq-dropdown-row.es-seq-custom-grid {
  min-height: 28px;
}
.es-seq-custom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  align-items: stretch;
}
.es-seq-slot {
  min-width: 0;
}
.es-seq-slot--inactive {
  visibility: hidden;
  pointer-events: none;
}
.es-seq-slot select.es-input {
  width: 100%;
  padding: 5px 4px;
  font-size: 10px;
  min-height: 28px;
}
.es-preset {
  padding: 6px 10px; border-radius: var(--es-radius); border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a19; color: rgba(255, 255, 255, 0.75); cursor: pointer; font-size: 12px;
}
.es-preset--active {
  border-color: var(--es-accent);
  color: var(--es-accent);
  background: var(--es-accent-bg);
}
.es-builder-pane {
  margin-bottom: 4px;
}
.es-choice-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.es-choice-head .es-label {
  margin: 0;
}
.es-repeats-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--es-accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.es-repeats-slider-wrap {
  width: 100%;
}
.es-repeats-slider-track-wrap {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}
.es-repeats-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}
.es-repeats-slider-input:focus {
  outline: none;
}
.es-repeats-slider-input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.es-repeats-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  margin-top: -14px;
  opacity: 0;
  cursor: grab;
}
.es-repeats-slider-input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
}
.es-repeats-slider-input::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  cursor: grab;
}
.es-repeats-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  background: var(--es-accent);
  border: 2px solid var(--es-accent);
  color: var(--es-text-on-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: none;
}
.es-repeats-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-top: -1px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}
.es-pane-hint {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  line-height: 1.35;
}
.es-pane-hint.es-hidden {
  display: none;
}
.es-window-quote--inline {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.es-presets--repeats .es-preset {
  font-size: 11px;
}
.es-bet-meta {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  white-space: nowrap;
}
.es-quote-label { display: block; color: rgba(255, 255, 255, 0.45); font-size: 11px; }
.es-window-quote strong { color: var(--es-accent); }
.es-main-col--builder .es-stake-row { margin-bottom: 8px; margin-top: 0; }
.es-stake-row { margin-bottom: 10px; margin-top: auto; }
.es-stake-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.es-stake-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.es-stake-tag {
  color: rgba(255, 255, 255, 0.42);
  font-size: var(--es-panel-font);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.es-stake-input {
  width: 100%;
  box-sizing: border-box;
  font-size: var(--es-panel-font);
  font-variant-numeric: tabular-nums;
}
.es-stake-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
}
.es-stake-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 5px 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--es-panel-font);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.es-stake-btn:hover {
  border-color: var(--es-accent);
  color: var(--es-accent);
}
.es-buy-btn {
  width: 100%; padding: 12px; border: none; border-radius: var(--es-radius);
  background: var(--es-accent); color: var(--es-text-on-accent); font-size: var(--es-panel-font); font-weight: 800; cursor: pointer;
}
.es-buy-btn:hover:not(:disabled) { background: var(--es-accent-soft); }
.es-buy-btn:disabled { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.25); cursor: not-allowed; }
.es-queue-table {
  margin-bottom: 12px;
}
.es-queue-row--live {
  background: rgba(255, 226, 51, 0.06);
}
.es-queue-row--pending {
  opacity: 0.92;
}
.es-queue-pos {
  font-weight: 700;
  color: var(--es-accent);
  white-space: nowrap;
}
.es-queue-actions {
  white-space: nowrap;
  padding: 4px 0 !important;
}
.es-side-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: var(--es-panel-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  margin-right: 3px;
  cursor: pointer;
  border-radius: var(--es-radius);
  vertical-align: middle;
}
.es-side-btn--against:hover { border-color: #f87171; color: #f87171; }
.es-queue-pool {
  display: inline-block;
  font-size: var(--es-panel-font);
  color: rgba(255, 255, 255, 0.55);
  margin-right: 4px;
  vertical-align: middle;
}
.es-bets-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.es-bets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--es-panel-font);
  table-layout: fixed;
}
.es-bets-table--queue {
  border-collapse: separate;
  border-spacing: 0;
}
.es-bets-table--queue tbody tr.es-bets-row + tr.es-bets-row td {
  padding-top: 10px;
}
.es-bets-table--queue tbody tr.es-bets-row td {
  border-bottom: none;
  background: rgba(255, 255, 255, 0.03);
}
.es-bets-table--queue tbody tr.es-bets-row--live td {
  background: rgba(255, 226, 51, 0.08);
}
.es-bets-table--queue tbody tr.es-bets-row--pending td {
  background: rgba(255, 255, 255, 0.025);
}
.es-bets-table col.es-col-player,
.es-bets-table col.es-col-pick,
.es-bets-table col.es-col-status,
.es-bets-table col.es-col-bet { width: 25%; }
.es-bets-playing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1em;
}
.es-bets-playing__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 226, 51, 0.35);
  border-top-color: rgba(255, 226, 51, 0.95);
  animation: es-bets-playing-spin 0.75s linear infinite;
}
@keyframes es-bets-playing-spin {
  to { transform: rotate(360deg); }
}
.es-bets-cell--pick {
  color: var(--es-accent);
  font-weight: 700;
  font-size: var(--es-panel-font);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.es-runs-pick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 10px;
  flex-shrink: 0;
}
.es-runs-pick-btn {
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--es-panel-font);
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: none;
}
.es-runs-pick-btn:hover:not(.es-runs-pick-btn--active) {
  border-color: var(--es-accent-muted);
  color: var(--es-accent);
}
.es-runs-pick-btn--active,
.es-runs-pick-btn--active:hover,
.es-runs-pick-btn--active:focus-visible {
  border-color: var(--es-accent);
  color: var(--es-text-on-accent);
  background: var(--es-accent);
}
.es-bets-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--es-surface);
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--es-panel-font);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 5px 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
/* Match bets panel “Main” row (padding + divider) — after generic thead so it wins */
.es-main-col--queue .es-bets-table--queue thead th {
  padding: 0 4px 6px;
  font-size: calc(var(--es-panel-font) * 0.68);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: bottom;
  background: var(--es-col-bg);
}
.es-bets-head-row th.es-bets-section-title {
  position: static;
  color: var(--es-accent);
  font-size: var(--es-panel-font);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 6px 2px;
  border-bottom: none;
}
.es-bets-table tbody td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}
.es-bets-table tbody tr:last-child td { border-bottom: none; }
.es-bets-table tbody tr.es-bets-empty td {
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 4px 6px;
  line-height: 1.25;
}
.es-bets-cell--usd,
.es-bets-cell--win {
  color: #fff;
  font-weight: 600;
  font-size: calc(var(--es-panel-font) * 0.9);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: left;
}
.es-bets-cell--mult {
  color: var(--es-accent);
  font-weight: 700;
  white-space: nowrap;
  font-size: var(--es-panel-font);
  text-align: left;
}
.es-bets-cell--status {
  text-align: left;
  white-space: nowrap;
  font-weight: 700;
  font-size: var(--es-panel-font);
  letter-spacing: 0.04em;
}
.es-bets-cell--status-pending { color: rgba(255, 255, 255, 0.4); }
.es-bets-cell--status-live { color: var(--es-accent); }
.es-bets-cell--status-won { color: #4ade80; }
.es-bets-cell--status-lost { color: #f87171; }
.es-bets-row--won .es-bets-cell--win,
.es-bets-row--won .es-bets-cell--status,
.es-bets-row--won .es-bets-cell--usd { color: #4ade80; font-weight: 700; }
.es-bets-row--won .es-bets-cell--status .es-bets-cell--mult,
.es-bets-row--won .es-bets-cell--status .es-bets-cell--win {
  color: #4ade80;
  font-weight: 700;
}
.es-bets-row--lost .es-bets-cell--status { color: #f87171; }
.es-bets-row--lost .es-bets-cell--usd { color: rgba(255, 255, 255, 0.55); }
.es-bets-cell--targets {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}
.es-bets-detail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.es-bets-cell--player {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.es-bets-cell--game {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}
.es-error { margin-top: 12px; color: #f87171; }

/* Win toast — same rules as .bi .base-info-block in betting-interface.css (Blocks home only). */
.bi--blocks-win-toast {
  display: contents;
  --bi-radius-control: 8px;
}
.bi--blocks-win-toast .base-info-block {
  display: none;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  position: fixed;
  top: auto;
  left: auto;
  width: auto;
  max-width: none;
  transform: none;
  padding: 6px 8px;
  background: var(--Success-800, #288140);
  border-radius: var(--bi-radius-control);
  box-shadow: none;
  z-index: 10050;
  transition: opacity 0.3s;
  pointer-events: none;
  box-sizing: border-box;
}
.bi--blocks-win-toast .base-info-block.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.bi--blocks-win-toast .base-info-block.base-info-block--win {
  background: var(--Success-800, #288140);
  box-shadow: none;
}
.bi--blocks-win-toast .base-info-block > div {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.bi--blocks-win-toast .base-info-block-main {
  color: var(--section-mode-accent-1, #FBE24B);
  font-family: "Public Pixel";
  font-size: 0.75rem;
  order: 2;
  margin-left: auto;
  text-align: right;
}
.bi--blocks-win-toast .base-info-block-money {
  display: contents;
}
.bi--blocks-win-toast .base-info-block-money p {
  font-size: 0.75rem;
  font-family: "Public Pixel";
  order: 1;
  margin: 0;
}
.bi--blocks-win-toast .base-info-block-money .base-info-block-money-win-green {
  color: #fff;
  font-family: inherit;
}

.es-runs-stat {
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.es-runs-stat:last-child { border-right: none; }
.es-runs-stat-k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}
.es-runs-stat-v {
  font-size: 18px;
  color: var(--es-accent);
}
.es-runs-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 4px 6px;
}
.es-runs-empty {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  padding: 8px 4px;
}
.es-runs-active {
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}
.es-runs-active-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 8px;
}
.es-runs-active-balls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.es-runs-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.es-runs-ball--high {
  background: var(--es-accent);
  color: var(--es-text-on-accent);
}
.es-runs-ball--low {
  background: rgba(110, 231, 255, 0.2);
  color: #6EE7FF;
  border: 1px solid rgba(110, 231, 255, 0.45);
}
.es-runs-ball--empty {
  background: transparent;
  border: 1px dashed rgba(255, 226, 51, 0.35);
  color: rgba(255, 255, 255, 0.35);
}
.es-runs-active-meta {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.es-runs-win { color: #4ade80; }
.es-runs-loss { color: #f87171; }
.es-runs-queue-table,
.es-runs-recent-table { font-size: 12px; }
.es-runs-recent-scroll { max-height: 120px; }

@media (max-width: 950px) {
  .es-root--home .es-live-graph-body {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .es-play-ladder-bar {
    margin-bottom: 8px;
    padding: 0 1rem;
    max-width: none;
  }
  .es-stream-bar--ladder {
    padding-left: 0;
    padding-right: 0;
  }
  .es-runs-ladder-wrap {
    width: 100%;
  }
  .es-runs-ladder {
    gap: 2px;
    width: 100%;
  }
  .es-runs-ladder-step {
    width: 100%;
    min-height: calc((2.5rem - 5px) * 0.8);
    padding: 1px 1px 1px;
  }
  .es-main-block {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .es-main-slot:has(.es-main-col--chat) {
    display: none;
  }
  .es-main-slot:has(.es-main-col--queue) {
    order: 2;
  }
  .es-main-slot:has(.es-main-col--builder) {
    order: 3;
  }
  .es-main-slot > .es-main-col--queue {
    height: auto;
    max-height: 220px;
  }
  #esRoot .es-main-col--queue .es-runs-chat-bar--players {
    visibility: hidden;
    pointer-events: none;
  }
  .es-main-slot > .es-main-col--builder {
    height: auto;
    max-height: none;
  }
  .es-stream-bar {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .es-bets-scroll { min-height: 80px; }
  .es-main-col--builder .es-builder-pane:not(.es-hidden) { overflow: visible; flex: none; }
}

/* RUNS block game — bets panel extras */
.es-runs-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
}
.es-runs-ticket-head__block {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.es-runs-ticket-head__label {
  font-size: var(--es-panel-font);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.es-runs-ticket-head__num {
  font-size: calc(var(--es-panel-font) * 1.1);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.es-runs-ticket-head__badge {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 51, 0.45);
  background: rgba(255, 226, 51, 0.12);
  color: var(--es-accent);
  font-size: calc(var(--es-panel-font) * 0.78);
  font-weight: 800;
  letter-spacing: 0.06em;
}
.es-runs-ticket-queue {
  display: flex;
  align-items: center;
  gap: 4px;
}
.es-runs-ticket-queue__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 51, 0.35);
  background: rgba(255, 226, 51, 0.15);
}
.es-runs-ticket-queue__dot--live {
  background: var(--es-accent);
  box-shadow: 0 0 6px rgba(255, 226, 51, 0.55);
}
.es-runs-block-spread {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
}
.es-runs-block-spread__label {
  margin-right: 4px;
  font-size: var(--es-panel-font);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.es-runs-block-spread-btn {
  min-width: 2rem;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--es-panel-font);
  font-weight: 800;
  cursor: pointer;
}
.es-runs-block-spread-btn--active,
.es-runs-block-spread-btn--active:hover {
  border-color: rgba(255, 226, 51, 0.55);
  background: rgba(255, 226, 51, 0.14);
  color: var(--es-accent);
}
.es-runs-ticket-sheet {
  /* MAIN tier band (Base+Strong+Monster); each tier cell = band / 3. SIDE multi uses same width. */
  --es-runs-game-col-w: 7rem;
  --es-runs-tier-band-w: calc(100% - var(--es-runs-game-col-w) - 8.55rem);
  --es-runs-tier-col-w: calc(var(--es-runs-tier-band-w) / 3);
  container-type: inline-size;
  container-name: es-runs-ticket;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.es-runs-bets-section {
  min-width: 0;
}
.es-runs-bets-section__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  min-width: 0;
}
.es-runs-bets-section__head {
  margin: 0;
  font-size: var(--es-panel-font);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--es-accent);
}
.es-runs-bets-section__head-row .es-runs-link-amounts {
  margin-top: 0;
  flex-shrink: 0;
  font-size: calc(var(--es-panel-font) * 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.48);
}
.es-runs-bets-table-scroll {
  overflow-x: hidden;
  min-width: 0;
}
.es-runs-bets-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.es-runs-bets-table--main {
  table-layout: fixed;
}
.es-runs-bets-table--main .es-runs-col-game,
.es-runs-bets-table--side .es-runs-col-game {
  width: var(--es-runs-game-col-w, 7rem);
}
.es-runs-bets-table--main .es-runs-col-amount,
.es-runs-bets-table--side .es-runs-col-amount {
  width: 8.55rem;
}
.es-runs-bets-table--main .es-runs-col-tier,
.es-runs-bets-table--side .es-runs-col-tier {
  width: var(--es-runs-tier-col-w, calc((100% - 7rem - 8.55rem) / 3));
}
.es-runs-bets-table--side {
  table-layout: fixed;
}
.es-runs-bets-table thead th {
  padding: 0 4px 6px;
  font-size: calc(var(--es-panel-font) * 0.68);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.es-runs-bets-table thead th.es-runs-bets-th--blank {
  font-size: 0;
  line-height: 0;
  color: transparent;
  user-select: none;
}
.es-runs-bets-table thead th:first-child {
  text-align: left;
  padding-left: 2px;
  padding-right: 6px;
}
.es-runs-bets-table thead th:first-child .es-runs-tier-col-toggle--section {
  display: inline-block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.es-runs-bets-table thead th:nth-child(2) {
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}
.es-runs-bets-table--main thead th:nth-child(n+3),
.es-runs-bets-table--side thead th:nth-child(n+3) {
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}
.es-runs-link-amounts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 700;
}
.es-runs-link-amounts__cb {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: var(--es-accent);
}
.es-runs-bets-td {
  padding: 4px 2px;
  vertical-align: middle;
}
.es-runs-bets-td--game {
  width: 1%;
  white-space: nowrap;
  padding-right: 8px;
}
.es-runs-bets-td--game .es-runs-ticket-row__cb {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.es-runs-ticket-row__label-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  vertical-align: middle;
}
.es-runs-ticket-row__label-wrap .es-runs-ticket-row__name {
  flex: 0 0 auto;
  min-width: max-content;
  overflow: visible;
}
.es-runs-ticket-row__help {
  display: none;
  flex: 0 0 auto;
  position: relative;
  width: 14px;
  height: 14px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  align-items: center;
  justify-content: center;
}
.es-runs-ticket-row__help:hover,
.es-runs-ticket-row__help:focus-visible {
  color: var(--es-accent, #ffe233);
  border-color: rgba(255, 226, 51, 0.55);
  background: rgba(255, 226, 51, 0.1);
  outline: none;
}
.es-runs-ticket-row__help-tip {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(100% + 6px);
  top: auto;
  z-index: 500;
  width: max-content;
  max-width: min(16rem, 70vw);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 226, 51, 0.35);
  background: #1a1a19;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  pointer-events: none;
  white-space: normal;
}
.es-runs-ticket-row__help-tip.es-runs-ticket-row__help-tip--visible {
  display: block;
  pointer-events: auto;
}
.es-runs-ticket-row__help-tip.es-runs-ticket-row__help-tip--anchored {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10000;
}
@media (min-width: 901px) {
  .es-runs-ticket-row__help {
    display: inline-flex;
  }
  .es-main-col--builder .es-builder-body,
  .es-main-col--builder .es-builder-stack,
  .es-runs-ticket-sheet,
  .es-runs-bets-section,
  .es-runs-bets-table-scroll,
  .es-runs-bets-table--main,
  .es-runs-bets-table--side,
  .es-runs-bets-td--game {
    overflow: visible;
  }
}
.es-runs-bets-td--amount {
  padding: 4px 10px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}
.es-runs-bets-table--main .es-runs-bets-td--amount {
  width: 8.55rem;
  min-width: 0;
  max-width: 8.55rem;
  padding: 4px 3px 4px 6px;
  text-align: right;
}
.es-runs-bets-table--main .es-runs-bets-td--amount .es-runs-stake-stepper--fixed {
  margin: 0 0 0 auto;
}
/* Side stake: spans main amount + Base cols; stepper flush left of One (Strong). */
.es-runs-bets-table--side .es-runs-bets-td--amount-before-side-tier {
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px 3px 4px 6px;
  text-align: right;
  vertical-align: middle;
}
.es-runs-bets-table--side .es-runs-bets-td--amount-before-side-tier .es-runs-stake-stepper--fixed {
  margin: 0 0 0 auto;
}
.es-runs-bets-td--amount .es-runs-stake-stepper--fixed {
  display: inline-grid;
  margin: 0 auto;
  vertical-align: middle;
}
.es-runs-bets-td--tier {
  text-align: center;
  padding-left: 3px;
  padding-right: 3px;
}
.es-runs-bets-table--main .es-runs-bets-td--tier,
.es-runs-bets-table--side .es-runs-bets-td--tier {
  width: var(--es-runs-tier-col-w, calc((100% - 7rem - 8.55rem) / 3));
  min-width: var(--es-runs-tier-col-w, calc((100% - 7rem - 8.55rem) / 3));
  max-width: var(--es-runs-tier-col-w, calc((100% - 7rem - 8.55rem) / 3));
  box-sizing: border-box;
}
.es-runs-bets-table--main .es-runs-bets-td--tier:nth-child(3) {
  padding-left: 3px;
}
.es-runs-bets-table--main .es-runs-bets-td--tier:nth-child(5),
.es-runs-bets-table--side .es-runs-bets-td--tier:nth-child(5) {
  padding-left: 3px;
  padding-right: 3px;
}
.es-runs-bets-table--main .es-runs-bets-td--game,
.es-runs-bets-table--side .es-runs-bets-td--game {
  min-width: 0;
}
.es-runs-bets-table--main .es-runs-ticket-row__name,
.es-runs-bets-table--side .es-runs-ticket-row__name {
  font-size: calc(var(--es-panel-font) * 0.88);
  letter-spacing: 0.04em;
}
.es-runs-ticket-row {
  transition: background 0.12s ease;
}
.es-runs-ticket-row--active {
  background: rgba(255, 226, 51, 0.04);
}
.es-runs-ticket-row--active .es-runs-ticket-row__name {
  color: #fff;
}
.es-runs-ticket-row__cb {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.es-runs-ticket-row__cb[aria-checked="true"] {
  border-color: var(--es-accent);
  background: var(--es-accent);
}
.es-runs-ticket-row__cb[aria-checked="true"]::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #0d0c07;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.es-runs-ticket-row__name {
  font-size: var(--es-panel-font);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.es-runs-ticket-row:not(.es-runs-ticket-row--active) .es-runs-ticket-row__name {
  color: rgba(255, 255, 255, 0.72);
}
.es-runs-stake-stepper--fixed {
  width: 6.71rem;
  min-width: 6.71rem;
  max-width: 6.71rem;
  margin: 0;
  flex-shrink: 0;
}
.es-runs-stake-stepper {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 20px;
  align-items: stretch;
  min-width: 6.71rem;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.es-runs-ticket-row--active .es-runs-stake-stepper {
  border-color: rgba(255, 226, 51, 0.42);
}
.es-runs-stake-stepper__step {
  margin: 0;
  padding: 0 1px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Roboto Mono', monospace;
  font-size: calc(var(--es-panel-font) * 0.646);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
}
.es-runs-stake-stepper__step:last-child {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.es-runs-stake-stepper__step:hover:not(:disabled) {
  background: rgba(255, 226, 51, 0.12);
  color: var(--es-accent);
}
.es-runs-stake-stepper__step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.es-runs-stake-stepper__mid {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  column-gap: 0;
  min-width: 0;
  padding: 1px 0;
  overflow: hidden;
}
.es-runs-stake-stepper__prefix {
  grid-column: 2;
}
.es-runs-stake-stepper__mid .es-runs-stake-stepper__usd,
.es-runs-stake-stepper__mid .es-runs-stake-mini__usd {
  grid-column: 3;
}
.es-runs-stake-stepper__prefix {
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Roboto Mono', monospace;
  font-size: calc(var(--es-panel-font) * 1.12);
  font-weight: 700;
  line-height: 1;
}
.es-runs-ticket-row--active .es-runs-stake-stepper__prefix {
  color: #fff;
}
.es-runs-ticket-row--active .es-runs-stake-stepper__step {
  color: rgba(255, 255, 255, 0.68);
}
.es-runs-ticket-row__hilo {
  display: inline-flex;
  gap: 3px;
}
.es-runs-bets-table--main .es-runs-tier-btn,
.es-runs-bets-table--side .es-runs-tier-btn {
  min-height: 26px;
  padding: 2px 2px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
}
.es-runs-tier-col-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: calc(var(--es-panel-font) * 0.68);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: color 0.12s ease;
}
.es-runs-tier-col-toggle--on {
  color: var(--es-accent);
}
.es-runs-tier-col-toggle--off {
  color: rgba(255, 255, 255, 0.28);
}
.es-runs-tier-col-toggle:hover {
  color: rgba(255, 255, 255, 0.72);
}
.es-runs-tier-col-toggle--on:hover {
  color: var(--es-accent);
}
.es-runs-tier-btn,
.es-runs-ticket-row__hilo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  min-height: 31px;
  padding: 3px 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: calc(var(--es-panel-font) * 0.754);
  font-weight: 800;
  cursor: pointer;
}
.es-runs-tier-btn__mult {
  font-size: calc(var(--es-panel-font) * 0.994);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--es-accent);
  line-height: 1.1;
}
.es-runs-tier-btn--on {
  border-color: var(--es-accent);
  background: rgba(255, 226, 51, 0.12);
}
.es-runs-tier-btn--off {
  opacity: 0.45;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}
.es-runs-tier-btn--off .es-runs-tier-btn__mult {
  color: rgba(255, 255, 255, 0.28);
  font-size: calc(var(--es-panel-font) * 0.662);
  font-weight: 700;
}
.es-runs-ticket-row__hilo-btn--active {
  border-color: var(--es-accent);
  color: #0d0c07;
  background: var(--es-accent);
}
.es-runs-ticket-row__payout {
  padding: 3px 2px;
  min-height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  text-align: center;
  background: rgba(0, 0, 0, 0.12);
}
.es-runs-ticket-row--side .es-runs-ticket-row__name {
  font-weight: 700;
  text-transform: none;
}
.es-runs-ticket-row__payout--prob,
.es-runs-ticket-row__payout--mult {
  display: flex;
  align-items: center;
  justify-content: center;
}
.es-runs-ticket-row__payout--prob .es-runs-ticket-row__payout-mult,
.es-runs-ticket-row:not(.es-runs-ticket-row--active) .es-runs-ticket-row__payout--prob .es-runs-ticket-row__payout-mult {
  color: rgba(255, 255, 255, 0.55);
  font-size: calc(var(--es-panel-font) * 0.88);
  font-weight: 700;
}
.es-runs-ticket-row--active .es-runs-ticket-row__payout--prob .es-runs-ticket-row__payout-mult {
  color: rgba(255, 255, 255, 0.72);
}
.es-runs-ticket-row:not(.es-runs-ticket-row--active) .es-runs-ticket-row__payout-mult {
  color: rgba(255, 255, 255, 0.28);
}
.es-runs-ticket-row__payout-tier {
  display: block;
  margin-top: 1px;
  font-size: calc(var(--es-panel-font) * 0.68);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.38);
}
.es-runs-ticket-row__payout-mult {
  display: block;
  font-size: calc(var(--es-panel-font) * 0.92);
  font-weight: 800;
  color: var(--es-accent);
  font-variant-numeric: tabular-nums;
}
.es-runs-ticket-row__payout--na .es-runs-ticket-row__payout-mult {
  color: rgba(255, 255, 255, 0.22);
}
.es-runs-ticket-row:not(.es-runs-ticket-row--active) .es-runs-ticket-row__hilo-btn {
  pointer-events: none;
}
.es-runs-payouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 0 10px;
}
.es-runs-payout-cell {
  padding: 5px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--es-radius);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}
.es-runs-payout-cell__tier {
  display: block;
  font-size: calc(var(--es-panel-font) * 0.85);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}
.es-runs-payout-cell__mult {
  display: block;
  margin-top: 2px;
  font-size: calc(var(--es-panel-font) * 1.15);
  font-weight: 800;
  color: var(--es-accent);
}
.es-runs-payout-cell--na .es-runs-payout-cell__mult {
  color: rgba(255, 255, 255, 0.25);
}
.es-runs-sidebets__head-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 4px;
  padding-top: 4px;
}
.es-runs-sidebets__head {
  margin: 0;
  font-size: var(--es-panel-font);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--es-accent);
}
.es-runs-sidebets__note {
  font-size: calc(var(--es-panel-font) * 0.82);
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}
.es-runs-bets-table .es-runs-stake-stepper--fixed {
  width: 6.71rem;
  min-width: 6.71rem;
  max-width: 6.71rem;
}
.es-runs-ticket-row .es-runs-stake-stepper__prefix,
.es-runs-ticket-row .es-runs-stake-stepper__usd {
  font-size: calc(var(--es-panel-font) * 0.966);
}

/* Bets panel mult labels — after generic .es-runs-tier-btn__mult so main + side match exactly */
.es-runs-bets-table--main .es-runs-tier-btn,
.es-runs-bets-table--side .es-runs-tier-btn {
  font-size: 12px;
  line-height: 1.05;
  font-weight: 800;
}

.es-runs-bets-table--main .es-runs-tier-btn--off .es-runs-tier-btn__mult,
.es-runs-bets-table--side .es-runs-tier-btn--off .es-runs-tier-btn__mult {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
}

.es-runs-bets-table .es-runs-tier-btn__mult {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--es-accent);
}

