body {
  background-color: #11447c;
}
.connect{
  z-index: 3;
}
#victorina_wrapper {
  background-color: #fff;
  position: relative;
  width: 100vw;
  height: calc(100vh - 80px);
}
.victorina_right {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 45%;
}
.victorina_left {
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 35%;
}
.victorina_slide {
  margin-top: 80px;
  padding: 30px;
  height: calc(100vh - 133px);
  display: none;
}
.victorina_slide.active {
  display: block;
}
  .victorina_slide_3.active ~ .victorina_right {
    display: none;
  }
.victorina_right_custom_v4 {
  display: none;
}
.victorina_right_mob_custom_v4 {
  display: none;
}
.victorina_slide_9.active ~ .victorina_right {
  display: none;
}
.victorina_slide_22.active ~ .victorina_right {
  display: none;
}
.victorina_slide_22.active ~ .victorina_left {
  display: none;
}
.victorina_slide_3.active ~ .victorina_left {
  z-index: 3;
}

.victorina_right_custom_v5 {
  display: none;
}
.victorina_right_custom_v9 {
  display: none;
}
.victorina_center_custom_v5 {
  display: none;
}
.victorina_center_mob_custom_v5 {
  display: none;
}

.victorina_slide_9.active ~ .victorina_right_custom_v4 {
  display: block;
  z-index: 3;
}
.victorina_slide_10.active ~ .victorina_right {
  display: none;
}

.victorina_slide_10.active ~ .victorina_right_custom_v5 {
  display: block;
  z-index: 3;
}

.victorina_slide_16.active ~ .victorina_right {
  display: none;
  
}
.victorina_slide_16.active ~ .victorina_right_custom_v9 {
  display: block;
  z-index: 1;
}
.victorina_slide_10.active ~ .victorina_center_custom_v5 {
  display: block;
  z-index: 2;
}
.victorina_right_custom_v4 {
  position: absolute;
  height: calc(100%);
  right: 0;
  top: 20px;
}
.victorina_slide_9.active .v_btn{ 
  margin-left: 90px;
}
.victorina_right_custom_v5 {
  position: absolute;
  height: calc(90% - 90px);
  right: 0;
  bottom: 0px;
}
.victorina_right_custom_v9 {
  position: absolute;
  height: calc(100% - 90px);
  right: 0;
  bottom: 0px;
}
.v5_btns{
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  justify-content: space-around;
  margin-right: 35px;
}
.victorina_slide_10.active .v_block_left{
  justify-content: start;
}
.victorina_center_custom_v5 {
  position: absolute;
    height: 55vh;
    left: 57%;
    bottom: 0;
    transform: translate(-60%, 0);
}
.die {
  background-color: #11447c;
  border-radius: 15px;
  padding: 10px 15px;
  text-transform: uppercase;
}
.die span {
  color: #ffdc04;
}
.die_text {
  text-align: center;
  color: #fff;
  font-size: 35px;
}
.die_sub_text {
  font-size: 24px;
  color: #fff;
  position: relative;

}
.victorina_title {
  background-color: #d61019;
  font-size: 22px;
  padding: 5px 10px;
  display: none;

  border-top-right-radius: 21px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 21px;
  border-bottom-right-radius: 8px;
}

.v_blocks {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  height: 80%;
}
.v_block {
  width: 100%;
}
.v_block_left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.v_block_left .die {
  margin-right: auto;
}
.v_block_right {
}
.v_block_right img {
  max-width: 100%;
  max-height: 100%;
}
.v_btn {
  background-color: #ffdc04;
  border-radius: 35px;
  padding: 12px 7px;
  color: #11447c;
  font-size: 25px;
  box-shadow: 3px 3px 0px #11447c;
  cursor: pointer;
  min-width: 180px;
  text-align: center;
}
.v_blocks__center {
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.ponchiks {
  position: relative;
  width: 500px; /* можешь регулировать размер круга */
  height: 500px;
  margin: 0 auto;
  top: -50px;
}

.pinchik {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 220px;
  height: 144px;
  background-image: url(../img/vponchik.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: 50% 250%; /* ключевая часть — задаёт круг */
}
.pinchik.active {
  background-image: url(../img/vponchik_active.png);
}

.pinchik_img img {
  height: 75%;
}
.mobile-account_more{
  width: 100%;
}

.pinchik_text {
  position: absolute;
  color: #d61019;
  font-size: 30px;
  top: -40px;
  font-weight: bold;
  text-align: center;
}
  .v9_btns{
    margin-bottom: -20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 90%;
    gap: 11px;
    line-height: 1.1;
    font-size: 15px;
  }
  .victorina_slide_19.active ~ .victorina_right{
display: none;
  }
/* Расставляем по кругу (шаг 60°) */
.pinchik_1 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.pinchik_2 {
  transform: translate(-95%, -95%) rotate(60deg);
}
.pinchik_3 {
  transform: translate(-95%, -182%) rotate(120deg);
}
.pinchik_4 {
  transform: translate(-50%, -227%) rotate(180deg);
}
.pinchik_5 {
  transform: translate(-5%, -182%) rotate(240deg);
}
.pinchik_6 {
  transform: translate(-5%, -95%) rotate(300deg);
}
.v2_touch {
  width: 200px;
  position: absolute;
  bottom: -81px;
  left: -144px;
}
.v2_btn{
    position: absolute;
  bottom: -90px;
  right: -40px;
      background: #ffdf1e;
    color: #11447c;
    font-size: 25px;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;

}
.victorina_slide_23.active .v6_block{
  height: 290px;

}
.v2_logo {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, 0%);
}
.v2_left_img{
  display: none;
}
.victorina_slide_3.active ~ .v2_left_img{
  display: block;
}
.v2_left_img {
  position: absolute;
  left: 0%;
  bottom: 0;
  z-index: 0;
  width: 35%;
}
.v2_left_img img {
  width: 100%;
}
.victorina_slide_3 .die {
  margin-right: auto;
}

.v_btns {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-left: 10%;
}
.victorina_slide_6 .v_block_right img {
  /* width: 70%; */
  display: block;
  margin: 0 auto;
}
.victorina_slide_9 .die {
  width: 160%;
  z-index: 2;
}
.victorina_slide_10.active .die{
  width: 80%;
}

.v6_blocks {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.v6_block {
  width: 25%;
  background-color: #11447c;
  padding: 25px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 46px;
  box-shadow: 3px 3px 0px #11447c;
}
.v6_block.active{
  background-color: #ffdc04;
}
.victorina_slide_13 .v_blocks {
  height: auto;
  margin-bottom: 25px;
}
.victorina_slide_24 .v_blocks {
  height: auto;
  margin-bottom: 25px;
}
.victorina_slide_19 .v_blocks {
  height: auto;
  margin-bottom: 25px;
}
.victorina_slide_15.active ~ .victorina_right{
  display: none;
}
.find_pairs {
  display: flex;
  justify-content: right;
  flex-wrap: wrap;
  gap: 20px;
  margin-right: 30px;
}
.find_pair {
  max-width: 430px;
  width: 25.5%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #11447c; /* синий фон */
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s;
  overflow: hidden;
}

.find_pair img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none; /* картинки скрыты изначально */
}

.find_pair.flipped img {
  display: block; /* показываем картинку при перевороте */
}

.find_pair .logo {
  position: absolute;
  width: 80%; /* размер логотипа */
  height: auto;
  object-fit: contain;
  display: block;
}

.find_pair.flipped .logo {
  display: none;
}

.find_pair.matched {
  background-color: #ffed00;
  pointer-events: none;
}
.victorina_slide_15 .v_block_left {
  width: 25%;
}
.victorina_slide_15 .v_block_right {
  width: 75%;
}

.victorina_slide_22 {
  background: #005ea0;
  height: 100vh;
  text-align: center;
  background-image: url("../img/v11_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.victorina_bg_custom_v11 {
  display: none;
}
.victorina_center_custom_v11 {
  display: none;
}
.victorina_slide_22.active ~ .victorina_bg_custom_v11 {
  display: block;
}
.victorina_slide_22.active ~ .victorina_center_custom_v11 {
  display: block;
}

.victorina_bg_custom_v11 {
}
.victorina_center_custom_v11 {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0px);
  height: calc(100vh);
}

.connects {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  margin: auto;
}
.connect {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.connect-left{
  margin-left: 25px;
}
.connect-left .v_btn {
  margin-bottom: 25px;
  max-width: 490px;
  text-align: left;
  padding-left: 20px;
  font-size: 35px;
  position: relative;
}
.connect-left .v_btn span {
  position: absolute;
  height: 2px;
  width: 30px;
  right: -47px;
  background: #11447c;
  top: 50%;
  transform: translate(-50%, 0);
}
.connect-left .v_btn span::after {
  position: absolute;
  content: "";
  border: 8px solid transparent;
  border-left: 8px solid #11447c;
  right: -16px;
  top: -7px;
}
.connect-left .v_btn {
   
  text-align: left;
}
.connect-right .v_btn {
  text-align: center;
 font-size: 30px;
}
.connect_canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}
.victorina_slide_1 .v_block_right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.v5_img {
  width: 90%;
}
.v5_img img {
  height: 24vh;
  margin-left: auto;
  display: block;
  margin-right: -80px;
  margin-top: 20px;
}
.victorina-succes , .victorina-error{
  text-transform: uppercase;
  position: fixed ;
    z-index: 20;
    text-align: center;
    left: 50%;
    top: calc(50% + 80px);
    transform: translate(-50%, -50%);
    line-height: 1.1;
    width: 80%;
}

.v_last_title{
  font-size: 50px;
  color: #11447c;
}
.v_last_text{
  font-size: 40px;
  color: #d61016;

}
.v_last_footer{
  font-size: 45px;
  color: #11447c;

}
@media (max-width: 1405px) {
  .victorina_slide_3.active .v_block_left {
    width: 35%;
  }
  .pinchik {
    width: 215px;
    height: 140px;
  }
  .v2_logo {
    top: 41%;
  }
  .pinchik_text{
    font-size: 28px;
  }
  .v2_btn{
    bottom: -33px;
    right: -40px;
  }
  .v2_touch{
    bottom: -66px;
    left: -114px;
  }
  .pinchik_img img {
      max-height: 50%;
      max-width: 88%;
      margin-right: -2px;
      left: 19px;
  }

}
.v5_img {
  margin-bottom: 25px;
}
@media (max-width: 1264px) {
  .find_pair {
    width: 30%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}
@media (max-width: 1024px) {
  .v5_btns{
    flex-direction: column;
    margin-right: 35px;
  }
  .victorina_slide_10.active .die{
    width: 100%;
  }

  .victorina_slide_9.active .v_btn{ 
  margin-left: 0;
}
  .v6_blocks{
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
    align-items: center;
    justify-content: space-around;
  }
  .v_btn{
    margin-bottom: 25px;
  }
  .v6_block{
    width: 45%;
    margin-bottom: 25px;
  }
  .victorina_slide_16.active ~ .victorina_right_custom_v9{
    width: 40%;
    height: auto;
  }
  .victorina_slide_16 .v_btn{
    margin-bottom: 25px;
  }
  .find_pair {
    width: 30%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .victorina_slide_15 .v_block_right {
    width: 100%;
  }
  .victorina_slide_15 .v_block_left {
    width: 100%;
  }
  .v5_img {
    margin-bottom: 25px;
  }
  .die {
    margin-bottom: 25px;
  }
  .victorina_slide_10.active ~ .victorina_right_custom_v5 {
    display: none;
  }
  .victorina_slide_3.active ~ .victorina_right {
    display: none;
  }
  .victorina_slide_10.active ~ .victorina_center_custom_v5 {
    left: auto;
    right: 0;
    transform: translate(0, 0);
    height: 50vh;
  }
  .v5_img img{
    width: 100%;
    height: auto;
  }
  .v2_left_img {
    display: none;
  }
  .victorina_slide_3 .v_blocks {
    align-items: center;
  }
  .victorina_slide_3.active .v_block_left {
    width: 100%;
  }
  .victorina_slide_3.active .die {
    margin-right: 0;
  }
  .die_sub_text {
    font-size: 25px;
  }
  .v_blocks {
    flex-direction: column;
  }
  .ponchiks {
    top: -30px;
  }
  .victorina_slide_1 .v_block_right img {
    width: 400px;
    height: auto;
  }
  .victorina_slide_1 .die {
    margin-bottom: 25px;
  }
  .victorina_slide_1 .v_btn {
    margin-bottom: 25px;
  }
  .v_btns {
    margin-left: 0;
    justify-content: space-around;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .victorina_slide_9 .die {
    width: 100%;
    margin-bottom: 25px;
  }
  .victorina_slide_9 .v_btn {
    margin-bottom: 25px;
  }
 
  .victorina_slide_9.active ~ .victorina_left {
    display: none!important;
  }
  .victorina_slide_9.active ~ .victorina_right {
    display: none!important;
  }
   .victorina_slide_9.active ~ .victorina_right_custom_v4 {
    display: none;
  }
  .victorina_slide_9.active ~ .victorina_right_mob_custom_v4 {
    display: block;
    z-index: 3;
    position: absolute;
    max-height: calc(50%);
    max-width: 100%;
    right: 0;
    bottom: 0px;
  }
  .victorina_slide_9.active ~ .victorina_right {
    display: block;
  }

}
@media (max-width: 900px) {
  .connect-left .v_btn{
    font-size: 25px;
    margin-left: 0;
  }
  .connect-right .v_btn{
    font-size: 20px;

  }
}
@media (max-width: 825px) {
  .victorina_center_custom_v11{
    height: auto;
    width: 100%;
    top: calc(50% + 80px);
    transform: translate(-50%, -50%);
  }
  .v_last_title{
    font-size: 9vw;
    color: #11447c;
  }
  .v_last_text{
    font-size: 6vw;
    color: #d61016;
  }
  .v_last_footer{
    font-size: 8vw;
    color: #11447c;
  }
  .find_pair {
    width: 30%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .pinchik {
    width: 230px;
    height: 150px;
  }
  .v2_logo {
    top: 43%;
  }
  .v2_touch {
    width: 185px;
    position: absolute;
    bottom: -77px;
    left: -96px;
  }
  .v2_btn{
    position: absolute;
  bottom: -77px;
    right: -96px;

}
}
@media (max-width: 720px) {
  .connect-left .v_btn{
    font-size: 18px;
  }
  .connect-right .v_btn{
    font-size: 16px;

  }
  .pinchik {
    width: 200px;
    height: 134px;
  }
  .pinchik_text {
    font-size: 25px;
    top: -30px;
  }
  .v2_logo {
    width: 48%;
    top: 40%;
  }
  .pinchik_img img {
    /* height: 73%; */
    width: 80%;
    transform: translate(16px, 0px);
  }
  .v2_touch {
    width: 185px;
    position: absolute;
    bottom: -60px;
    left: 10px;
  }
    .v2_btn{
    position: absolute;
      bottom: -77px;
    right: -96px;

}
  .ponchiks {
    top: 0;
  }
   .v6_block{
    width: 40%;
    margin-bottom: 10px;
  }
      .v6_block img {
        width: 200%;
    }
  
}
@media (max-width: 560px) {
  .victorina_slide_6.active .v_btn {
    min-width: 100px;
  }
    .victorina_slide_10.active .die_sub_text {
        font-size: 22px;
    }
  .find_pairs{
    margin-right: 0;
    justify-content: space-around;
  }
  .find_pair {
    width: 40%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .pinchik {
    width: 134px;
    height: 83px;
  }
  .ponchiks {
    position: relative;
    width: 294px;
    height: 360px;
    margin: 0 auto;
  }
  .pinchik_img img {
    /* height: 73%; */
    width: 56%;
    transform: translate(27px, 0px);
  }
  .pinchik_text {
    font-size: 17px;
    top: -24px;
  }
  .v2_touch {
    width: 117px;
    position: absolute;
    bottom: -37px;
    left: 25px;
  }
  .v2_btn{
    position: absolute;
    bottom: -20px;
        right: -39px;
        font-size: 16px;
  }
  .connect-left .v_btn{
    font-size: 16px;
  }
  .connect-right .v_btn{
    font-size: 14px;

  }
  .victorina_slide_3 ~ .victorina_left{
    width: 50%;
  }
  .v5_img{
    display: none;
  }
  .v5_btns{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 11px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-size: 15px;
  }
  .victorina_slide_10.active ~ .victorina_center_custom_v5{
    display: none;
  }
  .victorina_slide_10.active ~ .victorina_center_mob_custom_v5{
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
  }

}
@media (max-width: 457px) {
  .v9_btns{
    width: 100%;
  }
    .victorina_slide_16.active ~ .victorina_right_custom_v9{
    width: 83%;
    
    height: auto;
  }

   .connect-left .v_btn{
    font-size: 14px;
    min-width: auto;
    padding: 11px;
  }
  .connect-right .v_btn{
    min-width: auto;
    font-size: 12px;
    border-radius: 17px;

  }
}
@media (max-width: 425px) {
  .die_text {
    font-size: 22px;
  }
  .die_sub_text {
    font-size: 18px;
  }
  .v_btn {
    font-size: 16px;
  }
  .victorina_slide_1 .die {
    margin-bottom: 15px;
  }
  .victorina_slide_1 .v_btn {
    margin-bottom: 15px;
  }
  .v6_block img{
    width: 250%;
  }
  .v_btn{
    min-width: 100px;
  }
}



.piece{position:absolute;cursor:grab;touch-action:none;transition:transform 0.1s ease}
.piece.grabbing{cursor:grabbing;transform:scale(1.05)}
@media(max-width:650px){
  .board{width:100%;height:100vw; max-height:100vh;}
}
[data-id="cream"] {
  margin-bottom: 0!important;
}
[data-id="ultra"] {
  margin-bottom: 0!important;
}


.puzzle-container {
    width: 90%;
    max-width: 350px;
    aspect-ratio: 1/1;
    position: relative;
    margin: 0 auto;
    z-index: 10;
  }


  .board {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    touch-action: none;
  }

  