.nrlq {
    --nrlq-accent: #59604a;
    --nrlq-soft: #f4f3ee;
    --nrlq-border: #dcded5;
    --nrlq-text: #20231e;
    --nrlq-muted: #666b61;
    --nrlq-good: #2f6b45;
    --nrlq-bad: #925044;
    margin: 2rem 0;
    padding: clamp(1.1rem, 3vw, 1.7rem);
    border: 1px solid var(--nrlq-border);
    border-radius: 18px;
    background: #fff;
    color: var(--nrlq-text);
    box-sizing: border-box;
}
.nrlq * { box-sizing: border-box; }
.nrlq__head { margin-bottom: 1rem; }
.nrlq__eyebrow {
    margin: 0 0 .5rem;
    color: var(--nrlq-accent);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: -.01em;
}
.nrlq__question {
    margin: 0;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    line-height: 1.45;
}
.nrlq__figure {
    margin: 1rem 0 1.2rem;
    overflow: hidden;
    border-radius: 14px;
    background: var(--nrlq-soft);
}
.nrlq__figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
}
.nrlq__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}
.nrlq__choice {
    appearance: none;
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    min-height: 58px;
    padding: .78rem .9rem;
    border: 1px solid var(--nrlq-border);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.nrlq__choice:hover:not(:disabled),
.nrlq__choice:focus-visible:not(:disabled) {
    border-color: var(--nrlq-accent);
    background: var(--nrlq-soft);
    outline: none;
    transform: translateY(-1px);
}
.nrlq__choice:disabled { cursor: default; opacity: .68; }
.nrlq__letter {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--nrlq-soft);
    color: var(--nrlq-accent);
    font-weight: 800;
}
.nrlq__choice-label { line-height: 1.4; font-weight: 600; }
.nrlq__choice.is-correct-answer {
    border-color: color-mix(in srgb, var(--nrlq-good) 55%, white);
    background: color-mix(in srgb, var(--nrlq-good) 8%, white);
    opacity: 1;
}
.nrlq__choice.is-correct-answer .nrlq__letter { background: var(--nrlq-good); color: #fff; }
.nrlq__choice.is-wrong-answer {
    border-color: color-mix(in srgb, var(--nrlq-bad) 48%, white);
    background: color-mix(in srgb, var(--nrlq-bad) 7%, white);
    opacity: 1;
}
.nrlq__choice.is-wrong-answer .nrlq__letter { background: var(--nrlq-bad); color: #fff; }
.nrlq__result {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 12px;
    background: var(--nrlq-soft);
}
.nrlq__result[hidden] { display: none; }
.nrlq__result-title { margin: 0 0 .55rem; font-weight: 800; }
.nrlq__result.is-correct .nrlq__result-title { color: var(--nrlq-good); }
.nrlq__result.is-wrong .nrlq__result-title { color: var(--nrlq-bad); }
.nrlq__result-body > :first-child { margin-top: 0; }
.nrlq__result-body > :last-child { margin-bottom: 0; }
.nrlq__correct-explanation { margin-top: .55rem; }
.nrlq__note {
    margin: .85rem 0 0;
    padding-top: .75rem;
    border-top: 1px solid var(--nrlq-border);
    color: var(--nrlq-muted);
    font-size: .9rem;
    line-height: 1.55;
}
.nrlq__feedback-data { display: none !important; }
.nrlq__noscript { margin-top: 1rem; padding: 1rem; background: var(--nrlq-soft); border-radius: 12px; }
@media (max-width: 640px) {
    .nrlq__choices { grid-template-columns: 1fr; }
    .nrlq { border-radius: 14px; padding: 1rem; }
}
@supports not (color: color-mix(in srgb, black, white)) {
    .nrlq__choice.is-correct-answer { border-color: #8db39a; background: #f4faf6; }
    .nrlq__choice.is-wrong-answer { border-color: #caa39c; background: #fcf6f5; }
}


/* Answer-gated rich explanation block. Content remains in page HTML for SEO,
   but is visually hidden until the preceding quiz is answered. */
.nrlq-reveal,
.wp-block-narupress-quiz-reveal.nrlq-reveal {
    display: none;
    margin-top: 1.4rem;
}
.nrlq-reveal.is-revealed,
.wp-block-narupress-quiz-reveal.nrlq-reveal.is-revealed {
    display: block;
    animation: nrlqRevealIn .22s ease-out;
}
@keyframes nrlqRevealIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .nrlq-reveal.is-revealed,
    .wp-block-narupress-quiz-reveal.nrlq-reveal.is-revealed { animation: none; }
}


/* Korean editorial readability: keep words together while still allowing long URLs/English to wrap. */
.nrlq,
.nrlq-reveal,
.wp-block-narupress-quiz-reveal.nrlq-reveal {
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.nrlq__question,
.nrlq__choice-label,
.nrlq__result-title,
.nrlq__result-body,
.nrlq__note {
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.nrlq__result-body {
    line-height: 1.75;
}
.nrlq__result-body p {
    margin: .45rem 0;
}
.nrlq__result-section {
    margin-bottom: .85rem;
}
.nrlq__result-label {
    margin: 0 0 .3rem !important;
    color: var(--nrlq-text);
    font-weight: 800;
}
.nrlq__answer-line {
    margin: .9rem 0 !important;
    padding-top: .8rem;
    border-top: 1px solid var(--nrlq-border);
}
.nrlq__correct-explanation {
    margin-top: .7rem;
}
.nrlq-reveal p,
.wp-block-narupress-quiz-reveal.nrlq-reveal p,
.nrlq-reveal li,
.wp-block-narupress-quiz-reveal.nrlq-reveal li {
    line-height: 1.85;
}
.nrlq-reveal h2,
.nrlq-reveal h3,
.nrlq-reveal h4,
.wp-block-narupress-quiz-reveal.nrlq-reveal h2,
.wp-block-narupress-quiz-reveal.nrlq-reveal h3,
.wp-block-narupress-quiz-reveal.nrlq-reveal h4 {
    word-break: keep-all;
    overflow-wrap: anywhere;
}
