/* Xem lại các câu đã làm trong phiên: hàng ◀ [Câu n] ▶ phía trên thẻ câu hỏi */
.qnav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; min-height: 52px; }
.qn-btn { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--brand2-d);
  font: inherit; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0;
  box-shadow: 0 3px 0 var(--line); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.qn-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.qn-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.qn-mid { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-weight: 800; color: var(--muted); font-size: 16px; line-height: 1.2; }
.qn-mid small { font-size: 15px; font-weight: 800; }
.qnav.rv .qn-mid { background: #eaf5ff; border: 2px solid #b9dcf7; border-radius: 16px; padding: 5px 10px; color: var(--brand2-d); }
.qnav.rv .qn-btn { border-color: #b9dcf7; box-shadow: 0 3px 0 #b9dcf7; }

/* chế độ xem lại: ẩn thẻ câu đang làm (vẫn giữ nguyên trong trang), hiện bản chụp chỉ đọc */
.kwrap.reviewing > :not(.qnav):not(#rv) { display: none !important; }
#rv .rv-card { border: 2px dashed #b9dcf7 !important; }
#rv #qbody { pointer-events: none; -webkit-user-select: none; user-select: none; }
#rv .qhead .speak { pointer-events: auto; }
#rv { padding-bottom: 8px; }

@media (max-width: 520px) {
  .qnav { gap: 8px; margin-bottom: 8px; }
  .qn-btn { width: 48px; height: 48px; font-size: 20px; }
  .qn-mid { font-size: 15px; }
  .qn-mid small { font-size: 14px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .qnav { min-height: 46px; margin-bottom: 6px; }
  .qn-btn { width: 46px; height: 46px; }
}
