/* Keep the quiz from visually jumping up under the header bars */
.yrq-wrapper {
    margin-top: 4rem; /* push it down so it's clearly in page content */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    background: rgba(0,0,0,0.25); /* optional: you can remove this if you don't want dark card on dark bg */
}

.yrq-start-screen,
.yrq-question-screen,
.yrq-result-screen {
    text-align: center;
}

.yrq-progress {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.yrq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.yrq-answers {
    display: grid;
    gap: 0.75rem;
}

.yrq-answer-btn {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    line-height: 1.3;
    text-align: left;
}
.yrq-answer-btn:hover {
    border-color: #577cfe;
    box-shadow: 0 0 0 3px rgba(87,124,254,0.15);
}

.yrq-begin {
    display: inline-block;
    background: #577cfe;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
}
.yrq-begin:hover {
    box-shadow: 0 8px 20px rgba(87,124,254,0.4);
}

.yrq-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #577cfe;
    margin-bottom: 0.75rem;
}

.yrq-result-blurb p,
.yrq-result-compatibility p,
.yrq-result-secondary p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.yrq-result-secondary h3,
.yrq-result-compatibility h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.2rem;
    color: #333;
    text-align: left;
}
