.quiz-sticky-bar {
    --quiz-sticky-top: 0px;
    position: fixed;
    top: var(--quiz-sticky-top);
    left: 0;
    right: 0;
    z-index: 1090;
    min-height: 48px;
    display: flex;
    align-items: stretch;
    background: #1f9d61;
    color: #fff;
    box-shadow: 0 8px 24px rgba(20, 40, 32, 0.18);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.quiz-sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.quiz-sticky-bar__link {
    min-height: 48px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 52px 6px 16px;
    color: #fff;
    text-decoration: none;
}

.quiz-sticky-bar__link:hover,
.quiz-sticky-bar__link:focus {
    color: #fff;
    text-decoration: none;
}

.quiz-sticky-bar__icon,
.quiz-sticky-bar__arrow {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

.quiz-sticky-bar__text {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
}

.quiz-sticky-bar__text strong {
    font-weight: 700;
}

.quiz-sticky-bar__text span {
    font-size: 13px;
    opacity: 0.86;
    white-space: nowrap;
}

.quiz-sticky-bar__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.quiz-sticky-bar__close:hover,
.quiz-sticky-bar__close:focus {
    background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
    .quiz-sticky-bar__link {
        justify-content: flex-start;
        padding-left: 14px;
    }

    .quiz-sticky-bar__text {
        display: block;
        font-size: 14px;
    }

    .quiz-sticky-bar__text span {
        display: block;
        font-size: 12px;
    }
}
