.clubus-quiz-launch {
    position: fixed;
    z-index: 1000;
    top: round(nearest, 3%, 1px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 46px;
    max-width: calc(100vw - 24px);
    padding: 3px;
    overflow: hidden;
    border: 0;
    border-radius: 23px;
    background: rgba(45, 87, 44, 1);
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    cursor: pointer;
}
.clubus-quiz-launch::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120px;
    width: 130%;
    height: 100%;
    background: linear-gradient(270deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, 0)) no-repeat 1em 0;
    background-size: 5em 100%;
    transform: skewX(-60deg);
    animation: clubus-quiz-shine 3s ease-in-out infinite;
    pointer-events: none;
}
.clubus-quiz-launch:hover {
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, .3);
}
.clubus-quiz-launch img,
.clubus-quiz-launch span {
    position: relative;
    z-index: 1;
}
.clubus-quiz-launch img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.clubus-quiz-launch span {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    line-height: 20px;
    transform: translateY(-1px);
}
@keyframes clubus-quiz-shine {
    0% {
        left: -120px;
        margin-left: 0;
    }
    100% {
        left: 110%;
        margin-left: 40px;
    }
}
.clubus-quiz {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #24263f;
    font-family: Arial, Helvetica, sans-serif;
}
.clubus-quiz[hidden] {
    display: none;
}
.clubus-quiz__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.clubus-quiz__dialog {
    position: relative;
    width: min(900px, 100%);
    height: min(495px, calc(100vh - 48px));
    overflow: hidden;
    border-radius: 8px;
    background: #efeff4;
}
.clubus-quiz__body,
.clubus-quiz__start,
.clubus-quiz__sheet,
.clubus-quiz__thanks {
    height: 100%;
    box-sizing: border-box;
}
.clubus-quiz__close {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #24263f;
    font-size: 14px;
    line-height: 20px;
    opacity: .6;
    cursor: pointer;
}
.clubus-quiz__close svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}
.clubus-quiz.is-start .clubus-quiz__close-label {
    display: none;
}
.clubus-quiz.is-start .clubus-quiz__close {
    color: #fff;
    opacity: .9;
}
.clubus-quiz__start {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #efeff4;
}
.clubus-quiz__intro {
    display: flex;
    flex-direction: column;
    gap: 55px;
    padding: 20px 20px 20px 45px;
    background: rgba(9, 77, 18, .6);
    color: #000;
}
.clubus-quiz__intro h2 {
    margin: 0;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
}
.clubus-quiz__intro p {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}
.clubus-quiz__go {
    align-self: flex-start;
    margin-top: 10px;
    padding: 10px 20px;
    border: 0;
    border-radius: 20px;
    background: rgb(28, 84, 55);
    color: #fff;
    font: 16px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.clubus-quiz__go:hover {
    opacity: .9;
}
.clubus-quiz__photo {
    background: #1c5437 url("/local/include/clubus_quiz/images/start.jpg") center/cover no-repeat;
}
.clubus-quiz__sheet {
    display: grid;
    grid-template-columns: 1fr 250px;
    grid-template-rows: 1fr auto;
    grid-template-areas: "main side" "foot side";
    background: #efeff4;
}
.clubus-quiz__main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px 16px 10px 32px;
}
.clubus-quiz__offer {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.35;
}
.clubus-quiz__main h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.clubus-quiz__options,
.clubus-quiz__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}
.clubus-quiz__option {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    color: #24263f;
    text-align: left;
    font: 16px/1.35 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.clubus-quiz__option::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 2px solid #0575f7;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}
.clubus-quiz__option.is-selected {
    border-color: #0575f7;
}
.clubus-quiz__option.is-selected::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 19px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0575f7;
    transform: translateY(-50%);
}
.clubus-quiz__option--check::before {
    border-radius: 5px;
}
.clubus-quiz__option--check.is-selected::after {
    left: 20px;
    width: 8px;
    height: 4px;
    border: 2px solid #0575f7;
    border-top: 0;
    border-right: 0;
    border-radius: 0;
    background: transparent;
    transform: translateY(-70%) rotate(-45deg);
}
.clubus-quiz__fields input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #24263f;
    font: 16px/1.35 Arial, Helvetica, sans-serif;
    outline: none;
}
.clubus-quiz__foot {
    grid-area: foot;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
}
.clubus-quiz__progress {
    flex: 1;
}
.clubus-quiz__progress-text {
    font-size: 15px;
    line-height: 1.2;
}
.clubus-quiz__progress-label {
    color: #24263f;
    font-weight: 300;
}
.clubus-quiz__progress-value {
    color: #0575f7;
    font-weight: 700;
}
.clubus-quiz__bar {
    height: 5px;
    margin-top: 10px;
    border-radius: 5px;
    background: #d2d2d7;
    overflow: hidden;
}
.clubus-quiz__bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: #0575f7;
}
.clubus-quiz__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.clubus-quiz__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 1px solid #0575f7;
    border-radius: 50%;
    background: transparent;
    color: #0575f7;
    cursor: pointer;
}
.clubus-quiz__back svg,
.clubus-quiz__next svg {
    display: block;
    width: 16px;
    height: 14px;
    fill: currentColor;
}
.clubus-quiz__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 35px;
    padding: 0 25px;
    border: 0;
    border-radius: 24px;
    background: #0575f7;
    color: #fff;
    font: 16px/1 Arial, Helvetica, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}
.clubus-quiz__next svg {
    width: 15px;
    height: 13px;
}
.clubus-quiz__next:disabled {
    opacity: .45;
    cursor: default;
}
.clubus-quiz__side {
    grid-area: side;
    background: #fff;
    padding: 45px 20px 20px;
}
.clubus-quiz__badge {
    padding: 10px;
    border-radius: 5px;
    background: #ffe684;
    color: #24263f;
    font-size: 16px;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
}
.clubus-quiz__sheet--form .clubus-quiz__main {
    gap: 25px;
    padding-top: 48px;
}
.clubus-quiz__ribbon {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    padding: 7px 28px 7px 10px;
    background: #ffe684;
    color: #24263f;
    font-size: 16px;
    line-height: 1.44;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}
.clubus-quiz__form-title {
    max-width: 460px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}
.clubus-quiz__last {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 460px;
    padding-top: 18px;
}
.clubus-quiz__last b {
    position: absolute;
    top: 0;
    left: 95%;
    color: #0575f7;
    font-size: 15px;
    font-weight: 700;
    transform: translateX(-50%);
}
.clubus-quiz__last .clubus-quiz__bar {
    height: 10px;
    margin-top: 0;
    background: #c1c1c1;
}
.clubus-quiz__side--form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
}
.clubus-quiz__side--form .clubus-quiz__back {
    align-self: flex-start;
    flex: 0 0 35px;
    min-height: 35px;
}
.clubus-quiz__side--form label,
.clubus-quiz__send {
    flex-shrink: 0;
}
.clubus-quiz__side--form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #6d6f84;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.clubus-quiz__side--form input[type="tel"],
.clubus-quiz__side--form input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    height: 37px;
    padding: 10px;
    border: 1px solid #0575f7;
    border-radius: 10px;
    background: transparent;
    color: #24263f;
    font: 16px/1.2 Arial, Helvetica, sans-serif;
    text-transform: none;
    outline: none;
}
.clubus-quiz__send {
    width: 100%;
    padding: 15px;
    border: 1px solid #0575f7;
    border-radius: 30px;
    background: transparent;
    color: #0575f7;
    font-size: 18px;
    cursor: pointer;
}
.clubus-quiz__send:disabled {
    opacity: .45;
    cursor: default;
}
.clubus-quiz__side--form label.clubus-quiz__agree {
    display: block;
    position: relative;
    padding-left: 22px;
    color: #24263f;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
}
.clubus-quiz__agree input {
    position: absolute;
    opacity: 0;
}
.clubus-quiz__agree span::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid #0575f7;
    border-radius: 5px;
    opacity: .6;
}
.clubus-quiz__side--form label.clubus-quiz__agree a {
    color: #0575f7;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-decoration: underline;
}
.clubus-quiz__agree input:checked + span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 3px;
    width: 8px;
    height: 4px;
    border: 2px solid #0575f7;
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg);
}
.clubus-quiz__error {
    min-height: 1.2em;
    margin: 0;
    color: #9b2c2c;
    font-size: 13px;
    text-transform: none;
}
.clubus-quiz__back-link {
    align-self: flex-start;
    border: 0;
    background: transparent;
    color: #24263f;
    font-size: 14px;
    cursor: pointer;
}
.clubus-quiz__thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 48px 32px;
    text-align: center;
}
.clubus-quiz__thanks h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
}
.clubus-quiz__thanks p {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
}
@media (max-width: 700px) {
    .clubus-quiz {
        padding: 0;
    }
    .clubus-quiz__dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .clubus-quiz-launch {
        top: round(nearest, 3%, 1px);
        right: 0;
        left: 0;
        width: max-content;
        margin-right: auto;
        margin-left: auto;
        transform: none;
        height: 40px;
        border-radius: 20px;
        background: rgba(16, 89, 31, 1);
    }
    .clubus-quiz-launch img {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
    .clubus-quiz-launch span {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
        line-height: 18px;
    }
    .clubus-quiz__start {
        grid-template-columns: 1fr;
        grid-template-rows: 180px 1fr;
    }
    .clubus-quiz__photo {
        background-image: url("/local/include/clubus_quiz/images/start-mobile.jpg");
        order: -1;
    }
    .clubus-quiz__intro {
        gap: 25px;
        padding: 24px 18px;
    }
    .clubus-quiz__intro h2 {
        font-size: 19px;
    }
    .clubus-quiz__sheet {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: "side" "main" "foot";
        overflow: auto;
    }
    .clubus-quiz__side {
        padding: 16px;
    }
    .clubus-quiz__main {
        padding: 16px;
    }
    .clubus-quiz__thanks h2,
    .clubus-quiz__thanks p {
        font-size: 22px;
    }
}
