/* =====================================================================
   BreakThrough Education — Lesson V3 "Flow" (js/lesson-v3.js)
   Calm, premium, one-section-per-screen. Warm ivory canvas, white cards,
   sparing section accents (each screen sets --lv3a). Mobile-first (360px).
   Every class here starts with lv3- ; global .oef-* only restyled scoped
   under #lv3Ov.
   ===================================================================== */

body.lesson-open { overflow: hidden; }

#lv3Ov {
  position: fixed; inset: 0; z-index: 4000;
  height: 100vh; height: 100dvh;
  background: #f7f4ee;
  color: #212936;
  font-family: var(--font, "Baloo 2", "Segoe UI", system-ui, sans-serif);
  --lv3a: #212936;
}

/* ---------------- top chrome (blurred ivory, safe-area aware) ---------- */
.lv3-hd {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(247, 244, 238, .85);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid #e7e2d8;
}
.lv3-top {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 6px;
  max-width: 900px; margin: 0 auto;
}
.lv3-back {
  flex: none; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid #e7e2d8;
  background: #fffdf9; color: #212936;
  font-family: inherit; font-size: 1.55rem; line-height: 1;
  display: grid; place-items: center; padding: 0 0 3px;
  cursor: pointer;
  transition: transform .15s cubic-bezier(.22,.61,.36,1), box-shadow .15s;
}
.lv3-back:hover { transform: translateX(-2px); box-shadow: 0 4px 12px rgba(25,30,45,.08); }
.lv3-tmid { flex: 1; min-width: 0; text-align: center; }
.lv3-ttitle {
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lv3-tsub {
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 700; text-transform: uppercase; letter-spacing: .13em;
  font-size: .62rem; color: #5b6675; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lv3-pts {
  flex: none; font-weight: 800; font-size: .88rem; color: #212936;
  background: #fffdf9; border: 1px solid #e7e2d8; border-radius: 999px;
  padding: 7px 13px; box-shadow: 0 2px 8px rgba(25,30,45,.05);
}

/* segmented progress strip — one segment per screen */
.lv3-seg {
  display: flex; gap: 5px;
  padding: 2px 14px 10px;
  max-width: 900px; margin: 0 auto;
}
.lv3-segb {
  flex: 1; min-width: 0; background: none; border: 0;
  padding: 6px 0; margin: 0; cursor: pointer;
}
.lv3-segb span {
  display: block; height: 6px; border-radius: 999px;
  background: #e7e2d8;
  transition: background .25s, opacity .25s;
}
.lv3-segb.on span { animation: lv3SegPulse 1.9s ease-in-out infinite; }
@keyframes lv3SegPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

/* ---------------- scroll body + content column ------------------------- */
.lv3-body {
  position: absolute; inset: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-top: 100px;
  padding-top: calc(100px + env(safe-area-inset-top, 0px));
}
.lv3-inner {
  max-width: 840px; margin: 0 auto;
  padding: 24px 16px 160px;
  padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
}
.lv3-screen { animation: lv3Rise .3s cubic-bezier(.22,.61,.36,1) both; }
@keyframes lv3Rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------- cards, type, kickers --------------------------------- */
.lv3-card {
  background: #fffdf9;
  border: 1px solid #eee9df;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(25,30,45,.07);
  padding: 24px 20px;
  margin: 0 0 16px;
}
.lv3-kick {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .7rem; color: #5b6675;
  margin: 0 0 10px;
}
.lv3-dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lv3a, #212936);
}
.lv3-h2 {
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.35rem, 4.5vw, 1.7rem); line-height: 1.2;
  color: #212936; margin: 4px 0 6px;
}
.lv3-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem; line-height: 1.8; color: #212936;
  margin: 10px 0;
}
.lv3-sechead { margin: 0 0 4px 6px; }

/* narratable row: content + circular ghost speaker */
.lv3-nrow { display: flex; align-items: flex-start; gap: 12px; }
.lv3-nrow .lv3-nt { flex: 1; min-width: 0; }
.lv3-say {
  flex: none; width: 34px; height: 34px; margin-top: 4px;
  border-radius: 50%; border: 1px solid #e7e2d8;
  background: transparent; color: #8a93a3;
  font-size: .88rem; line-height: 1; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.lv3-say:hover { color: var(--lv3a, #212936); border-color: var(--lv3a, #212936); }
.lv3-say.on {
  color: #fff; background: var(--lv3a, #212936); border-color: var(--lv3a, #212936);
  animation: lv3SayPulse 1.6s ease-in-out infinite;
}
@keyframes lv3SayPulse {
  0%   { box-shadow: 0 0 0 0 rgba(33,41,54,.22); }
  70%  { box-shadow: 0 0 0 9px rgba(33,41,54,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,41,54,0); }
}

/* ---------------- buttons ---------------------------------------------- */
.lv3-btn {
  border: 0; border-radius: 999px; padding: 11px 24px;
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; font-size: .9rem; color: #fff;
  background: var(--lv3a, #212936);
  box-shadow: 0 6px 16px rgba(25,30,45,.16);
  cursor: pointer;
  transition: transform .15s cubic-bezier(.22,.61,.36,1), box-shadow .15s;
}
.lv3-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(25,30,45,.2); }
.lv3-btn:active { transform: none; }
.lv3-pill {
  border: 0; border-radius: 999px; padding: 16px 34px;
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; font-size: 1.02rem; color: #fff;
  background: var(--lv3a, #16a34a);
  box-shadow: 0 12px 28px rgba(22,163,74,.28);
  cursor: pointer;
  transition: transform .15s cubic-bezier(.22,.61,.36,1);
}
.lv3-pill:hover { transform: translateY(-2px); }
.lv3-fin-done {
  background: #e9f6ee; color: #16a34a;
  box-shadow: none; cursor: default;
}
.lv3-fin-done:hover { transform: none; }
.lv3-quiet {
  background: transparent; border: 1px solid #e7e2d8; border-radius: 999px;
  padding: 10px 24px; font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 700; font-size: .9rem; color: #5b6675; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.lv3-quiet:hover { border-color: #5b6675; color: #212936; }

/* floating next pill (bottom-right, above safe area) */
.lv3-next {
  position: absolute; right: 16px;
  bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  border: 0; border-radius: 999px; padding: 15px 26px;
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; font-size: 1rem; color: #fff;
  background: #212936;
  box-shadow: 0 12px 28px rgba(25,30,45,.28);
  cursor: pointer;
  transition: transform .15s cubic-bezier(.22,.61,.36,1), box-shadow .15s;
}
.lv3-next:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(25,30,45,.32); }
.lv3-next:active { transform: none; }

/* ---------------- cover ------------------------------------------------ */
.lv3-s-cover {
  background: radial-gradient(720px 340px at 88% -80px, rgba(2,132,199,.055), rgba(2,132,199,0) 70%);
  border-radius: 28px;
}
.lv3-cover { position: relative; padding: 34px 6px 24px; }
.lv3-wm {
  position: absolute; top: -46px; right: -12px; z-index: 0;
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; line-height: 1;
  font-size: clamp(9.5rem, 36vw, 17rem);
  color: rgba(33,41,54,.045);
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.lv3-cover > * { position: relative; z-index: 1; }
.lv3-wm { z-index: 0; }
.lv3-hello {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fffdf9; border: 1px solid #eee9df; border-radius: 999px;
  padding: 5px 16px 5px 5px;
  box-shadow: 0 8px 24px rgba(25,30,45,.07);
  font-weight: 700; font-size: .9rem; color: #5b6675;
  margin: 0 0 26px;
}
.lv3-hello svg { display: block; width: 40px; height: 40px; border-radius: 50%; background: #f1ede4; }
.lv3-hello:empty { display: none; }
.lv3-hero {
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.1rem, 7.5vw, 3.4rem); line-height: 1.06;
  color: #212936; margin: 12px 0 16px;
}
.lv3-lede { font-size: 1.18rem; line-height: 1.85; color: #3d4756; max-width: 640px; }
.lv3-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fffdf9; border: 1px solid #eee9df;
  border-left: 3px solid var(--lv3a, #212936);
  border-radius: 16px; padding: 15px 18px; margin-top: 24px;
  box-shadow: 0 8px 24px rgba(25,30,45,.05);
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 600; font-size: .95rem; line-height: 1.55; color: #3d4756;
  max-width: 560px;
}

/* ---------------- objectives ------------------------------------------- */
.lv3-goal-list { list-style: none; counter-reset: lv3g; margin: 14px 0 0; padding: 0; }
.lv3-goal-list li {
  counter-increment: lv3g;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed #eee9df;
}
.lv3-goal-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.lv3-goal-list li::before {
  content: counter(lv3g);
  flex: none; width: 30px; height: 30px; margin-top: 4px;
  border-radius: 50%; background: rgba(22,163,74,.1); color: #16a34a;
  font-weight: 800; font-size: .88rem;
  display: grid; place-items: center;
}
.lv3-goal-list .lv3-nrow { flex: 1; min-width: 0; }
.lv3-goal-t {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem; line-height: 1.7; color: #212936;
}

/* ---------------- lees: glossary --------------------------------------- */
.lv3-gloss-grid { margin-top: 4px; }
.lv3-gloss-i {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 2px; border-bottom: 1px dashed #eee9df;
  font-size: .98rem;
}
.lv3-gloss-i:last-child { border-bottom: 0; }
.lv3-gloss-i b { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.lv3-gloss-i span { color: #5b6675; text-align: right; font-family: var(--font-read, "Quicksand", sans-serif); font-weight: 600; font-size: .88rem; }

/* ---------------- begrip question cards -------------------------------- */
.lv3-q { border-left: 3px solid var(--lv3a, #0284c7); }
.lv3-q.lv3-q-ok  { border-left-color: #86d29b; }
.lv3-q.lv3-q-bad { border-left-color: #e7a4a4; }
.lv3-q-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.lv3-q-top .lv3-kick { margin: 0; }
.lv3-lvl {
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 700; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid #e7e2d8; border-radius: 999px; padding: 4px 10px;
  color: #5b6675; background: #fff;
}
.lv3-qpts { margin-left: auto; font-weight: 700; font-size: .8rem; color: #8a93a3; }
.lv3-q-text { margin: 4px 0 14px; }
.lv3-q-act { display: flex; justify-content: flex-end; margin-top: 12px; }

.lv3-ta {
  width: 100%; box-sizing: border-box; display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem; line-height: 1.7; color: #212936;
  background: #fff; border: 1px solid #e7e2d8; border-radius: 14px;
  padding: 12px 14px; min-height: 110px; resize: vertical; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.lv3-ta:focus { border-color: var(--lv3a, #212936); box-shadow: 0 0 0 3px rgba(33,41,54,.07); }
.lv3-ta.ok  { border-color: #9fd8ae; background: #f4fbf5; }
.lv3-ta.bad { border-color: #e7b1b1; background: #fdf6f6; }
.lv3-ta[readonly] { color: #3d4756; }

.lv3-fb {
  margin-top: 12px; border-radius: 14px; padding: 12px 14px;
  border: 1px solid transparent;
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 600; font-size: .93rem; line-height: 1.55;
}
.lv3-fb.ok   { background: #f0f9f1; border-color: #cde9d3; color: #14532d; }
.lv3-fb.warn { background: #fdf6e7; border-color: #f0e2c0; color: #7c5a12; }
.lv3-fb.bad  { background: #fdf1f1; border-color: #f2d5d5; color: #7f1d1d; }
.lv3-why {
  margin-top: 10px; padding: 9px 12px;
  border-left: 3px solid var(--lv3a, #d97706);
  background: rgba(33,41,54,.04); border-radius: 0 10px 10px 0;
  color: #212936; font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: .95rem; line-height: 1.65;
}
.lv3-memo {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem; line-height: 1.7; color: #212936;
  background: #faf7f0; border: 1px solid #eee9df; border-radius: 14px;
  padding: 14px 16px;
}
.lv3-memo > b { font-family: var(--font, "Baloo 2", sans-serif); font-size: .9rem; }

/* ---------------- taal / mondeling drills ------------------------------ */
.lv3-ex-row { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.lv3-ex {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem; line-height: 1.65; color: #212936;
  background: #faf7f0; border: 1px solid #eee9df;
  border-left: 3px solid var(--lv3a, #7c3aed);
  border-radius: 12px; padding: 12px 16px;
}
.lv3-drill { border-left: 3px solid var(--lv3a, #7c3aed); padding-top: 20px; padding-bottom: 16px; }
.lv3-drill-q { margin: 0 0 8px; }
.lv3-model-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 700; font-size: .82rem; letter-spacing: .05em;
  color: var(--lv3a, #7c3aed);
  transition: opacity .15s;
}
.lv3-model-btn:hover { opacity: .75; }
.lv3-model-btn.open { opacity: .6; }
.lv3-model {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .35s cubic-bezier(.22,.61,.36,1), opacity .3s;
}
.lv3-model.open { max-height: 1600px; opacity: 1; }
.lv3-model-in { padding-top: 2px; }
.lv3-model .lv3-memo { margin-top: 8px; }

/* ---------------- woorde grid ------------------------------------------ */
.lv3-words {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 13px;
}
.lv3-word {
  margin: 0; padding: 18px 16px;
  transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .18s;
}
.lv3-word:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,30,45,.1); }
.lv3-word .lv3-say { width: 30px; height: 30px; margin-top: 0; font-size: .8rem; }
.lv3-word-af {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: #212936;
}
.lv3-word-en {
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 600; font-size: .88rem; color: #5b6675; margin-top: 3px;
}
.lv3-word-sin {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-size: .93rem; line-height: 1.55; color: #5b6675;
  border-top: 1px dashed #eee9df; margin-top: 10px; padding-top: 9px;
}

/* ---------------- skryf writing desk ----------------------------------- */
.lv3-checks { list-style: none; margin: 12px 0 4px; padding: 0; }
.lv3-checks li {
  position: relative; padding: 9px 0 9px 30px;
  border-bottom: 1px dashed #eee9df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem; line-height: 1.65; color: #212936;
}
.lv3-checks li:last-child { border-bottom: 0; }
.lv3-checks li::before {
  content: "✓";
  position: absolute; left: 2px; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; font-size: .72rem;
  color: var(--lv3a, #db2777); background: rgba(33,41,54,.05);
}
.lv3-desk-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 14px 0 8px;
}
.lv3-desk-hint {
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 700; font-size: .82rem; color: #5b6675;
}
.lv3-wc {
  font-family: var(--font, "Baloo 2", sans-serif);
  font-weight: 800; font-size: .95rem; color: var(--lv3a, #db2777);
  font-variant-numeric: tabular-nums;
}
.lv3-wta { min-height: 230px; font-size: 1.08rem; }

/* ---------------- oefeninge (BTOefening harmonised with Flow) ---------- */
.lv3-oefcard { padding-bottom: 20px; }
#lv3Ov .oef { font-family: var(--font, "Baloo 2", sans-serif); }
#lv3Ov .oef-title { color: #212936; font-weight: 800; letter-spacing: -.01em; }
#lv3Ov .oef-bubble { background: #fff; border-color: #e7e2d8; border-radius: 16px; }
#lv3Ov .oef-bubble::before { border-right-color: #e7e2d8; }
#lv3Ov .oef-bubble-t { color: #212936; }
#lv3Ov .oef-sin { color: #212936; }
#lv3Ov .oef-word { color: #7c3aed; }
#lv3Ov .oef-line { border-color: #e7e2d8; }
#lv3Ov .oef-tile,
#lv3Ov .oef-opt,
#lv3Ov .oef-card {
  background: #fff; border-color: #e7e2d8; color: #212936;
  box-shadow: 0 2px 8px rgba(25,30,45,.04);
}
#lv3Ov .oef-opt.sel, #lv3Ov .oef-card.sel { border-color: #1cb0f6; background: #eef8ff; color: #0369a1; }
#lv3Ov .oef-card-cap { color: #5b6675; }
#lv3Ov .oef-say { border-radius: 50%; box-shadow: 0 4px 12px rgba(28,176,246,.3); }
#lv3Ov .oef-say:active { transform: translateY(1px); }
#lv3Ov .oef-check {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(88,204,2,.28);
}
#lv3Ov .oef-check:disabled { background: #e7e2d8; color: #9aa3af; box-shadow: none; }
#lv3Ov .oef-check:not(:disabled):active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(88,204,2,.24); }
#lv3Ov .oef-result { border-radius: 16px; }
#lv3Ov .oef-result.ok  { background: #eaf9dc; }
#lv3Ov .oef-result.bad { background: #fdeaea; }
#lv3Ov .oef-verdict { color: #212936; }
#lv3Ov .oef-why { color: #212936; border-radius: 0 10px 10px 0; }
#lv3Ov .oef-next, #lv3Ov .oef-retry { border-radius: 999px; }
#lv3Ov .oef-next  { box-shadow: 0 6px 16px rgba(88,204,2,.3); }
#lv3Ov .oef-retry { box-shadow: 0 6px 16px rgba(28,176,246,.3); }
/* new question types (oop text + pas match) in the light Flow theme */
#lv3Ov .oef-q { color: #212936; }
#lv3Ov .oef-oop-input { background: #fff; border-color: #e7e2d8; color: #212936; }
#lv3Ov .oef-oop-input:focus { border-color: #0284c7; }
#lv3Ov .oef-pas-item { background: #fff; border-color: #e7e2d8; color: #212936; box-shadow: 0 2px 8px rgba(25,30,45,.04); }
#lv3Ov .oef-pas-item.sel { border-color: #0284c7; background: #eef8ff; }
#lv3Ov .oef-pas-item.paired { border-color: #16a34a; background: #eaf9dc; }

/* ---------------- finish ------------------------------------------------ */
.lv3-finish {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center; padding: 44px 6px 10px;
}
.lv3-fin-emoji { font-size: 4.2rem; line-height: 1; }
.lv3-fin-h { margin: 0; font-size: clamp(1.9rem, 6.5vw, 2.8rem); }
.lv3-stats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lv3-stat {
  background: #fffdf9; border: 1px solid #eee9df; border-radius: 18px;
  padding: 14px 22px; min-width: 84px;
  box-shadow: 0 8px 24px rgba(25,30,45,.06);
  font-weight: 800; font-size: 1.05rem; color: #212936;
  font-variant-numeric: tabular-nums;
}
.lv3-foot-note {
  font-family: var(--font-read, "Quicksand", sans-serif);
  font-weight: 600; font-size: .78rem; color: #8a93a3; margin-top: 4px;
}

/* ---------------- desktop polish ---------------------------------------- */
@media (min-width: 700px) {
  .lv3-top { padding: 12px 18px 8px; }
  .lv3-ttitle { font-size: 1.08rem; }
  .lv3-seg { padding: 2px 18px 12px; gap: 6px; }
  .lv3-body {
    padding-top: 108px;
    padding-top: calc(108px + env(safe-area-inset-top, 0px));
  }
  .lv3-inner { padding: 36px 28px 180px; }
  .lv3-card { padding: 30px 32px; margin-bottom: 18px; }
  .lv3-cover { padding: 56px 10px 30px; }
  .lv3-gloss-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .lv3-words { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 15px; }
  .lv3-next { right: 26px; bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding: 16px 30px; }
}

/* ---------------- reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #lv3Ov, #lv3Ov * {
    animation: none !important;
    transition: none !important;
  }
}
