/* Cocoonや他のプラグインに影響させないため、クイズ内部に限定する。 */
.ppl-hcg-quiz [hidden] {
    display: none !important;
}

.ppl-hcg-quiz .ppl-hcg-quiz-select {
    max-width: 100%;
    font: inherit;
}

.ppl-hcg-quiz button {
    background: white;
    color: black;
    border: 1px solid #777;
    border-radius: 3px;
    text-align: left;
    font-size: inherit;
    line-height: 1.2;
    padding: 0.5em;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.ppl-hcg-quiz .ppl-hcg-quiz-options button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 0.25em;
}

.ppl-hcg-quiz .ppl-hcg-quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 1em;
}

.ppl-hcg-quiz button.is-correct {
    background: blue;
    color: white;
}

.ppl-hcg-quiz button.is-incorrect {
    background: red;
    color: white;
}

.ppl-hcg-quiz button:disabled {
    opacity: 0.5;
    cursor: default;
}

.ppl-hcg-quiz button[aria-disabled="true"] {
    cursor: default;
}

.ppl-hcg-quiz .ppl-hcg-quiz-figure img {
    max-width: 100%;
    height: auto;
}
