/* 객관식 레벨 진단 (단어·리스닝). 위 줄·시간 막대·결과 카드는 /reading/reading.css 를 같이 쓴다 */
.q-prompt { text-align: center; margin: 4px 0 14px; }
.q-word { font-size: clamp(30px, 9vw, 40px); font-weight: 800; letter-spacing: -0.01em; margin: 6px 0 2px; word-break: break-word; }
.q-hint { font-size: 13px; color: var(--muted); margin: 0; }
.choices { display: grid; gap: 8px; }
.choice { width: 100%; text-align: left; padding: 14px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; line-height: 1.4; }
.choice:active { transform: scale(0.99); }
.choice:disabled { cursor: default; }
.choice.right { border-color: var(--good); background: #e3f6ee; color: #146c4a; }
.choice.wrong { border-color: var(--bad); background: #ffe8e8; color: #a12a2a; }
.q-msg { margin: 10px 0 0; font-size: 13px; color: var(--bad); font-weight: 700; text-align: center; }
.skip-btn { width: 100%; margin-top: 10px; }
.reveal { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--bg); }
.reveal p { margin: 0 0 4px; }
.rv-head { font-size: 18px; font-weight: 800; }
.rv-head.ok { color: var(--good); }
.rv-head.no { color: var(--bad); }
.rv-en { font-weight: 700; }
.rv-ko { color: var(--muted); font-size: 14px; }
.next-btn { margin-top: 12px !important; }

/* 리스닝: 듣기 버튼 */
.play { width: 100%; height: 96px; border-radius: 20px; border: 3px solid var(--accent); background: var(--accent-soft); color: var(--accent);
  font: inherit; font-size: 19px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.play .ico { font-size: 34px; }
.play.on { background: var(--accent); color: #fff; }
.play:disabled { opacity: 0.45; cursor: default; }
.play-left { font-size: 13px; color: var(--muted); margin: 6px 0 0; text-align: center; }
.q-boss { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: #fff1e6; color: #c2410c; border: 1px solid #fdba74; font-size: 12px; font-weight: 800; }
/* 리스닝 실전형 대화 문제 (2026-11-15) */
.lq-q { font-weight: 800; font-size: 16px; line-height: 1.5; margin: 2px 0 12px; text-align: left; word-break: keep-all; }
.lq-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.lq-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.lq-table th, .lq-table td { border: 1px solid var(--line); padding: 5px 4px; text-align: center; white-space: nowrap; }
.lq-table thead th { background: var(--accent-soft); color: var(--ink); font-weight: 800; }
.lq-table tbody th { background: var(--bg); width: 26px; }
.lq-script { margin-top: 8px; text-align: left; font-size: 13px; line-height: 1.55; }
.lq-script summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.lq-script p { margin: 4px 0; }
/* 단어 진단: 시험 도중에는 한 화면에 다 보이게 (원장님 2026-11-16) — 아래로 내리지 않아도 되도록 줄인다 */
body.vq #quiz .q-top { margin: 8px 2px 4px; }
body.vq #quiz .panel { padding: 12px 14px; margin: 8px 0 0; }
body.vq #quiz .q-prompt { margin: 0 0 10px; }
body.vq #quiz .q-boss { margin: 0 0 2px; }
body.vq #quiz .q-word { font-size: clamp(28px, 8.5vw, 36px); margin: 2px 0 0; line-height: 1.2; }
body.vq #quiz .choices { gap: 6px; }
body.vq #quiz .choice { padding: 10px 12px; font-size: 15px; border-radius: 12px; }
body.vq #quiz .skip-btn { margin-top: 8px; padding: 10px; }
body.vq #quiz .reveal { margin-top: 8px; padding: 8px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
body.vq #quiz .reveal.hidden { display: none; }
body.vq #quiz .reveal p { margin: 0; }
body.vq #quiz .rv-head { font-size: 15px; }
body.vq #quiz .rv-en { font-size: 15px; }
body.vq #quiz .next-btn { margin-top: 8px !important; padding: 10px; font-size: 16px; }
/* 리스닝: 시험 도중 한 화면에 (원장님 2026-11-16). body.vq 줄인 규칙 위에 리스닝 것만 더 */
body.lq #quiz .play { height: 58px; font-size: 17px; border-radius: 16px; }
body.lq #quiz .play .ico { font-size: 26px; }
body.lq #quiz .play-left { margin: 4px 0 0; font-size: 12px; }
body.lq #quiz .lq-q { font-size: 15px; line-height: 1.4; margin: 0 0 8px; }
body.lq #quiz .lq-table-wrap { margin: 0 0 8px; }
body.lq #quiz .lq-table th, body.lq #quiz .lq-table td { padding: 3px 3px; font-size: 12.5px; }
body.lq #quiz .choice { padding: 9px 12px; line-height: 1.3; }
body.lq #quiz .lq-script { flex-basis: 100%; margin-top: 2px; }
/* 표 문제: 보기 ①~⑤를 한 줄로 */
.choices.row5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choices.row5 .choice { text-align: center; padding: 10px 0; font-size: 18px; }
body.lq #quiz .lq-table th, body.lq #quiz .lq-table td { white-space: normal; word-break: keep-all; font-size: 12px; padding: 3px 2px; }
