main {
  background-color: #d8ffe9;
  overflow-y: auto;
}

.game {
  width: 100%;
  min-height: 760px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game .field {
  width: 100%;
  height: calc(100vh - 60px);
  position: relative;
  max-height: 920px;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.game .field::-webkit-scrollbar {
  display: none;
}
.game .field .bg {
  position: absolute;
  top: 0;
  left: 50%;
  height: 920px;
  transform: translateX(-50%);
}
.game .field .restart {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 16px;
  background-color: #f95003;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}
.game .field .restart:hover {
  background-color: #c74002;
}
.game .field .title {
  width: 200px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-260px);
}
.game .field .title img {
  width: 100%;
}
.game .field .online,
.game .field .bets {
  color: #777;
  font-size: 14px;
  position: absolute;
  top: 16px;
  left: 50%;
  padding: 8px;
  border-radius: 5px;
  color: #fff;
  transform: translateX(60px);
  font-weight: bold;
  background-color: #03a868;
}
.game .field .online strong,
.game .field .bets strong {
  color: #e7d43c;
  font-size: 16px;
}
.game .field .top__block {
  position: absolute;
  right: 16px;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.game .field .top__block p {
  font-weight: bold;
  color: #03a868;
}
.game .field .top__block a {
  font-weight: bold;
  color: #00f;
  text-decoration: underline;
}
.game .field .top__block .block {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.game .field .online {
  top: 175px;
  transform: translateX(-50%);
  left: calc(50% - 175px);
}
.game .field .bets {
  transform: translateX(-50%);
  top: 280px;
  z-index: 0;
}
.game .field .make_bets {
  position: absolute;
  top: 350px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  color: #e7d43c;
  font-weight: bold;
  font-size: 18px;
  width: fit-content;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
}
.game .field .timer {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 155px;
  right: 50%;
  transform: translateX(235px);
  width: 100px;
  height: 64px;
  background: url("../img/game/timer.png") no-repeat;
  background-size: contain;
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 1px;
}
.game .field .timer.active {
  background-image: url("../img/game/timer_active.png");
}
.game .field .timer.disabled {
  filter: grayscale(1);
}
.game .field .timer__game {
  top: 270px;
  transform: translateX(50%);
  z-index: 1;
  display: none;
}
.game .field .center_place {
  margin-top: 100px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.game .field .adv {
  display: none;
  height: 300px;
  position: relative;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
.game .field .adv img {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 20px;
}
.game .field .adv .text {
  position: relative;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  top: 50px;
  text-align: center;
}
.game .field .adv .text strong {
  font-size: 16px;
}
.game .field .adv .text a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100px;
  height: 50px;
  font-weight: bold;
  background-image: url("../img/game/modal_btn.png");
  background-size: cover;
}
.game .field .buttons {
  display: block;
  width: 100%;
  flex-direction: column;
}
.game .field .buttons .line {
  display: flex;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  justify-content: space-around;
}
.game .field .buttons .line_up {
  position: relative;
  top: -5px;
}
.game .field .buttons button {
  width: 150px;
  background: transparent;
  height: 100px;
  border: none;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: #fff;
  font-size: 20px;
}
.game .field .buttons button:hover {
  filter: brightness(0.8);
}
.game .field .buttons button img {
  width: 100%;
  height: 100%;
}
.game .field .buttons .btn__green {
  background: url("../img/game/btn_green.png") no-repeat;
  background-size: cover;
}
.game .field .buttons .btn__yellow {
  background: url("../img/game/btn_yellow.png") no-repeat;
  background-size: cover;
}
.game .field .buttons .btn__blue {
  background: url("../img/game/btn_blue.png") no-repeat;
  background-size: cover;
}
.game .field .stat {
  position: absolute;
  width: 400px;
  height: 540px;
  margin: 0 auto;
  padding: 16px;
  left: 50%;
  top: 375px;
  transform: translateX(-300px);
}
.game .field .stat .stat_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.game .field .stat .inner_title {
  position: absolute;
  top: 25px;
  right: 170px;
  font-weight: bold;
  color: #333;
}
.game .field .stat .info {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding-left: 32px;
  color: #fff;
  font-weight: bold;
  width: 320px;
  height: 480px;
  overflow-y: auto;
}
.game .field .stat .info p {
  padding: 8px 0;
  margin: 8px 0;
  text-align: center;
  background-color: rgba(44, 51, 46, 0.6);
  border-radius: 5px;
  position: relative;
  z-index: 2;
}
.game .field .stat .info .user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.game .field .stat .info .user .avatar {
  background: url("../img/game/ava.png") no-repeat;
  background-size: contain;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.game .field .stat .info .user .avatar img {
  width: 100%;
  padding: 10px;
  border-radius: 50%;
}
.game_rules {
  max-width: 1200px;
  margin: 50px auto;
  padding: 16px;
  font-size: 16px;
}
.game_rules h2 {
  margin-bottom: 32px;
}
.game_rules h3 {
  padding: 24px 0;
  text-align: center;
}
.game_rules p {
  line-height: 2em;
}
.game_rules ul {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: decimal;
}
.game_rules a {
  color: #03a868;
  font-weight: bold;
}
.game_rules table {
  width: 400px;
  margin: 15px auto;
  text-align: center;
  background: #fff;
  padding: 16px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.game_rules table th {
  font-size: 14px;
}
.game_rules .user {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}
.game_rules .user .avatar {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.game_rules .user .avatar img {
  width: 100%;
  padding: 10px;
  border-radius: 50%;
}
.game .preloader__image {
  display: none;
}
.game.preloader {
  width: 100%;
  height: 100%;
}
.game.preloader .preloader__image {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.game.preloader .preloader__image .error__text {
  display: none;
  padding: 16px;
  text-align: center;
}
.game.preloader .field {
  display: none;
}

.rules {
  padding: 16px;
  line-height: 1.5;
}
.rules h2, .rules h3 {
  text-align: center;
  padding: 16px 0;
  color: #03a868;
}
.rules b {
  color: #03a868;
}
.rules ul {
  margin-left: 32px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rules a {
  color: #00f;
  text-decoration: underline;
}
.rules img {
  width: 100%;
  max-width: 600px;
  margin: 16px auto;
  display: block;
}
.rules .color-accent {
  color: #03a868;
}

.modal {
  background-color: rgba(0, 0, 0, 0.8);
}
.modal .game_modal {
  width: 300px;
  height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: bold;
  z-index: 2;
  padding-top: 30px;
  margin-top: 150px;
}
.modal .game_modal a {
  cursor: pointer;
}
.modal .game_modal img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.modal .game_modal .text {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 220px;
  padding: 16px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.modal .game_modal .text span {
  width: fit-content;
  padding: 8px;
  border-radius: 5px;
  font-size: 14px;
  background-color: rgba(44, 51, 46, 0.6);
}
.modal .game_modal .text span strong {
  color: #e7d43c;
  font-size: 16px;
}
.modal .game_modal .close {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 50px;
  background: url("../img/game/modal_btn.png") no-repeat;
  background-size: cover;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.modal .game_modal .close:hover {
  filter: brightness(0.8);
}
.modal__time .game_modal {
  height: 325px;
}
.modal__time .game_modal .text {
  margin-top: 130px;
  width: 100%;
}
.modal__game-stop .game_modal {
  height: 325px;
}
.modal__game-stop .game_modal .text {
  margin-top: 105px;
  width: 100%;
  gap: 6px;
}
.modal__game-stop .game_modal .text a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100px;
  height: 50px;
  font-weight: bold;
  background-image: url("../img/game/modal_btn.png");
  background-size: cover;
}
.modal__money .game_modal {
  height: 300px;
}
.modal__money .game_modal .text {
  margin-top: 120px;
  width: 100%;
}

@media only screen and (max-device-width: 584px) {
  .game .field .top__block {
    font-size: 12px;
    gap: 0;
    top: 10px;
  }
  .game .field .top__block p, .game .field .top__block .block {
    margin-bottom: 12px;
  }
  .game .field .title {
    width: 130px;
    top: 20px;
    left: 50%;
    transform: translateX(-175px);
  }
  .game .field .online {
    top: 125px;
    transform: translateX(50%);
    left: calc(50% - 185px);
  }
  .game .field .timer {
    top: 100px;
    transform: translateX(155px);
    width: 79px;
    height: 51px;
  }
  .game .field .timer__game {
    top: 190px;
    transform: translateX(50%);
  }
  .game .field .bg {
    height: 764px;
    width: 100%;
  }
  .game .field .center_place {
    margin-top: 90px;
    height: 234px;
  }
  .game .field .adv {
    height: 234px;
  }
  .game .field .adv img {
    height: 220px;
    width: 220px;
  }
  .game .field .adv .text {
    max-width: 190px;
    gap: 8px;
  }
  .game .field .adv .text strong {
    font-size: 14px;
  }
  .game .field .bets {
    top: 195px;
  }
  .game .field .make_bets {
    top: 250px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-size: 12px;
    padding: 4px;
  }
  .game .field .buttons button {
    width: 100px;
    height: 67px;
    font-size: 14px;
  }
  .game .field .buttons .line {
    gap: 90px;
  }
  .game .field .buttons .line_up {
    position: relative;
    top: -30px;
  }
  .game .field .buttons .btn__green {
    position: relative;
    top: -40px;
  }
  .game .field .stat {
    width: 320px;
    height: 480px;
    transform: translateX(-190px);
    top: 260px;
  }
  .game .field .stat .stat_bg {
    width: 95%;
  }
  .game .field .stat .inner_title {
    right: 50px;
  }
  .game .field .stat .info {
    width: 240px;
    height: 420px;
  }
  .game_rules h2 {
    text-align: center;
    font-size: 20px;
  }
  .game_rules h3 {
    font-size: 18px;
  }
}

/*# sourceMappingURL=game.css.map */
