.pop_up {
  z-index: 20;
  aspect-ratio: auto;
  object-fit: fill;
  background-color: #000c;
  justify-content: center;
  align-items: stretch;
  width: 100svw;
  height: 100svh;
  padding-top: 5%;
  display: none;
  position: fixed;
  overflow: auto;
}

.heart_sb {
  z-index: 2;
  background-image: url('../images/heart_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 90%;
  max-width: 400px;
  height: 90%;
  max-height: 400px;
  margin-bottom: -240px;
  margin-right: 250px;
  position: absolute;
  inset: auto -9% 0% auto;
}

.wheel_body_sb {
  background-image: url('../images/body_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: scroll;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 140%;
  max-width: 1200px;
  height: 140%;
  max-height: 1200px;
  display: flex;
  position: absolute;
  overflow: visible;
}

.button_sb {
  z-index: 3;
  filter: drop-shadow(0 7px 20px #1f003680);
  background-color: #0000;
  background-image: url('../images/state_default_1x.webp'), url('../images/state_hover_1x.webp'), url('../images/state_pressed_1x.webp');
  background-position: 50%, 50%, 50%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: contain, contain, contain;
  width: 100%;
  max-width: 324px;
  height: 30%;
  max-height: 126px;
  margin-bottom: 2%;
  padding: 0;
  position: absolute;
  inset: auto auto 0%;
}

.toy_sb {
  z-index: 2;
  background-image: url('../images/toy_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 300px;
  max-width: 300px;
  height: 300px;
  max-height: 300px;
  position: absolute;
  inset: auto auto -176px 29%;
}

.hero_section_sb {
  z-index: 1;
  flex-flow: column;
  flex: 0 auto;
  align-self: auto;
  align-items: center;
  width: 100svw;
  height: 100%;
  display: flex;
  position: relative;
}

.smoke_sb {
  display: none;
}

.logo_kheli_sb {
  z-index: 2;
  background-image: url('../images/logo_kheli.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  order: 0;
  width: 220px;
  max-width: 240px;
  height: 80px;
  max-height: 80px;
  position: relative;
}

.girl_block_sb {
  pointer-events: none;
  width: 33%;
  max-width: 33%;
  max-height: 100%;
  position: absolute;
  inset: 0% auto 0% 0%;
}

.girl_sb {
  z-index: -1;
  background-image: url('../images/girl_sb.webp');
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  max-width: 560px;
  height: 100%;
  max-height: 562px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.pink_heart_sb_1 {
  z-index: -1;
  width: 20%;
  max-width: 83px;
  height: 20%;
  max-height: 80px;
  transform-style: preserve-3d;
  background-image: url('../images/pink_heart_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 191px;
  margin-left: 25%;
  position: absolute;
  inset: 0% auto auto 0%;
  transform: rotateX(0)rotateY(180deg)rotateZ(0);
}

.lamps_sb {
  z-index: 1;
  box-sizing: border-box;
  object-fit: fill;
  background-image: url('../images/state_disabled_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: scroll;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 832px;
  height: 100%;
  max-height: 832px;
  display: flex;
  position: absolute;
  inset: 0%;
}

.lamps_sb.lamp3 {
  background-image: url('../images/lamp_3_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp9 {
  background-image: url('../images/lamp_9_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp2 {
  background-image: url('../images/lamp_2_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp6 {
  background-image: url('../images/lamp_6_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp4 {
  background-image: url('../images/lamp_4_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp7 {
  background-image: url('../images/lamp_7_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp1 {
  background-image: url('../images/lamp_1_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp10 {
  background-image: url('../images/lamp_10_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp11 {
  background-image: url('../images/lamp_11_1x.webp');
  background-size: contain;
}

.lamps_sb.light_sb {
  background-image: url('../images/state_enabled_sb.webp');
  background-size: contain;
}

.lamps_sb.lamp5 {
  background-image: url('../images/lamp_5_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp12 {
  background-image: url('../images/lamp_12_1x.webp');
  background-size: contain;
}

.lamps_sb.lamp8 {
  background-image: url('../images/lamp_8_1x.webp');
  background-size: contain;
}

.prize_sb {
  background-image: url('../images/bonus_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  order: 0;
  justify-content: center;
  align-items: center;
  width: 60%;
  max-width: 530px;
  height: 60%;
  max-height: 584px;
  margin-top: 10%;
  display: flex;
  position: absolute;
  inset: 0% 0% auto auto;
}

.lollipop_sb {
  z-index: -1;
  pointer-events: none;
  background-image: url('../images/lollipop_sb.webp');
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 110%;
  max-width: 505px;
  height: 110%;
  max-height: 444px;
  position: absolute;
  inset: auto 0% 0% auto;
}

.green_candy_sb {
  z-index: -1;
  background-image: url('../images/pentagon_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30%;
  max-width: 144px;
  height: 30%;
  max-height: 129px;
  margin-top: 89px;
  margin-left: 40%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.garland_sb_2 {
  background-image: url('../images/garland_2_sb.webp');
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 321px;
  max-width: 321px;
  height: 345px;
  max-height: 345px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.garland_sb_1 {
  background-image: url('../images/garland_1_sb.webp');
  background-position: 100% 0;
  background-size: auto;
  width: 433px;
  max-width: 433px;
  height: 250px;
  max-height: 250px;
  margin-top: 0;
  margin-right: 0;
  position: absolute;
  inset: 0% 0% auto auto;
}

.pink_heart_sb_2 {
  z-index: -1;
  background-image: url('../images/pink_heart_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100px;
  max-width: 100px;
  height: 94px;
  max-height: 94px;
  margin-top: 10px;
  margin-right: 25%;
  position: absolute;
  inset: 0% 0% auto auto;
}

.sweet_section {
  background-image: url('../images/bg_sb.webp');
  background-position: 50%;
  background-size: cover;
  flex-flow: column;
  height: 100svh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.wheel_sb {
  z-index: 0;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 460px;
  max-width: 800px;
  height: 100%;
  min-height: 460px;
  max-height: 800px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  position: relative;
  overflow: visible;
}

.disk_sb {
  z-index: 2;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-image: url('../images/disk_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 76%;
  max-width: 632px;
  height: 76%;
  max-height: 632px;
  transition: opacity .2s;
  display: flex;
  position: absolute;
  transform: rotate(30deg);
}

.cursor_sb {
  z-index: 3;
  background-color: #0000;
  background-image: url('../images/state_default_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  justify-content: center;
  align-items: center;
  width: 44%;
  max-width: 376px;
  height: 44%;
  max-height: 376px;
  display: flex;
  position: absolute;
}

.logo_sb {
  z-index: 1;
  background-image: url('../images/logo_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  max-width: 392px;
  height: 100%;
  max-height: 231px;
  margin: -110px auto -66px;
  position: relative;
}

.cake_sb {
  z-index: 0;
  background-image: url('../images/cake_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 85%;
  max-width: 400px;
  height: 85%;
  max-height: 420px;
  margin-bottom: -256px;
  margin-right: 0;
  position: absolute;
  inset: auto 0% 0% auto;
}

.purple_candy_sb {
  background-image: url('../images/tetragon_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 35%;
  max-width: 165px;
  height: 35%;
  max-height: 160px;
  margin-top: -46px;
  margin-left: 70%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.header_sweet {
  width: 100%;
  max-width: 100%;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
}

.sweets_block_sb {
  width: 33%;
  max-width: 33%;
  height: 100%;
  max-height: 100%;
  position: absolute;
  inset: 0% 0% 0% auto;
}

.blue_candy_sb {
  background-image: url('../images/rectangle_sb.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 152px;
  max-width: 152px;
  height: 129px;
  max-height: 129px;
  margin-top: 369px;
  margin-right: -72px;
  position: absolute;
  inset: 0% 0% auto auto;
}

@media screen and (max-width: 991px) {
  .heart_sb {
    margin: 0 0 -222px 53px;
    inset: auto auto 0% 0%;
    transform: rotate(39deg);
  }

  .button_sb {
    z-index: 4;
    width: 300px;
  }

  .girl_block_sb {
    inset: 0% 0% 0% auto;
  }

  .girl_sb {
    z-index: 0;
    background-position: 100% 100%;
    width: 460px;
    height: 460px;
    margin-right: -76px;
    inset: auto 0% 0% auto;
  }

  .pink_heart_sb_1 {
    width: 70px;
    height: 68px;
    margin-top: 123px;
    margin-left: 12px;
  }

  .lamps_sb {
    box-sizing: content-box;
    background-size: contain;
    max-width: 800px;
    height: 100%;
    max-height: 800px;
    position: fixed;
    inset: auto;
  }

  .prize_sb {
    margin-top: 12%;
    right: auto;
  }

  .lollipop_sb {
    z-index: 0;
    width: 200%;
    margin-left: -187px;
    inset: auto auto 0% 0%;
  }

  .green_candy_sb {
    width: 120px;
    height: 110px;
    margin-top: 30%;
    margin-left: -185%;
  }

  .garland_sb_2 {
    display: none;
  }

  .wheel_sb {
    width: 100%;
    height: 100%;
  }

  .disk_sb {
    background-repeat: no-repeat;
    background-size: contain;
  }

  .logo_sb {
    width: 280px;
    height: 160px;
    margin-top: -50px;
  }

  .cake_sb {
    z-index: 3;
    width: 400px;
    height: 420px;
    margin-bottom: -227px;
    margin-left: -67px;
    inset: auto auto 0% 0%;
    transform: rotate(-24deg);
  }

  .purple_candy_sb {
    z-index: -1;
    width: 147px;
    height: 131px;
    margin-top: 10%;
    margin-left: -180%;
  }

  .sweets_block_sb {
    inset: 0% auto 0% 0%;
  }

  .blue_candy_sb {
    width: 130px;
    height: 110px;
    margin-top: 116px;
  }
}

@media screen and (max-width: 767px) {
  .pop_up {
    padding-top: 0%;
  }

  .heart_sb {
    z-index: 0;
    width: 300px;
    height: 300px;
    margin-bottom: -94px;
    margin-left: 37px;
  }

  .wheel_body_sb {
    width: 140%;
    height: 140%;
  }

  .button_sb {
    z-index: 2;
    background-position: 50%, 50%, 50%;
    width: 280px;
    margin-bottom: 10%;
  }

  .toy_sb {
    display: none;
  }

  .smoke_sb {
    z-index: 1;
    pointer-events: none;
    background-image: url('../images/smoke.webp');
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 767px;
    height: 100%;
    max-height: 456px;
    display: block;
    position: absolute;
    inset: auto 0% 0%;
  }

  .girl_sb {
    width: 460px;
    height: 460px;
    margin-right: -67px;
  }

  .pink_heart_sb_1 {
    display: none;
  }

  .lamps_sb {
    background-position: 50%;
    background-size: contain;
    flex-flow: column;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: auto;
  }

  .prize_sb {
    z-index: 4;
    width: 100%;
    height: 100%;
    margin-top: 23%;
  }

  .lollipop_sb {
    width: 450px;
    height: 400px;
    margin-bottom: 36px;
    margin-left: -150px;
    transform: rotate(41.65deg);
  }

  .green_candy_sb {
    width: 90px;
    height: 86px;
    margin-top: 30%;
    margin-left: -185%;
  }

  .garland_sb_1 {
    background-size: cover;
    width: 300px;
    height: 180px;
  }

  .pink_heart_sb_2 {
    display: none;
  }

  .wheel_sb {
    width: 100%;
  }

  .logo_sb {
    width: 280px;
    height: 160px;
    margin-top: 0;
  }

  .cake_sb {
    z-index: 1;
  }

  .purple_candy_sb {
    width: 140px;
    height: 115px;
    margin-top: 8%;
    margin-left: -180%;
  }

  .blue_candy_sb {
    width: 96px;
    height: 81px;
    margin-top: 58px;
    margin-right: -40px;
  }
}

@media screen and (max-width: 479px) {
  .heart_sb {
    width: 250px;
    height: 250px;
    margin-bottom: -111px;
    margin-left: 6px;
  }

  .wheel_body_sb {
    flex-flow: column;
    width: 140%;
    height: 140%;
  }

  .button_sb {
    z-index: 2;
    filter: drop-shadow(0 4px 13px #1f003680);
    background-color: #0000;
    justify-content: center;
    align-items: center;
    width: 216px;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    bottom: 2%;
    left: auto;
    right: auto;
  }

  .smoke_sb {
    background-image: url('../images/smoke.webp');
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 760px;
    height: 100%;
    max-height: 356px;
    display: block;
    position: fixed;
    inset: auto 0% 0%;
  }

  .logo_kheli_sb {
    width: 143px;
    height: 52px;
  }

  .girl_sb {
    width: 300px;
    height: 300px;
    margin-left: 0;
    margin-right: -82px;
  }

  .lamps_sb {
    background-size: contain;
    width: 100%;
    height: 100%;
  }

  .prize_sb {
    z-index: 4;
    margin-top: auto;
  }

  .lollipop_sb {
    width: 273px;
    height: 340px;
    margin-left: -94px;
  }

  .green_candy_sb {
    width: 64px;
    height: 57px;
    margin-top: 40%;
    margin-left: -200%;
  }

  .garland_sb_1 {
    background-image: url('../images/garland_1_sb.webp');
    background-position: 100% 0;
    background-size: cover;
    width: 184px;
    height: 160px;
  }

  .wheel_sb {
    justify-content: center;
    min-width: 300px;
    height: 432px;
    min-height: 300px;
    margin-top: -54px;
  }

  .disk_sb {
    width: 76%;
    height: 76%;
  }

  .cursor_sb {
    width: 44%;
    height: 44%;
  }

  .logo_sb {
    width: 222px;
    height: 131px;
    margin-top: 0;
    margin-bottom: -22px;
  }

  .cake_sb {
    width: 220px;
    height: 240px;
    margin-bottom: -112px;
    margin-left: -81px;
  }

  .purple_candy_sb {
    width: 92px;
    height: 80px;
    margin-top: 10%;
    margin-left: -195%;
  }

  .header_sweet {
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .blue_candy_sb {
    margin-top: 71px;
    margin-right: -55px;
  }
}


