/* Scoped interactive villages. Other pages keep their established layout. */
.learning-page { padding-bottom: max(32px,env(safe-area-inset-bottom)); }
.play-game-heading { display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:10px;margin:18px 0 20px; }
.play-game-topic { display:block;font:800 .73rem/1.4 var(--font-body);color:#6b9277;letter-spacing:.035em; }
.play-game-heading h1 { margin:6px 0 9px;font:800 clamp(25px,6.5vw,32px)/1.1 var(--font-display); }
.play-game-heading p { margin:0;font:600 15px/1.5 var(--font-body);color:var(--ink-2);overflow-wrap:anywhere; }
.play-game-mascot { width:64px;height:105px;object-fit:contain; }
.child-exercise .learning-workspace { position:relative;border-radius:26px;border:1px solid #e3e9df;box-shadow:0 8px 20px #7487650b; }
.child-exercise .learning-tile { border-radius:17px;min-height:54px;font-family:var(--font-tamil),var(--font-body); }
.child-exercise .learning-odd-grid .learning-tile[aria-pressed=true] { border-radius:50%;border:3px solid #54a280;outline:4px solid #e5f2e5;outline-offset:-7px; }
.child-exercise .learning-match-tile [lang=ta] { font-size:20px; }
.village-memory-picture svg { display:block;width:84px;max-width:100%;height:84px; }
.learning-word-hunt { line-height:2.9;font:600 22px/2.9 var(--font-tamil); }
.learning-word-hunt .learning-tile { display:inline;min-height:44px;font-size:inherit;line-height:inherit;padding:7px 5px;margin:3px 1px;border:2px solid transparent;background:transparent;box-shadow:none; }
.learning-word-hunt .learning-tile[aria-pressed=true] { border-color:#4e9e79;border-radius:50%;background:#e7f2e6; }
.learning-journey { position:relative;padding:40px 0 28px; }
.learning-journey-start { position:absolute;top:-12px;left:0;width:40px;height:70px;z-index:1; }
.learning-journey-start img { width:100%;height:100%;object-fit:contain; }
.learning-journey .learning-path::before,.learning-journey .learning-path::after { display:none; }
.learning-journey .learning-path { padding:10px; }
.learning-journey-goal { position:absolute;right:8px;bottom:0;color:#eab753;font-size:33px;line-height:1; }
.learning-journey .is-here { outline:3px solid #e6bf79;outline-offset:2px; }
.learning-palette { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0; }
.learning-palette button { display:grid;justify-items:center;gap:5px;border:2px solid transparent;border-radius:15px;background:transparent;padding:7px 2px;color:var(--ink);min-height:64px;min-width:0; }
.learning-palette button>span { width:29px;height:29px;display:block;border-radius:50%;background:var(--paint);border:3px solid #fff;box-shadow:0 1px 3px #1a423524; }
.learning-palette button[aria-pressed=true] { border-color:#4b916e;background:#e8f2e8; }
.learning-palette small { font:800 13px/1.3 var(--font-body);overflow-wrap:anywhere; }
.learning-paint-flower { position:relative;width:240px;height:240px;max-width:100%;margin:8px auto; }
.learning-petal { position:absolute;width:92px;height:92px;border:2px solid #c5d9c6;border-radius:50% 50% 18% 50%;background:var(--petal);box-shadow:0 4px 0 #6089611a;cursor:pointer; }
.learning-petal>span { position:absolute;top:14px;left:14px;display:block;width:18px;height:18px;border-radius:50%;background:var(--model);border:3px solid #fff; }
.petal-0 { top:23px;left:23px;transform:rotate(0deg); }.petal-1 { top:23px;right:23px;transform:rotate(90deg); }.petal-2 { bottom:23px;right:23px;transform:rotate(180deg); }.petal-3 { bottom:23px;left:23px;transform:rotate(270deg); }
.learning-flower-face { position:absolute;top:50%;left:50%;display:grid;place-items:center;width:62px;height:62px;transform:translate(-50%,-50%);border:4px solid #fff8df;border-radius:50%;background:#f1c664;color:#705231;font:700 40px/1 var(--font-body);pointer-events:none; }
.child-exercise .learning-sort-row:has(svg) { display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center; }
.child-exercise .learning-sort-row:has(svg)>div { margin:0; }
.child-exercise .learning-sort-row:has(svg) button { font-size:13px; }
.quest-play .quest-models:not(.quest-models-visual) { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
.quest-play .quest-models:not(.quest-models-visual) article { display:flex;flex-direction:column;min-width:0;padding:12px 6px;gap:7px;text-align:center; }
.quest-play .quest-models:not(.quest-models-visual) article>strong { font-size:1.6rem;overflow-wrap:anywhere;max-width:100%; }
.quest-play .quest-models:not(.quest-models-visual) article>span { font-size:13px;line-height:1.4; }
.quest-play .quest-models:not(.quest-models-visual) article>button { flex:0 0 42px; }
html[data-theme=dark] .play-game-topic { color:#a4cdb1; }
html[data-theme=dark] .child-exercise .learning-workspace { border-color:#3e5b4c; }
html[data-theme=dark] .learning-word-hunt .learning-tile { background:transparent; }
html[data-theme=dark] .learning-word-hunt .learning-tile[aria-pressed=true] { background:#294b37;border-color:#9bc7a7; }
html[data-theme=dark] .learning-palette button[aria-pressed=true] { background:#2b4738;border-color:#95bb9f; }
html[data-theme=dark] .learning-petal { border-color:#69876b; }
@media(max-width:360px) { .play-game-heading{grid-template-columns:minmax(0,1fr) 50px;gap:7px}.play-game-mascot{width:50px;height:86px}.play-game-heading p{font-size:14px}.learning-paint-flower{width:215px;height:215px}.learning-petal{width:85px;height:85px}.petal-0{left:17px;top:17px}.petal-1{right:17px;top:17px}.petal-2{right:17px;bottom:17px}.petal-3{left:17px;bottom:17px} }
.learning-page *, .learning-page *::before, .learning-page *::after { box-sizing: border-box; }
.learning-page h1 { margin: 8px 0; font-size: clamp(25px,6vw,34px); line-height: 1.15; }
.learning-kicker { display:flex; justify-content:space-between; gap:12px; margin:24px 0 10px; font-size:11px; font-weight:900; letter-spacing:.07em; color:#c34c25; }
.learning-kicker span { color:#697c83; }
.learning-topic { color:#547669; font-weight:800; margin:0; font-size:13px; }
.learning-lead { font-size:16px; color:#465f6c; line-height:1.6; margin:12px 0 22px; }
.study-card,.learning-workspace { background:rgba(255,255,255,.92); border:1px solid #e6e6dc; border-radius:26px; padding:22px; margin:20px 0; box-shadow:0 10px 30px #263d4210; }
.study-word { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; border-bottom:1px solid #eef0e9; }
.study-word:last-of-type { border-bottom:0; }
.study-word strong { display:block; color:#23485a; font-size:clamp(22px,5.6vw,30px); line-height:1.8; overflow-wrap:anywhere; }
.study-word small { color:#788883; font-size:13px; }
.study-word p { color:#315749; margin:3px 0 0; font-weight:800; }
.study-listen { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border-radius:15px; background:#eef6f8; border:1px solid #d1e3e9; color:#357a9a; }
.study-listen svg { width:22px; height:22px; }
.study-rule,.learning-hint { background:#fff3dc; border-radius:16px; padding:16px; line-height:1.65; color:#72582c; font-size:14px; }
.study-more { border:1px solid #dedfd6; background:#ffffff80; border-radius:18px; padding:16px 18px; margin:18px 0; font-size:14px; color:#526b71; line-height:1.7; }
.study-more summary { cursor:pointer; font-weight:850; color:#305366; min-height:26px; }
.study-more summary span { float:right; }
.study-more h2 { font-size:21px; margin:16px 0 8px; }
.study-examples p { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid #e3e9e0; }
.study-examples strong,.study-sentence { font-size:18px; line-height:1.9; }
.study-examples span { font-size:12px; text-align:right; }
.learning-start { width:100%; margin-top:8px; }
.learning-fine { font-size:12px; line-height:1.6; color:#6d7b81; text-align:center; margin:12px 0; }
.learning-note { background:#ecf5f0; border-left:3px solid #6aa68c; border-radius:4px 12px 12px 4px; padding:12px 14px; font-size:12px; line-height:1.65; color:#3b6955; }
.learning-workspace { padding:18px; }
.learning-workspace.is-correct { border-color:#86baa0; }
.learning-workspace.is-wrong { border-color:#deb993; }
.learning-match { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; }
.learning-match > div { display:flex; flex-direction:column; gap:10px; }
.learning-match-tile { position:relative; flex:1; width:100%; min-height:96px; border:1.5px solid #dce5df; border-radius:17px; background:#fbfcf8; color:#244354; display:flex; align-items:center; justify-content:center; padding:24px 7px 13px; font-size:14px; font-weight:800; overflow-wrap:anywhere; line-height:1.8; }
.learning-match-tile [lang=ta] { font-size:17px; }
.learning-match-tile b { position:absolute; top:5px; right:6px; display:grid; place-items:center; width:17px; height:17px; border-radius:50%; background:#e7ede5; color:#315e4b; font:800 10px "Nunito",sans-serif; }
.learning-match-tile.is-linked { background:#eef7f2; border-color:#82aa94; }
.learning-match-tile.is-selected { border-color:#f66b37; background:#fff2e7; box-shadow:0 0 0 2px #ffe2d1; }
.learning-tile { min-height:50px; padding:11px 14px; border:1.5px solid #dce5df; border-bottom-width:3px; border-radius:13px; background:#fff; color:#254c5d; font-size:20px; font-weight:700; line-height:1.9; cursor:pointer; overflow-wrap:anywhere; max-width:100%; }
.learning-tile[aria-pressed=true],.learning-sort button[aria-pressed=true] { background:#e5f2e9; border-color:#4b9979; color:#245d45; }
.learning-bank { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin:18px 0; }
.learning-bank:has([data-activity=add]):not(:has([data-activity=add]:not(:disabled))) { display:none; }
.learning-answer-zone { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-height:100px; background:#f2f6f0; border:1.5px dashed #b7cbbb; border-radius:18px; padding:12px; }
.learning-answer-zone .learning-tile { background:#fff; }
.learning-placeholder { font-size:13px; color:#789080; text-align:center; margin:auto; font-weight:650; }
.learning-cloze { font-size:25px; line-height:2.2; text-align:center; overflow-wrap:anywhere; color:#234456; margin:10px 0 20px; }
.learning-hole { display:inline-block; min-width:42px; padding:0 5px; border-bottom:3px solid #f57542; color:#c95426; background:#fff2e6; border-radius:8px 8px 0 0; }
.learning-signs .learning-tile { min-width:70px; font-size:32px; }
.learning-sort-row { padding:16px 0; border-bottom:1px solid #e5e9df; }
.learning-sort-row:first-child { padding-top:0; }
.learning-sort-row:last-child { padding-bottom:0; border:0; }
.learning-sort-row > strong { display:block; font-size:21px; line-height:1.9; text-align:center; color:#26495c; }
.learning-sort-row > div { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:10px; }
.learning-sort button { min-height:44px; flex:1; border:1.5px solid #dde5df; border-radius:12px; background:#f9fbf7; font-size:12px; font-weight:800; color:#45646b; padding:10px; }
.learning-passage { margin:0 0 20px; padding:18px; border-radius:18px; background:#f0f7f3; font-size:21px; line-height:2; color:#254c49; }
.learning-input-label { display:block; font-size:13px; font-weight:800; color:#4a675e; margin:12px 0; }
.learning-input { display:block; width:100%; min-height:56px; border:1.5px solid #aac6b9; border-radius:14px; padding:12px; font-size:19px; line-height:1.8; color:#254456; background:#fff; }
.learning-draft { min-height:230px; resize:vertical; }
.learning-reading-bank .learning-tile { font-size:16px; }
.learning-text-button { display:block; margin:auto; min-height:44px; border:0; background:transparent; color:#aa512e; font-weight:800; text-decoration:underline; }
.learning-checklist { display:grid; gap:10px; }
.learning-checklist button { display:flex; align-items:flex-start; gap:12px; min-height:48px; background:#f6f9f3; border:1px solid #dfe6d7; border-radius:12px; padding:12px; text-align:left; font-size:13px; color:#3d6654; }
.learning-checklist b { font-size:20px; line-height:1; }
.learning-actions { display:flex; align-items:stretch; gap:10px; margin:22px 0; }
.learning-actions .primary { flex:1; min-width:0; padding:15px; font-size:16px; }
.learning-actions .secondary { width:auto; padding:12px 16px; font-size:13px; }
.learning-feedback { border:1px solid #b8d8c7; background:#edf8f1; border-radius:24px; padding:20px; margin:20px 0; color:#365d4b; }
.learning-feedback.is-wrong { background:#fff5e9; border-color:#eed1b6; color:#785532; }
.learning-feedback-heading { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.learning-feedback-heading .learning-coach { width:54px; height:68px; object-fit:contain; flex-shrink:0; }
.learning-feedback-heading h2 { font-size:22px; line-height:1.2; margin:6px 0; }
.learning-feedback-heading .eyebrow { font-size:10px; }
.learning-feedback p { font-size:14px; line-height:1.7; }
.learning-feedback .learning-solution { font-size:20px; line-height:1.9; white-space:pre-line; overflow-wrap:anywhere; color:#254b48; }
.learning-feedback .primary { width:100%; margin-top:14px; }
.learning-page button:focus-visible,.learning-page input:focus-visible,.learning-page textarea:focus-visible,.learning-page summary:focus-visible { outline:3px solid #387eaa; outline-offset:3px; }
.learning-page button:disabled { cursor:default; }
.learning-actions button:disabled { opacity:.5; }
@media(max-width:380px) {
  .learning-workspace { padding:12px; }
  .learning-match { gap:9px; }
  .learning-match-tile { padding:24px 5px 12px; font-size:12px; }
  .learning-match-tile [lang=ta] { font-size:15px; }
  .learning-match-tile b { flex-basis:18px; width:18px; height:18px; font-size:10px; }
  .learning-actions { flex-wrap:wrap; }
}
/* No overflow:hidden on the page (on iPhone it sent the page back to the top): the layer simply swallows touches. */
.lesson-feedback-layer{overscroll-behavior:contain;touch-action:none}.lesson-feedback-content{touch-action:pan-y}
.lesson-feedback-layer{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;background:rgba(35,52,49,.16);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:12px;isolation:isolate}
.lesson-feedback-sheet{width:min(100%,440px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:rgba(248,253,246,.97);box-shadow:0 -8px 48px rgba(31,54,42,.15);overflow:hidden;animation:feedback-sheet-in .32s cubic-bezier(.22,1,.36,1)}
.lesson-feedback-sheet.is-wrong{background:rgba(255,248,236,.98)}
.lesson-feedback-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:22px 22px 0}
.lesson-feedback-sheet .learning-feedback,.lesson-feedback-sheet .quest-feedback{border:0;border-radius:0;background:transparent;margin:0;padding:0;box-shadow:none}
.lesson-feedback-sheet .learning-feedback-heading{gap:16px;align-items:center;margin-bottom:10px}
.lesson-feedback-sheet .learning-coach,.lesson-feedback-sheet .quest-feedback>img{width:112px;height:156px;max-width:none;object-fit:contain;flex:0 0 112px;background:none;border:0;border-radius:0;box-shadow:none;margin:0}
.lesson-feedback-sheet .learning-feedback-heading>div{min-width:0;flex:1}
.lesson-feedback-sheet .learning-feedback-heading h2{font-size:24px;line-height:1.2;margin:8px 0}
.lesson-feedback-sheet .learning-feedback p{margin:10px 0;font-size:14px;line-height:1.6}
.lesson-feedback-sheet .learning-feedback .learning-solution{font-size:21px;line-height:1.8;margin:8px 0}
.lesson-feedback-sheet .quest-feedback{display:flex;align-items:center;gap:16px}
.lesson-feedback-sheet .quest-feedback>div{min-width:0;flex:1}
.lesson-feedback-sheet .quest-feedback strong{font-size:23px;line-height:1.25}
.lesson-feedback-sheet .quest-feedback p{font-size:14px;line-height:1.5}
.lesson-feedback-footer{flex-shrink:0;padding:18px 22px calc(18px + env(safe-area-inset-bottom,0px))}
.lesson-feedback-footer .primary{width:100%;min-height:54px;margin:0;font-size:17px}
@keyframes feedback-sheet-in{from{opacity:0;transform:translateY(48px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:360px){.lesson-feedback-content{padding:16px 16px 0}.lesson-feedback-footer{padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px))}.lesson-feedback-sheet .learning-coach,.lesson-feedback-sheet .quest-feedback>img{width:88px;flex-basis:88px;height:132px}.lesson-feedback-sheet .learning-feedback-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.lesson-feedback-sheet{animation:none}}
html.reduce-motion .lesson-feedback-sheet{animation:none}

/* Village: review tag and light-bulb button */
.village-review-tag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #efe7fb; color: #6a4aa0; font-weight: 800; font-size: .85rem; }
.village-bulb { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.village-bulb svg { width: 20px; height: 20px; }
html[data-theme=dark] .village-review-tag { background: #2f2645; color: #d6c6f5; }

/* Exam-style drills: French clue and hidden-word grid */
.learning-clue { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #f3efe6; color: var(--ink); font-weight: 700; text-align: center; }
.learning-wordgrid { display: grid; grid-template-columns: repeat(var(--grid, 4), minmax(0, 1fr)); gap: 8px; max-width: 360px; margin: 0 auto; padding: 14px; border-radius: 22px; background: linear-gradient(145deg, #fbf6ea, #f1ead9); border: 1px solid #e3d6bb; }
.learning-wordgrid button { position: relative; aspect-ratio: 1; min-width: 0; border: 1px solid #dccdaf; border-bottom-width: 4px; border-radius: 14px; background: #fffdf7; color: var(--ink); font-size: 1.5rem; font-weight: 700; cursor: pointer; }
.learning-wordgrid button[aria-pressed="true"] { background: #e7f4ec; border-color: #79b893; color: #1f6b44; }
.learning-wordgrid button b { position: absolute; top: 3px; right: 6px; font-size: .7rem; color: #2f7d62; }
html[data-theme=dark] .learning-clue { background: #2b3a33; color: var(--ink); }
html[data-theme=dark] .learning-wordgrid { background: #233029; border-color: #3c4d44; }
html[data-theme=dark] .learning-wordgrid button { background: #2b3a33; border-color: #4a5d52; color: var(--ink); }
html[data-theme=dark] .learning-wordgrid button[aria-pressed="true"] { background: #254e3a; border-color: #79bc92; color: #e2f9ea; }
/* Long comprehension, summary and paragraph translation */
.learning-long-passage{font-size:18px;line-height:1.85}
.learning-sentence-options{display:grid;gap:10px}
.learning-sentence-options .learning-tile{width:100%;min-height:56px;padding:12px 14px;text-align:left;font-size:16.5px;line-height:1.5;font-weight:600;white-space:normal;justify-content:flex-start}
.learning-sentence-options[lang="ta"] .learning-tile{font-size:17px}
/* Guided writing */
.writing-guide{display:grid;gap:10px;margin:10px 0 14px}
.writing-count{margin:0;font-size:14px;font-weight:800;color:var(--ink-2,#3b5a55)}
.writing-count b{font-size:18px;color:var(--orange,#ff773b);font-variant-numeric:tabular-nums}
.writing-meter{display:block;height:8px;border-radius:999px;background:color-mix(in srgb,var(--line,#dfe5dd) 75%,transparent);overflow:hidden}
.writing-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffb15c,var(--orange,#ff773b));transition:width .2s}
.writing-plan{padding:12px 14px;border-radius:16px;background:color-mix(in srgb,#9b7cd0 9%,transparent)}
.writing-plan summary{cursor:pointer;font-weight:800}
.writing-plan ol{margin:10px 0 0;padding-left:20px;display:grid;gap:6px;font-size:14px;line-height:1.5}
.writing-words{display:grid;gap:6px}
.writing-words>span{font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#6b7f78)}
.writing-words div{display:flex;flex-wrap:wrap;gap:6px}
.writing-words b{padding:4px 10px;border-radius:10px;background:var(--card,#fff);border:1px solid var(--line,#dfe5dd);font-size:15px;font-weight:700}
@media (prefers-reduced-motion: reduce){.writing-meter i{transition:none}}
.writing-count{display:flex;align-items:baseline;gap:4px}
.writing-plan li{display:flex;flex-wrap:wrap;gap:2px 8px}
.writing-plan li strong{flex:none}
.writing-plan li em{font-style:normal;color:var(--muted,#6b7f78)}
/* Free village hints: remaining count */
.village-bulb{position:relative}
.village-bulb-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;border-radius:999px;background:var(--orange,#ff773b);color:#fff;font-size:12px;font-weight:900}
.village-bulb:disabled .village-bulb-count{background:var(--muted,#9aa)}
/* Relier redesign (10 Nov 2026): coloured lines between pairs, no number badges, sound on the word, stars. */
.learning-match { position:relative; column-gap:44px; }
.learning-match > div { position:relative; z-index:1; }
.learning-match-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible; z-index:2; }
.learning-match-number { display:none !important; }
.learning-match-tile[data-activity="left"] { flex-direction:column; gap:6px; }
.learning-match-tile[data-activity="left"] .learning-match-label[lang=ta] { font-size:clamp(20px,6vw,26px); line-height:1.35; text-align:center; }
.learning-match-speaker { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--blue-soft,#eaf6fc); color:var(--blue,#4b91bd); }
.learning-match-speaker .sound-svg, .learning-match-speaker svg { width:17px; height:17px; }
.learning-match-tile.is-linked { border-width:2.5px; }
.learning-match-stars { display:flex; justify-content:center; gap:8px; margin:14px 0 0; font-size:26px; line-height:1; color:#e6ddd4; }
.learning-match-stars .is-on { color:#ff6737; }
html[data-theme=dark] .learning-match-stars { color:#3a414a; }

/* First miss: the child's own choice, shown big (no solution yet). */
.learning-try-again{font-size:16px;font-weight:700}
.learning-try-again strong{font-size:1.9em;line-height:1.2;vertical-align:middle;margin:0 4px}
/* Sound matching: the speaker is inside the right tile (no separate column for the lines to cross). */
.learning-match-speaker.is-sound{width:44px;height:44px;margin:0 auto 6px;background:#ff6737;color:#fff}
.learning-match-speaker.is-sound svg{width:24px;height:24px}
/* Result sheet folded down: the exercise and « Revoir la leçon » stay readable behind it. */
.lesson-feedback-peek{display:block;width:100%;margin-top:10px;min-height:44px;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lesson-feedback-layer.is-peek{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
.lesson-feedback-layer.is-peek .lesson-feedback-sheet{pointer-events:auto;animation:none;box-shadow:0 -6px 30px rgba(0,0,0,.25)}
.lesson-feedback-layer.is-peek .lesson-feedback-content{display:none}
.lesson-feedback-layer.is-peek .lesson-feedback-footer{padding-top:14px}
html.lesson-feedback-peek-pad .app-view{padding-bottom:180px}
/* « Signaler un bug » page (Paramètres). */
.page-bug .bug-kinds{display:flex;flex-wrap:wrap;gap:8px}
.page-bug .bug-kind{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:1px solid var(--line,#d2ddd3);border-radius:999px;background:var(--surface,#fffaf4);color:var(--ink,#173d4f);font:inherit;font-weight:700;cursor:pointer}
.page-bug .bug-kind.is-on{background:#ff6737;border-color:#ff6737;color:#fff}
.page-bug .bug-card{padding:14px}
.page-bug .bug-text{width:100%;box-sizing:border-box;min-height:120px;padding:12px;border:1px solid var(--line,#d2ddd3);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#173d4f);font:inherit;font-size:16px;line-height:1.45;resize:vertical}
.page-bug .bug-hint{margin:8px 2px 0;font-size:13px;color:var(--ink-2,#5b6f74)}
.page-bug .bug-auto dl{margin:0;padding:12px 14px;display:grid;gap:10px}
.page-bug .bug-auto dl div{display:grid;grid-template-columns:110px 1fr;gap:10px;font-size:14px}
.page-bug .bug-auto dt{font-weight:800;color:var(--ink-2,#5b6f74)}
.page-bug .bug-auto dd{margin:0;overflow-wrap:anywhere}
.page-bug .bug-auto dd small{display:block;opacity:.75;font-size:12px}
.page-bug .bug-actions{display:grid;gap:10px;margin:18px 0 6px}
.page-bug .bug-actions .primary,.page-bug .bug-actions .secondary{width:100%;min-height:52px}
.page-bug .bug-thanks{margin:6px 0;padding:12px 14px;border-radius:14px;background:#e3f4ea;color:#24563f;font-weight:700}
html[data-theme=dark] .page-bug .bug-kind{background:#203b32;border-color:#3b6551;color:#e8efe7}
html[data-theme=dark] .page-bug .bug-kind.is-on{background:#ff6737;border-color:#ff6737;color:#fff}
html[data-theme=dark] .page-bug .bug-text{background:#15241f;border-color:#3b6551;color:#e8efe7}
html[data-theme=dark] .page-bug .bug-thanks{background:#203b32;color:#94d4b3}
.learning-slot-picture{display:grid;place-items:center;margin:0 auto 12px}.learning-slot-picture svg{width:96px;height:96px}
/* « Rappel : la conjugaison » in « Revoir la leçon » (lessons about verbs). */
.conjugation-card{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:16px;background:rgba(0,0,0,.02)}
.conjugation-title{margin:0 0 8px;font-size:14px}
.conjugation-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.conjugation-table{width:100%;border-collapse:collapse;font-size:15px;min-width:420px}
.conjugation-table th,.conjugation-table td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.conjugation-table thead th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.8}
.conjugation-table tbody th small{display:block;font-size:11px;font-weight:600;opacity:.7}
.conjugation-note{margin:8px 0 0;font-size:12px;opacity:.8}
html[data-theme=dark] .conjugation-card{background:rgba(255,255,255,.03)}
