
/* =========================================================================
   Lernen / Blitzrunde (lernen.js, seit 2026-11-09): Ergänzungen im Stil der Oberfläche
   ========================================================================= */
.l-reiter { display: flex; gap: 8px; flex-wrap: wrap; }
.l-reiter .chip { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.l-reiter .chip.an { color: var(--accent-text); }
.l-titel { justify-content: space-between; align-items: center; }
.l-titel h1 { margin: 0; }
.l-zwischen { justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.l-mitte { align-items: center; flex-wrap: nowrap; }
.l-eng { gap: 4px; min-width: 0; }
.l-abschnitt { gap: 12px; }
.l-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 999px; flex: 0 0 9px; vertical-align: middle; }
.l-start { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; padding: 14px 22px; text-align: left; }
.l-start-info { font-size: 14px; font-weight: 500; opacity: 0.9; }
.l-faecher { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.l-fach { text-align: left; gap: 8px; padding: 14px; cursor: pointer; border-width: 2px; color: var(--text); font: inherit; }
.l-fach .zeile { justify-content: space-between; flex-wrap: nowrap; }
.l-fach[aria-pressed="true"] { border-color: var(--text); }
.l-fach .balken { height: 6px; }
.l-haken { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 13px; flex: 0 0 22px; }
.l-fach[aria-pressed="true"] .l-haken { background: var(--text); color: var(--bg); border-color: var(--text); }
.l-zeilenknopf { text-decoration: none; color: var(--text); gap: 4px; }
.l-zeilenknopf strong::after { content: " →"; color: var(--muted); }
.l-quellen { gap: 0; padding: 0; overflow: hidden; }
.l-q-kopf { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 0; background: transparent; color: var(--text); text-align: left; font: inherit; cursor: pointer; flex-wrap: wrap; }
.l-q-kopf .klein { flex: 1 1 auto; }
.l-pfeil { color: var(--muted); }
.l-q-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.l-q-item a { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.l-q-item.fertig strong { color: var(--muted); text-decoration: line-through; }
.l-erledigt { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 999px; background: var(--ok); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.l-quellen > .klein { padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.l-q-unter { gap: 14px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.l-such { gap: 8px; }
.l-such .chip { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); min-height: 36px; }

.l-runde { gap: 18px; }
.l-kopfzeile { align-items: center; justify-content: space-between; }
.l-kopfzeile .uhr { margin-left: auto; }
.l-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.l-richtig { color: var(--ok); }
.balken.knapp > span { background: var(--warn); }
.balken > span { transition: width 1s linear; }
.l-optionen { display: flex; flex-direction: column; gap: 10px; }
.l-optionen .option { display: flex; align-items: center; gap: 12px; }
.l-buchstabe { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); font: 600 13px var(--mono); }
.option.richtig .l-buchstabe { background: var(--ok); color: var(--bg); }
.option.falsch .l-buchstabe { background: var(--warn); color: var(--bg); }
.l-aufdecken { justify-content: center; text-align: center; font-weight: 600; }
.l-fb { gap: 12px; }
.l-fb:empty { display: none; }
.l-fb .knopf.gross { width: 100%; }
/* Claude-Hilfen (seit 2026-11-11): Erklärung unter der Rückmeldung, Knöpfe untereinander */
.l-fb-knoepfe { gap: 8px; }
.l-ask { white-space: pre-wrap; padding: 14px 16px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.l-bewertung { gap: 8px; }
.l-noten { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.l-note { min-height: 54px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--text); }
.l-note small { font-size: 12px; opacity: 0.85; }
.l-note.an small { opacity: 1; }
.l-loesung { color: var(--ok); font-weight: 600; overflow-wrap: anywhere; }

.l-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.l-kacheln .karte { padding: 14px; gap: 2px; }
.l-kacheln strong { font: 600 20px var(--mono); }

.l-k-liste { gap: 18px; }
.l-k-gruppe { gap: 8px; }
.l-k-item { padding: 0; gap: 0; }
.l-k-zeile { display: flex; align-items: flex-start; gap: 6px; padding: 6px 8px 6px 0; }
.l-k-main { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--text); padding: 10px 6px 10px 16px; display: flex; flex-direction: column; gap: 8px; text-align: left; font: inherit; cursor: pointer; }
.l-k-main .zeile { gap: 6px 8px; align-items: center; }
.l-k-frage { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.l-k-del { margin-top: 6px; }
.l-neu { padding: 2px 8px; border-radius: 999px; background: var(--bad-bg); color: var(--warn); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.l-pips { display: flex; gap: 3px; }
.l-pips i { width: 16px; height: 4px; border-radius: 999px; background: var(--line2); }
.l-k-detail { gap: 8px; margin: 0 16px 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.l-k-detail ul { margin: 4px 0 0; padding-left: 18px; }

.l-woche { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 112px; }
.l-tag { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.l-tag small { font: 11px var(--mono); color: var(--muted); }
.l-tag i { display: block; width: 100%; border-radius: 6px; background: var(--line2); }
.l-tag.heute i { background: var(--accent); }
.l-tag span { font-size: 12px; }
.l-tag.heute span { font-weight: 700; }
.l-legende { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.l-legende span { display: inline-flex; align-items: center; gap: 4px; }
.l-legende i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.st0 { background: var(--soft); } .st1 { background: var(--line2); } .st2 { background: var(--muted); } .st3 { background: var(--text); }
.l-seg { flex: 1 1 auto; height: 10px; border-radius: 999px; overflow: hidden; display: flex; gap: 2px; background: var(--panel); }
.l-seg i { display: block; height: 100%; }
.l-status { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.l-status.gut { background: var(--ok-bg); color: var(--ok); }
.l-status.mittel { background: var(--soft); color: var(--text); }
.l-status.schwach { background: var(--bad-bg); color: var(--warn); }
.chip.l-schwach { background: var(--bad-bg); border-color: var(--warn); color: var(--warn); }

.l-toast { position: fixed; left: 16px; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; max-width: 480px; margin: 0 auto; min-height: 50px;
  padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.l-toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .balken > span { transition: none; } }
