* {
    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;
}




#player_preview {

    flex-grow: 1;
    height: 100%;
    /* width: 100%; */
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    /* align-content: center; */
    justify-content: center;
    margin: 1em;
}

#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("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_2' data-name='Layer 2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200.18 200.21'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cg%3E%3Cpath d='m200.16,160.15v16.01h-7.88v15.76h7.88c0,2.46-.04,4.92.02,7.38.02.75-.15.9-.9.9-7.8-.03-15.6-.02-23.39-.02v-8.06h-24v-7.87h-7.68c-.06-.06-.12-.11-.18-.17v-7.81h-7.84v7.8c-.06.05-.11.11-.17.16h-8.05v-8.32h8v-7.81h-8.12v-23.8h-7.58v7.92h-8.03v15.71h7.96v8.13h-16.37v-7.97h-7.82v-7.96h-8.02v-7.86h-7.82v23.68h7.86v8.27h-15.65v7.58h23.71v-7.61h8.07v7.61h7.93v-7.59h8.26v15.96h-16.51v-7.92h-7.51v7.92h-32.28v-16.09h7.87v-15.99h-7.84v-16.21h15.64v-15.64h-7.42v7.86h-8.21v-8.07h7.82v-23.77h-7.82v7.98h-16v-8.19h7.83v-7.96h-15.93v-7.79h-7.84v-8.31h15.79v-7.8h-23.67v16.13h-8.09v7.56h7.99v8.32h-7.97v7.78h15.86v-7.84h8.07v15.77h15.9v8.16h-16.04v-7.83h-15.73v7.84h-8.3v-7.98H0v-16.01h7.93v-8.01H0v-16.01h15.89v-15.76H0v-8.26h16.08v7.88h15.98v-7.81h24.1v7.82h31.91v-8h7.89v-15.56h-7.9v7.78h-7.98v7.85h-8.09v-7.95h-7.88v-15.97h8.22v15.82h7.52v-7.95h8.23v-7.87h15.93v24.06h-7.59v7.94h7.58v16.08h-7.57v7.94h7.6v7.88h-8.03v-7.56h-7.94v7.72h-7.89v23.62h15.89v-7.74h7.84v-8.01h8.15v-39.89h23.99v8.03h-7.93v16.18h-7.7v7.42h15.67v-7.76h15.86v-8.01h15.79v-7.96h-7.68v-7.77h-8.05v-8.16h8.2v7.81h7.68v-7.87h32.26v8.26h-8.08v7.83h-7.81v7.93h7.89v8.02h8v8.01h-8.05v8.02c-2.75,0-5.36,0-7.96,0,0-2.64,0-5.28,0-7.96h-15.92v7.95h15.94v8.01h7.88v8.06h-7.87v8.05h-15.97v15.69h16.04v8.23h15.91ZM48.36,96.08h23.96v7.71h7.55v-15.77h8.06v-7.8h-31.88v7.97h-7.69v7.89Zm111.64,40.2h-23.74v23.74h23.74v-23.74Zm-15.95-24.26h15.92v-7.81h-23.86v8.03h-8.01v8.13h-7.69v15.61h7.49v-8.13h8.24v-7.78h7.91v-8.05Zm16.09,56.21v8h-7.88v7.81h15.62v-8.14h7.92v-7.67h-15.66Zm-64.2-24.21v-7.72h-7.73v7.72h7.73Zm8.26-7.77v7.74h7.75v-7.74h-7.75Zm79.82,47.82v-7.78h-7.73v7.78h7.73Zm-8.2-95.86h-7.62v7.77h7.62v-7.77Zm8.22-15.8h-7.79v7.39h7.79v-7.39Zm-80.27,87.62v-7.75h-7.38v7.75h7.38Zm-7.81-80.22v-7.41h-7.74v7.41h7.74Zm7.79,56.21v-7.78h-7.34v7.78h7.34Zm8.23-15.58h-7.78v7.34h7.78v-7.34Zm-63.59-48.05v7.33h7.51v-7.33h-7.51Zm127.42,48.09h-7.56v7.28h7.56v-7.28Zm-8.04-24.06h-7.53v7.37h7.53v-7.37Z'/%3E%3Cpath d='m56.04.02c.01,18.54.03,37.08.03,55.62,0,.11-.07.23-.13.43H0V.02h56.04ZM8.38,47.93h39.51V8.43H8.38v39.51Z'/%3E%3Cpath d='m200.16,56.07c-18.5.01-36.99.02-55.49.03-.16,0-.31-.05-.56-.09V.02C162.46.02,180.81.03,199.16,0c.86,0,1.03.17,1.02,1.02-.03,18.35-.02,36.7-.02,55.04Zm-47.92-47.66v39.52h39.54V8.41h-39.54Z'/%3E%3Cpath d='m0,144.14h56.04v56.04H0v-56.04Zm47.93,8.12H8.37v39.53h39.56v-39.53Z'/%3E%3Cpath d='m136.11.02v8.25h-15.65v23.69h7.39v-7.87h8.23v8.19h-7.89v7.72h-16.07v-7.62h-8.13v-8.35h7.95v-15.62h-15.85V.02h40.03Z'/%3E%3Cpath d='m88.07.02v15.91h8.13v16.3h-8.13v-7.85h-7.94v7.83h-16.08V.02h24.02Zm-15.69,23.87h7.36v-7.71h-7.36v7.71Z'/%3E%3Cpath d='m144.21,184.26c-.03,5.31-.06,10.62-.1,15.93h-8.01c-.03-5.31-.06-10.63-.08-15.94.06-.05.11-.11.17-.16,2.61,0,5.23,0,7.84,0,.06.06.12.11.18.17Z'/%3E%3Cpath d='m136.06,64.05h-8.04v-15.92h8.04v15.92Z'/%3E%3Cpath d='m120.22,64.07h-8.05v-15.71c2.6-.73,5.29-.14,8.05-.37v16.08Z'/%3E%3Cpath d='m152.07,152.09h-7.92v-7.93h7.92v7.93Z'/%3E%3Cpath d='m39.99,40.05h-23.91v-23.98h23.91v23.98Z'/%3E%3Cpath d='m160.17,16.05h23.92v23.98h-23.92v-23.98Z'/%3E%3Cpath d='m16.02,184.13v-23.91h23.98v23.91h-23.98Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* max-height: 220px; */
    /* background-size: 90%; */
    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;
}

/*.screen-block.active {
    opacity: 1;
    pointer-events: auto;
}*/




/* 🔽 Дополнительная адаптация для экранов до 480px (мобильные) */
/*    @media (max-width: 480px) {
      .text-content h1 {
        font-size: 28px;
      }

      .text-content p {
        font-size: 14px;
      }

      #phone_frame {
        width: 320px;
        height: 560px;
      }
    }*/




#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);
}


#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 {
    /*font-weight: 600;*/
    /*font-size: .7em;*/
    /*text-transform: uppercase;*/
    color: #262627;
    text-shadow: 0 0 1px rgba(0, 0, 0, .3);
    margin: .5em 0;
}

.subCont1_rev span {
    /*font-size: .9em;*/
    /*line-height: 10px;*/
}

/*.subCont1_rev a {
    color: white;
    text-decoration: dashed underline;
}*/




.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;

}

/*.cont2 a:link {
  color: #ddf;
    text-decoration: dashed underline;
}*/


/*.cont2 a:hover {
  color: #F00;
}

.cont2 a:active {
  color: #Faa;
} */




#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;
}

#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: 50%;
    transform: translateY(50%);
    /*width: 100%;*/
    justify-content: center;
    gap: 1em;
    /*transition: opacity 1s ease;*/
    /*opacity: 1;*/
    z-index: 3;
}


#bottom_options div {
width: 3em;
  height: 3em;
  color: white;
  border-radius: 0 2.5em 2.5em 0;
    background-color: #ffffff78;
    /*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);*/
    display: none;color: black;
  text-align: center;
  line-height: 3em;
}

#btn_option_1 {
  outline: rgb(0, 0, 0) solid 4px;
}


#btn_option_1 div {
    display: block;
    background: url("./jquery_BF5KRT-c.webp") center center / 100% no-repeat;
}

#btn_option_2 div {
    display: block;
    background: url("./jquery_4IwGNmfD.webp") center center / 100% no-repeat;
}


#btn_option_3 div {
    display: block;
    background: url("./jquery_B7K_awLH.webp") center center / 100% no-repeat;
}


#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;
}

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

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


#option_group {
    display: flex;
    /*position: absolute;*/
    /*bottom: 10em;*/
    /*width: 100%;*/
    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 {

    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;
    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;
    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;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*width: 100%;*/
    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;
    /*z-index: 999;*/
    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;
}

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



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

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


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

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

#pic3 {
    border: 4px solid white;
    background-image: url("./jquery_WeoFH-Ui.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_CBjbF3f2.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#pic2 {
    border: 4px solid white;
    background-image: url("./jquery_DzDMhZXn.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;*/
}

.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;
}

.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: 20%;
    width: 100%;
    justify-content: center;
    gap: 1em;

}

#share_close {
    padding-left: 1em;
    color: #000;
    border-radius: 0.5em;
    background-color: #fffffff7;
    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: 3em;
}

#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 {

    padding-left: 1em;
    color: #000;
    border-radius: 0.5em;
    background-color: #fffffff7;
    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: 3em;
}

#share_save div {
    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 {

    padding-left: 1em;
    color: #000;
    border-radius: 0.5em;
    background-color: #fffffff7;
    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: 3em;
}

#share_share 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%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: fixed;
    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;
    }
}




#chatButton {
    display: none;
    /*display: flex;*/
    position: fixed;
    top: 2em;
    /*transform: translateY(50%);*/
    right: 0;
    background-color: white;
    color: white;
    border-radius: 10% 0 0 10%;
    width: 35px;
    height: 55px;
    ;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#chatBox {
    position: fixed;
    top: 1em;
    right: 40px;
    width: 280px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 30px black;
    z-index: 1;
    /*transform: translateY(50%);*/
}

#chatBox textarea {
    border: none;
    resize: none;
    padding: 10px;
    height: 80px;
    border: 1px solid #000;
    outline: none;
    border-radius: 1em 1em 0 0;
}

#chatBox button {
    border: none;
    background: #0088cc;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
}




.userMsg {
    background: #e0f7fa;
    padding: 5px;
    margin: 3px;
    border-radius: 5px;
}

.adminMsg {
    background: #fff9c4;
    padding: 5px;
    margin: 3px;
    border-radius: 5px;
}




.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;
    }

    .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;
    }


}