/* ============================================
   TEST YOUR LISTENING COMPREHENSION — styles
   Theme: same dark + gold as the other courses
   ============================================ */

:root {
  --lc-gold: #fbbf24;
  --lc-success: #34d399;
  --lc-error: #f87171;
}

/* No rubber-band bounce at the page ends: during overscroll the
   whole page (including the sticky player) gets dragged away from
   the top on iOS, which reads as "the audio bar disappears". */
html, body { overscroll-behavior-y: none; overflow-x: clip; }

/* ── Sticky player bar ───────────────────────────────────
   Two zones: meta (label + answered counter) and controls
   (play + seek + time). They share one row on wide screens
   and wrap into two tidy rows on phones. */
.lc-player-bar {
  position: sticky; top: 0; z-index: 100;
  background: #12121a; border-bottom: 2px solid var(--lc-gold);
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  /* Force its own composited layer — stops the sticky bar (and
     the range input inside it) from flickering/vanishing during
     momentum scroll on iOS/Safari. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.lc-player-meta {
  flex: 1 1 170px; min-width: 0;
  display: flex; align-items: center; gap: 10px;
}
.lc-player-controls {
  flex: 2 1 300px; min-width: 0;
  display: flex; align-items: center; gap: 12px;
}
@media (max-width: 640px) {
  .lc-player-meta, .lc-player-controls { flex-basis: 100%; }
  .lc-player-meta { min-height: 28px; }
  .lc-player-controls { gap: 10px; }
}
.lc-player-label {
  font: 700 .88rem/1.3 'DM Sans', sans-serif; color: var(--lc-gold);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0;
}
/* Answered-counter chip: live progress while answering */
.lc-count {
  flex-shrink: 0; padding: 4px 11px; border-radius: 20px;
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.35);
  color: var(--lc-gold); font: 700 .78rem/1.3 'DM Sans', sans-serif;
  white-space: nowrap;
}
.lc-count.done {
  background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.4);
  color: var(--lc-success);
}
.lc-play-btn {
  /* appearance:none is the real fix: without it iOS Safari paints
     its own grey native button inside our gold circle. */
  -webkit-appearance: none; appearance: none;
  background: var(--lc-gold); color: #111; border: none; border-radius: 50%;
  width: 38px; height: 38px; font: 700 .8rem/1 'DM Sans', sans-serif;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .15s, transform .1s;
  touch-action: manipulation;
}
.lc-play-btn svg { display: block; pointer-events: none; }
@media (hover: hover) {
  .lc-play-btn:hover { background: #f5a623; transform: scale(1.05); }
}

/* Seek slider: 22px gold thumb + filled track — sized for
   thumbs, not mouse cursors. */
.lc-seek {
  flex: 1; min-width: 0; height: 30px; cursor: pointer;
  -webkit-appearance: none; appearance: none; background: transparent;
  touch-action: manipulation;
}
.lc-seek::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right,
    var(--lc-gold) var(--seek-pct, 0%),
    rgba(255,255,255,0.18) var(--seek-pct, 0%));
}
.lc-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%; margin-top: -8px;
  background: var(--lc-gold); border: 3px solid #12121a;
  box-shadow: 0 0 0 1px rgba(251,191,36,0.45);
}
.lc-seek::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.lc-seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lc-gold); }
.lc-seek::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--lc-gold); border: 3px solid #12121a;
  box-shadow: 0 0 0 1px rgba(251,191,36,0.45);
}
.lc-time {
  font: 400 .82rem/1 'DM Sans', sans-serif; color: #a8a29a;
  white-space: nowrap; min-width: 86px; text-align: right; flex-shrink: 0;
}

/* ── Lesson body ───────────────────────────────────────── */
.lc-wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }

/* ── Score banner ──────────────────────────────────────── */
.lc-score-banner {
  display: flex; align-items: center; gap: 16px;
  background: rgba(251,191,36,0.08); border: 1.5px solid rgba(251,191,36,0.3);
  border-radius: 12px; padding: 16px 22px; margin-bottom: 20px; flex-wrap: wrap;
}
.lc-score-big   { font: 800 2.6rem/1 'Sora', sans-serif; color: var(--lc-gold); }
.lc-score-denom { font-size: 1.4rem; color: rgba(255,255,255,0.4); }
.lc-score-label { font: 400 1rem/1.4 'DM Sans', sans-serif; color: rgba(255,255,255,0.8); flex: 1; }

/* ── Question blocks ───────────────────────────────────── */
.lc-q-block {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
  /* Returning from the transcript scrolls back to this block —
     the margin clears the sticky player bar at the top. */
  scroll-margin-top: 150px;
}
.lc-q-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; flex-wrap: nowrap; }
/* Compact inline number prefix — no circle badge, saves a
   whole line of phone space per question. */
.lc-q-num {
  font: 700 .95rem/1.5 'DM Sans', sans-serif; color: var(--lc-gold);
  flex-shrink: 0;
}
.lc-q-text { font: 400 1rem/1.6 'DM Sans', sans-serif; color: rgba(255,255,255,0.88); flex: 1; min-width: 0; }

.lc-opts { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.lc-opt {
  display: flex; align-items: flex-start; gap: 6px;
  width: 100%; box-sizing: border-box; text-align: left;
  border: 2px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 10px 12px;
  cursor: pointer; font: 400 .97rem/1.5 'DM Sans', sans-serif; color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.03); transition: border-color .15s, background .15s;
}
.lc-opt:focus-visible { outline: 3px solid var(--lc-gold); outline-offset: 2px; }
.lc-opt-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* :hover only on real pointers. On a phone, touching an option
   (even just to scroll away from it) applies :hover and the
   state STICKS — an option lit up like a chosen answer. */
@media (hover: hover) {
  .lc-opt:hover { border-color: var(--lc-gold); }
}
.lc-opt.selected    { border-color: var(--lc-gold); background: rgba(251,191,36,0.08); color: var(--lc-gold); font-weight: 600; }
.lc-opt.opt-ok      { border-color: var(--lc-success); background: rgba(52,211,153,0.08); color: #4ade80; font-weight: 700; }
.lc-opt.opt-err     { border-color: var(--lc-error); background: rgba(248,113,113,0.07); color: #f87171; }
.lc-opt.opt-correct { border-color: var(--lc-success); background: rgba(52,211,153,0.08); color: #4ade80; }
.lc-opt-letter { font-weight: 700; flex-shrink: 0; opacity: .75; }

/* ── See transcript button (next to each question) ────────
   Compact chip — the swipe gesture is the main way in, so
   the button must not eat question space. */
.lc-see-btn {
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4);
  color: var(--lc-gold); border-radius: 7px; padding: 4px 9px;
  font: 700 .68rem/1.3 'DM Sans', sans-serif; cursor: pointer;
  white-space: nowrap; align-self: center;
  transition: background .15s; flex-shrink: 0; touch-action: manipulation;
}
@media (hover: hover) {
  .lc-see-btn:hover { background: rgba(251,191,36,0.25); }
}

/* ── Transcript view (swipe right) ────────────────────────
   The back button stays under the player bar so it remains
   reachable while scrolling. */
.lc-t-head {
  position: sticky; top: 64px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  margin: -6px 0 12px; padding: 8px 0 10px;
  background: linear-gradient(to bottom, #08080a 82%, rgba(8,8,10,0));
}
@media (max-width: 640px) { .lc-t-head { top: 100px; } }
.lc-t-back {
  min-height: 44px; box-sizing: border-box; padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 9px;
  background: transparent; color: #a8a29a;
  font: 600 .86rem/1 'DM Sans', sans-serif; cursor: pointer;
  touch-action: manipulation;
}
@media (hover: hover) {
  .lc-t-back:hover { color: #fff; border-color: rgba(251,191,36,0.45); }
}

.lc-transcript-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 16px 20px;
  font: 400 .97rem/2 'DM Sans', sans-serif; color: rgba(255,255,255,0.82);
}
.lc-transcript-card p { margin: 0 0 10px; }
/* Speaker labels (CHLOE:, OMAR:, …) — the display font, slightly
   smaller and letter-spaced, so dialogue voices are easy to
   separate from the spoken text without shouting. */
.lc-transcript-card strong:not(.lc-ans) {
  color: rgba(255,255,255,0.95);
  font-family: 'Sora', sans-serif;
  font-size: .84em;
  font-weight: 600;
  letter-spacing: .05em;
}

/* Answer highlight: only the active question's span is lit,
   every other answer span looks like plain text. */
.lc-ctx { border-radius: 4px; padding: 1px 3px; scroll-margin-top: 96px; }
.lc-ctx.dim .lc-ans { color: inherit; font-weight: 400; background: none; }
.lc-ctx.active { background: rgba(251,191,36,0.14); border-bottom: 2px solid rgba(251,191,36,0.45); }
.lc-ctx.active .lc-ans {
  color: var(--lc-gold); font-weight: 700;
  background: rgba(251,191,36,0.18); border-radius: 3px; padding: 0 2px;
}
.lc-ans { color: inherit; }

/* View-switch slide animations */
@keyframes lc-in-right {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lc-in-left {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: none; }
}
.lc-anim-t { animation: lc-in-right .22s ease; }
.lc-anim-q { animation: lc-in-left  .22s ease; }

/* ── Actions ─────────────────────────────────────────────
   Sits at the end of the question list, in normal flow. */
.lc-actions {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px;
  padding: 4px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.lc-check-hint { font: 400 .85rem/1.4 'DM Sans', sans-serif; color: rgba(255,255,255,0.45); }

/* Buttons are styled globally (not just inside .lc-actions) so
   "Practice these" in the notebook and "Back to vocabulary" in
   the matching screen get the same comfortable thumb target. */
.btn {
  border: none; border-radius: 9px; padding: 12px 22px;
  min-height: 48px; box-sizing: border-box;
  font: 700 .95rem/1 'DM Sans', sans-serif; cursor: pointer;
  touch-action: manipulation;
  transition: filter .15s, background .15s, border-color .15s;
}
.btn-primary { background: var(--lc-gold); color: #1a1205; }
.btn-primary:disabled { opacity: .45; cursor: default; }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,0.15); color: #a8a29a;
}
@media (hover: hover) {
  .btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
  .btn-ghost:hover { color: #fff; border-color: rgba(251,191,36,0.45); }
}

/* Phone: primary actions become full-width thumb targets */
@media (max-width: 640px) {
  .lc-actions .btn { flex: 1 1 100%; padding: 14px 22px; }
  .lc-check-hint { flex-basis: 100%; text-align: center; }
}

/* ── Toast ─────────────────────────────────────────────── */
.lc-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1e1e28; border: 1px solid rgba(251,191,36,0.4); border-radius: 10px;
  padding: 12px 20px; font: 400 .9rem/1.5 'DM Sans', sans-serif; color: rgba(255,255,255,0.85);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); z-index: 1000;
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
  max-width: 380px; text-align: center;
}
.lc-toast.lc-toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Reserve vertical scrolling to the browser so horizontal swipes
   on lesson content can switch question/transcript views reliably. */
#lc-lesson-body { touch-action: pan-y; }

/* No double-tap zoom / 300ms delay on tappable elements */
.lc-opt, .lc-play-btn, .lc-see-btn, .lc-t-back,
.lc-actions .btn, .be-back, .be-lesson, .lc-seek {
  touch-action: manipulation;
}

/* ── Vocabulary: tappable transcript words ────────────────
   Subtle dotted gold underline — visible enough to invite a
   tap, quiet enough never to compete with the green answer
   highlights. */
.lc-v {
  text-decoration: underline dotted rgba(251,191,36,.65);
  text-underline-offset: 3px;
  cursor: pointer;
}
/* Vocab words can sit inside an answer highlight; keep the
   dotted marker visible and tappable there too. */
.lc-ans .lc-v {
  text-decoration: underline dotted rgba(251,191,36,.95);
  text-underline-offset: 3px;
}
.lc-v-demo {
  text-decoration: underline dotted rgba(251,191,36,.65);
  text-underline-offset: 3px;
  color: var(--lc-gold);
}

/* ── Vocabulary bottom sheet ────────────────────────────── */
.lc-vsheet { position: fixed; inset: 0; z-index: 300; display: none; }
.lc-vsheet.open { display: block; }
.lc-vsheet-veil { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.lc-vsheet-card {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: 480px; margin: 0 auto;
  background: #14141b; border: 1px solid rgba(255,255,255,.12); border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  animation: lc-sheet-up .2s ease;
}
@keyframes lc-sheet-up {
  from { transform: translateY(36px); opacity: .5; }
  to   { transform: none; opacity: 1; }
}
.lc-vsheet-top { display: flex; align-items: center; margin-bottom: 6px; }
.lc-vs-word { font: 700 1.25rem/1.3 'Sora', sans-serif; color: var(--lc-gold); }
.lc-vs-meaning { margin: 0 0 8px; font: 400 1rem/1.55 'DM Sans', sans-serif; color: rgba(255,255,255,.88); }
.lc-vs-example { margin: 0 0 14px; font: 400 .9rem/1.5 'DM Sans', sans-serif; color: #a8a29a; font-style: italic; }
.lc-vs-add {
  display: block; width: 100%; min-height: 46px; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--lc-gold); color: #1a1205;
  font: 700 .95rem/1.2 'DM Sans', sans-serif; cursor: pointer;
  touch-action: manipulation;
}
.lc-vs-add.saved { background: rgba(52,211,153,.15); color: #34d399; border-color: rgba(52,211,153,.4); }
@media (hover: hover) {
  .lc-vs-add:hover:not(.saved) { filter: brightness(1.06); }
}

/* ── Vocabulary notebook screen ───────────────────────────
   Saved words in groups of five; each full group gets a
   "Practice these" matching round (Idiom Insight pattern). */
.lc-vgroup { margin-bottom: 26px; }
.lc-vgroup-h {
  font: 600 .78rem/1.4 'DM Sans', sans-serif; color: #a8a29a;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.lc-vcard {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
.lc-vcard-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.lc-vcard-w { flex: 1 1 auto; min-width: 0; font: 700 1.05rem/1.3 'Sora', sans-serif; color: var(--lc-gold); }
.lc-vcard-del {
  flex: 0 0 auto; min-width: 36px; min-height: 36px; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  background: transparent; color: #a8a29a; font-size: .9rem;
  cursor: pointer; touch-action: manipulation;
}
@media (hover: hover) {
  .lc-vcard-del:hover { border-color: rgba(248,113,113,.5); color: #f87171; }
}
.lc-vcard-m { font: 400 .95rem/1.5 'DM Sans', sans-serif; color: rgba(255,255,255,.85); }
.lc-vcard-ex { margin-top: 4px; font: 400 .85rem/1.5 'DM Sans', sans-serif; color: #a8a29a; font-style: italic; }
.lc-vcard-src { margin-top: 6px; font: 600 .72rem/1.4 'DM Sans', sans-serif; color: #8b8578; text-transform: uppercase; letter-spacing: .04em; }
.lc-vpractice { width: 100%; margin-top: 4px; }
.lc-vempty {
  text-align: center; padding: 44px 20px;
  font: 400 .95rem/1.7 'DM Sans', sans-serif; color: #a8a29a;
}

/* ── Matching practice ──────────────────────────────────── */
.lc-vmround { padding-top: 8px; }
.lc-vmcount { text-align: center; font: 700 .85rem/1.2 'DM Sans', sans-serif; color: #a8a29a; }
.lc-mdots { display: flex; justify-content: center; gap: 7px; margin: 10px 0 18px; }
.lc-mdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.12); }
.lc-mdot.now { background: var(--lc-gold); box-shadow: 0 0 8px rgba(251,191,36,.6); }
.lc-mdot.done { background: rgba(52,211,153,.75); }
.lc-vmdef {
  background: #14141b; border: 1px solid rgba(251,191,36,.3); border-radius: 12px;
  padding: 20px 18px; margin-bottom: 22px; text-align: center;
  font: 500 1.2rem/1.5 'DM Sans', sans-serif; color: rgba(255,255,255,.95);
  overflow-wrap: anywhere;
}
.lc-mchips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lc-mchip {
  padding: 14px 18px; min-height: 54px; max-width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; color: #e6e2da;
  font: 600 1.1rem/1.3 'DM Sans', sans-serif;
  overflow-wrap: anywhere;
  cursor: pointer; touch-action: manipulation;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
@media (hover: hover) {
  .lc-mchip:hover { border-color: rgba(251,191,36,.5); }
}
.lc-mchip.ok { background: rgba(52,211,153,.16); border-color: var(--lc-ok); color: #34d399; }
.lc-mchip.err { background: rgba(248,113,113,.14); border-color: var(--lc-err); color: #f87171; transform: translateX(3px); }
.lc-vmfb { min-height: 58px; margin-top: 16px; text-align: center; }
.lc-vmex { font: 400 .95rem/1.5 'DM Sans', sans-serif; color: rgba(255,255,255,.85); font-style: italic; }
.lc-vmsrc { margin-top: 6px; font: 600 .72rem/1.4 'DM Sans', sans-serif; color: #8b8578; text-transform: uppercase; letter-spacing: .04em; }
.lc-vmno { font: 400 .9rem/1.5 'DM Sans', sans-serif; color: #f87171; }
.lc-vmdone { text-align: center; padding: 56px 20px; }
.lc-vmdone h3 { font: 700 1.4rem/1.3 'Sora', sans-serif; color: #fff; margin: 0 0 8px; }
.lc-vmdone p { font: 400 .95rem/1.5 'DM Sans', sans-serif; color: #a8a29a; margin: 0 0 20px; }

/* ── Vocabulary index ───────────────────────────────────── */
.lc-ix-search { margin-bottom: 14px; }
.lc-ix-search input {
  width: 100%; box-sizing: border-box; padding: 12px 16px;
  font: 400 1rem/1.4 'DM Sans', sans-serif;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: #14141b; color: #f4f4f6; outline: none;
}
.lc-ix-search input:focus { border-color: rgba(251,191,36,.5); }
.lc-ixrow {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-bottom: 8px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.lc-ixnum { flex: 0 0 30px; text-align: right; font: 700 .8rem/1.2 'DM Sans', sans-serif; color: #8b8578; }
.lc-ixmain { flex: 1 1 auto; min-width: 0; }
.lc-ixword { display: block; font: 700 .98rem/1.3 'Sora', sans-serif; color: var(--lc-gold); }
.lc-ixdef { display: block; margin-top: 2px; font: 400 .82rem/1.45 'DM Sans', sans-serif; color: #a8a29a; }
.lc-ixgo {
  flex: 0 0 auto; padding: 7px 12px; box-sizing: border-box;
  background: linear-gradient(135deg, #d97706, var(--lc-gold)); color: #111;
  border: none; border-radius: 8px;
  font: 700 .8rem/1.2 'DM Sans', sans-serif; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
}
@media (hover: hover) {
  .lc-ixgo:hover { opacity: .85; }
}

/* The vocabulary index preview is for locating a word, not
   reviewing answers: neutralize all answer formatting there. */
.lc-index-preview .lc-ctx .lc-ans {
  color: inherit; font-weight: 400; background: none; border-radius: 0; padding: 0;
}

/* Word opened from the Vocabulary Index: pinned blue marker so
   the learner sees exactly which word they came for. Answer
   highlights stay off in that read-only view. */
.lc-v-hl {
  background: rgba(59,130,246,.25); border-radius: 4px; padding: 1px 3px;
  box-shadow: inset 0 -2px 0 rgba(96,165,250,.65);
  animation: lc-v-pulse 1.2s ease;
}
@keyframes lc-v-pulse {
  0% { background: rgba(96,165,250,.55); }
  100% { background: rgba(59,130,246,.25); }
}

/* ── "Learn vocabulary" mode (post-check) ─────────────────
   The transcript opened with attention on the words, not the
   answers: answer formatting is neutralized and every tappable
   word gets a soft gold glow. */
.lc-vocab-mode .lc-ctx .lc-ans {
  color: inherit; font-weight: 400; background: none; border-radius: 0; padding: 0;
}
.lc-vocab-mode .lc-v {
  color: var(--lc-gold);
  background: rgba(251,191,36,.09);
  border-radius: 4px; padding: 1px 3px;
  font-weight: 500;
}
.lc-vocab-hint {
  margin: 0 0 14px; padding: 12px 16px;
  border: 1px solid rgba(251,191,36,.28);
  background: rgba(251,191,36,.07);
  border-radius: 8px;
  font-size: 14.5px; line-height: 1.55; color: rgba(230,226,218,.92);
}
.lc-vocab-hint strong { color: var(--lc-gold); }
/* The open button gets a gold accent so it stands out between
   the ghost Try again and the filled Next practice. */
.lc-vocab-open { border-color: rgba(251,191,36,.4); color: var(--lc-gold); }
@media (hover: hover) {
  .lc-vocab-open:hover { color: #fcd34d; border-color: rgba(251,191,36,.6); background: rgba(251,191,36,.06); }
}
