.modal__close:focus-visible {
    outline: 1px solid #202527;
    outline: 1px solid var(--G-color-default);
}
.modal__title {
    margin-bottom: 1.5rem;
    font-size: 1.1875rem;
    line-height: 1.36;
    font-weight: 600;
    text-align: center;
}
@media screen and (min-width: 64rem) {
    .modal__title {
        margin-bottom: 1.5625rem;
        font-size: 1.375rem;
    }
}
.modal__btn + .modal__btn {
    margin-top: 1rem;
}
.modal--stickers-size {
    max-width: 39.5rem;
    border-radius: 0.1875rem;
    padding: 2.1875rem 1.875rem;
    text-align: left;
}
.modal--stickers-size .modal__title {
    margin-bottom: 0.9375rem;
    font-weight: 700;
    text-align: left;
}
.modal--stickers-size .modal__text {
    font-size: 0.9375rem;
    margin-bottom: 0.625rem;
    text-align: left;
    line-height: 1.4;
}
.modal--stickers-size .modal__image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.modal-cancel {
    color: #202527;
    color: var(--G-color-default);
}
.modal-cancel__top {
    text-align: center;
    margin-bottom: 1.5rem;
}
@media screen and (min-width: 64rem) {
    .modal-cancel__icon {
        width: 5.375rem;
        height: 5.375rem;
    }
}
.modal-cancel__title {
    margin-bottom: 1.5rem;
    font-size: 1.1875rem;
    line-height: 1.36;
    font-weight: 600;
    text-align: center;
}
@media screen and (min-width: 64rem) {
    .modal-cancel__title {
        margin-bottom: 1.25rem;
        font-size: 1.375rem;
    }
}
.modal-cancel__text {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.3;
}
@media screen and (min-width: 64rem) {
    .modal-cancel__text {
        margin-bottom: 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.3;
    }
}
.modal-cancel__textarea {
    resize: none;
    display: block;
    height: 4.875rem;
    width: 100%;
    border: 1px solid #D1D1D1;
    border: 1px solid var(--G-color-gray-dark);
    padding: 0.5625rem;
    font-size: 1rem;
    margin-bottom: 2rem;
    border-radius: 0.1875rem;
}
@media screen and (min-width: 64rem) {
    .modal-cancel__textarea {
        font-size: 0.9375rem;
    }
}
.modal-rename {
    color: #202527;
    color: var(--G-color-default);
}
.modal-rename__top {
    text-align: center;
    margin-bottom: 1.5rem;
}
@media screen and (min-width: 64rem) {
    .modal-rename__icon {
        width: 5.375rem;
        height: 5.375rem;
    }
}
.modal-rename__title {
    margin-bottom: 1.5rem;
    font-size: 1.1875rem;
    line-height: 1.36;
    font-weight: 600;
    text-align: center;
}
@media screen and (min-width: 64rem) {
    .modal-rename__title {
        margin-bottom: 1.5625rem;
        font-size: 1.375rem;
    }
}
.modal-rename__text {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.3;
}
@media screen and (min-width: 64rem) {
    .modal-rename__text {
        margin-bottom: 1.25rem;
        font-size: 0.9375rem;
        line-height: 1.3;
    }
}
.modal-rename__input {
    resize: none;
    display: block;
    width: 100%;
    border: 1px solid #D1D1D1;
    border: 1px solid var(--G-color-gray-dark);
    padding: 0.5625rem 1.0625rem;
    font-size: 1rem;
    margin-bottom: 1.5625rem;
    border-radius: 0.1875rem;
    color: #202527;
    color: var(--G-color-default);
}
@media screen and (min-width: 64rem) {
    .modal-rename__input {
        font-size: 0.875rem;
    }
}
.modal-stickers__title {
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.36;
    margin-bottom: 1.125rem;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__title {
        font-size: 1.5rem;
        letter-spacing: -0.03em;
        margin-bottom: 1.3125rem;
        grid-area: title;
    }
}
.modal-stickers__subtitle {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__subtitle {
        grid-area: subtitle;
        margin-top: 0;
        margin-bottom: 0.5rem;
        -webkit-transform: translateY(-0.625rem);
        transform: translateY(-0.625rem);
    }
}
.modal-stickers__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: -1rem;
    margin-right: -1rem;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__wrapper {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}
.modal-stickers__img {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 23.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 1.5rem auto 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__img {
        margin: 0;
    }
}
.modal-stickers__img--top {
    grid-area: img-top;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__img--top {
        margin-bottom: 1.25rem;
    }
}
.modal-stickers__img--bottom {
    grid-area: img-bottom;
}
.modal-stickers__text {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__text {
        width: 100%;
    }
}
.modal-stickers__text p {
    margin-bottom: 0.5rem;
}
.modal-stickers__text p:last-child {
    margin-bottom: 0;
}
.modal-stickers__text--top {
    grid-area: text-top;
    line-height: 1.5;
}
.modal-stickers__text--bottom {
    grid-area: text-bottom;
    line-height: 1.5;
}
@media screen and (min-width: 64rem) {
    .modal-stickers__text--bottom {
        -webkit-transform: translateY(-0.625rem);
        transform: translateY(-0.625rem);
    }
}
.modal-stickers--holographic .modal-stickers__wrapper {
    display: block;
    margin: 0;
}
@media screen and (min-width: 64rem) {
    .modal-stickers--holographic .modal-stickers__wrapper {
        display: -ms-grid;
        display: grid;
        -ms-grid-rows: auto 0 auto 0 auto 0 auto;
        grid-template-areas: "title title" "text-top img-top" "subtitle img-bottom" "text-bottom img-bottom";
        -ms-grid-columns: 1fr 32px 340px;
        grid-template-columns: 1fr 340px;
        gap: 0 32px;
    }
    .modal-stickers__title {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }
    .modal-stickers__subtitle {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }
    .modal-stickers__img--top {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
    .modal-stickers__img--bottom {
        -ms-grid-row: 5;
        -ms-grid-row-span: 3;
        -ms-grid-column: 3;
    }
    .modal-stickers__text--top {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }
    .modal-stickers__text--bottom {
        -ms-grid-row: 7;
        -ms-grid-column: 1;
    }
}
.modal-stickers--holographic .modal-stickers__img {
    padding: 0;
}
.modal-stickers--holographic .modal-stickers__text {
    padding: 0;
    width: auto;
}
.modal-stickers--layout .modal-stickers__subtitle {
    -webkit-transform: none;
    transform: none;
    margin-bottom: 0;
}