@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Flex";
  src: url("../assets/fonts/roboto-flex.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

.menu-icon-style {
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-background-style {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(49, 49, 49);
}
.menu-surface {
  position: absolute;
  top: 53px;
  right: 0px;
  width: 270px;
  background: rgb(27, 29, 33);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  z-index: -1;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
@media (max-height: 400px) {
  .menu-surface {
    top: 20px;
    right: -25px;
    scale: 0.8;
  }
}
.menu-header-style {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
}
.menu-content-style {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu-toggle-row-style {
  display: flex;
  justify-content: space-between;
}
.menu-item-style {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
}
.menu-item-style svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 12px;
}
.menu-item-style.point {
  cursor: pointer;
}
.menu-item-style.hover {
  transition: color 0.2s;
}
.menu-item-style.hover path {
  transition: fill 0.2s;
}
.menu-item-style.hover:hover {
  color: rgb(255, 198, 0);
}
.menu-item-style.hover:hover path {
  fill: rgb(255, 198, 0);
}
.menu-line-style {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
@media (pointer: coarse) and (hover: none) {
  .menu-fullscreen-row {
    display: none;
  }
}
@media (pointer: coarse) and (hover: none) {
  .menu-line-fullscreen-style {
    display: none;
  }
}
.menu-username-style {
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-avatar-style {
  width: 24px;
  height: 24px;
}
.menu-avatar-style img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.menu-user-action-style {
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: -0.003em;
  color: rgb(161, 161, 161);
}
.menu-user-action-style:hover {
  color: rgb(255, 198, 0);
}
.header-container-style {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgb(255, 255, 255);
  z-index: 1;
}
.header-container-style * {
  -webkit-tap-highlight-color: transparent;
}
@media (min-aspect-ratio: 95 / 100) {
  .header-container-style {
    height: 49px;
    margin: 24px;
  }
}
@media (max-aspect-ratio: 95 / 100),
  (min-aspect-ratio: 95 / 100) and (max-height: 500px) {
  .header-container-style {
    height: 45px;
    margin: 16px;
  }
}
.header-logo-style {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  height: 27px;
  transition: 0.2s;
}
.header-logo-style img {
  width: auto;
  height: 100%;
  object-fit: scale-down;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1240px) {
  .header-logo-style {
    height: 34px;
  }
}
@media (min-aspect-ratio: 95 / 100) {
  @media (max-width: 690px) {
    .header-logo-style {
      gap: 2px;
    }
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-width: 1253px) {
  .header-logo-style {
    height: 24px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .header-logo-style {
    gap: 6px;
  }
  @media (max-width: 330px) {
    .header-logo-style {
      gap: 0px;
    }
    .header-logo-style img {
      width: 95%;
      height: 95%;
    }
  }
}
.header-menu-style {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
@media (max-width: 414px) {
  .header-menu-style {
    gap: 8px;
  }
}
.header-menu-style .menu-panel {
  top: 68px;
}
@media (max-aspect-ratio: 95 / 100) {
  .header-menu-style .menu-panel {
    top: 40px;
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-height: 600px) {
  .header-menu-style .menu-panel {
    top: 0px;
    right: 54px;
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-height: 428px) {
  .header-menu-style .menu-panel {
    top: -40px;
    right: 38px;
    scale: 0.8;
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-height: 360px) {
  .header-menu-style .menu-panel {
    top: -60px;
    right: 10px;
    scale: 0.6;
  }
}
.burger-position-style {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
@media (max-aspect-ratio: 95 / 100) {
  .burger-position-style {
    transform: translateX(-50%) translateY(-50%) scale(0.5);
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-width: 1253px) {
  .burger-position-style {
    transform: translateX(-50%) translateY(-50%) scale(0.7);
  }
}
.burger-bg-style {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 11px;
  width: 62px;
  height: 62px;
  cursor: pointer;
}
@media (hover: hover) {
  .burger-bg-style:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}
.burger-bg-style:active {
  background:
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    rgba(0, 0, 0, 0.4);
}
@media (max-aspect-ratio: 95 / 100) {
  .burger-bg-style {
    width: 36px;
    height: 36px;
  }
}
@media (min-aspect-ratio: 95 / 100) and (max-width: 1253px) {
  .burger-bg-style {
    width: 48px;
    height: 48px;
  }
}
.burger-lines {
  padding: 0px;
  margin: 4px;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  background: none;
  width: 32px;
  height: 32px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  outline: none !important;
}
.burger-lines span:nth-child(2n) {
  left: 50%;
  border-radius: 0px 2px 2px 0px;
}
.burger-lines span:nth-child(2n + 1) {
  left: 0px;
  border-radius: 2px 0px 0px 2px;
}
.burger-lines span:nth-child(1),
.burger-lines span:nth-child(2) {
  top: 4px;
}
.burger-lines span:nth-child(3),
.burger-lines span:nth-child(4) {
  top: calc(50% - 1px);
}
.burger-lines span:nth-child(5),
.burger-lines span:nth-child(6) {
  top: 26px;
}
.burger-line-style {
  display: block;
  position: absolute;
  height: 2px;
  width: 50%;
  background: white;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
  backface-visibility: hidden;
}
.switch-style {
  display: inline-block;
  position: relative;
  width: 28px;
  height: 17px;
}
.switch-slider-style {
  position: absolute;
  cursor: pointer;
  inset: 0px;
  transition: 0.3s;
  border-radius: 34px;
  background: rgb(27, 205, 73);
}
.switch-slider-style::before {
  content: "";
  position: absolute;
  top: 1px;
  height: calc(100% - 2px);
  width: calc(60% - 1px);
  transition: 0.3s;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  left: calc(40%);
}
.bet-bar-style {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 8px;
  color: rgb(255, 255, 255);
  border-radius: 16px;
  background: rgb(22, 23, 27);
  align-items: center;
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-bar-style {
    background: none;
    flex-flow: wrap;
    height: 102px;
    padding: 0px;
    margin: 0px;
    align-items: flex-start;
  }
}
.bet-input-inner-style {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-input-inner-style {
    padding: 0px 14px;
    justify-content: center;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-input-inner-style {
    padding: 12px 0px 12px 12px;
    justify-content: space-around;
  }
}
.bet-value-row-style {
  display: flex;
  align-items: center;
  margin-top: 2px;
  font-weight: 500;
  gap: 4px;
}
.bet-value-row-style svg {
  min-height: 16px;
  min-width: 16px;
  transition: fill 0.2s;
  margin-bottom: -1px;
  fill: rgb(255, 255, 255) !important;
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-value-row-style {
    font-size: 20px;
    line-height: 24px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-value-row-style {
    font-size: 14px;
    line-height: 14px;
  }
  .bet-value-row-style svg {
    min-height: 12px;
    min-width: 12px;
  }
}
.bet-label-style {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
  text-transform: uppercase;
  line-height: 24px;
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-label-style {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-label-style {
    font-size: 12px;
    line-height: 14px;
  }
}
.bet-field-style {
  padding: 1px 0px 0px;
  margin: 0px;
  width: 100%;
  background: none;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
  color: rgb(255, 255, 255);
}
.bet-block-style {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bet-panel-style {
  width: 538px;
  height: 104px;
  filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 3.405px 7.32px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.bet-panel-style .bet-input-inner {
  gap: 9px;
}
.bet-panel-style .bet-value-row svg {
  margin-bottom: 0px;
}
.difficulty-text-style {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 18px;
}
@media (max-aspect-ratio: 95 / 100) {
  .difficulty-text-style {
    font-size: 14px;
  }
}
.difficulty-label-style {
  opacity: 0.6;
  font-size: 16px;
}
@media (max-aspect-ratio: 95 / 100) {
  .difficulty-label-style {
    font-size: 12px;
  }
}
.button-reset {
  cursor: pointer;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  background: none;
  outline: none;
  margin: 0px;
  padding: 0px;
  color: inherit;
  display: flex;
  user-select: none;
}
.button-reset:active {
  opacity: 0.6;
}
.button-reset:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (hover: hover) {
  .button-reset:hover:not([disabled]) {
    filter: brightness(110%);
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .button-reset {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .button-reset svg {
    width: 24px;
    height: 24px;
  }
}
.play-shell-style {
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  background: rgb(28, 28, 33);
  border-radius: 50%;
  padding: 6px;
  width: 118px;
  height: 118px;
  z-index: 1;
}
@media (max-aspect-ratio: 95 / 100) {
  .play-shell-style {
    width: 81px;
    height: 81px;
    padding: 5px;
    left: 50%;
    bottom: 1px;
  }
}
.play-surface {
  background: url("../assets/images/play-button.png") 0% 0% / 100% 100%
    no-repeat;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-surface:disabled {
  opacity: 0.6;
  cursor: auto;
  pointer-events: none;
}
.play-surface img {
  margin: 3px 0px 0px 5px;
}
@media (max-aspect-ratio: 95 / 100) {
  .play-surface img {
    width: 64px;
    height: 68px;
    margin: 4px 0px 0px 3px;
  }
}
.arrow-button-reset {
  cursor: pointer;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  background: none;
  outline: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  user-select: none;
}
.arrow-button-reset:active {
  opacity: 0.6;
}
.arrow-button-reset:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (hover: hover) {
  .arrow-button-reset:hover:not([disabled]) svg path {
    fill-opacity: 0.2;
  }
}
.bet-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 11px;
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-arrows {
    padding-right: 11px;
    margin-top: -1px;
    gap: 3px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-arrows {
    padding-right: 14px;
    gap: 2px;
    margin-top: -1px;
  }
  .bet-arrows svg {
    width: 34px;
    height: 22px;
  }
}
.bet-box-style {
  display: flex;
  justify-content: center;
  position: relative;
  color: rgb(255, 255, 255);
  transform: translateZ(0px);
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-box-style {
    width: 221px;
    height: 100%;
  }
  .bet-box-style::before {
    position: absolute;
    content: "";
    background: url("../assets/images/bet-presets-bg.png") left center / cover
      no-repeat;
    height: 89px;
    width: 230px;
    z-index: -1;
    cursor: pointer;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-box-style {
    height: 60px;
    width: 144px;
    border-radius: 6px 0px 0px 6px;
    background: url("../assets/images/bet-mobile.png") left center / 136px 100%
      no-repeat rgb(28, 28, 33);
    margin-left: 0px;
  }
}
@media (hover: hover) {
  .bet-box-style:hover:not([disabled]) {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px 4px 4px 12px;
  }
  @media (max-aspect-ratio: 95 / 100) {
    .bet-box-style:hover:not([disabled]) {
      border-radius: 6px 0px 0px 6px;
    }
  }
}
@media (min-aspect-ratio: 95 / 100) {
  .bet-input-wrap-style {
    width: 221px;
    height: 88px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .bet-input-wrap-style {
    width: 144px;
    height: 60px;
    background: rgb(28, 28, 33);
    border-radius: 6px 0px 0px 6px;
  }
}
.difficulty-box-style {
  padding: 0px;
  background: url("../assets/images/difficulty-mobile.png") right center / 136px
    100% no-repeat rgb(28, 28, 33);
  width: 144px;
  height: 60px;
}
@media (min-aspect-ratio: 95 / 100) {
  .difficulty-box-style {
    background: url("../assets/images/difficulty-desktop.png") 0% 0% / 100% 100%
      no-repeat;
    width: 225px;
    height: 97px;
    margin: 0px;
  }
}
.difficulty-selector-style {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}
@media (max-aspect-ratio: 95 / 100) {
  .difficulty-selector-style {
    padding: 0px;
  }
}
@media (hover: hover) {
  .difficulty-selector-style:hover:not([disabled])::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.02);
  }
  @media (max-aspect-ratio: 95 / 100) {
    .difficulty-selector-style:hover:not([disabled])::before {
      height: calc(100% - 8px);
      width: calc(100% - 16px);
      left: 12px;
      bottom: 5px;
      border-radius: 2px 5px 5px 2px;
    }
  }
  @media (min-aspect-ratio: 95 / 100) {
    .difficulty-selector-style:hover:not([disabled])::before {
      height: calc(100% - 12px);
      width: calc(100% - 12px);
      left: 6px;
      bottom: 7px;
      border-radius: 4px 12px 12px 4px;
    }
  }
}
.difficulty-value-style {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  order: 1;
  width: 100%;
  color: rgb(255, 255, 255);
  padding-right: 12px;
}
@media (min-aspect-ratio: 95 / 100) {
  .difficulty-value-style {
    padding-right: 21px;
    justify-content: space-evenly;
  }
}
.difficulty-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: scale(-1, 1);
}
@media (min-aspect-ratio: 95 / 100) {
  .difficulty-arrows {
    padding-right: 15px;
    margin-top: -2px;
    gap: 3px;
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .difficulty-arrows {
    padding-right: 14px;
    gap: 2px;
    margin-top: -1px;
  }
  .difficulty-arrows svg {
    width: 34px;
    height: 22px;
  }
}
.difficulty-arrow-style:active {
  opacity: 0.6;
}
.difficulty-arrow-style:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (hover: hover) {
  .difficulty-arrow-style:hover:not([disabled]) svg path {
    fill-opacity: 0.2;
  }
}
.bet-info-style {
  height: 100%;
  display: flex;
  gap: 12px;
}
.balance-box-style {
  display: flex;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
}
@media (min-aspect-ratio: 95 / 100) {
  .balance-box-style {
    width: 164px;
    height: 100%;
    padding: 8px 16px;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
  }
}
@media (max-aspect-ratio: 95 / 100) {
  .balance-box-style {
    width: 168px;
    height: 40px;
    padding: 12px 16px;
    justify-content: space-between;
    align-items: center;
    background: url("../assets/images/balance-mobile.png") center center / 100%
      auto no-repeat;
  }
}
.balance-value-style {
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.balance-value-style svg {
  order: 0;
  width: 16px;
  height: 16px;
}
@media (max-aspect-ratio: 95 / 100) {
  .balance-value-style {
    font-size: 11px;
  }
  .balance-value-style svg {
    order: 1;
    width: 12px;
    height: 12px;
  }
}
.balance-number-style {
  display: inline-block;
  transition:
    opacity 200ms,
    transform 200ms;
  opacity: 1;
  transform: translateY(0px);
}
.balance-label {
  opacity: 0.6;
  font-size: 14px;
  font-weight: 700;
}
@media (max-aspect-ratio: 95 / 100) {
  .balance-label {
    font-size: 11px;
  }
}
.bottom-shadow-gradient {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -2px;
  background: linear-gradient(
    rgba(26, 26, 26, 0) 0%,
    rgba(26, 26, 26, 0.54) 60%,
    rgb(26, 26, 26) 100%
  );
}
@media (max-aspect-ratio: 95 / 100) {
  .bottom-shadow-gradient {
    background: linear-gradient(
      rgba(26, 26, 26, 0) 0%,
      rgba(26, 26, 26, 0.97) 40%,
      rgb(26, 26, 26) 100%
    );
    height: 210px;
  }
}
.bottom-shadow-wrap-style {
  position: absolute;
  bottom: 0px;
  z-index: 1;
}
.game-ui-root-style {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  justify-content: space-around;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
#root {
  overflow: hidden;
}
body {
  overflow: hidden !important;
}
.header-logo {
  height: 250%;
  align-self: flex-start;
  margin-top: -10px;
}
@media (max-aspect-ratio: 95 / 100) {
  .header-logo {
    height: 190%;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .header-logo {
    height: 160% !important;
    margin-top: -5px !important;
  }
}
.stage-root-style {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.game-viewport-style {
  height: 100%;
  width: 100%;
  display: flex;
}
.ui-root-style {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.live-wins-style {
  position: absolute;
  left: 0px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  width: 208px;
  height: 64px;
  white-space: nowrap;
  top: 49px;
}
@media (max-aspect-ratio: 95 / 100) {
  .live-wins-style {
    top: 45px;
  }
}
.live-title-style {
  display: flex;
  height: 28px;
  padding: 7px 12px;
  gap: 16px;
  color: rgb(167, 177, 230);
}
.online-block-style {
  display: flex;
  flex: 1 1 0%;
  gap: 8px;
  align-items: center;
}
.signal-wrap-style {
  position: relative;
  width: 14px;
  height: 14px;
  z-index: 2;
}
.signal-base-style {
  mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAB4SURBVHgBZY5BEYQwEARnNxGQc3ASkHCn4O7DG5CAEiQADkABSEACDoiAZENS8KCgX1P9mGpC5L+VRmkp0vaOx+HVrZRvZSZapugMDiyT+7LX0l5kwkhQDROQ4QF9GAjzXQdgYSZfp9+LtcpxRWfVO1b9zqo+VtkdJ8Ql3qtyFx8AAAAASUVORK5CYII=");
  mask-repeat: no-repeat;
  mask-position: center center;
  background-color: rgb(83, 243, 94);
  width: 14px;
  height: 14px;
  position: absolute;
}
.signal-pulse-style {
  position: absolute;
  width: 14px;
  height: 14px;
  mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANCAYAAACdKY9CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADwSURBVHgBjZHNSsNAEMdnZrPZuEqJ1A+ad/BdqtCj4smnEhHprZfSx/EBEgVtSj+23WQ32+TQEHpo93+agd9vGGYQOhm5EdN/Wgayd9X0VRFsp9efiy6Dh+LRPd8FG5YAOtYFwGFRVlU67X39t8KTexswpRM4ESFtOsZxhvUaISj5AB7RKv8mtrtMwDMUyD5ZW8S+AudRTICc+QrNQQhcab0Fh5Ysg9yXL0tYkFlHc1+Bx5uUZrcfK61Ydg6u/5RNcFK0nx4uX/pCuEFlSHRB4tZs8+hndv/+2/R4PGmYv8YUmoumNipci5uVqie3h9kDvpZZGJoymBsAAAAASUVORK5CYII=");
  mask-repeat: no-repeat;
  mask-position: center center;
  background-color: rgb(83, 243, 94);
  animation: 1.5s ease-in-out 0s infinite normal none running pulsation;
}
.live-user-line-style {
  display: flex;
  flex: 1 1 0%;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    90deg,
    rgb(76, 84, 133) 0%,
    rgba(83, 92, 141, 0) 100%
  );
}
.live-username-style {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  white-space: nowrap;
  color: rgb(255, 255, 255);
}
.live-sum-style {
  color: rgb(83, 243, 94);
  white-space: nowrap;
}
.live-avatar-root-style {
  height: 20px;
  width: 20px;
  position: relative;
}
.live-avatar-style {
  width: 17px;
  height: 17px;
}
.live-flag-style {
  position: absolute;
  border-radius: 2px;
  width: 12px;
  bottom: 0px;
  right: 0px;
}
.side-panel-style .live-wins {
  top: 132.5px;
}
@media (max-aspect-ratio: 95 / 100) {
  .side-panel-style .live-wins {
    top: 85.5px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .side-panel-style .live-wins {
    top: 90px;
  }
}
.side-panel-style .live-title {
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(
    90deg,
    rgb(66, 66, 66) 0%,
    rgba(66, 66, 66, 0) 100%
  );
}
.side-panel-style .live-user-line {
  background: linear-gradient(
    90deg,
    rgb(85, 84, 84) 0%,
    rgba(85, 84, 84, 0) 100%
  );
}
html {
  height: 100%;
  box-sizing: border-box;
}
body {
  display: flex;
  height: 100%;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#root {
  width: 100%;
  height: 100%;
}
canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
*,
::before,
::after {
  box-sizing: inherit;
}
:root {
  tab-size: 4;
}
html {
  line-height: 1.15;
  text-size-adjust: 100%;
}
body {
  margin: 0px;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0px;
}
button {
  text-transform: none;
}
button {
  appearance: button;
}
input {
  border: 0px;
  outline: 0px;
  margin: 0px;
  padding: 0px;
  display: block;
}
html {
  background-color: rgb(49, 49, 49);
}
html,
body {
  font-family:
    "Roboto Flex", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}
body {
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
.mobile-cashout-style {
  cursor: pointer;
  outline: none;
  user-select: none;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  font-weight: 700;
  width: 168px;
  height: 40px;
  font-size: 11px;
  color: rgb(29, 31, 33);
  background: url("../assets/images/cashout-mobile.png") center center / 100%
    auto no-repeat;
}
.last-win-wrap-style {
  position: absolute;
  bottom: -1px;
  z-index: 2;
}
.last-win-block-style {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
  background: rgb(38, 38, 38);
  gap: 4px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
}
:root {
  --hud-scale: 1;
  --shadow-scale: 1;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: #313131;
  color: #fff;
}

body {
  margin: 0;
  overscroll-behavior: none;
}

#root,
#app,
#theme-root {
  width: 100%;
  height: 100%;
}

#theme-root {
  position: relative;
  overflow: hidden;
}

#stage-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#stage-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}

.header-logo img {
  max-width: none;
}

.header-container {
  position: relative;
  z-index: 6;
  pointer-events: none;
}

.header-container > * {
  pointer-events: auto;
}

.burger-bg {
  position: relative;
}

#menu-container {
  will-change: opacity, transform;
}

#menu-container.is-open {
  opacity: 1;
  z-index: 30;
  pointer-events: auto;
}

#burger-btn.is-open {
  transform: rotate(90deg);
}

#burger-btn.is-open span:nth-child(1),
#burger-btn.is-open span:nth-child(2) {
  top: 15px;
  left: 8px;
  width: 16px;
  transform: rotate(45deg);
}

#burger-btn.is-open span:nth-child(3),
#burger-btn.is-open span:nth-child(4) {
  top: 15px;
  left: 8px;
  width: 16px;
  transform: rotate(-45deg);
}

#burger-btn.is-open span:nth-child(5),
#burger-btn.is-open span:nth-child(6) {
  opacity: 0;
}

.switch.off .switch-slider {
  background: rgba(255, 255, 255, 0.12);
}

.switch.off .switch-slider::before {
  left: 1px;
}

#betBar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  pointer-events: none;
  font-family: "Roboto Flex", sans-serif;
}

.hud-scale {
  position: absolute;
  top: 0;
  left: 50%;
  pointer-events: auto;
  will-change: transform;
}

body.desktop #betBar {
  height: calc(122px * var(--hud-scale));
}

body.desktop .hud-scale {
  width: 1221px;
  height: 102px;
  margin-left: -610.5px;
  transform: scale(var(--hud-scale));
  transform-origin: top center;
}

body.mobile #betBar {
  height: calc(157px * var(--hud-scale));
}

body.mobile .hud-scale {
  width: 336px;
  height: 112px;
  margin-left: -168px;
  transform: scale(var(--hud-scale));
  transform-origin: top center;
}

.bet-bar {
  position: relative;
}

body.mobile .bet-info,
body.mobile .bet-block,
body.mobile .bet-panel {
  display: contents;
}

body.mobile .bet-bar {
  position: static;
  flex-flow: row wrap;
  align-content: flex-start;
  justify-content: space-between;
  row-gap: 1px;
  height: 102px;
  padding: 0;
  margin: 0;
  background: none;
}

body.mobile .balance-box {
  order: 1;
}

body.mobile .mobile-cashout {
  order: 2;
}

body.mobile .bet-input-wrap {
  order: 3;
}

body.mobile .play-shell {
  order: 4;
}

body.mobile .difficulty-box {
  order: 5;
}

body.mobile .play-shell {
  position: absolute;
  left: 50%;
  bottom: 1px;
  margin-left: -40.5px;
  transform: none;
  padding: 5px;
  width: 81px;
  height: 81px;
  z-index: 5;
}

body.desktop .play-shell {
  left: 50%;
  bottom: -5px;
  margin-left: -59px;
  transform: none;
  padding: 6px;
  width: 118px;
  height: 118px;
  z-index: 5;
}

body.desktop .play-shell .play-surface img {
  width: 102px;
  height: 111px;
  transform: scale(0.5);
}

body.mobile .play-shell .play-surface img {
  width: 64px;
  height: 68px;
  transform: scale(0.5);
}

.go-label {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  font-family: "Roboto Flex", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 46px;
  white-space: break-spaces;
}

body.mobile .go-label {
  font-size: 24px;
  line-height: 28px;
}

.desktop-cashout {
  position: absolute;
  right: 554px;
  bottom: 8px;
  width: 164px;
  height: 86px;
  padding: 16px 6px 14px;
  border: 0;
  border-radius: 12px;
  background: #ffc600;
  color: #101114;
  font-family: "Roboto Flex", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20.7px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  z-index: 3;
}

.desktop-cashout:hover {
  filter: brightness(1.05);
}

.desktop-cashout:active {
  opacity: 0.8;
}

.desktop-cashout[hidden] {
  display: none !important;
}

.cashout-label {
  display: block;
}

.cashout-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 20.7px;
  color: #101114;
}

.cashout-amount .currency-icon {
  width: 18px;
  height: 18px;
}

body.mobile .desktop-cashout {
  display: none;
}

body.desktop .mobile-cashout {
  display: none;
}

body.mobile .mobile-cashout {
  display: flex;
}

body.mobile .mobile-cashout.cashout-enabled {
  color: #1d1f21;
  background: url("../assets/images/cashout-mobile.png") center center / 100%
    auto no-repeat;
}

body.mobile .mobile-cashout.cashout-enabled:active {
  opacity: 0.75;
}

body.mobile .mobile-cashout:disabled {
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  background: url("../assets/images/cashout-mobile-disabled.png") center
    center / 100% auto no-repeat;
}

body.mobile .last-win-wrap {
  display: block;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(36px * var(--hud-scale));
  bottom: -1px;
  z-index: 3;
}

body.desktop .last-win-wrap {
  display: none;
}

.last-win-block {
  text-transform: uppercase;
}

.bottom-shadow-wrap {
  left: 0;
  right: 0;
  width: 100%;
}

body.desktop .bottom-shadow-wrap {
  height: calc(250px * var(--hud-scale));
}

body.mobile .bottom-shadow-wrap {
  height: calc(210px * var(--hud-scale));
}

.bottom-shadow-wrap .bottom-shadow {
  height: 100%;
}

.live-wins {
  pointer-events: none;
}

.live-user-line {
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.live-wins .live-flag {
  object-fit: cover;
}

.bet-input-wrap {
  position: relative;
}

.BetPresets {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 160px;
  padding: 8px;
  border-radius: 12px;
  background: #1b1d21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.BetPresets[hidden] {
  display: none;
}

.BetPresets button {
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Roboto Flex", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
}

.BetPresets button:hover {
  background: rgba(255, 255, 255, 0.14);
}

#bet-input {
  -moz-appearance: textfield;
}

#bet-input::-webkit-outer-spin-button,
#bet-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.currency-icon {
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

#play-icon[hidden],
#go-label[hidden] {
  display: none !important;
}

.balance-animating .balance-number {
  opacity: 0;
  transform: translateY(-15px);
}

.balance-number {
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.play-shell {
  transition: opacity 180ms ease;
}

body.busy .play-shell {
  opacity: 0.72;
}

body.busy #bet-input {
  opacity: 0.55;
  pointer-events: none;
}

body.busy .difficulty-arrow,
body.busy .difficulty-value,
body.busy .arrow-button {
  pointer-events: none;
  opacity: 0.55;
}

.win-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.win-overlay.show {
  opacity: 1;
  visibility: visible;
}

.win-overlay .win-gradient {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 160px;
  z-index: 2;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(20, 20, 20, 0.6) 100%
  );
}

.win-overlay .win-label {
  position: absolute;
  top: 0;
  left: 50%;
  width: 298px;
  height: 127px;
  margin-left: -149px;
  z-index: 3;
  display: block;
  background: url("../assets/images/win-notification.png") 0 0 / 100% 100%
    no-repeat;
  transform-origin: top center;
  font-family: "Montserrat", sans-serif;
}

.win-overlay.show .win-label {
  animation: winPop 520ms cubic-bezier(0.18, 1.35, 0.4, 1) both;
}

@keyframes winPop {
  0% {
    opacity: 0;
    transform: scale(0.72) translateY(-12px);
  }
  55% {
    opacity: 1;
    transform: scale(1.085) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.win-title {
  position: absolute;
  top: 19.7%;
  left: 0;
  width: 100%;
  font-size: 20px;
  line-height: 30px;
  font-weight: 900;
  color: #342d24;
  text-align: center;
}

.win-amount {
  position: absolute;
  top: 48%;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 30px;
  line-height: 45px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1.5px 0 #141b15;
  white-space: nowrap;
}

.win-amount .currency-icon {
  width: 18px;
  height: 18px;
}

body.mobile .win-overlay .win-gradient {
  height: 98px;
}

body.mobile .win-overlay .win-label {
  width: 260px;
  height: 98px;
  margin-left: -130px;
  background-image: url("../assets/images/win-notification-mobile.png");
}

body.mobile .win-title {
  top: 25.5%;
  font-size: 12px;
  line-height: 18px;
}

body.mobile .win-amount {
  top: 52.2%;
  font-size: 18px;
  line-height: 27px;
}

body.mobile .win-amount .currency-icon {
  width: 13px;
  height: 13px;
}

.LoaderWrapper {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5rem;
  background: #0e1621;
  transition:
    opacity 300ms ease,
    visibility 300ms ease;
}

.LoaderWrapper.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.LoaderContent {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.LoaderLogo {
  width: 100%;
  animation: loaderGlow 1.5s linear infinite;
}

@keyframes loaderGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 70px rgba(255, 255, 255, 0.4));
  }
}

.LoaderProgress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7.4vh;
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  color: #e9e8e8;
}

.LoaderIcon {
  display: inline-block;
  position: relative;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  border: 3px solid #e9e8e8;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.modal-card {
  width: min(450px, calc(100vw - 24px));
  max-height: 85vh;
  overflow: auto;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1e1d1c;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.5px;
  text-align: center;
}

.modal-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 22px;
}

.modal-card ol {
  margin: 0 0 18px 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 24px;
}

.modal-card button {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: #ffc21a;
  color: #1d1f21;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ---- v2 modal (provably fair, how to play, history, rules) ---- */
.modal-card--v2 {
  width: min(460px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 24px 24px 22px;
  background: #1b1c1d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden; /* long values inside flex rows must shrink, not push the card wide */
}
/* Reset the legacy `.modal-card button` rule (yellow full-width OK button) so our v2
   buttons keep their own sizes and backgrounds. */
.modal-card--v2 button {
  display: inline-flex;
  width: auto;
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.modal-card--v2 .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
}
.modal-card--v2 .modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
}
.modal-card--v2 .modal-close {
  display: inline-flex;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.75;
}
.modal-card--v2 .modal-close:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.modal-card--v2 .modal-body {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 20px;
}
.modal-card--v2 .modal-lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}
.modal-card--v2 .modal-section {
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.modal-card--v2 .modal-section--tight { margin-top: 10px; }
.modal-card--v2 .modal-sub {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 18px;
}
.modal-card--v2 .modal-foot {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  text-align: center;
}

/* Fair: copy-input row */
.fair-input {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 8px 0 12px;
  background: #2b2c2d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-top: 6px;
}
.fair-input__label {
  flex: 0 0 auto;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  white-space: nowrap;
}
.fair-input__value {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0;
  text-overflow: ellipsis;
}
.fair-input__copy.fair-input__copy {
  width: 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
}
.fair-input__copy {
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.fair-input__copy:hover { color: #fff; }

/* How to play / Game rules: numbered list */
.howto {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.howto > li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.85);
}
.howto__num {
  flex: 0 0 24px;
  font-weight: 700;
  color: #fff;
}
.howto__sub {
  margin: 6px 0;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
}
.howto__list {
  list-style: disc;
  margin: 2px 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
}
.howto__list li { margin: 2px 0; }

/* Bet history */
.hist { display: flex; flex-direction: column; gap: 8px; }
.hist__head,
.hist__row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr 0.9fr 24px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  height: 46px;
}
.hist__head {
  height: 32px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}
.hist__row {
  background: #27272a;
  border-radius: 8px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.hist__col { display: inline-flex; align-items: center; min-width: 0; }
.hist__col--bet, .hist__col--win { gap: 4px; }
.hist__coin {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #ffd166;
}
.hist__mult {
  display: inline-block;
  padding: 4px 10px;
  background: #4c4b89;
  color: #e7e7ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.hist__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  /* Hide the scrollbar but keep scrolling (wheel / touch / keyboard still work). */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/legacy Edge */
}
.hist__rows::-webkit-scrollbar { width: 0; height: 0; display: none; }
.hist__empty {
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
.hist__more.hist__more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: #1e4e36;
  color: #a7d7bb;
  border: 0;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.hist__more:hover { background: #255d40; color: #c6ebd2; }

/* ---- Change avatar modal ---- */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 2px 0 10px;
}
.avatar-grid__item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #27272a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease;
}
.avatar-grid__item:hover { transform: scale(1.04); }
.avatar-grid__item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.avatar-grid__item.is-selected { border-color: #ffc21a; }
.avatar-grid__item.is-selected::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffc21a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3L12.5 5' stroke='%231d1f21' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
.avatar-save.avatar-save {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  background: #1aa05f;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: pointer;
}
.avatar-save:hover { background: #1fb36a; }

/* ---- Bet verification modal (click a shield in the history) ---- */
.bet-card {
  width: min(500px, calc(100vw - 24px));
}
.bet-header {
  align-items: flex-start;
  gap: 10px;
}
.bet-header .bet-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 22px;
  word-break: break-all;
}
.bet-header .bet-id { font-weight: 700; }
.bet-header__right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bet-mult.bet-mult { padding: 6px 10px; font-size: 12.5px; }
.bet-section { margin: 14px 0 2px; font-size: 14px; font-weight: 700; color: #fff; }
.bet-sub { margin: 0 0 8px; color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.bet-client {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.bet-client__label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.bet-client__who { display: inline-flex; align-items: center; gap: 6px; }
.bet-client__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
}
.bet-client__name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.bet-client__seed { min-width: 0; }
.bet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.bet-cards__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: #27272a;
  border-radius: 8px;
  min-width: 0;
}
.bet-cards__label { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.bet-cards__value {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.bet-learn { margin-top: 18px; }
.bet-learn a { color: #ffc21a; text-decoration: none; }
.bet-learn a:hover { text-decoration: underline; }
/* The bet-detail modal is tall; let it scroll inside the card (bar hidden). */
.modal-card--v2.bet-card {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.modal-card--v2.bet-card::-webkit-scrollbar { display: none; }

/* ---- Mobile: keep bet/stake and balance from overflowing their boxes ---- */
@media (max-width: 720px) {
  #balance,
  #bet-input,
  .balance-amount,
  .mobile-balance,
  .desktop-cashout-value,
  .mobile-cashout-value {
    min-width: 0;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  /* The bet input is the most likely to overflow when typed; shrink the font a touch
     and allow it to fill its cell without pushing neighbouring controls. */
  #bet-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 14px;
  }
}

.toast-stack {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #1b1d21;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 18px;
  animation: toastIn 260ms ease both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.mobile .toast-stack {
  top: 60px;
  right: 12px;
}

@media (max-height: 500px) and (orientation: landscape) {
  .win-overlay .win-gradient {
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .win-overlay.show .win-label {
    animation-duration: 1ms;
  }
}
