.wpfrtn-modal {
    position: fixed;
    bottom: -200px;
    left: 50%;
    width: 300px;
    margin-left: -150px;
    padding: 8px;
    border-radius: 10px;
    z-index: 99999;
    transition-property: bottom, visibility;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    visibility: hidden;
    cursor: pointer;
}

.wpfrtn-modal.tmp-hidden {
    display: none;
}

.wpfrtn-modal.visible {
    bottom: 20px;
    visibility: visible;
}

.wpfrtn-modal-newyear.visible{
    bottom: 50% !important;
    transform: translateY(50%);
}

.wpfrtn-modal__content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpfrtn-modal__image {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    margin-right: 10px;
}

.wpfrtn-modal__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.wpfrtn-modal__title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.1;
}

.wpfrtn-modal__description {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
}

.wpfrtn-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
}

.wpfrtn-modal__button:hover {
    opacity: 0.8;
}

.wpfrtn-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none'%3E%3Cg fill='%23fff' %3E%3Cpath d='m9.379 8 10.667 10.667-1.061 1.06L8.318 9.061z'/%3E%3Cpath d='M20.046 9.333 9.379 20l-1.06-1.06L18.985 8.273z'/%3E%3C/g%3E%3C/svg%3E");
    border: 0;
    opacity: 0.7;
    cursor: pointer;
}

.wpfrtn-modal__close:hover {
    opacity: 1;
}

.wpfrtn-modal-gost-info,
.wpfrtn-modal-autorizovan-info {
    display: none;
    bottom: 20px;
    visibility: visible;
}

.wpfrtn-modal-gost-info.wpfrtn-modal-gost-info-visible,
.wpfrtn-modal-autorizovan-info.wpfrtn-modal-autorizovan-info--visible {
    display: block;
}

.wpfrtn-wheel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80);
    z-index: 10000;
}

.wpfrtn-wheel-container.win {
    background: rgba(0, 0, 0, 0.80) url("/wp-content/plugins/wp-fortune/assets/images/wheel-firework.svg") center center no-repeat;
    background-size: 520px;
}

.wpfrtn-wheel {
    position: relative;
    width: 340px;
    height: 340px;
    background: url("/wp-content/plugins/wp-fortune/assets/images/wheel-background.svg") center center no-repeat;
    background-size: contain;
}

.wpfrtn-wheel__spin {
    position: absolute;
    width: 46px;
    height: 85px;
    top: -15px;
    left: 50%;
    margin-left: -23px;
    background: url("/wp-content/plugins/wp-fortune/assets/images/wheel-spin.svg") center center no-repeat;
    background-size: contain;
}

.wpfrtn-wheel__star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86px;
    height: 86px;
    margin-top: -43px;
    margin-left: -43px;
    background: url("/wp-content/plugins/wp-fortune/assets/images/wheel-star.svg") center center no-repeat;
    background-size: contain;
}

.wpfrtn-wheel-container.win .wpfrtn-wheel__star {
    display: none;
}

.wpfrtn-wheel__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 282px;
    height: 282px;
    margin-top: -141px;
    margin-left: -141px;
    transform: rotate(0deg);
    transition-timing-function: ease-out;
    transition-property: transform;
    transition-duration: 5s;
}

.wpfrtn-wheel__result {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 282px;
    height: 282px;
    margin-top: -141px;
    margin-left: -141px;
}

.wpfrtn-wheel__result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 94px;
    margin: 0;
}

.wpfrtn-wheel__result-icon img {
    height: 100%;
}

.wpfrtn-wheel__result-image {
    width: 146px;
    height: initial;
}

.wpfrtn-wheel__result-text {
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    text-align: center;
    color: #FFCD1A;
}

.wpfrtn-wheel__result-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    background-color: #2F8F41;
    border-radius: 4px;
}

.wpfrtn-wheel__result-button:hover {
    opacity: 0.8;
}

.wpfrtn-wheel__result-code {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 32px;
    padding: 0 20px;
    font-size: 14px;
    color: #000000;
    background-color: #FFC530;
    text-decoration: underline dashed 1px !important;
    text-decoration-thickness: 1px;
    text-underline-position: under;
    box-shadow: -2px -2px 10px rgba(255, 188, 17, 0.8), 4px 4px 10px rgba(0, 0, 0, 0.35);
}

.wpfrtn-wheel__result-code:after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.wpfrtn-wheel__result-code span {
    display: flex;
    align-items: center;
    position: relative;
}

.wpfrtn-wheel__result-code span:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -30px;
    right: -25px;
    width: 42px;
    height: 44px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='44' fill='none' class='finger'%3E%3Cpath fill='%23fff' d='M31.345 27.575c1.28.686.926 1.803.21 2.89-1.015 1.54-4.746 3.23-6.37 3.209-1.49-.018-2.543-.706-2.502-1.855'/%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='.8' d='M31.345 27.575c1.28.686.926 1.803.21 2.89-1.015 1.54-4.746 3.23-6.37 3.209-1.49-.018-2.543-.706-2.502-1.855'/%3E%3Cpath fill='%23fff' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='.8' d='M14.719 26.73c1.427 2.823 6.527 5.605 10.208 4.81 1.9-.41 5.598-2.337 6.34-3.993 1.271-2.836 1.2-5.505.248-8.306-.337-.992-.803-2.091-1.411-2.837-2.588-3.174-4.676-1.964-5.559-1.62-1.363-1.243-3.772-1.322-5.88.512-1.1-1.864-1.709-3.052-2.576-4.918-1.45-3.12-7.072-.765-4.708 2.716 1.61 2.37 2.59 4.476 3.484 7.06-.508.535-1.637 3.627-.147 6.575h0Z'/%3E%3Cpath fill='%23000' d='M18.243 15.4c1.038 1.785 2.051 3.054 3.913 3.812-1.108-.89-2.58-3.085-3.378-4.548l-.535.735ZM24.635 14.312l-.527.65c.905.775 1.913 1.65 2.794 1.919-.455-.344-1.576-1.877-2.267-2.57Z'/%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='.6' d='M28.833 27.257c-.258-2.103-.55-2.583-.83-3.57M27.236 28.342c-.855-2.176-1.474-3.139-2.178-4.534M25.293 29.58c-.786-1.403-1.29-1.99-1.881-2.83'/%3E%3Cpath fill='%23000' d='M14.415 20.091c.915 2.284 2.09 6.163 2.994 7.16-.191-.817-1.903-6.725-2.376-7.863l-.618.703ZM9.897 10.485c-.175-1.818 2.697-3.924 4.696-2.878-2.004-2.54-6.128.825-4.696 2.878Z'/%3E%3Cpath fill='%23000' d='M8.77 9.717c-.164-3.07 3.595-4.743 5.677-3.479-2.606-3.162-7.698.65-5.678 3.48Z'/%3E%3C/svg%3E") center no-repeat;
}

.wpfrtn-wheel__result-code span:after {
    content: "";
    display: block;
    width: 15px;
    height: 18px;
    margin-left: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='copy' viewBox='0 0 15 18'%3E%3Cpath d='M10.5.75h-9C.675.75 0 1.425 0 2.25v10.5h1.5V2.25h9V.75Zm-.75 3 4.5 4.5v7.5c0 .825-.675 1.5-1.5 1.5H4.492A1.498 1.498 0 0 1 3 15.75l.007-10.5c0-.825.668-1.5 1.493-1.5h5.25ZM9 9h4.125L9 4.875V9Z'/%3E%3C/svg%3E") center no-repeat;
}

.wpfrtn-block {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 105px 20px 32px;
    background: linear-gradient(270deg, #FFD029 15.16%, #FF6A00 100%), #20303D;
    border-radius: 10px;
    clear: both;
    overflow: hidden;
    cursor: pointer;
}

.wpfrtn-block--purple {
    background: linear-gradient(270deg, #29B9FF 15.16%, #FF299A 100%);
}

.wpfrtn-block__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.wpfrtn-block__title {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    color: #ffffff;
}

.wpfrtn-block__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: max-content;
    height: 40px;
    padding: 0 30px;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    background-color: #29B738;
    border-radius: 5px;
}

.wpfrtn-block:hover .wpfrtn-block__button {
    opacity: 0.8;
}

.wpfrtn-block--purple .wpfrtn-block__button {
    background-color: #000000;
}

.wpfrtn-block__image {
    display: block;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
}

.wp-fortune-modal {
    background: #374956 !important;
    border-radius: 4px;
    padding: 15px;
    color: #fff;
    max-width: 400px;
}

.wp-fortune-modal .popup__close {
    width: 36px;
    height: 36px;
    background: #22252D url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02Ljk5OTk5IDUuNTg1MThMMi4wNTA4IDAuNjM1OTg2TDAuNjM2NTg1IDIuMDUwMkw1LjU4NTc3IDYuOTk5MzlMMC42MzUzNzYgMTEuOTQ5OEwyLjA0OTU5IDEzLjM2NEw2Ljk5OTk5IDguNDEzNkwxMS45NTAzIDEzLjM2MzlMMTMuMzY0NSAxMS45NDk3TDguNDE0MiA2Ljk5OTM5TDEzLjM2MzMgMi4wNTAyOUwxMS45NDkxIDAuNjM2MDc5TDYuOTk5OTkgNS41ODUxOFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==") 50% 50% no-repeat !important;
    background-color: transparent !important;
    background-size: 16px !important;
}

.wp-fortune-modal .popup__heading {
    display: none;
}

.wp-fortune-modal .popup__heading__promo {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.wp-fortune-modal .popup__heading__promo-desc {
    color: #FFCD1A;
}

.wp-fortune-modal .wp-fortune-modal__heading span:not(.popup__heading__promo-desc) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(208, 153, 84, 0.5) 0%, rgba(255, 248, 220, 0.5) 50%, rgba(154, 87, 0, 0.05) 53.65%, rgba(255, 218, 114, 0.5) 100%), linear-gradient(0deg, #FFC530, #FFC530), linear-gradient(0deg, #FFD14F, #FFD14F), #1D262D;
    border-radius: 4px;
    padding: 5px 10px 3px;
    color: #000;
}

.wp-fortune-modal .popup__heading__promo div {
    display: inline;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.wp-fortune-modal .popup__heading span:not(.popup__heading__promo-desc) {
    display: inline-block;
    background: linear-gradient(180deg, rgba(208, 153, 84, 0.5) 0%, rgba(255, 248, 220, 0.5) 50%, rgba(154, 87, 0, 0.05) 53.65%, rgba(255, 218, 114, 0.5) 100%), linear-gradient(0deg, #FFC530, #FFC530), linear-gradient(0deg, #FFD14F, #FFD14F), #1D262D;
    border-radius: 4px;
    padding: 5px 10px 3px;
    color: #000;
}

.wp-fortune-modal__content {
    text-align: left;
}

.wp-fortune-modal__content > ol {
    counter-reset: steps;
    margin: 20px 0 0;
    padding: 0;
    text-align: left;
}

.wp-fortune-modal__content > ol > li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
    list-style: none;
}

.wp-fortune-modal__content > ol > li:before {
    counter-increment: steps;
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #2E6939;
    color: #56C86B;
}

.wp-fortune-modal__content > ol .search-engine-image {
    display: inline-block;
    margin: 0 5px;
    vertical-align: text-top;
}

.wp-fortune-modal__image {
    margin: 0;
    background: #1D262D;
    padding: 10px;
    text-align: center;
    position: relative;
    display: block;
}

.wp-fortune-modal__image-img {
    display: block;
    width: 100%;
    padding: 10px;
}

.wp-fortune-modal .wp-fortune-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.wp-fortune-modal .wp-fortune-modal__close:hover {
    color: rgba(255, 255, 255, 0.9);
}

.wp-fortune-modal .wp-fortune-modal__close:after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Cg fill='%23fff'%3E%3Cpath d='M4.227 2.813 14.833 13.42l-1.06 1.06L3.166 3.874z'/%3E%3Cpath d='M14.833 3.874 4.227 14.481l-1.06-1.06L13.772 2.812z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
    opacity: 0.7;
}

.wp-fortune-modal .wp-fortune-modal__close:hover:after {
    opacity: 0.9;
}

.wpfrtn-modal-bordertop{
    height: 9px;           /* или любая нужная высота */
    width: 100%;
    background-image: url(../images/isolation.png);
}

.wpfrtn-modal.wpfrtn-modal-newyear{
    background: #1D222F url(../images/Isolatiomoroz.png) no-repeat right bottom !important;
    background-size: 321px !important;
    padding: 0;
    border-radius: 0px !important;
}

.wpfrtn-modal-newyear .wpfrtn-modal__title{
    font-size: 20px;
    color:#fff !important;
    line-height: 32px;
}

.wpfrtn-modal-newyear .wpfrtn-modal__description{
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.wpfrtn-modal__button{
    background: #FF2727 !important;
    height: 48px !important;
    padding: 0 16px !important;
    border-bottom: 3px solid #DA0101;
}

.wpfrtn-modal__button_block{
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.wpfrtn-modal-newyear .wpfrtn-modal__content{
    padding-bottom: 24px;
    padding-top: 19px;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px;
    justify-content: flex-start;
}

.wpfrtn-modal__button_green{
    background: #2EE07E !important;
    border-color: #11A856;
    color: #000;
    font-weight: 600;
}

.wpfrtn-modal-newyear .wpfrtn-modal__image{
    margin-right: 16px !important;
    object-fit: contain;
}

.wpfrtn-modal-newyear .wpfrtn-modal__main{
    max-width: 460px;
}

.wpfrtn-modal-newyear .wpfrtn-modal__close{
    top:1px;
}

.wpfrtn-modal__description p{
    margin: 0;
}

.wpfrtn-modal-newyear .wpfrtn-modal__description ul{
    margin: 0;
    padding: 0 25px 5px;
}

.wpfrtn-wheel__content--newyear #wpfrtn-wheel-spinner{
    width: 499px;
    height: 499px;
    position: absolute;
    z-index: 10;
    top: 28px;
    left: 24px;
}

.wpfrtn-wheel__content--newyear .wpfrtn-wheel__spinner {
    width: 499px;
    height: 499px;
    margin-top: 0;
    margin-left: 0;
}

.wpfrtn-wheel__content--newyear .wpfrtn-wheel__spinner-image{
    width: 100%;
}

.wpfrtn-wheel__spinner-debug{
    position: absolute;
    z-index: 12;
    top: 72px;
    left: 68px;
    width: 411px;
    height: 411px;
    pointer-events: none;
    transform-origin: 50% 50%;
    transition-timing-function: ease-out;
    transition-property: transform;
    transition-duration: 5s;
}

.wpfrtn-wheel__spinner_block{
    position: relative;
    height: 555px;
}

.wpfrtn-wheel__spinner_fon{
    position: absolute;
    z-index: 1;
}

/*** Animate ***/

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeOutBottomLeft {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(-100%, 100%, 0);
    }
}

.fadeOutBottomLeft {
    animation-name: fadeOutBottomLeft;
}

@keyframes fadeOutBottomRight {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(calc(100% - 100px), calc(100% - 100px), 0);
    }
}

.fadeOutBottomRight {
    animation-name: fadeOutBottomRight;
}

/*** Responsive ***/

@media (min-width: 360px) {

    .wpfrtn-modal {
        width: 340px;
        margin-left: -170px;
    }
}

@media (min-width: 768px) {

    .wpfrtn-modal {
        width: 674px;
        margin-left: -337px;
        padding: 20px;
    }

    .wpfrtn-modal__image {
        width: 145px;
        height: 145px;
        margin-right: 26px;
    }

    .wpfrtn-modal__main {
        gap: 8px;
    }

    .wpfrtn-modal__title {
        font-size: 33px;
    }

    .wpfrtn-modal__description {
        font-size: 23px;
    }

    .wpfrtn-modal__button {
        height: 36px;
        padding: 0 30px;
        font-size: 16px;
    }

    .wpfrtn-modal__close {
        width: 36px;
        height: 36px;
    }

    .wpfrtn-wheel-container.win {
        background-size: initial;
    }

    .wpfrtn-wheel {
        width: 500px;
        height: 500px;
    }

    .wpfrtn-wheel__spin {
        top: -20px;
        width: 68px;
        height: 127px;
        margin-left: -34px;
    }

    .wpfrtn-wheel__star {
        width: 130px;
        height: 130px;
        margin-top: -65px;
        margin-left: -65px;
    }

    .wpfrtn-wheel__spinner {
        width: 414px;
        height: 414px;
        margin-top: -207px;
        margin-left: -207px;
    }

    .wpfrtn-wheel__result {
        gap: 20px;
        width: 414px;
        height: 414px;
        margin-top: -207px;
        margin-left: -207px;
    }

    .wpfrtn-wheel__result-image {
        width: 220px;
    }

    .wpfrtn-wheel__result-text {
        font-size: 28px;
        line-height: 1.2;
    }

    .wpfrtn-wheel__result-button {
        height: 50px;
        padding: 0 35px;
        font-size: 24px;
    }

    .wpfrtn-wheel__result-code {
        height: 40px;
        padding: 0 35px;
        font-size: 24px;
    }

    .wpfrtn-block {
        max-width: 738px;
        margin: 30px auto;
        padding: 20px 264px 20px 32px;
    }

    .wpfrtn-block__title {
        font-size: 26px;
    }

    .wpfrtn-block__image {
        right: 32px;
    }

    .wp-fortune-modal.popup__body {
        min-width: 600px;
        padding: 20px;
    }

    .wp-fortune-modal .popup__heading__promo,
    .wp-fortune-modal__content > ol > li {
        font-size: 20px;
        line-height: 30px;
    }

    .wp-fortune-modal .wp-fortune-modal__heading span:not(.popup__heading__promo-desc) {
        height: 28px;
        line-height: 22px;
    }

    .wp-fortune-modal .popup__heading__promo div {
        font-size: 20px;
        line-height: 30px;
    }

    .wp-fortune-modal .search-engine-image {
        margin: 0 8px;
    }
}

.wpfrtn-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    padding: 12px 20px;
    background: rgba(29, 34, 47, 0.95);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    animation: wpfrtn-toast-show 0.3s forwards;
}

.wpfrtn-toast--copy {
    border: 1px solid #23d26b;
}

@keyframes wpfrtn-toast-show {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpfrtn-wheel--newyear{
    width: 555px;
    height: 555px;
}

.wpfrtn-wheel__spinner_fon img{
    width: 100%;
}

.wpfrtn-wheel__spinner_center{
    position: absolute;
    z-index: 15;
    width: 127px;
    bottom: calc(50% - 6px);
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.wpfrtn-wheel__spinner_center img{
    width: 100%;
}

.wpfrtn-wheel__spin--newyear{
    width: 405px;
    position: absolute;
    z-index: 20;
    left: 71px;
    top: 10px;
}

.wpfrtn-wheel__spin--newyear img{
    width: 100%;
}

.wpfrtn-wheel-container--newyear.win{
    background: rgba(0, 0, 0, 0.80) url(../images/fonprize.png) center center no-repeat;
    background-size: 598px;
}

.wpfrtn-wheel-container--newyear .wpfrtn-wheel__result{
    gap: 20px;
    width: 360px;
    position: absolute;
    left: 50% !important;
    top: 50% !important;
    margin: 0 !important;
    height: auto;
    transform: translateY(-50%) translateX(-50.8%);
}

.wpfrtn-wheel-container--newyear .wpfrtn-wheel__result-text{
    font-size: 20px;
    color: #fff;
}

.wpfrtn-wheel__content--newyear .wpfrtn-wheel__result-button{
    font-size: 14px;
    height: 48px;
    background: #2EE07E;
    color: #1D222F;
    border-bottom: 3px solid #11A856;
    border-radius: 8px;
    box-sizing: border-box;
}

.wpfrtn-shortcode{
    position: static;
    transform: translateY(0%) !important;
}

.wpfrtn-shortcode .wpfrtn-modal__main{
    color: #fff;
    font-style: normal;
}

.wpfrtn-shortcode .wpfrtn-modal__description{
    display: none;
}

.wpfrtn-modal__button{
    color: #fff;
}

.wpfrtn-modal__description p{
    color: #fff;
}

.wpfrtn-wheel--newyear{
    background: none !important;
}

.wpfrtn-modal-limit-info .wpfrtn-modal__button:hover{
	color:#fff !important;
}

.wpfrtn-wheel-container--newyear .wpfrtn-wheel__star--newyear{
    display: none;
}

.wpfrtn-wheel__result-image_promo{
    width: 94px !important;
}

.wpfrtn-wheel__result-image_predskazanie{
    width: 94px !important;
}

.wpfrtn-shortcode .wpfrtn-modal__image{
    width: 159px !important;
    height: 159px !important;
	margin-top: -28px !important;
    margin-bottom: -35px !important;
}

.wpfrtn-shortcode{
    max-width: 847px !important;
    width: 100% !important;
	margin-left:0 !important;
} 

.wpfrtn-shortcode .wpfrtn-modal__main{
    max-width: 560px;
}

.wpfrtn-shortcode .wpfrtn-modal__content{
    position: relative;
    overflow: hidden;
}

.wpfrtn-shortcode .wpfrtn-modal-bordertop{
    display: none !important;
}

.wpfrtn-notify__popup{
    background: #1D222F url(../images/Isolatiomorozpopup.png) no-repeat right bottom !important;
    background-size: 171px !important;
}

.animation_coleso{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 200px;
    height: 200px;
    bottom: -300px;
    transition: 2s;
	z-index:5;
}

.animation_coleso_fon{
    background: url(../images/newyearfortunaFon.png) no-repeat center center;
    width: 200px;
    height: 200px;
    display: block;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
}

.animation_coleso_fartuna{
    background: url(../images/fonanimation.png) no-repeat center center;
    width: 180px;
    height: 155px;
    display: block;
    position: absolute;
    top: 22px;
    left: 9px;
    background-size: cover;
    transform-origin: 50% 50%;
    animation: wpfrtn-animation-coleso-spin 6s cubic-bezier(0.17, 0.67, 0.12, 0.99) infinite;
}

.animation_coleso_fartunacenter{
    background: url(../images/animationCursos.png) no-repeat center center;
    width: 148px;
    height: 140px;
    display: block;
    position: absolute;
    top: -4px;
    background-size: contain;
    left: 25px;
}

.spin_active{
    bottom: 20px;
}

.animation_coleso .wpfrtn-modal__close{
    filter: brightness(0.5);
    top: -10px;
    right: -10px;
}

/* Вариант дизайна "Новогодний crypro.ru".
 * По умолчанию наследует базовый новогодний стиль, но имеет отдельный класс,
 */
 .wpfrtn-modal.wpfrtn-modal-newyear-crypto{
    background: #3F3C4D !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal-bordertop{
    background-image: url(../images/Crypto/isolation.png);
    height: 51px;
    background-size: contain;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__content{
    padding-top: 0;
}

.wpfrtn-modal-newyear-crypto  .wpfrtn-modal__description{
    opacity: 70%;
    font-size: 16px;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__title{
    font-size: 30px;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__image {
    width: 159px;
    height: 159px;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__button{
    background: #0072DB !important;
    border: 0;
    height: 40px !important;
    padding: 0 28px !important;
}

.wpfrtn-wheel-container--newyear-crypto.win{
    background: rgba(0, 0, 0, 0.8) url(../images/Crypto/fortunaFonPrize.png) center center no-repeat;
    background-size: 658px;
}

.wpfrtn-wheel-container--newyear.win .wpfrtn-wheel__result-image{
    width: auto;
    height: auto !important;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-wheel__result-button{
    background: #0072DB !important;
    border: 0;
    height: 40px !important;
    padding: 0 28px !important;
}

.wpfrtn-shortcode.wpfrtn-modal-newyear-crypto{
    background: #3F3C4D !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.wpfrtn-shortcode.wpfrtn-modal-newyear-crypto .wpfrtn-modal__title {
    font-size: 20px !important;
}

.wpfrtn-shortcode.wpfrtn-modal-newyear-crypto .wpfrtn-modal__content {
    padding-top: 15px;
}

.wpfrtn-prize_Lists_crypto .wpfrtn-prize_Item{
    background: #3F3C4D !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.wpfrtn-prize_Lists .wpfrtn-prize_Item_btn--details{
    background: #ebedf3;
    border-color: #b2b3b7;
}


.wpfrtn-prize_Lists .wpfrtn-wheel__result-code{
    border-radius: 8px;
    background: #2EE07E;
    box-shadow: none;
    height: 48px;
    color: #000 !important;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    justify-content: flex-start;
    border:0 !important;
}

.wpfrtn-prize_Lists .wpfrtn-wheel__result-code:after{
    display: none;
}

.wpfrtn-prize_Lists .wpfrtn-wheel__result-code span{
    width: 100%;
    margin-top: 9px;
}

.wpfrtn-prize_Lists .wpfrtn-wheel__result-code span:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background: url(../images/Poker/copy-success.png) no-repeat;
    background-size: contain;
    right: 0;
    position: absolute;
    filter: brightness(0.1);
}

.wpfrtn-prize_Lists .wpfrtn-wheel__result-code span:before {
    content: "ПРОМОКОД";
    display: block;
    position: absolute;
    bottom: -30px;
    right: -25px;
    width: auto;
    height: auto;
    background: none;
    font-size: 10px;
    left: 0px;
    top: -10px;
    bottom: auto;
    right: auto;
}

.wpfrtn-nywins_crypto .wpfrtn-nywins__btn{
    background: #0072DB !important;
    border: 0;
    padding: 0 28px !important;
    color: #fff;
}

.wpfrtn-prize_Lists_crypto  .wpfrtn-prize_Item_btn{
    background: #0072DB !important;
    border: 0;
    padding: 0 28px !important;
    color: #fff;
}

.animation_coleso--crypto .animation_coleso_fon{
    background: url(../images/Crypto/newyearfortunaFon.png) no-repeat center center;
    background-size: cover;
}

.animation_coleso--crypto .animation_coleso_fartuna{
    background: url(../images/Crypto/fonanimation.png) no-repeat center center;
    background-size: cover;
}

.animation_coleso--crypto  .animation_coleso_fartunacenter{
    background: url(../images/Crypto/animationCursor.png) no-repeat center center;
    background-size: contain;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__button_green{
    background: #fff !important;
    color: #000;
    text-decoration: none;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-code{
    background: #0072DB;
    box-shadow: none;
    color: #fff;
    height: 48px;
    border-radius: 10px;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-code::after{
    display: none;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-code span:before{
    display: none;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-button{
    background: #0072DB;
    box-shadow: none;
    color: #fff;
    height: 40px;
    border: 0;
    border-radius: 5px;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-code span:after{
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    background: url(../images/copy-success.png) center no-repeat;
    background-size: contain;
}

.wpfrtn-modal-newyear.wpfrtn-poker{ 
    background: #ffffff url(../images/Poker/pokerAfter.png) no-repeat right top !important;
    background-size: 118px !important;
    padding: 0;
    border-radius: 24px !important;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__title{
    color: #36303B !important;
    font-size: 18px;
    line-height: 28px;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__description{
    color: #908499;
    font-size: 16px;
    line-height: 24px;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__button{
    background: #2F90FF !important;
    border: 0;
    border-radius: 8px;
    text-transform: uppercase;
    height: 50px !important;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__main{
    max-width: 350px;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal-bordertop {
    height: 90px;
    width: 720px;
    background-image: url(../images/Poker/pokerBefore.png);
    position: absolute;
    bottom: -66px;
    background-size: 714px;
    background-position-x: -2px;
    left: -15px;
    background-repeat: no-repeat;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__close{
    filter: brightness(0.5);
    top: 4px;
    right: 8px;
}

.wpfrtn-poker .wpfrtn-wheel__spinner_fon{
    position: absolute;
    z-index: 1;
    width: 630px;
    left: -35px;
    top: -32px;
}

.wpfrtn-poker .wpfrtn-wheel__spinner-debug{
    border-radius: 50%;
    background: #000000;
}

.wpfrtn-poker.win{
    background: rgba(0, 0, 0, 0.80) url(../images/Poker/fonprizePoker.png) center center no-repeat;
    background-size: 598px;
}

.wpfrtn-poker .wpfrtn-wheel__result-text {
    font-size: 20px;
    color: #36303B;
}

.animation_coleso--poker .animation_coleso_fon {
    background: url(../images/Poker/newyearfortunaFon.png) no-repeat center center;
    width: 230px;
    height: 230px;
    display: block;
    background-size: cover;
    position: absolute;
    top: -15px;
    left: -15px;
}

.animation_coleso--poker .animation_coleso_fartuna {
    background: url(../images/Poker/fonanimation.png) no-repeat center center;
    background-size: cover;
    
}

.animation_coleso--poker .animation_coleso_fartunacenter {
    background: url(../images/Poker/animationCursos.png) no-repeat center center;
    background-size: contain;
}

.wpfrtn-modal-bg.active{
    background: rgb(0 0 0 / 70%);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.wpfrtn-shortcode.wpfrtn-modal-newyear.wpfrtn-poker {
    background-size: 78px !important;
    background-position-y: -20px !important;
}

.wpfrtn-poker .wpfrtn-prize_Item{
    background: #F6F7F9;
    position: relative;
    padding: 39px 24px;
    font-style: normal;
    overflow: hidden;
    border-radius: 12px;
}

.wpfrtn-poker .wpfrtn-prize_Item_bg{
    display: none;
}

.wpfrtn-poker .wpfrtn-prize_Item_date {
    color: #36303B;
}

.wpfrtn-prize_Item_Title{
    color: #36303B;
}

.wpfrtn-poker .wpfrtn-nywins__btn{
    background: #2F90FF !important;
    border: 0;
    border-radius: 8px;
    text-transform: uppercase;
    height: 50px !important;
    color: #fff;
}

.wpfrtn-poker .wpfrtn-prize_Item_btn{
    background: #2F90FF !important;
    border: 0;
    border-radius: 8px;
    text-transform: uppercase;
    height: 50px !important;
    color: #fff;
}

.wpfrtn-poker .acticated_text_nikname {
    color: #36303b;
    font-size: 12px;
    text-align: left;
}

.wpfrtn-poker .wpfrtn-modal__description p{
    color: #908499;
}

.wpfrtn-poker .wpfrtn-prize_Item_Title {
    color: #36303b;
}

.wpfrtn-poker .wpfrtn-prize_Item_Description{
    color: #000;
}

.wpfrtn-prize_Item_Right{
    display: grid;
    gap: 10px;
}

.wpfrtn-poker .wpfrtn-prize_Item_btn--details{
    background: #FF264C !important;
}

.wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal__button_green{
    background: #FF264C !important;
    text-decoration: none;
    color:#fff;
}

.wpfrtn-poker .wpfrtn-wheel__result-code{
    border-radius: 12px;
    background: #2F90FF;
    box-shadow: none;
    height: 50px;
    color: #fff !important;
    font-size: 14px;
    width: 240px;
    box-sizing: border-box;
    padding: 0 15px;
    justify-content: flex-start;
    border:0 !important;
}

.wpfrtn-poker .wpfrtn-wheel__result-code span{
    width: 100%;
    margin-top: 9px;
}

.wpfrtn-poker .wpfrtn-wheel__result-code span:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background: url(../images/Poker/copy-success.png) no-repeat;
    background-size: contain;
    right: 0;
    position: absolute;
}

.wpfrtn-poker .wpfrtn-wheel__result-code span:before {
    content: "ПРОМОКОД";
    display: block;
    position: absolute;
    bottom: -30px;
    right: -25px;
    width: auto;
    height: auto;
    background: none;
    font-size: 10px;
    left: 0px;
    top: -10px;
    bottom: auto;
    right: auto;
}

.wpfrtn-poker .wpfrtn-wheel__result-button{
    background: #2F90FF !important;
    border: 0;
    border-radius: 8px;
    text-transform: uppercase;
    height: 50px !important;
    color: #fff;
}

.wpfrtn-prize_Item .wpfrtn-wheel__result-code{
    width: 100% !important;
}

.wpfrtn-prize_Lists_crypto .wpfrtn-wheel__result-code{
    background: #0072db;
    color: #fff !important;
}

.wpfrtn-prize_Lists_crypto .wpfrtn-wheel__result-code span:after{
    filter: brightness(1);
}

.wpfrtn-modal__button_block .wpfrtn-modal__button_green{
    height: 48px !important;
    box-sizing: border-box;
    text-decoration: none;
    padding: 0 16px !important;
}

.wpfrtn-limit{
    background: linear-gradient(90deg, #B00202 0%, #FF2727 53.85%, #A00000 100%);
    width: 378px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 4px;
    height: 46px;
    border-radius: 8px;
    transform: rotate(-6deg);
    position: absolute;
    top: -66px;
    box-shadow: 5px 3px 12px #00000094;
    font-size: 14px;
    text-transform: uppercase;
}

.wpfrtn-limit-text{
    background: rgba(29, 34, 47, 1);
    border-radius: 12px;
    padding: 5px 10px;
}

.wpfrtn-limit img{
    width: 24px;
}

.wpfrtn-modal__button--disabled{
    background: rgba(71, 91, 130, 1) !important;
    border-bottom: 3px solid rgba(124, 145, 180, 1);
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    border-radius: 8px;
}

.wpfrtn-modal-newyear-crypto .wpfrtn-modal__button.wpfrtn-modal__button_green{
    height: 40px !important;
    color: #000;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-limit{
    background: linear-gradient(90deg, #00498d 0%, #0082fb 53.85%, #00498d 100%);
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-modal__button{
    background: #0072DB !important;
    border: 0;
    height: 40px !important;
    padding: 0 28px !important;
}

.wpfrtn-wheel-container--newyear-crypto .wpfrtn-wheel__result-code{
    height: 40px;
    border-radius: 5px;
}

.wpfrtn-modal-newyear .wpfrtn-modal__button_green{
    color:rgba(29, 34, 47, 1);
}

.wpfrtn-poker .wpfrtn-modal__button{
    background: #FF264C !important;
    border-radius: 8px;
    border: 0;
    text-transform: uppercase;
}

@keyframes wpfrtn-animation-coleso-spin {
    0% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(1140deg);
    }
    100% {
        transform: rotate(1140deg);
    }
}

@media (max-width: 768px) {
    .wpfrtn-modal-newyear .wpfrtn-modal__content{
        display: grid;
        text-align: center;
        padding-top: 10px;
    }
    .wpfrtn-limit{
        width: 309px;
        font-size: 12px;
        top: -56px;
    }
    .wpfrtn-shortcode .wpfrtn-modal-bordertop{
        display: block !important;
    }
    .wpfrtn-modal-newyear .wpfrtn-modal__button_block{
        margin-top: 24px;
    }
    .wpfrtn-modal-newyear .wpfrtn-modal__main{
        align-items: center;
    }
    .wpfrtn-modal-newyear .wpfrtn-modal__image{
        width: 150px;
        height: auto;
        margin: 0 auto !important;
    }
    .wpfrtn-modal.wpfrtn-modal-newyear{
        background: #1D222F url(../images/Isolatiomorozmb.png) no-repeat right bottom !important;
        background-size: contain !important;
    }
    .wpfrtn-wheel-container--newyear .wpfrtn-wheel__result-text{
        font-size: 14px;
        line-height: 20px;
    }
    .wpfrtn-wheel__content--newyear .wpfrtn-wheel__result-button{
        padding: 0 15px;
    }
    .wpfrtn-wheel__result-image_promo {
        width: 44px !important;
    }
    .wpfrtn-wheel__spinner_block {
        position: relative;
        height: 340px;
    }
    .wpfrtn-wheel--newyear {
        width: 340px;
        height: 340px;
    }
    .wpfrtn-wheel-container--newyear.win {
        background: rgba(0, 0, 0, 0.80) url(../images/fonprize.png) center center no-repeat;
        background-size: 420px;
    }
    .wpfrtn-wheel-container--newyear .wpfrtn-wheel__result{
        width: 260px;
    }
    .wpfrtn-wheel__result-image_predskazanie{
        width: 44px !important;
    }
    .wpfrtn-wheel__spinner-debug{
        top: 44px;
        left: 41px;
        width: 253px;
        height: 253px;
    }
    .wpfrtn-wheel__spin--newyear {
        width: 247px;
        position: absolute;
        z-index: 20;
        left: 44px;
        top: 9px;
    }
    .wpfrtn-wheel__spinner_center {
        position: absolute;
        z-index: 15;
        width: 72px;
    }
    .wpfrtn-modal-gost-info{
        text-align: left;
    }
    .wpfrtn-modal-autorizovan-info{
        text-align: left;
    }
    .wpfrtn-wheel--newyear .wpfrtn-wheel__result-icon img{
        height: auto !important;
    }
    .wpfrtn-wheel--newyear .wpfrtn-wheel__result-icon{
        height: auto !important;
    }
    .wpfrtn-modal-newyear-crypto .wpfrtn-modal-bordertop{
        background-image: url(../images/Crypto/isolation.png);
        height: 51px;
        background-size: cover;
    }
    .wpfrtn-modal.wpfrtn-modal-newyear-crypto{
        background: #3F3C4D !important;
        border-radius: 10px !important;
        overflow: hidden;
    }
    .wpfrtn-wheel-container--newyear-crypto.win {
        background: rgba(0, 0, 0, 0.8) url(../images/Crypto/fortunaFonPrize.png) center center no-repeat;
        background-size: 520px;
    }
    .wpfrtn-prize_Lists_crypto .wpfrtn-prize_Item_bg{
        background-repeat: no-repeat !important;
    }
    .wpfrtn-modal-newyear.wpfrtn-poker{
        background: #ffffff url(../images/Poker/pokerAfter.png) no-repeat right top !important;
        background-size: 84px !important;
    }
    .wpfrtn-modal-newyear.wpfrtn-poker .wpfrtn-modal-bordertop{
        width: 104%;
    }
    .wpfrtn-modal-newyear.wpfrtn-poker::after{
        content: '';
        background: url(../images/Poker/pokerAfter2.png) no-repeat;
        width: 84px;
        height: 200px;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        background-size: 84px;
    }
    .wpfrtn-poker .wpfrtn-wheel__spinner_fon{
        position: absolute;
        z-index: 1;
        width: 408px;
        left: -35px;
        top: -32px;
    }
    .wpfrtn-poker.win{
        background: rgba(0, 0, 0, 0.80) url(../images/Poker/fonprizePoker.png) center center no-repeat;
        background-size: 420px;
    }
    .wpfrtn-poker .wpfrtn-wheel__result-code{
        width: 180px;
    }
}
