@-webkit-keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@-webkit-keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@-webkit-keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@-webkit-keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

@keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

.welcome__image {
    background-position: 50%;
    background-size: cover;
    filter: blur(5px);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1
}

.action-buttons {
    align-items: center;
    -moz-column-gap: 27px;
    column-gap: 27px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--margin-between-sections);
    row-gap: 20px
}

.action-button {
    border-radius: 29px;
    color: var(--color-baset-text-primary);
    flex-shrink: 1;
    font-size: 18px;
    font-weight: 600;
    height: 57px;
    line-height: 1.2em;
    max-width: 354px;
    transition: var(--transition-primary);
    width: 100%
}

@media (max-width: 839px) {
    .action-button {
        max-width: none
    }
}

.action-button-back {
    align-items: center;
    background-color: #e8edf3;
    -moz-column-gap: 10px;
    column-gap: 10px;
    display: flex;
    justify-content: space-between;
    padding-left: 17px;
    padding-right: 46px
}

.action-button-back:hover {
    background-color: #dde1ea
}

@media (max-width: 839px) {
    .action-button-back span {
        flex-grow: 1;
        text-align: center
    }
}

.action-button-back__icon {
    stroke: var(--color-base-text-primary);
    flex-shrink: 0;
    height: 20px;
    transform: rotate(180deg);
    width: 22px
}

.action-button-try {
    align-items: center;
    background: var(--gradient-primary-dark);
    display: flex;
    justify-content: center;
    padding: 0 16px;
    position: relative
}

.action-button-try:before {
    background-color: var(--color-page-bg);
    border-radius: 26px;
    content: "";
    height: calc(100% - 6px);
    position: absolute;
    transition: inherit;
    width: calc(100% - 6px)
}

.action-button-try:hover {
    color: var(--color-base-text-primary)
}

.action-button-try:hover:before {
    opacity: 0
}

.action-button-try span {
    position: relative
}


@-webkit-keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@-webkit-keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@-webkit-keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@-webkit-keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

@keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

.main {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: -78px;
    padding-bottom: 100px;
    width: 100%
}

@media (max-width: 699px) {
    .main {
        padding-bottom: 50px
    }
}

.welcome {
    align-items: flex-end;
    display: flex;
    justify-content: center;
    min-height: 380px;
    overflow: hidden;
    padding: 110px var(--padding-section-side) 62px;
    position: relative;
    width: 100%
}

.welcome:before {
    background: var(--gradient-primary-dark);
    content: "";
    height: 100%;
    left: 0;
    opacity: .69;
    position: absolute;
    top: 0;
    width: 100%
}

.welcome__content {
    background-color: var(--color-page-bg);
    border-radius: 56px;
    max-width: 519px;
    padding: 32px 52px 42px;
    position: relative;
    text-align: center
}

.welcome__content .main-title {
    margin-top: 20px;
    word-break: break-word
}

.welcome__description {
    color: #252b36;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px
}

.welcome {
    background-image: url(/pictures/webp/botScripts/welcome-bg_ru.webp);
    background-position: 50%;
    background-repeat: no-repeat
}

@media (max-width: 550px) {
    .welcome {
        background-image: none
    }
}

.welcome[data-lang=en] {
    background-image: url(/pictures/webp/botScripts/welcome-bg_en.webp)
}

@media (max-width: 550px) {
    .welcome[data-lang=en] {
        background-image: none
    }
}

.welcome__content[data-page=category] {
    max-width: 620px
}

.scripts {
    margin-top: var(--margin-between-sections);
    max-width: 1498px;
    padding-left: var(--padding-section-side);
    padding-right: var(--padding-section-side);
    width: 100%
}

.section-title-container {
    align-items: center;
    -moz-column-gap: 15px;
    column-gap: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px
}

.section-title-container .section-title {
    margin: 0
}

.b24-window-panel {
    left: 0;
    margin: 0 auto;
    right: 0;
    top: 0
}

.suggest-template-button {
    align-items: center;
    background-color: var(--color-block-bg);
    border-radius: 16px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    display: flex;
    padding: 14px 20px 14px 16px;
    transition: var(--transition-primary)
}

.suggest-template-button:hover {
    background-color: var(--color-block-bg-hover)
}

.suggest-template-button_icon {
    fill: var(--color-base-text-primary);
    height: 10px;
    width: 5px
}

.categories {
    margin-top: 7px
}

@media (max-width: 699px) {
    .categories {
        margin-top: 10px
    }
}

.categories__title {
    color: var(--color-section-description);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2em
}

@media (max-width: 699px) {
    .categories__title {
        font-size: 17px
    }
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 29px
}

@media (max-width: 699px) {
    .categories-list {
        margin-top: 20px
    }
}

.categories-item {
    background-color: var(--color-block-bg);
    border-radius: 16px;
    overflow: hidden;
    padding: 14px 16px;
    position: relative
}

.categories-item_selected {
    background: var(--gradient-primary-dark)
}

.categories-item:not(.categories-item_selected):before {
    background: var(--gradient-primary-dark);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: var(--transition-primary);
    width: 100%
}

.categories-item:not(.categories-item_selected):hover:before {
    opacity: 1
}

.categories-item span {
    position: relative
}

.scripts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 32px
}

@media (max-width: 1000px) {
    .scripts-list {
        gap: 20px
    }
}

@media (max-width: 699px) {
    .scripts-list {
        margin-top: 25px
    }
}

.scripts-list .section-description {
    margin-top: 100px;
    text-align: center;
    width: 100%
}

.scripts-item {
    border: 3px solid #d5daf1;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 18px;
    transition: var(--transition-primary);
    width: 447px
}

.scripts-item:hover {
    background-color: #2a2c2f;
    border-color: #2a2c2f
}

.scripts-item:hover .content-title {
    color: var(--color-base-text-secondary)
}

.scripts-item:hover .scripts-item__description {
    color: hsla(0, 0%, 100%, .8)
}

.scripts-item:hover .scripts-item__button {
    color: var(--color-base-text-secondary)
}

.scripts-item:hover .scripts-item__button:before {
    background-color: #2a2c2f;
    opacity: 1
}

.scripts-item:hover .scripts-item__button:hover {
    color: var(--color-base-text-primary)
}

.scripts-item:hover .scripts-item__button:hover:before {
    opacity: 0
}

.scripts-item .content-title {
    margin-top: 18px;
    padding: 0 21px;
    transition: var(--transition-primary)
}

@media (max-width: 1000px) {
    .scripts-item .content-title {
        margin-top: 12px
    }
}

@media (max-width: 1505px) {
    .scripts-item {
        width: calc(50% - 17px)
    }
}

@media (max-width: 1000px) {
    .scripts-item {
        padding-bottom: 12px;
        width: calc(50% - 10px)
    }
}

@media (max-width: 768px) {
    .scripts-item {
        width: 100%
    }
}

.scripts-item__image {
    aspect-ratio: 441/160;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

@media (max-width: 1000px) {
    .scripts-item__image {
        aspect-ratio: 2
    }
}

@media (max-width: 768px) {
    .scripts-item__image {
        aspect-ratio: 441/160
    }
}

.scripts-item__description {
    color: rgba(37, 43, 54, .8);
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    margin-top: 12px;
    padding: 0 21px;
    transition: var(--transition-primary);
    word-break: break-word
}

@media (max-width: 1000px) {
    .scripts-item__description {
        margin-top: 10px
    }
}

.scripts-item__button {
    background: var(--gradient-primary-dark);
    border-radius: 30px;
    height: 57px;
    margin: 18px 21px 0;
    position: relative;
    transition: var(--transition-primary)
}

.scripts-item__button:before {
    background-color: var(--color-page-bg);
    border-radius: 26px;
    content: "";
    height: calc(100% - 6px);
    position: absolute;
    transition: inherit;
    width: calc(100% - 6px)
}

.scripts-item__button[data-button=copy_template]:before {
    opacity: 0
}

@media (max-width: 1000px) {
    .scripts-item__button {
        margin-top: 12px
    }
}

.scripts-item__button span {
    position: relative
}

main.main {
    max-width: none;
}

main.main a {
    text-decoration: none;
    color: inherit;
}


@-webkit-keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fill {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes fade {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@-webkit-keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@keyframes copyTextSupport {
    0% {
        transform: translateY(-45px)
    }

    23% {
        transform: translateY(43px)
    }

    77% {
        transform: translateY(43px)
    }

    to {
        transform: translateY(-45px)
    }
}

@-webkit-keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@keyframes move-gradient-3colors {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(66.7%)
    }
}

@-webkit-keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

@keyframes skeletonFlare {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(200%)
    }
}

.main {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: -78px;
    padding-bottom: 100px;
    width: 100%
}

@media (max-width: 699px) {
    .main {
        padding-bottom: 50px
    }
}

.welcome {
    align-items: flex-end;
    display: flex;
    justify-content: center;
    min-height: 380px;
    overflow: hidden;
    padding: 110px var(--padding-section-side) 62px;
    position: relative;
    width: 100%
}

.welcome:before {
    background: var(--gradient-primary-dark);
    content: "";
    height: 100%;
    left: 0;
    opacity: .69;
    position: absolute;
    top: 0;
    width: 100%
}

.welcome__content {
    background-color: var(--color-page-bg);
    border-radius: 56px;
    max-width: 519px;
    padding: 32px 52px 42px;
    position: relative;
    text-align: center
}

.welcome__content .main-title {
    margin-top: 20px;
    word-break: break-word
}

.welcome__description {
    color: #252b36;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px
}

.script {
    margin-top: var(--margin-between-sections);
    max-width: calc(1490px + var(--padding-section-side)*2);
    padding: 0 var(--padding-section-side);
    width: 100%
}

.script .section-title {
    margin-bottom: var(--margin-bottom-section-title);
    margin-left: 0
}

.video-container {
    border-radius: 62px;
    float: left;
    height: 313px;
    margin-bottom: 65px;
    margin-right: 71px;
    overflow: hidden;
    width: 576px
}

@media (max-width: 1220px) {
    .video-container {
        margin-bottom: 36px;
        margin-right: 36px
    }
}

@media (max-width: 1050px) {
    .video-container {
        aspect-ratio: 576/313;
        border-radius: 34px;
        height: revert;
        width: 100%
    }
}

.article {
    word-break: break-word
}

.article h2 {
    color: var(--color-base-text-primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2em
}

@media (max-width: 450px) {
    .article h2 {
        font-size: 30px
    }
}

.article h3 {
    color: var(--color-base-text-primary);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2em
}

@media (max-width: 699px) {
    .article h3 {
        font-size: 20px
    }
}

.article h2,
.article h3 {
    margin: 13px 0
}

.article h4 {
    color: var(--color-base-text-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2em;
    margin: 10px 0
}

@media (max-width: 699px) {
    .article h4 {
        font-size: 18px
    }
}

.article div,
.article p,
.article span {
    color: var(--color-section-description);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2em
}

@media (max-width: 699px) {

    .article div,
    .article p,
    .article span {
        font-size: 18px
    }
}

.article a {
    color: var(--color-link);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2em;
    text-decoration: underline
}

@media (max-width: 699px) {
    .article a {
        font-size: 18px
    }
}

.article ul,
.article ul li {
    list-style: revert
}

.article ol,
.article ul {
    color: var(--color-section-description);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2em;
    padding-left: revert
}

@media (max-width: 699px) {

    .article ol,
    .article ul {
        font-size: 18px
    }
}

.article img {
    display: block;
    margin: 13px auto
}

.article strong {
    color: var(--color-base-text-primary)
}

.video {
    border: none;
    height: 100%;
    width: 100%
}