
.share_popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 100;
    justify-content: center;
    align-items: center;
}
.share_popup-overlay.active { display: flex; }

.share_popup {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 380px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.share_popup h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-family: sans-serif;
}
.share_popup-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none; border: none;
    font-size: 18px; cursor: pointer; color: #555;
}
.share_popup-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.share_popup-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    font-family: sans-serif;
}
.share_popup-icons img {
    width: 44px; height: 44px;
    border-radius: 15%;
}
.share_popup-link p,.share_popup-link li {
    font-size: 12px;
    font-family: sans-serif;
    color: #555;
    display: block;
    margin-bottom: 6px;
    line-height: 1.2;
}
.share_popup-link div {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.share_popup-link input {
    flex: 1;
    border: none;
    padding: 7px 10px;
    font-size: 12px;
    outline: none;
    color: #333;
}
.share_popup-link button {
    background: none;
    border: none;
    border-left: 1px solid #ddd;
    padding: 0 10px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}



.waiting {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #0000009c;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .55s height;
}

.loader {
    border: 16px solid #ffffff;
    border-radius: 50%;
    border-top: 16px solid #6768d7;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

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


.flex-elements {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    flex-flow: row;
}

.share-btn {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 14px 18px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
    min-height: 46px;
    box-shadow: 0px 0px 9px rgb(103 104 215 / 21%);
}

.share-btn:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* іконка */
.share-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* контейнер тексту */
.share-btn span {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

/* підпис */
.share-btn span small {
    font-size: 13px;
    font-weight: 400;
    color: #777;
    margin-top: 2px;
}

.statistic-today {
    flex: 1 1 100%;
    min-width: 0;

    display: flex;
    align-items: center;

    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    min-height: 46px;
}

.unlock-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;

    background: radial-gradient(circle at center, rgba(103,104,215,0.25) 0%, rgba(255,255,255,0) 60%);
    background-size: 100% 50%;
    background-position: center;
}

.unlock-block svg {
    width: 40px;
    height: 40px;
    margin: 15px;
}
.unlock-block h3 span {
    color: #6768d7;
    display: inline-block;
    position: relative;
}
/*.unlock-block h3 span:after {*/
/*    content: '';*/
/*    width: 100%;*/
/*    height: 2px;*/
/*    background: #0cd3ff;*/
/*    position: absolute;*/
/*    bottom: 3px;*/
/*    left: 0;*/
/*}*/

.paySlider {
    width: 100%;
    max-width: 400px;
}

.paySlider img {
    width: 100%;
    border-radius: 6px;
}

.swiper-pagination-bullet {
    background: #2a2b51;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

@media (min-width: 900px) {
    /*.share-btn {*/
    /*    max-width: 350px;*/
    /*}*/
    .statistic-today {
        flex: 1 1 300px;
    }
}


.invite-cta-block {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9ff;
    margin: 30px 0;
}

.invite-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.invite-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.button_outline {
    background: transparent;
    border: 2px solid #6768d7;
    color: #6768d7;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.button_outline:hover {
    background: #6768d7;
    color: #fff;
}

.cta-main {
    padding: 12px 40px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(103, 104, 215, 0.3);
}

/* Таблиця */
.leaderboard-section {
    margin-bottom: 50px;
    overflow: hidden;
}

.leaderboard-title {
    margin-bottom: 20px;
    font-size: 22px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    text-align: center;
    padding: 15px;
    background: #f4f4fb;
    color: #666;
    font-size: 14px;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-nick {
    font-weight: 600;
    color: #333;
}

.player-email {
    font-size: 12px;
    color: #999; /* Сірий емейл */
}

.text-lilac {
    color: #6768d7;
}

.row-highlight {
    background: rgba(103, 104, 215, 0.05);
    border-left: 2px solid #6768d7;
}

@media (max-width: 600px) {
    .invite-actions {
        flex-direction: column;
    }
    .leaderboard-table th:nth-child(4),
    .leaderboard-table td:nth-child(4),
    .leaderboard-table th:nth-child(5),
    .leaderboard-table td:nth-child(5) {
        display: none;
    }
}

.header_result__score.in3_lines li + li {
    border-top: 0;
    border-left: 1px solid #dfe4e9;
}

.header_result__score.in3_lines > * {
    width: 33%;
}

.header_result__score.in3_lines li:first-child {
    width: 33%;
    margin-bottom: 0;
}


 .share-wrapper {
     margin-bottom: 5px;
     padding: 5px 0px 30px;
     position: relative;
 }

 .share-wrapper.both > a{
     max-width: 50%;
 }

.ab1_extend_review {
    min-height: 300px;
    background: linear-gradient(to bottom, #2a2b51 10%, #413f9c 100%);

}
.ab1_extend_container {
    /*margin-top: 25px;*/
}
.ab1_extend_title {
    background: #2a2b51;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
}
.ab1_extend_title p {
    /*background: #3b4069;*/
    display: inline-block;
    padding: 4px;
    font-size: 1.22rem;
    text-align: center;
}

.ab1_extend_notify {
    border-right: 5px solid #2a2b51;
    border-left: 5px solid #2a2b51;
    padding: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
}
.ab1_extend_notify p{
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}
.ab1_extend_notify p span{
    color: #cc1717;
    font-size: 130%;
    font-weight: 700;
}

.ab1_extend_body {
    display: flex;
    border-right: 5px solid #2a2b51;
    border-left: 5px solid #2a2b51;
    padding: 10px;
    background: #fff;
}
.ab1_extend_body > div{
    width: 50%;
    margin: 0;
    padding: 0 35px;
}

.ab1_extend_body .payment__options {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    margin: 0;
    padding: 10px;
}

.ab1_extend_body .payment__options h2, .ab1_extend_body .ab1_extend_sample h2 {
    text-align: center;
    font-weight: 800;
    font-size: 24px;
    line-height: 36px;
    margin-top: 16px;
    margin-bottom: 16px;
}


.ab1_extend_slider_wrap {
    position: relative;
    overflow: hidden;
}

.ab1_extend_slider {
    margin: 0 -10px;
}

.ab1_extend_slider:before, .ab1_extend_slider:after {
    content: '';
    position: absolute;
    z-index: 2;
    width: 50px;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, white 50%, transparent 100%);
}

.ab1_extend_slider:after {
    left: auto;
    right: 0;
    background: linear-gradient(to left, white 50%, transparent 100%);
}

.ab1_extend_slide {
    position: relative;
    margin: 0 10px;
    background: #dcdcdc;
    border: 1px solid #dadada;
    padding: 18px 12px 18px;
    text-align: center;
    border-radius: 0;
    box-sizing: border-box;
}

.ab1_extend_slide img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.ab1_extend_slide_badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    background: #6f6ce8;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

.ab1_extend_slider .slick-list {
    overflow: visible;
}

.ab1_extend_slider .slick-track {
    display: flex;
    align-items: center;
}

.ab1_extend_slider .slick-slide {
    opacity: .55;
    transition: opacity .25s ease, transform .25s ease;
}

.ab1_extend_slider .slick-current {
    opacity: 1;
}

.ab1_extend_slider .slick-slide > div {
    height: 100%;
}

.ab1_extend_slider_wrap button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 51px;
    height: 42px;
    border: 0;
    background: transparent;
    border: none;
    color: #6f6ce8;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    right: auto;
    left: 0;
}

.ab1_extend_slider_wrap button.ab1_slider_next {
    right: 0;
    left: auto;
}


.ab1_extend_slider .slick-dots {
    bottom: -25px;
}

.ab1_extend_slider .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 4px;
}

.ab1_extend_slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
}

.ab1_extend_slider .slick-dots li button:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfcff8;
    opacity: 1;
    top: 1px;
    left: 1px;
}

.ab1_extend_slider .slick-dots li.slick-active button:before {
    background: #6f6ce8;
}

.ab1_extend_review {
    display: grid;
    grid-template-columns: 250px 1fr;
}
.ab1_left_review {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 110px;
}
.review_general {
    background: #ffffff;
    border-radius: 7px;
    /*border: 1px solid #00b67a;*/
    padding: 5px 15px;
    width: 230px;
    height: 250px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.review_general .stars {
    display: flex;
    gap: 4px;
    color: #ffffff;
}
.review_general .stars .full-star {
    background: #00b67a;
    padding: 3px;
    border: 1px solid #00b67a;

}
.review_general .stars .half-star {
    background: linear-gradient(
            to right,
            #00b67a 50%,
            #ffffff 50%
    );
    border: 1px solid #00b67a;
    padding: 3px;
}



.ab1_slider_review.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.ab1_slider_review.is-dragging img {
    pointer-events: none;
}

.ab1_slider_review {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    cursor: grab;
}

.ab1_right_review {
    overflow: hidden;
}

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

.ab1_slider_review::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 20px;
}

.ab1_slider_review .review_slide {
    flex: 0 0 auto;
    width: 280px;
}

.ab1_slider_review .review_slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ab1_slider_review .review_slide {
    flex: 0 0 75%;
}

.ab1_slider_wrapper {
    margin: 20px;
}

.trustpilot-widget {
    margin: 20px;
}

@media (min-width: 576px) {
    .ab1_slider_review .review_slide {
        flex: 0 0 45%;
    }
}

@media (min-width: 768px) {
    .ab1_slider_review .review_slide {
        flex: 0 0 36%;
    }
}

@media (max-width: 991px) {
    .ab1_extend_slide img {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    .flex-elements {
        gap: 10px;
        flex-flow: column;
    }
    .share-wrapper.both > a{
        max-width: 100%;
    }
    .review_general {
        width: fit-content;
        height: fit-content;
    }
    .ab1_extend_slider_wrap {
        overflow: hidden;
    }

    .ab1_extend_slider .slick-list {
        overflow: visible;
    }

    .ab1_extend_body {
        flex-flow: column-reverse;
    }

    .ab1_extend_body > div {
        width: 100%;
        padding: 0 10px;
    }

}

@media (max-width: 480px) {
    .ab1_extend_body > div {
        padding: 0px;
    }

}

@media (max-width: 768px) {
    .header_result__score.in3_lines > * {
        width: 100%!important;
        border-left: 0!important;
        border-top: 1px solid #dfe4e9 !important;
    }
    .header_result__score.in3_lines:first-child {
        border-top: none;
    }

    .ab1_extend_review {
        grid-template-columns: 1fr;
    }
    .ab1_left_review {
        margin-bottom: 0;
        margin: 20px;
        justify-content: center;
    }
}