/* ============================================
   LESSON 29 — SPECIFIC STYLES
   Understanding an Explanation (Listening)
   ============================================ */

/* ── Question stack ── */
.l29-q-stack { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }

.l29-q-block {
  padding: 16px 18px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l29-q-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.l29-q-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.l29-q-stem {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
}

/* ── Option buttons ── */
.l29-opt-list { display: flex; flex-direction: column; gap: 8px; }
.l29-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.l29-opt:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,168,76,.05); }
.l29-opt-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.l29-opt-text    { flex: 1; font-weight: 500; line-height: 1.4; }
.l29-opt-sel     { border-color: var(--gold)    !important; background: rgba(201,168,76,.08) !important; }
.l29-opt-correct { border-color: var(--success) !important; background: rgba(74,222,128,.07) !important; }
.l29-opt-wrong   { border-color: var(--error)   !important; background: rgba(248,113,113,.07) !important; }
.l29-opt:disabled { cursor: not-allowed; opacity: .75; }

/* ── Inline explanation panels ── */
.l29-inline-exp {
  margin: 4px 0 8px 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: .97rem;
  line-height: 1.85;
  border: 1px solid var(--border);
}
.l29-exp-ok  { background: rgba(72,199,116,.08); border-color: var(--success); }
.l29-exp-err { background: rgba(255,100,100,.07); border-color: var(--error); }

/* ── Explanation ── */
.l29-exp-list { display: flex; flex-direction: column; gap: 12px; }
.l29-exp-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l29-exp-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.l29-exp-lines { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.l29-exp-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 8px;
  line-height: 1.4;
}
.l29-exp-icon  { flex-shrink: 0; font-size: 1rem; }
.l29-exp-line-ok  { background: rgba(74,222,128,.07);  border: 1px solid rgba(74,222,128,.2);  color: var(--text); font-weight: 500; }
.l29-exp-line-no  { background: rgba(248,113,113,.05); border: 1px solid rgba(248,113,113,.15); color: var(--text-muted); }

/* ── Study Tip ── */
.l29-tip-box { display: flex; flex-direction: column; gap: 14px; }
.l29-tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l29-tip-icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.l29-tip-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; font-size: 1rem; }
.l29-tip-body  { color: var(--text-muted); font-size: .97rem; line-height: 1.55; margin: 0; }
.l29-tip-body em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ── Shake animation ── */
@keyframes l29-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
.l29-shake { animation: l29-shake .4s ease; }
