@font-face {
  font-family: iconFont;
  src: url(data:font/woff2;base64,d09GMgABAAAAAA08AAsAAAAAGngAAAzvAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACGBgqiSJtWATYCJAN8C0AABCAFhBYHgmgbAxYz0lHOCoXsvyyw3dYghAKMpqRgVlEw68Hm6nYmdTFHG/p9S80rPjjoP/Z+BlD0k8Kt3iWKycY9/T4+Hvjfb94HE5Nkmi0x0kRPN08af5xqa4RMyEtrSJ1la7hzgM9UBAsYj+REhTZNA2B42ua/x70r7ogDY/JlI9KANhoBY2sUV42LDFYBiw5cZn074D/t4v/TvQ+nW2i3ADX1rT1J+OKVv6ywkvVeePLV5HKqmQNQAeIJczzhXWzJ8ttWKr18/68MQgpgASxBvQLU/5sr7WXLKPHYmOtalZnJ7t78+cHDbI4pBWCFoAGFOgIUso5cja2r6vM10hUCxmZ/sAoZ79A1NouI0QhImWOXWCI5t6bqeOPsVBvBezKg4bHh+GBvQ0k1jojZEhhdpW3rD8+FSJ7SDJqf/lzllhgZB16flnZnt6UyMpWSiLSHQnF3F+DEkNuSODK8YgnhMd65jod82Ahncwr8SBCckpkqA5+tNsXNcIJs/xeeZliOFwhFYolUJlcoVWqNVqc3GE0oFAHv6ApEuKKkC2WggUEGADkAFABQAkAFADUANADQAkAHAD0ADABgCAAjABgDwAQApgAwA4A5ACwAYAkAKwBYA8AGALYAsAOAPQAcAOAIACc8HLr9emeQJIXpokOg/koRTu6boQSbchgZLmOCXwpCatom1SE2BmllmjdpKrR5nu49hSeVRDQdP45DawWeIc56Mnxf222o8o0sEEZsIros/rCBl4qS1kK2qDGglfIp56jDyP9/SghWJGGzMd6JmedogTnPN6D+8yewjxppWNpeyqRTTkN3Wfr5+ulbz969aW5BBAgC6yg13iNvufyZpX//kkh675xopcNdzKFAjKCXC/JVfJWiCMC6kLgUazH2hrNzluGTpuoQNI9DqVSzjFBl0udJl8Vu1iqhFTJQuu7dLTsSVImsgqhpZZlJg6wfadNiPPKoCUgC0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VKl1mh1eoPRZLZQYQNbB0nv5EaWGq3Xcmgan2synb3ApNLmc2U68A9LpLM4HfAN2RcKmEHbjlRBtu1kZVxgR9kWYTro+sSE/r43kQjQ3BMfKutgVQd3ZJQkCNcZ1U+gtjJrOAlNM+2fgtM22hqWJ0jzSWSgmbPeCi88YMxU89RHtmbl7xUIO1EGg5pSdMAT1hdYMIhYbHnKIWK9E98m1Jk9csN6NMiDAQ==) format("woff2");
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/source/fonts/gilroy-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/source/fonts/gilroy-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/source/fonts/gilroy-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/source/fonts/gilroy-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: Gilroy;
  src: url("./assets/source/fonts/gilroy-extrabold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: dark;
  --page: #16191d;
  --deep: #0c0c0e;
  --text: #d6e1ef;
  --muted: rgba(255, 255, 255, 0.5);
  --orange: #d26d3d;
  --orange-strong: #fc7c1f;
  --blue: #63e6fc;
  --tile-shadow: 3px 3px 4px rgba(10, 9, 9, 0.4);
  font-family: Gilroy, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  touch-action: manipulation;
}

body.mines {
  --safe-area-inset-bottom: env(safe-area-inset-bottom);
  margin: 0;
  background-color: #000;
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  touch-action: manipulation;
  user-select: none;
  position: relative;
  overflow: hidden;
}

body.mines #app {
  scrollbar-width: none;
  position: absolute;
  inset: 0;
  overflow: auto;
}

body.mines #app::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  background: none;
  padding: 0;
}

button:not(:disabled) {
  cursor: pointer;
}

button:disabled,
.disabled {
  cursor: default;
}

.is-hidden {
  display: none !important;
}

.sf-hidden {
  display: none !important;
}

.sr-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.game-wrapper {
  position: relative;
  max-width: 932px;
  margin: 0 auto;
  padding-top: 12px;
}

.game-header {
  color: rgba(255, 255, 255, 0.5);
  align-items: center;
  min-height: 70px;
  height: 70px;
  padding: 0 0.625rem;
  display: flex;
  position: relative;
}

.game-header__back {
  background-image: linear-gradient(135deg, #32383e 0%, #17191c 100%);
  border-radius: 50%;
  box-shadow: 0.1875rem 0.1875rem 0.25rem rgba(10, 9, 9, 0.4);
  justify-content: center;
  align-items: center;
  width: 1.875rem;
  min-width: 1.875rem;
  height: 1.875rem;
  margin: 0 0.75rem 0 0;
  font-size: 1.25rem;
  display: flex;
  position: relative;
}

.game-header__back:before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.game-header__back:hover,
.game-header__button:hover {
  color: #fff;
}

.game-header__logo {
  background-image: url("./assets/source/logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 45px;
  margin-right: auto;
  position: relative;
}

.game-header__balance-title {
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  margin-right: 0.375rem;
  font-weight: 700;
}

.game-header__balance {
  color: var(--text);
  background-image: linear-gradient(315deg, #24282c 0%, #141619 100%);
  border-radius: 0.375rem;
  box-shadow:
    inset -0.125rem -0.125rem 0.75rem rgba(255, 255, 255, 0.06),
    inset 0.125rem 0.1875rem 0.5rem rgba(7, 7, 9, 0.8);
  align-items: center;
  justify-content: center;
  min-width: 6.25rem;
  height: 1.5rem;
  padding: 0 0.3125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  position: relative;
}

.game-header__balance-text {
  white-space: nowrap;
}

.game-header__balance-text._loading {
  opacity: 0.45;
}

.game-header__buttons {
  align-items: center;
  display: flex;
}

.game-header__button {
  cursor: pointer;
  box-sizing: border-box;
  border: 0.0625rem solid transparent;
  border-radius: 50%;
  width: 1.875rem;
  height: 1.875rem;
  margin-left: 0.75rem;
  position: relative;
  box-shadow: 0.1875rem 0.1875rem 0.25rem rgba(10, 9, 9, 0.4);
}

.game-header__button--inner {
  background: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1.75rem;
  min-width: 100%;
  height: 1.75rem;
  min-height: 100%;
  display: flex;
}

.game-header__button:active {
  border: 0.0625rem solid rgba(232, 237, 243, 0.05);
}

.game-header__button:active .game-header__button--inner {
  background: linear-gradient(312.16deg, #3a3e43 -74.25%, #111213 125.8%);
  box-shadow: 0.1875rem 0.1875rem 0.25rem rgba(10, 9, 9, 0.4);
}

.iconFont {
  display: flex;
  font-family: iconFont, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.game-header__button--inner > .iconFont {
  position: relative;
}

.iconFont-sound,
.iconFont-settings {
  width: auto;
  height: auto;
  font-size: 13px;
  line-height: 1;
}

.iconFont-sound:before {
  content: "\f11c";
  position: static;
  width: auto;
  height: auto;
  background: none;
  clip-path: none;
}

.iconFont-sound:after {
  content: none;
}

.iconFont-settings:before {
  content: "\f11b";
  position: static;
  border: 0;
  border-radius: 0;
}

.iconFont-settings:after {
  content: none;
}

.game-header__button._disabled .iconFont-sound:after {
  content: "";
  z-index: 2;
  background-color: #919395;
  border-radius: 0.0625rem;
  width: 0.125rem;
  height: 1.125rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

.game-header__button._disabled:hover .iconFont-sound:after {
  background-color: #fff;
}

.game-container {
  grid-template:
    "modeTabs history" min-content
    "betslip chart" min-content
    "betslip range" max-content
    "stats stats" 1fr / 360px 1fr;
  grid-gap: 0;
  width: 100%;
  padding: 0 10px 10px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  display: grid;
  position: relative;
}

.game-history {
  grid-area: history;
  background-image:
    linear-gradient(360deg, rgba(194, 108, 66, 0.79) 0%, rgba(35, 38, 43, 0) 100%),
    linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, 0.33) 105.67%);
  border-radius: 5px;
  height: 41px;
  padding: 1px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 2px 1px 9px #070709;
}

.game-history:before {
  content: "";
  pointer-events: none;
  z-index: 2;
  background: rgba(196, 196, 196, 0.06);
  width: 300px;
  height: 300px;
  position: absolute;
  top: -157px;
  left: -42px;
  transform: rotate(40deg);
}

.game-history__inner {
  background: linear-gradient(324.43deg, #17191c -52.28%, #1c1e22 69.89%);
  border-radius: 5px;
  flex: 1;
  max-width: 100%;
  height: 100%;
  padding: 2px;
  display: flex;
  box-shadow: inset 2px 1px 9px #070709;
}

.game-history__inner-container {
  scroll-behavior: smooth;
  background: var(--deep);
  border: 1px solid #1e2122;
  border-radius: 5px;
  flex: 1;
  max-width: 100%;
  height: 100%;
  padding: 2px 0;
  display: flex;
  position: relative;
  overflow-y: auto;
  touch-action: pan-x;
  user-select: none;
}

.game-history__inner-container._dragging {
  scroll-behavior: auto;
}

.game-history__inner-container::-webkit-scrollbar {
  display: none;
}

.game-history__item {
  box-sizing: border-box;
  color: var(--orange);
  justify-content: center;
  align-items: center;
  min-width: 78px;
  padding: 0 2px;
  font-size: 10px;
  font-weight: 500;
  display: flex;
}

.game-history__item-text {
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #a35231;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  box-shadow: -1px -1px 10px rgba(141, 68, 37, 0.2);
}

.game-history__item._resulted .game-history__item-text {
  background-color: rgba(209, 116, 72, 0.1);
}

.game-history__item._active .game-history__item-text {
  color: #020202;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: -1px -1px 10px rgba(248, 112, 106, 0.15);
}

.game-mode-tabs {
  grid-area: modeTabs;
  margin: 0 0 10px;
  padding-right: 20px;
  display: flex;
}

.mode-btn {
  cursor: pointer;
  flex: 1;
  height: 39px;
  padding: 1px;
  font-size: 13px;
  line-height: 0.85;
}

.mode-btn:first-child {
  margin-right: 5px;
}

.mode-btn:last-child {
  margin-left: 5px;
}

.mode-btn.disabled,
.mode-btn:disabled {
  opacity: 0.4;
}

.mode-btn.active {
  background-image:
    linear-gradient(273deg, rgba(141, 142, 143, 0.1) 0%, rgba(163, 165, 168, 0.4) 100%),
    radial-gradient(circle at 100% 90%, rgba(0, 0, 0, 0.3), rgba(11, 32, 51, 0) 70%);
  border-radius: 11px;
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, 0.4);
}

.mode-btn__inner {
  background-image: linear-gradient(273deg, #1d2023 0%, #2a2f34 100%);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  box-shadow: 4px 4px 18px rgba(0, 0, 0, 0.48);
}

.mode-btn.active .mode-btn__inner {
  border: 1px solid #181b23;
}

.mode-btn__text {
  color: rgba(255, 255, 255, 0.5);
  margin-right: 5px;
}

.mode-btn.active .mode-btn__text {
  color: var(--text);
  font-weight: 800;
}

.mode-btn__indicator {
  background-image: linear-gradient(311deg, #5b666f 0%, #0b0f15 100%);
  border-radius: 4px;
  width: 8px;
  height: 8px;
  padding: 2px;
  position: relative;
}

.mode-btn__indicator:after {
  content: "";
  background-color: #292c2f;
  border-radius: 3px;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 1px;
  left: 1px;
}

.mode-btn.active .mode-btn__indicator:after {
  background-image: radial-gradient(circle at 88% 115%, #81df49, #8de15e 70%);
}

.game-betslip {
  grid-area: betslip;
  flex-direction: column;
  padding-right: 20px;
  display: flex;
}

.input-text__wrapper {
  text-align: center;
  grid-gap: 0;
  grid-template:
    "input input input input" max-content
    "btn1 btn2 btn3 btn4" max-content / 1fr 1fr 1fr 1fr;
  display: grid;
  position: relative;
}

.input-text__wrapper .games-input__wrapper {
  grid-area: input;
}

.button {
  cursor: pointer;
  border-radius: 6px;
  height: 46px;
  padding: 1px;
  transition: opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  display: flex;
}

.button._sm {
  width: 44px;
}

.button__inner {
  background-image: linear-gradient(135deg, #292d32 0%, #1d2024 100%);
  border-radius: 5px;
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  box-shadow: var(--tile-shadow);
}

.button__text {
  opacity: 0.6;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.button.disabled,
.button:disabled {
  opacity: 0.4;
}

.button:not(:disabled):not(.disabled):hover .button__text {
  opacity: 1;
}

.button:not(:disabled):not(.disabled):active {
  background-image: linear-gradient(98deg, rgba(200, 213, 225, 0.25) 0%, transparent 100%);
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, 0.4);
}

.button:not(:disabled):not(.disabled):active .button__inner {
  background-image: linear-gradient(135deg, #191b1e 0%, #25292e 100%);
  box-shadow: inset 3px 4px 10px rgba(7, 7, 9, 0.85);
}

.button.active:hover .button__text,
.button:not(:disabled):not(.disabled):active:hover .button__text {
  opacity: 0.6 !important;
}

.input-text__wrapper .button {
  flex: 1;
  width: auto;
  height: 28px;
  margin-top: -10px;
  margin-bottom: 20px;
  display: flex;
  position: static;
}

.input-text__wrapper .button:first-child {
  grid-area: btn1;
  margin-right: 5px;
}

.input-text__wrapper .button:nth-child(2) {
  grid-area: btn2;
  margin-left: 5px;
  margin-right: 5px;
}

.input-text__wrapper .button:nth-child(3) {
  grid-area: btn3;
  margin-left: 5px;
  margin-right: 5px;
}

.input-text__wrapper .button:nth-child(4) {
  grid-area: btn4;
  margin-left: 5px;
}

.games-input__wrapper {
  background: linear-gradient(98deg, rgba(200, 213, 225, 0.25) 0%, transparent 100%);
  border-radius: 11px;
  height: 52px;
  margin-bottom: 20px;
  position: relative;
  transition: opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, 0.4);
}

.games-input__wrapper label,
.games-input__wrapper > span {
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 0.91;
  position: absolute;
  top: 12px;
  left: 18px;
}

.games-input__number {
  appearance: textfield;
  -moz-appearance: textfield;
  color: var(--text);
  background-color: transparent;
  background-image: linear-gradient(135deg, #222326 0%, #222326 25%, #283034 100%);
  border: 1px solid #202328;
  border-radius: 10px;
  outline: none;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  padding: 30px 16px 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.14;
  position: absolute;
  top: 1px;
  left: 1px;
  box-shadow:
    inset -2px -2px 10px rgba(255, 255, 255, 0.05),
    inset 2px 3px 10px #070709;
}

.games-input__number[type="number"]::-webkit-inner-spin-button,
.games-input__number[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

select.games-input__number {
  appearance: none;
}

.input--disabled,
.games-input__wrapper.disabled {
  opacity: 0.4;
}

.settings-input__wrapper {
  display: flex;
}

.settings-input__wrapper._mines {
  background: linear-gradient(98deg, rgba(200, 213, 225, 0.25) 0%, transparent 100%);
  border-radius: 11px;
  padding: 1px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, 0.4);
}

.settings-input__wrapper._mines .settings-input__wrapper-inner {
  background-image: linear-gradient(315deg, #16191d 0%, #252a2e 100%);
  border-radius: 10px;
  flex: 1;
  height: 49px;
  padding: 1px;
  display: flex;
  position: relative;
}

.settings-input__wrapper._mines .button {
  z-index: 1;
  border-radius: 7px;
  height: 45px;
  position: absolute;
  top: 3px;
}

.settings-input__wrapper._mines .button__inner {
  border-radius: 7px;
}

.settings-input__wrapper._mines .button:nth-child(1) {
  left: 3px;
}

.settings-input__wrapper._mines .button:nth-child(2) {
  left: 47px;
  filter: drop-shadow(3px 3px 4px rgba(10, 9, 9, 0.4));
  background-image: linear-gradient(270deg, rgba(97, 50, 31, 0.37) 0%, rgba(39, 35, 34, 0) 100%);
}

.settings-input__wrapper._mines .button:nth-child(3) {
  right: 47px;
  filter: drop-shadow(3px 3px 4px rgba(10, 9, 9, 0.4));
  background-image: linear-gradient(270deg, rgba(39, 35, 34, 0) 0%, rgba(97, 50, 31, 0.37) 100%);
}

.settings-input__wrapper._mines .button:nth-child(4) {
  right: 3px;
}

.settings-input__wrapper._mines .button:nth-child(5) {
  left: 92px;
}

.settings-input__wrapper._mines .button:nth-child(6) {
  right: 92px;
}

.settings-input__wrapper._mines .button:first-child .button__inner,
.settings-input__wrapper._mines .button:nth-child(4) .button__inner {
  box-shadow: 3px 3px 4px rgba(10, 9, 9, 0.4);
}

.settings-input__wrapper._mines .button._golden {
  box-shadow: none;
  background-color: transparent;
  background-image: none;
}

.settings-input__wrapper._mines .button._golden .button__inner {
  background-color: rgba(209, 116, 72, 0.1);
  background-image: none;
  border: 1px solid #a35231;
  box-shadow: -1px -1px 10px rgba(141, 68, 37, 0.15);
}

.settings-input__wrapper._mines .button._golden:not(:disabled):not(.disabled):hover .button__inner {
  background-color: rgba(209, 116, 72, 0.2);
}

.settings-input__wrapper._mines .button._golden:not(:disabled):not(.disabled):active .button__inner {
  background: rgba(171, 95, 59, 0.6);
  box-shadow: -1px -1px 10px rgba(139, 55, 20, 0.15);
}

.settings-input__wrapper._mines .button._golden .button__text,
.settings-input__wrapper._mines .button.active .button__text {
  color: var(--orange);
  opacity: 1;
}

.settings-input__wrapper._mines .games-input__wrapper {
  background:
    radial-gradient(39.88% 38.48% at 50% 109.2%, #ba6238 0%, rgba(12, 12, 14, 0) 100%),
    radial-gradient(39.64% 68.64% at 50% -18.72%, #ba6238 0%, rgba(12, 12, 14, 0) 100%),
    #0c0c0e;
  border-radius: 9px;
  width: 100%;
  height: 47px;
  margin: 0 !important;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.settings-input__wrapper._mines .games-input__wrapper > span {
  color: var(--orange);
  justify-content: center;
  font-size: 10px;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
}

.settings-input__wrapper._mines .games-input__wrapper .games-input__number {
  text-align: center;
  color: var(--orange);
  background-color: #0c0c0e;
  background-image: none;
  border: none;
  padding: 25px 0 4px;
  font-size: 17px;
  font-weight: 700;
  caret-color: transparent;
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.settings-input__wrapper._mines .games-input__wrapper .games-input__number::selection {
  background: transparent;
}

.game-betslip__buttons {
  margin-bottom: 20px;
  display: flex;
}

.btn-new {
  text-align: center;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  flex: 1;
  height: 64px;
  padding: 3px;
  position: relative;
  overflow: hidden;
  box-shadow:
    -4px -2px 16px rgba(195, 200, 205, 0.09),
    4px 4px 18px rgba(0, 0, 0, 0.5);
}

.btn-new:disabled,
.btn-new._disabled {
  opacity: 0.5;
  cursor: default;
}

.btn-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.btn-new__border {
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
  height: 100%;
  padding: 1px;
  transition: opacity 0.2s linear;
  position: relative;
  overflow: hidden;
}

.btn-new__inner {
  -webkit-backface-visibility: hidden;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  border-radius: 7px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.btn-new._placebet ._bg1,
.btn-new._placebet ._bg11 {
  background-image:
    radial-gradient(48.81% 101.72% at 50% -10.34%, rgba(18, 194, 250, 0.9) 0%, rgba(82, 195, 243, 0.19) 0.01%, rgba(40, 45, 49, 0.11) 100%),
    linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}

.btn-new._placebet ._bg11 {
  background-image:
    radial-gradient(50% 91.38% at 50% 0, rgba(82, 195, 243, 0.19) 0.01%, rgba(18, 194, 250, 0.54) 0.02%, rgba(40, 45, 49, 0.18) 100%),
    linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}

.btn-new._cashout ._bg1,
.btn-new._cashout ._bg11 {
  background-image:
    radial-gradient(48.81% 101.72% at 50% -10.34%, rgba(244, 157, 76, 0.243) 0%, rgba(255, 125, 5, 0.19) 0.01%, rgba(225, 155, 90, 0) 100%),
    linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}

.btn-new._cashout ._bg2,
.btn-new._cashout ._bg22 {
  background-image:
    radial-gradient(155.77% 155.77% at 0 125%, #ff9838 0%, rgba(27, 21, 15, 0) 100%),
    linear-gradient(94.46deg, rgba(225, 215, 200, 0.21) 45.13%, transparent 123.58%),
    linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}

.btn-new._placebet ._bg2,
.btn-new._placebet ._bg22 {
  background-image:
    radial-gradient(148.08% 148.08% at 1.81% 132.69%, #66a1e5 0%, rgba(38, 74, 112, 0) 100%),
    linear-gradient(94.46deg, rgba(200, 213, 225, 0.21) 45.13%, transparent 123.58%),
    linear-gradient(315.81deg, #17191c -42.75%, #32383e 123.05%);
}

.btn-new ._bg1,
.btn-new ._bg2 {
  opacity: 1;
}

.btn-new ._bg11,
.btn-new ._bg22 {
  opacity: 0;
}

.btn-new ._bg22 {
  transform: rotate(180deg);
}

.btn-new:not(:disabled):not(._disabled) {
  transition: box-shadow 0.18s ease;
}

.btn-new:not(:disabled):not(._disabled):hover .text {
  color: #fff;
}

.btn-new:not(:disabled):not(._disabled):hover:not(:active) ._bg1,
.btn-new:not(:disabled):not(._disabled):hover:not(:active) ._bg2 {
  opacity: 0;
}

.btn-new:not(:disabled):not(._disabled):hover:not(:active) ._bg11,
.btn-new:not(:disabled):not(._disabled):hover:not(:active) ._bg22 {
  opacity: 1;
}

.btn-new:not(:disabled):not(._disabled):active ._bg1 {
  opacity: 1;
  transition: none;
  background-image: linear-gradient(135deg, #1b1e21 0%, #282c31 100%);
}

.btn-new:not(:disabled):not(._disabled):active ._bg11,
.btn-new:not(:disabled):not(._disabled):active ._bg2,
.btn-new:not(:disabled):not(._disabled):active ._bg22 {
  opacity: 0;
  transition: none;
}

.btn-new__text {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 10px 0;
  display: flex;
  position: relative;
}

.btn-new .text-wrapper {
  flex-direction: column;
  justify-content: center;
  min-height: 28px;
  display: flex;
}

.btn-new .text {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.btn-new ._small {
  color: rgba(214, 225, 239, 0.8);
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
}

.btn-new__inner .indicator,
.btn-new .indicator {
  z-index: 2;
  width: 24px;
  height: 3px;
  margin: 5px auto 0;
  position: relative;
}

.btn-new .indicator:before,
.btn-new .indicator:after {
  content: "";
  position: absolute;
  border-radius: 2.5px;
}

.btn-new .indicator:before {
  top: -1px;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background-image: linear-gradient(132.19deg, #c8d5e1 -160.75%, transparent 169.75%);
  box-shadow: inset 2px 2px 2px rgba(26, 32, 38, 0.4);
}

.btn-new .indicator:after {
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.btn-new .indicator._placebet:after {
  background-image: linear-gradient(136.14deg, #44c5ee -0.24%, #63e6fc 91.03%);
  box-shadow:
    4px 10px 32px rgba(63, 208, 164, 0.4),
    -6px -6px 16px rgba(0, 0, 0, 0.6);
}

.btn-new .indicator._cashout:after {
  background-image: linear-gradient(136.14deg, #ee9644 -0.24%, #f9e1b2 91.03%);
  box-shadow:
    4px 10px 32px rgba(63, 208, 164, 0.4),
    -6px -6px 16px rgba(0, 0, 0, 0.6);
}

.btn-new .indicator._cancel:after {
  background-image: linear-gradient(262deg, #f9718e 100%, #f64444 0%);
}

.game-details {
  color: #d17448;
  background-image:
    linear-gradient(360deg, rgba(194, 108, 66, 0.79) 0%, rgba(35, 38, 43, 0) 100%),
    linear-gradient(90.51deg, #5d666f 9.05%, rgba(18, 20, 21, 0.33) 105.67%);
  border-radius: 10px;
  padding: 1px;
  font-size: 11px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 2px 1px 9px #070709;
}

.game-details:before {
  content: "";
  background: rgba(196, 196, 196, 0.06);
  width: 300px;
  height: 300px;
  position: absolute;
  top: -148px;
  left: -182px;
  transform: rotate(40deg);
}

.game-details__inner {
  background: linear-gradient(324.43deg, #17191c -52.28%, #1c1e22 69.89%);
  border-radius: 10px;
  padding: 2px;
  box-shadow: inset 2px 1px 9px #070709;
}

.game-details__inner-container {
  background: var(--deep);
  border: 1px solid #1e2122;
  border-radius: 10px;
  height: 100%;
  padding-bottom: 5px;
}

.game-details__title {
  border-bottom: 1px solid #1d1b1b;
  align-items: center;
  height: 40px;
  margin-bottom: 14px;
  padding: 0 12px;
  font-weight: 700;
  display: flex;
}

.game-details__row {
  align-items: center;
  margin-bottom: 16px;
  padding: 0 12px;
  display: flex;
}

.game-details__row-icon {
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.game-details__row-icon._mine {
  background-image: url("./assets/source/icon-mine.svg");
}

.game-details__row-icon._crystal {
  background-image: url("./assets/source/icon-crystal.svg");
}

.game-details__row-icon._tiles {
  background-image: url("./assets/source/icon-tiles.svg");
}

.game-details__row-value {
  margin-left: auto;
  font-weight: 700;
}

.chart-wrapper {
  grid-area: chart;
}

.table-holder {
  padding: 5px 0 0;
  position: relative;
}

.game-tiles {
  grid-gap: 14px;
  grid-template-rows: repeat(5, 1fr);
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: 30px;
  display: grid;
}

.game-tile {
  text-align: center;
  aspect-ratio: 1;
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #32383e 167.71%);
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  line-height: 100px;
  display: flex;
  position: relative;
  box-shadow: var(--tile-shadow);
}

.game-tile__inner {
  opacity: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in;
  display: flex;
}

.game-tile__inner-possible-win {
  z-index: 5;
  color: rgba(255, 255, 255, 0.3);
  opacity: 0;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  transition: opacity 0.1s ease-in;
  display: flex;
  position: absolute;
  inset: 0;
}

.game-tile._win {
  background-image:
    radial-gradient(33.95% 33.95% at -8.16% 104.08%, rgba(148, 226, 251, 0.37) 5.7%, rgba(33, 38, 42, 0) 100%),
    radial-gradient(33.68% 33.68% at 113.68% 107.89%, rgba(148, 226, 251, 0.37) 0%, rgba(33, 38, 42, 0) 100%),
    radial-gradient(62.12% 48.25% at 49.48% -8.25%, #5cd9f5 0%, rgba(38, 42, 46, 0) 100%),
    linear-gradient(129.86deg, #242526 -1.52%, rgba(29, 33, 36, 0.21) 107.51%);
}

.game-tile._win:after,
.game-tile._lose:after {
  content: "";
  background-position: 0;
  background-repeat: no-repeat;
  border-radius: 13px;
  position: absolute;
  inset: 0;
}

.game-tile._active {
  box-shadow: none;
}

.game-tile._active .game-tile__inner {
  opacity: 1;
  background-image: linear-gradient(317.11deg, #0a0b0d -17.46%, #32383e 197.04%);
  border-radius: 12px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  box-shadow:
    inset -2px -2px 6px rgba(76, 79, 81, 0.26),
    inset 4px 4px 3px rgba(10, 9, 9, 0.49);
}

.game-tiles._active .game-tile:not(._active) {
  cursor: pointer;
}

.game-tiles._active .game-tile:not(._active):hover {
  background-image: linear-gradient(320.64deg, #17191c -42.09%, #444b51 167.71%);
  box-shadow:
    -4px -3px 11px rgba(10, 9, 9, 0.2),
    7px 7px 11px rgba(10, 9, 9, 0.25);
}

.game-tiles._active .game-tile:not(._active):hover:not(._loading) .game-tile__inner-possible-win {
  opacity: 1;
}

.game-tile .diamond {
  z-index: 2;
  background-image: url("./assets/source/diamond.svg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  width: 80%;
  height: 80%;
  position: relative;
}

.game-tile .bomb {
  z-index: 2;
  background-image: url("./assets/source/bomb.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 80%;
  height: 80%;
  position: relative;
}

.game-tile._lose._opened:after {
  background-image: url("./assets/source/bomb-sprite.webp");
  background-repeat: no-repeat;
  background-size: auto 100%;
  animation: 0.5s steps(9, end) forwards play-bomb;
}

.game-tile._loading:after {
  content: "";
  background-image: url("./assets/source/tile-loading.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.game-tiles._resulted .game-tile:not(._opened):after {
  display: none !important;
}

.game-tiles._resulted .game-tile {
  opacity: 0.5;
}

.game-tiles._resulted .game-tile._opened {
  opacity: 1;
}

@keyframes play-bomb {
  to {
    opacity: 0;
    background-position: 112.5%;
  }
}

.result-wrapper {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  position: absolute;
  inset: 5px 0 30px;
  z-index: 5;
}

.result-wrapper._visible {
  opacity: 1;
}

.win-screen {
  z-index: 3;
  border-radius: 17px;
  width: 219px;
  height: 174px;
  margin-top: -15px;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  box-shadow: 8px 12px 11px rgba(20, 25, 29, 0.35);
}

.win-screen:before {
  content: "";
  z-index: -1;
  opacity: 0.9;
  backdrop-filter: blur(2px);
  border-radius: 17px;
  position: absolute;
  inset: 0;
}

.win-screen:after {
  content: "";
  background-image: url("./assets/source/win-screen.webp");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  inset: 0;
}

.win-screen__head {
  z-index: 2;
  color: #fff;
  border-radius: 16px 16px 0 0;
  justify-content: center;
  align-items: center;
  height: 56px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  position: relative;
}

.win-screen__content {
  border-radius: 0 0 16px 16px;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}

.win-screen__content-payout {
  text-align: center;
  color: #b3f0ff;
  padding: 20px 0;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(99, 230, 252, 0.72);
}

.win-screen__content-footer {
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  display: flex;
  position: relative;
}

.win-screen__content-footer:before {
  content: "";
  opacity: 0.8;
  background-image: linear-gradient(135deg, #63e6fc 0%, #45d7f7 100%);
  width: 100%;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 1px 3px rgba(175, 236, 246, 0.4);
}

.win-screen__content-text {
  text-transform: capitalize;
  font-size: 10px;
}

.win-screen__content-odd {
  font-size: 13px;
  font-weight: 700;
}

.game-statistic {
  grid-area: stats;
  padding-bottom: 60px;
  position: relative;
}

.game-statistic .separator {
  border: 1px solid rgba(26, 28, 31, 0.51);
  height: 1px;
  margin: 15px 0 20px;
  box-shadow: 0 -1px 1px rgba(83, 89, 102, 0.6);
}

.tabs {
  margin-bottom: 20px;
  display: flex;
}

.tabs__item {
  cursor: pointer;
  background-image: linear-gradient(294deg, #17191c 0%, #32383e 100%);
  border-radius: 11px;
  min-width: 110px;
  padding: 1px;
  transition: all 0.1s linear;
  box-shadow:
    -4px -4px 16px rgba(195, 200, 205, 0.08),
    4px 4px 18px rgba(0, 0, 0, 0.5);
}

.tabs__item:not(:last-child) {
  margin-right: 10px;
}

.tabs__item-inner {
  border-radius: 10px;
  padding: 14px 19px;
  display: block;
}

.tabs__item._active .tabs__item-inner {
  background-image: linear-gradient(282deg, #2c333a 126%, #1c1e22 25%);
  border: 1px solid #171a1e;
  box-shadow:
    inset -2px -2px 10px rgba(255, 255, 255, 0.05),
    inset 2px 3px 10px #070709;
}

.tabs__item .text {
  opacity: 0.5;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 0.85;
}

.tabs__item._active .text {
  opacity: 1;
  color: var(--text);
  font-weight: 800;
}

.game-statistic .content {
  background-image: linear-gradient(133deg, rgba(172, 172, 172, 0.4) -12%, transparent 54%, rgba(0, 0, 0, 0.4) 123%);
  border-radius: 10px;
  padding: 1px;
  box-shadow:
    11px 13px 30px rgba(2, 3, 3, 0.4),
    -12px -12px 30px rgba(232, 237, 243, 0.05),
    inset -16px -6px 80px rgba(248, 249, 249, 0.03);
}

.game-statistic .content .tab-content {
  background-image:
    linear-gradient(309deg, #121416 0%, #353a40 100%),
    linear-gradient(131deg, rgba(172, 172, 172, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  border-radius: 10px;
}

.titles {
  display: flex;
}

.titles__item {
  color: #acb5c5;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.titles__item:first-child {
  justify-content: flex-start;
  padding-left: 20px;
}

.titles__item:last-child {
  justify-content: flex-end;
  padding-right: 20px;
}

.rows {
  min-height: 96px;
  max-height: 285px;
  overflow: hidden;
}

.rows .row {
  cursor: pointer;
  align-items: center;
  display: flex;
}

.rows .row._fresh {
  animation: row-slide-down 0.46s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: top;
}

.rows .cell {
  opacity: 0.6;
  color: #fff;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  font-size: 12px;
  display: flex;
}

.rows .row:hover .cell {
  opacity: 1;
}

.rows .cell:first-child {
  justify-content: flex-start;
  padding-left: 20px;
}

.rows .cell:last-child:not(:first-child) {
  text-align: right;
  justify-content: flex-end;
  padding-right: 20px;
  font-weight: 700;
}

.rows .row._win .cell:last-child {
  color: #63e6fc;
}

.rows .row._loss .cell:last-child {
  color: #f97171;
}

.rows .empty {
  min-height: 60px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
}

@keyframes row-slide-down {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-26px);
  }
  to {
    opacity: 1;
    max-height: 36px;
    transform: translateX(0);
  }
}

.topup-dialog {
  width: min(360px, calc(100vw - 32px));
  border: 1px solid #303941;
  border-radius: 10px;
  background: #1d242a;
  color: var(--text);
  padding: 0;
}

.topup-dialog::backdrop {
  background: rgba(5, 7, 9, 0.72);
  backdrop-filter: blur(5px);
}

.topup-dialog form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 18px;
}

.topup-submit {
  width: 100%;
}

.auth-dialog,
.settings-dialog {
  color: var(--text);
  background: transparent;
  border: 0;
  width: min(380px, calc(100vw - 28px));
  padding: 0;
}

.auth-dialog::backdrop,
.settings-dialog::backdrop {
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(10px);
}

.auth-card {
  background-image:
    linear-gradient(309deg, #121416 0%, #353a40 100%),
    linear-gradient(131deg, rgba(172, 172, 172, 0.4) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(211, 112, 62, 0.4);
  border-radius: 10px;
  padding: 18px;
  box-shadow:
    11px 13px 30px rgba(2, 3, 3, 0.5),
    -12px -12px 30px rgba(232, 237, 243, 0.05),
    inset -16px -6px 80px rgba(248, 249, 249, 0.03);
}

.auth-tabs {
  display: flex;
  margin: 0 0 16px;
}

.auth-tabs .tabs__item {
  flex: 1;
  min-width: 0;
}

.auth-input {
  width: 100%;
  height: 52px;
  margin-bottom: 10px;
  display: block;
  position: relative;
}

.auth-input .games-input__number {
  padding-top: 28px;
}

.auth-error {
  min-height: 16px;
  color: #f97171;
  margin: 2px 0 10px;
  font-size: 12px;
  line-height: 1.25;
}

.auth-submit {
  width: 100%;
}

.settings-card {
  padding-bottom: 18px;
}

.settings-user {
  background: rgba(12, 12, 14, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  margin-bottom: 14px;
  padding: 0 14px;
  display: flex;
}

.settings-user span {
  opacity: 0.55;
  font-size: 12px;
}

.settings-user strong {
  color: #fff;
  font-size: 13px;
}

body.busy .game-wrapper {
  cursor: progress;
}

@media (max-width: 960px) {
  .game-wrapper {
    max-width: 100%;
  }

  .game-container {
    grid-template:
      "history" min-content
      "chart" min-content
      "modeTabs" min-content
      "betslip" min-content
      "stats" min-content / 1fr;
  }

  .game-mode-tabs,
  .game-betslip {
    padding-right: 0;
  }

  .game-history {
    border-radius: 0;
    height: 35px;
    margin: 0 -10px;
    padding-left: 0;
    padding-right: 0;
  }

  .game-history:before {
    display: none;
  }

  .game-history__inner {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .game-history__inner-container {
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  .table-holder {
    padding: 12px 0 0;
  }

  .game-tiles {
    max-width: 430px;
    margin: 0 auto;
  }

  .game-tile._lose._opened:after {
    width: 62px;
    height: 62px;
    margin-left: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .game-tile._loading:after {
    width: 30px;
    height: 30px;
  }

  .result-wrapper {
    inset: 12px 0 30px;
  }
}

@media (max-width: 520px) {
  .game-header__logo {
    width: 132px;
  }

  .game-header__balance-title {
    display: none;
  }

  .game-header__button {
    margin-left: 0.4rem;
  }

  .game-tiles {
    grid-gap: 9px;
  }

  .settings-input__wrapper._mines .button._sm {
    width: 44px;
  }

  .titles__item,
  .rows .cell {
    font-size: 10px;
  }
}
