* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #313c78;
    font-family: 'Inter', sans-serif;
    /*font-size: 1.2rem;*/
    line-height: 1.4;
    color: #282829;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);

}

/*ul {
    padding-inline-start: 20px;
}*/

ul {
    list-style: none;
    padding: 0;
    max-width: 500px;
}

li {
    border-bottom: 1px solid #333;
    cursor: pointer;
    position: relative;
    margin: 0.5em 0;
    border-radius: .5em;
    overflow: hidden; /* important for animation */
}

li span {
    text-decoration: underline dotted;
    background-color: white;
    width: 100%;
    display: inline-block;
    padding: 0.5em;
    border-radius: .5em;
}

li:hover {
    background-color: #f0f0f0;
}

/* Animate details */
li .details {
    max-height: 0;               /* start closed */
    overflow: hidden;
    text-decoration: none !important;
    background-color: #e0e0e0;
    padding: 0 0.5em;            /* only horizontal padding when closed */
    border-radius: 0 0 .5em .5em;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* When open */
li.open .details {
    max-height: 500px;           /* big enough for content */
    padding: 0.5em;              /* add vertical padding when open */
    cursor: default;
}
/* When open */
li.open > span {
    
    border-radius: .5em .5em 0 0;
}




#qr_title {

    display: block;
    background-color: white;
    border-radius: .5em .5em 0 0;
    text-align: center;
    padding: 0.5em;
    margin-top: auto;

}


#qr_code {
    display: block;
    
    background-image: url("./jquery_sL7w8608.svg");
    background-size: 115%;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    /*width: 100%;*/
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: .5em;
    /*max-width: 220px;*/
    /*flex-shrink: 1;*/
    /* flex-grow: 1; */
    flex-basis: 220px;
    border: 10px solid white;
}



#player_mobile {
    display: none;
    background-color: white;
    padding: 1em;
    margin: auto 1em;
    border-radius: 1em;

}




#container {
    width: 55%;
    margin-left: auto;
}

.text-content {
    /* YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME */
    /*display: none; */
    max-width: 600px;
    padding: 0.5em 1em 1em 1em;
    margin: 1.5em 1em;
    border-radius: 1em;
    background-color: #ffffff9e;
    /*box-shadow: inset 0 0 10px rgb(49, 60, 120);*/
}


.text-content p {
    font-size: 16px;
    line-height: 1.6;
}



.phone-preview {
    position: fixed;
    left: 0;
    /* YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME */
    /*width: 100%;*/
    width: 45%;
    border: 0;
    padding-right: 1em;
    padding-left: 1.5em;
    top: 1.5em;
}

#phone_frame {
    background-color: #000;
    border-radius: 18px;
    /*box-shadow: 0 0 30px #71e5f83d;*/
    box-shadow: 0 0 20px #71e5f86e;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .5em;
    /*max-height: 95vh;*/
    aspect-ratio: 9 / 18;
    margin-left: auto;
    /*max-height: 800px;*/
    /*max-height: 95vh;*/
    /*height: 768px;*/
    max-height: min(800px, 95vh);
    /* YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME YOURNAME */
/*    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.5s;*/
}

#front_camera {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #1f1f1f;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
}



.screen-placeholder {
    width: 100%;
    height: calc(100% - 1em);
    position: relative;
    /*overflow: auto;*/
}


.screen-block {
    position: absolute;
    inset: 0em;
    background-color: #b0b4cb;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    /*color: #fff;*/

    /*opacity: 0;*/
    /*pointer-events: none;*/
    transition: opacity 0.3s ease;
    z-index: 1;
}




#canvas {
    height: 100%;
    width: 100%;
}



#canvas_snap {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    background-color: #666;
    overflow: hidden;
    display: block;
    left: 0;
    top: 0;
    pointer-events: none;
}

#canvas_screen {
    opacity: 0;
    display: none;
}




#snap_logo {
    display: block;
    position: absolute;
    top: .5em;
    left: .5em;
    height: 3em;
    z-index: 999;

}




#snap_close {
    position: absolute;
    right: 1em;
    top: 1em;
    border-radius: 3em;
    background-color: #0000;
    cursor: pointer;
    width: 2em;
    height: 2em;
    z-index: 6;
    filter: drop-shadow(0 0 3px #66666657);
}


#snap_close div {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-color: white;
    height: 100%;
    width: 100%;
    display: block;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    scale: 1.3;
}



#full_screen {
    position: absolute;
    right: 4.5em;
    top: 1em;
    border-radius: 3em;
    background-color: #0000;
    cursor: pointer;
    width: 2em;
    height: 2em;
    z-index: 3;
    filter: drop-shadow(0 0 3px #66666687);
}


#full_screen div {
    height: 100%;
    width: 100%;
    display: block;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}


.full-screen-icon {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-maximize'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    background-color: white;
}

.full-screen-icon.minimized {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-minimize'%3E%3Cpath d='M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}



#hide_buttons {
    position: absolute;
    right: 1em;
    top: 4em;
    border-radius: 3em;
    background-color: #0000;
    cursor: pointer;
    width: 2em;
    height: 2em;
    z-index: 3;
    filter: drop-shadow(0 0 3px #66666687);
}


#hide_buttons div {
    height: 100%;
    width: 100%;
    display: block;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}



.hide-button-icon {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-toggle-right'%3E%3Crect x='1' y='5' width='22' height='14' rx='7' ry='7'%3E%3C/rect%3E%3Ccircle cx='16' cy='12' r='3' fill='white'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
    background-color: white;
}

.hide-button-icon.hidden {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-toggle-left'%3E%3Crect x='1' y='5' width='22' height='14' rx='7' ry='7'%3E%3C/rect%3E%3Ccircle cx='8' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
}



#mute_button {
    /*display: none;*/
    position: absolute;
    right: 1em;
    top: 7em;
    border-radius: 3em;
    background-color: #0000;
    cursor: pointer;
    width: 2em;
    height: 2em;
    z-index: 3;
    filter: drop-shadow(0 0 3px #66666687);
    opacity: 0.5;
}


#mute_button div {
    height: 100%;
    width: 100%;
    display: block;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}



.mute-button-icon {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-volume-x'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'%3E%3C/polygon%3E%3Cline x1='23' y1='9' x2='17' y2='15'%3E%3C/line%3E%3Cline x1='17' y1='9' x2='23' y2='15'%3E%3C/line%3E%3C/svg%3E") no-repeat center;

    background-color: white;
}

.mute-button-icon.unmuted {
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-volume-2'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'%3E%3C/polygon%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}





#mobile_menu p {
    margin: 1em;
}

#mobile_menu h2 {
    flex-grow: 1;
    align-content: space-evenly;
    /*margin-top: 2em;*/
}


#mobile_menu {
    box-sizing: border-box;
    /*color: #fff;*/
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*gap: 1em;*/
    /*padding: .5em;*/
    padding-top: 2em;
    pointer-events: auto;
}



.menu-list.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.menu-item {
    width: 100%;
}

.menu-btn {
    width: 100%;
    text-align: left;
    padding: .5em;
    /*font-size: 1em;*/
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
    height: 100%;
    display: inline-block;
    color: black;

}

.menu-btn:hover {
    background: #e0e0ff;
}



.menu-desc {
    flex: 1;
    margin: 0;
    font-size: 14px;
    color: #fff;
}




.cont_footage {
    display: flex;
    flex-direction: row;
    align-content: center;
    /*justify-content: center;*/
    flex-wrap: wrap;
    gap: 0.5em;
}




.subCont1_rev {
    /*scale: 0.9;*/
    text-align: center;
    min-width: 140px;
    border-radius: .5em;
    padding: .8em;

    -webkit-transition: background .5s ease-out;
    -moz-transition: background .5s ease-out;
    -o-transition: background .5s ease-out;
    transition: background .5s ease-out;

    background-color: #00000038;
    text-decoration: none;
}

.subCont1_rev:hover {
    background: #1020a538;
}


.subCont1_rev img {
    height: 3em;
}

.subCont1_rev p {
    color: #262627;
    text-shadow: 0 0 1px rgba(0, 0, 0, .3);
    margin: .5em 0;
}




.aicon {

    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 12 12' style='enable-background:new 0 0 12 12;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cpath class='st0' d='M6,1h5v5L8.9,3.8L4.7,8L4,7.3l4.1-4.2L6,1z M2,3h2v1H2v6h6V8h1v2c0,0.6-0.4,1-1,1H2c-0.6,0-1-0.4-1-1V4 C1,3.4,1.4,3,2,3z'/%3E%3C/svg%3E%0A");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.857em;
    padding-right: 1.2em;

    text-decoration: dashed underline;

}



#bottom_buttons {
    display: none;
    position: absolute;
    bottom: 7%;
    width: 100%;
    justify-content: center;
    gap: 1.5em;
    /*transition: opacity 1s ease;*/
    /*opacity: 1;*/
    z-index: 3;
}


#bottom_buttons_2 {
    display: flex;
      position: absolute;
      bottom: 0;
      width: 100%;
      justify-content: space-between;
      z-index: 3;
}

#bottom_buttons_2 div {
    background-color: #0000006b;
  padding: 0.5em 1em;
  font-size: 15px;
  cursor: pointer;
  color: white;
  /*width: 11em;*/
}

#bottom_buttons_2 div:first-child {
  border-radius: 0 1em 0 10px;
}
#bottom_buttons_2 div:last-child {
  border-radius: 1em 0 10px 0;
}

#bottom_options {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 20%;
    /*transform: translateY(50%);*/
    /*width: 100%;*/
    justify-content: center;
    gap: .5em;
    /*transition: opacity 1s ease;*/
    /*opacity: 1;*/
    z-index: 3;
    left: -.5em;
}


#bottom_options::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  width: .5em;               /* border thickness */
  background: #000;         /* border color */
  pointer-events: none;     /* don't block clicks */
    z-index: 10;
}


#bottom_options div {
    display: block;
width: 3em;
  height: 3em;
  color: white;
  border-radius: 0 2.5em 2.5em 0;
    background-color: #ffffffff;
    box-shadow: 0px 0px .5em rgba(0, 0, 0, .3);
    transition: transform .3s ease-in-out;
    /*box-shadow: rgb(255, 255, 255) 0px 0px 1em;*/
    /*outline: rgb(0, 0, 0) solid 4px;*/
    /*transform: scale(1);*/
    color: black;
  text-align: center;
  line-height: 3em;
  position: relative;
}


#bottom_options div.selected {
    outline: rgb(0, 0, 0) solid 3px;
  box-shadow: 0px 0px 1em rgb(255, 255, 255);
  left: .5em;
}

/*


#btn_option_1 div {
    display: block;
}


#btn_option_2 div {
    display: block;
}


#btn_option_3 div {
    display: block;
}


#btn_option_4 div {
    display: block;
}


#btn_option_5 div {
    display: block;
}


#btn_option_6 div {
    display: block;
}*/




#snap_switch_cam {
    width: 4em;
    height: 4em;
    color: white;
    border-radius: 2.5em;
    background-color: white;
    box-shadow: 0px 0px .5em rgba(0, 0, 0, .3);
    transform: scale(.7);
    transition: transform .3s ease-in-out;
}

#snap_switch_cam div {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E") no-repeat center;
    background-color: black;
    height: 100%;
    width: 100%;
    display: block;
    transform: scale(1.4);
}

#photo_snap {
    width: 4em;
    height: 4em;
    color: white;
    border-radius: 2.5em;
    background-color: white;
    box-shadow: 0px 0px .5em rgba(0, 0, 0, .3);
    transform: scale(.7);
    transition: transform .3s ease-in-out;
}

#photo_snap div {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-camera'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'%3E%3C/path%3E%3Ccircle cx='12' cy='13' r='4'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
    background-color: black;
    height: 100%;
    width: 100%;
    display: block;
    transform: scale(1.4);
}


#capture_snap {
    width: 4em;
    height: 4em;
    color: white;
    border-radius: 2.5em;
    background-color: white;
    box-shadow: 0px 0px .5em rgba(0, 0, 0, .3);
    transform: scale(1);
    transition: transform .3s ease-in-out;
}

#capture_snap div {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='red' stroke='currentColor' stroke-width='0' stroke-linecap='round' stroke-linejoin='round' class='feather feather-circle'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
    background-color: red;
    height: 100%;
    width: 100%;
    display: block;
    transform: scale(1.4);
    position: absolute;
}



.circle-with-shadow {
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}




#record_svg {
    display: none;
    position: absolute;
    width: 4em;
    height: 4em;
    color: white;
    /*    bottom: 3vh;*/
    left: 50%;
    transform: translate(-50%, 0) scale(1.3) rotate(-90deg);
    transition: opacity .5s linear;
}


#record_svg_full {
    display: inline-block;
    position: absolute;
    opacity: .3;
    width: 4em;
    height: 4em;
    color: white;
    /*    bottom: 3vh;*/
    left: 50%;
    transform: translate(-50%, 0) scale(1.3) rotate(-90deg);
    transition: opacity .5s linear;
}



.circle_border {
    animation: drawCircle 15s linear infinite;
}

@keyframes drawCircle {
    from {
        stroke-dashoffset: 565;
        /* Начальный отступ, полностью скрыта */
    }

    to {
        stroke-dashoffset: 0;
        /* Конечный отступ, граница нарисована */
    }
}




#play_button {
    display: block;
    padding: .5em;
    background: linear-gradient(135deg, #4152af, #313c78);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin: .5em auto;
    /*margin-top: 1em;*/
    width: 250px;
}




.back_to_main {
    display: none;
    padding: .5em;
    background:linear-gradient(135deg,#7284e9,#6840af);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin: 1.5em auto;
    /*margin-top: 1em;*/
    width: 250px;
}


.back_to_main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.back_to_main:active {
    transform: scale(0.98);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


#option_group {
    /*display: flex;*/
    display: none;
    gap: 3%;
    flex-direction: row;
    justify-content: center;
    padding: 1.5em 0 0 0;
    width: 95%;
    margin: 0 auto;
    flex-wrap: wrap;
    color: #e5e6ef;
}


.option_group_btn {

    padding: .2em 1em;
    background-color: #3b4a9b;
    border-radius: .3em .3em 0 0;
    font-size: 14px;
    /*box-shadow: 0 0 .3em #0000003b;*/

}

/*#cloud-conversion {
    display: none;
    margin: .8em;
    text-align: center;
    font-size: 15px;
}*/

#popup_help_cloud {

    cursor: pointer;

}




/************    OPTION BUTTONS     ************/

#option_buttons_block {
    background: white;
    width: 100%;
    border-radius: 0 0 .7em .7em;


}

#left_grad {
    position: absolute;
    left: 0;
    /*height: 15.8em;*/
    height: 13.6em;
    width: 1em;
    background: linear-gradient(to right, #b0b4cbff, #b0b4cb00);
    z-index: 999990;
    border-radius: 0 0 0 0.7em;


}

#right_grad {
    position: absolute;
    right: 0;
    /*height: 15.8em;*/
    height: 13.6em;
    width: 1em;
    background: linear-gradient(to right, #b0b4cb00, #b0b4cbff);
    z-index: 999990;
    border-radius: 0 0 0.7em 0;

}

#left_grad_button {
    display: none;
    position: absolute;
    left: 0;
    height: 5em;
    width: 2em;
    z-index: 999990;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150%;
    filter: drop-shadow(-2px 0 4px #333333cc);
    transform: translateY(.55em);


}

#right_grad_button {
    position: absolute;
    right: 0;
    height: 5em;
    width: 2em;
    z-index: 999990;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150%;
    filter: drop-shadow(-2px 0 4px #333333cc);
    transform: translateY(.55em);

}



.option_buttons {
    display: flex;
    gap: .8em;
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #888 #eee;
    /* Firefox: thumb and track */
    padding: 1em;
    height: 9.5em;
    line-height: 1em;
}

.option_buttons::-webkit-scrollbar {
    height: 8px;
}

.option_buttons::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 4px;
}


.option_buttons::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
    border: 2px solid #eee;
    /* Optional: adds padding inside thumb */
}



#group_1_block {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* плавный скролл на iOS */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #888 #f1f1f1;
    /* Firefox */
    scroll-behavior: smooth;
    /* CSS  */
}

/* Chrome / Edge / Safari */
#group_1_block::-webkit-scrollbar {
    height: 6px;
}

#group_1_block::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#group_1_block::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#group_1_block::-webkit-scrollbar-thumb:hover {
    background: #555;
}




.option_buttons div {
    display: block;
    width: 4em;
    height: 4em;
    border-radius: 2.5em;
    box-shadow: 0px 0px .5em rgba(0, 0, 0, .3);
    transition: transform .3s ease-in-out;
    flex: 0 0 auto;
    border: 4px solid white;
}


#pic5 {
    border: 4px solid white;
    background-image: url("./jquery_CPEizjZ4.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


#pic1 {
    border: 4px solid white;
    background-image: url("/assets/pic_visual_3.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic3 {
    border: 4px solid white;
    background-image: url("./jquery_DqF3D6oB.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic21 {
    border: 4px solid white;
    background-image: url("./jquery_BF5KRT-c.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic22 {
    border: 4px solid white;
    background-image: url("./jquery_CJ4DhRJG.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic23 {
    border: 4px solid white;
    background-image: url("./jquery_CvOqYSwx.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic4 {
    border: 4px solid white;
    background-image: url("./jquery_WeoFH-Ui.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic2 {
    border: 4px solid white;
    background-image: url("/assets/pic_games_2.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /*filter: grayscale(100%);*/
    /*opacity: 0.5;*/
}


#pic6 {
    border: 4px solid white;
    background-image: url("./jquery_CvOqYSwx.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
/*    filter: grayscale(100%);
    opacity: 0.5;*/
}

#pic7 {
    border: 4px solid white;
    background-image: url("./jquery_CkUQoF1U.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.5;
}

.snap_menu_title {
    text-align: center;
    position: relative;
    top: 5em;
    padding: 0.3em 0.2em;
    font-size: small;
    display: block;
}




.preview_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 4;
    bottom: 0;
    border-radius: 10px;
}

.preview {
    position: absolute;
    width: 90%;
    height: 90%;
    bottom: 0;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));

}


.preview img {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);

}

.preview video {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;

}


#convert_loading {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #00000085;
    color: white;
    /*font-size: xx-large;*/

    display: none;
    justify-content: center;
    /* Горизонтальное центрирование */
    align-items: center;
    /* Вертикальное центрирование */
    flex-direction: column;

    border-radius: 10px 10px 0 0;
    text-align: center;
}


#convert_loading p {
    max-width: 300px;
    margin: 1em;
}




#share_block {
    display: none;
    z-index: 5;
    position: absolute;
    bottom: 3em;
    width: 100%;
    justify-content: center;
    gap: 1em;
    flex-direction: column-reverse;
    pointer-events: none;
}


#share_block div {
/*width: max-content;*/
  margin: 0 auto;
  pointer-events: auto;
}

.save_block {
    padding-left: 1em;
    color: #000;
    border-radius: 0.5em;
    background-color: #ffffff70;
    box-shadow: 0 0 .5em #0000004d;
    transition: transform .3s ease-in-out;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: medium;
    height: 2.5em;
}

#share_close div {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
    background-color: #000;
    height: 2em;
    width: 3em;
    display: block;
}


.share_save {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4c0 1.1-0.9 2-2 2H5c-1.1 0-2-0.9-2-2v-4'/%3E%3Cpolyline points='7,10 12,15 17,10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center;
    background-color: #000;
    height: 2em;
    width: 3em;
    display: block;
}


.share_share {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E") no-repeat center;
    background-color: #000;
    height: 2em;
    width: 3em;
    display: block;
}




#loader {
    display: none;
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #993333;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}




/*#camera-container {
    position: relative;
    width: 100%;
    height: 100%;
}*/

#camera_switching_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9;
    display: none;
    /* Показывать только при переключении */
}

.spinner {
    position: relative;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    border: 6px solid #fff;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    position: relative;
    top: -44px;
    /*left: 6px;*/
    font-size: large;
    color: #fff;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

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




/************    LOADING SCREEN     ************/




#loading_flex {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    /*height: 100%;*/
    color: white;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.17));
}


#vto_loading {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-family: sans-serif;
    text-align: center;
}

#vto_loading_overlay {
    opacity: 1;
    z-index: 5;
}




.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 50px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}




@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}




#loading_effect_switch {
    position: absolute;
    color: white;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    filter: drop-shadow(0 0 3px #000);
}




.open-popup-btn {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Popup overlay */
.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    /* Blur background */
    background: rgba(0, 0, 0, 0.4);
    /* Optional semi-transparent dark layer */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    pointer-events: auto;
    /* Blocks clicks to background */
}


.popup-overlay-mobile {
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    /* Blur background */
    background: rgba(0, 0, 0, 0.4);
    /* Optional semi-transparent dark layer */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    pointer-events: auto;
    /* Blocks clicks to background */
    border-radius: 8px;
    height: 100%;
    width: 100%;

}

.popup {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
    pointer-events: auto;
    /* Popup clickable */
}

.close-popup {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 40px;
    font-weight: 100;
    color: #333;
    cursor: pointer;
}

@media (max-width: 480px) {
    .popup {
        padding: 15px 20px;
        width: 90%;
        margin: 1em;
    }

    .open-popup-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}





.disableSelection {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
    /*z-index: 99999;*/
}




@media (max-width: 768px) {
    #container {
        width: 100%;
        padding: 0.5em;
    }

    .text-content {
        margin: 1.5em auto;
        /*max-width: 500px;*/
        max-width: 90vw;
        /*z-index: -1;*/
        position: relative;
    }

    .text-content:first-of-type {
        /* Styles for the first .text-content div */
        display: none;
    }

    /*  
      .text-content h1 {
        font-size: 36px;
      }

      .text-content p {
        font-size: 16px;
        max-width: none;
      }*/

    #phone_frame {
        /*        height: 90vh;
        aspect-ratio: auto;
        width: 100%;
        margin: 0 auto;
        max-width: 500px;*/
        aspect-ratio: 9 / 15;
        margin: 0 auto;
        /*max-width: 500px;*/
        /*min-height: 650px;*/
        max-width: 400px;
    }

    .phone-preview {
        position: static;
        width: auto;
        transform: translateY(0%);
        padding: .5em 0 1.5em 0;
    }



    #qr_title {
        display: none;
    }


    #qr_code {
        display: none;
    }

    #player_mobile {
        display: block;
        line-height: 1.2em;
    }

    #front_camera {
        display: none;
    }

    #mobile_menu {
        padding-top: 0em;
    }


}