.quiz-spa-view {
    min-width: 0;
}

.quiz-spa-header {
    margin-bottom: 20px;
}

.quiz-spa-header h2 {
    margin: 6px 0 8px;
}

.quiz-spa-header p:last-child {
    opacity: .75;
}

.quiz-spa-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.quiz-spa-tab {
    padding: 11px 20px;
    border-radius: 12px;
    cursor: pointer;
}

.quiz-spa-tab.is-active {
    border-color: #a88df0;
    box-shadow: inset 0 -3px 0 #a88df0;
}

.quiz-spa-content {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

#quizSpaFrame {
    display: block;
    width: 100%;
    height: 800px;
    min-height: 520px;
    border: 0;
    background: transparent;
}

@media (max-width: 700px) {
    .quiz-spa-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .quiz-spa-tab {
        width: 100%;
        padding: 11px 8px;
    }
}
