/* =====================================================================
   Vokumi Design 2 (Paket z4)
   Eine Schicht über allen bisherigen Stilen – ändert nur das Aussehen, keine Funktion.
   Leitlinien: eine Hauptaktion pro Bildschirm · ruhige weiße Karten · einheitliche Strich-Symbole ·
   fühlbare Knöpfe · klare Schrift (Inter) · Überschriften in Fraunces · Kinderansicht verspielter.
   ===================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/inter-bold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 750 900; font-display: swap; src: url("fonts/inter-extrabold.woff") format("woff"); }

:root {
  --d-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --d-green: #1f7a4a;
  --d-green-dark: #135a35;
  --d-green-tint: #e7f4ec;
  --d-line: #e3ece6;
  --d-line-strong: #cfdcd4;
  --d-card: #ffffff;
  --d-shadow: 0 1px 2px rgba(20, 39, 29, 0.05), 0 6px 18px rgba(20, 39, 29, 0.06);
  --d-shadow-hover: 0 2px 4px rgba(20, 39, 29, 0.06), 0 12px 28px rgba(20, 39, 29, 0.1);
  --d-radius: 20px;
  --d-radius-sm: 14px;
}

/* ---------- Schrift ---------- */
body,
button,
input,
select,
textarea {
  font-family: var(--d-font);
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
#journeyHub h1 {
  letter-spacing: -0.02em;
}
#journeyHub h2,
#journeyHub h3 {
  letter-spacing: -0.01em;
}

/* ---------- Knöpfe: fühlbar (kleine Kante unten), einheitlich rund ---------- */
#journeyHub button.primary,
#accountRoot button.primary,
.vfOverlay button.primary {
  background: var(--d-green);
  border: 0;
  color: #fff;
  border-radius: var(--d-radius-sm);
  font-weight: 750;
  box-shadow: 0 3px 0 var(--d-green-dark);
  transition: transform 0.06s ease, box-shadow 0.06s ease, background 0.15s;
}
#journeyHub button.primary:hover,
#accountRoot button.primary:hover {
  background: #23874f;
}
#journeyHub button.primary:active:not(:disabled),
#accountRoot button.primary:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--d-green-dark);
}
#journeyHub button.primary:disabled {
  background: #a9c7b5;
  box-shadow: 0 3px 0 #8fb09c;
}
#journeyHub button.secondary,
#accountRoot button.secondary {
  background: #fff;
  border: 2px solid var(--d-line-strong);
  color: var(--d-green-dark);
  border-radius: var(--d-radius-sm);
  font-weight: 750;
  box-shadow: 0 3px 0 var(--d-line-strong);
  transition: transform 0.06s ease, box-shadow 0.06s ease, border-color 0.15s;
}
#journeyHub button.secondary:hover {
  border-color: #a9c9b6;
}
#journeyHub button.secondary:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--d-line-strong);
}

/* ---------- Einheitliche Symbole (ersetzen Emojis in Überschriften, Reitern, Knöpfen) ---------- */
.vIco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.16em;
  margin-right: 0.42em;
  color: var(--d-green);
  flex: none;
}
.vIcoSvg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(h1, h2) > .vIco {
  width: 1.55em;
  height: 1.55em;
  border-radius: 0.42em;
  background: var(--d-green-tint);
  vertical-align: -0.32em;
  margin-right: 0.45em;
}
:is(h1, h2) > .vIco .vIcoSvg {
  width: 0.9em;
  height: 0.9em;
}
h3 > .vIco,
summary > .vIco {
  vertical-align: -0.18em;
}
button.primary .vIco,
.faSec.on .vIco,
[aria-current] .vIco {
  color: inherit;
}
.vIco-warm { color: #c47a06; }
:is(h1, h2) > .vIco-warm { background: #fff1d4; }
.vIco-alert { color: #c2410c; }
:is(h1, h2) > .vIco-alert { background: #ffe9dc; }
.vIco-blue { color: #2a6fb0; }
:is(h1, h2) > .vIco-blue { background: #e4effa; }
.vIco-muted { color: #6b7f74; }

/* Erklärung hinter „i“ (ab dem zweiten Besuch einer Seite) */
.vInfoBtn {
  display: inline-grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  min-width: 30px !important;
  margin-left: 8px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: transparent !important;
  color: #7c968a !important;
  vertical-align: middle;
  cursor: pointer;
  box-shadow: none !important;
}
.vInfoBtn:hover,
.vInfoBtn[aria-expanded="true"] {
  background: var(--d-green-tint) !important;
  color: var(--d-green) !important;
}
.vInfoBtn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.vInfoText {
  animation: vFade 0.18s ease;
}
@keyframes vFade {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Kopfzeile: Werkzeuge ruhig, ohne Rahmen ---------- */
body:not(.jComfort) #journeyNav .vTools :is(.headerIcon, .vSize, .accountBar button, .vLogout) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:not(.jComfort) #journeyNav .vTools :is(.headerIcon, .vSize, .accountBar button, .vLogout):hover {
  background: #eef5f0 !important;
}

/* ---------- Seitenrahmen und Abschnitte ---------- */
#journeyHub .vSectionTitle {
  margin-top: 30px !important;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* ---------- „Heute“: die eine Karte oben auf der Startseite ---------- */
#journeyHub .vToday {
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
  padding: 22px 24px;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #eaf7ee 0%, #f6fbf3 45%, #fffaf0 100%);
  border: 1px solid #d5eadc;
  box-shadow: var(--d-shadow);
}
#journeyHub .vToday:has(> .vHello:only-child) {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
#journeyHub .vToday > .vHello h1 {
  margin: 0;
}
/* Training, nächster Schritt und Klassen-Frage: ohne eigenen Rahmen in der Karte */
#journeyHub .vToday > :is(.trCard, .vNext, .vGradeAsk) {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
#journeyHub .vToday > .trCard {
  grid-template-columns: 1fr;
  justify-items: start;
}
#journeyHub .vToday > .trCard h2 {
  font-size: 1.45rem;
}
#journeyHub .vToday .trCard .primary.big,
#journeyHub .vToday .vNext .primary.big,
#journeyHub .vTodayBtn {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.12rem;
}
#journeyHub .vTodayGo {
  display: grid;
  gap: 8px;
  justify-items: start;
}
#journeyHub .vTodaySub {
  margin: 0;
  color: var(--v-muted);
  font-size: 0.95rem;
}
/* Kumi in der Karte: kompakt, halbtransparent */
#journeyHub .vToday > .kumiCard {
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  gap: 14px;
}
#journeyHub .vToday > .kumiCard .kumiTitle {
  font-size: 1.08rem;
}
#journeyHub .vToday > .kumiCard :is(.kumiScene, img) {
  width: 84px !important;
  height: 84px !important;
}
#journeyHub .vToday .kumiCareMeta {
  font-size: 0.8rem;
}
@media (min-width: 900px) {
  #journeyHub .vToday:has(> .kumiCard) {
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr);
    align-items: start;
  }
  #journeyHub .vToday > .vHello {
    grid-column: 1 / -1;
  }
  #journeyHub .vToday > .kumiCard {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: stretch;
  }
  #journeyHub .vToday > .kumiCard :is(.kumiScene, img) {
    width: 96px !important;
    height: 96px !important;
  }
}
@media (max-width: 560px) {
  #journeyHub .vToday {
    padding: 18px 16px;
    border-radius: 24px;
  }
  #journeyHub .vTodayGo,
  #journeyHub .vTodayBtn,
  #journeyHub .vToday .trCard .primary.big {
    width: 100%;
    justify-content: center;
  }
  #journeyHub .vToday > .kumiCard :is(.kumiScene, img) {
    width: 64px !important;
    height: 64px !important;
  }
}

/* Nächster Schritt unter der „Heute“-Karte: ruhige weiße Karte */
#journeyHub .vToday ~ .vNext {
  background: var(--d-card);
  border: 1px solid var(--d-line);
  box-shadow: var(--d-shadow);
  padding: 20px 22px;
}
#journeyHub .vToday ~ .vNext .vBig strong {
  font-size: 2.4rem;
}
@media (max-width: 560px) {
  #journeyHub .vToday ~ .vNext {
    padding: 16px;
  }
}

/* ---------- Karten auf allen Seiten: weiß, weich, ohne harte Rahmen ---------- */
#journeyHub :is(.kumiCard, .vKurs, .faCard, .bSection, .bGroup, .bCard, .vPhotoList > *, .ctCard, .plCard, .hwCard):not(.vToday > *) {
  border-color: var(--d-line);
  box-shadow: var(--d-shadow);
}

/* ---------- Kacheln ---------- */
#journeyHub .vTile {
  border-radius: var(--d-radius);
  border: 1px solid var(--d-line);
  box-shadow: var(--d-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
}
#journeyHub .vTile:hover {
  transform: translateY(-2px);
  box-shadow: var(--d-shadow-hover);
}
#journeyHub .vTile:active {
  transform: translateY(1px);
}
/* Kompakte Kacheln (Mehr zum Lernen, Mit Kumi üben, Für alle Fächer): Symbol links, Text rechts */
#journeyHub .vTiles.vCompact {
  /* em statt px: bei großer Schrift werden die Kacheln breiter statt schmaler Textsäulen */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16em), 1fr));
  gap: 12px;
}
#journeyHub .vCompact .vTile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  text-align: left;
  padding: 14px 16px;
  min-height: 0;
  background: var(--d-card) !important;
  border-color: var(--d-line) !important;
}
#journeyHub .vCompact .vTileArt {
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--chip, var(--d-green-tint));
  color: var(--chipInk, var(--d-green));
}
#journeyHub .vCompact .vTileArt .icon.big {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}
#journeyHub .vCompact .vTileArt .vMascot {
  width: 50px;
  height: 50px;
}
#journeyHub .vCompact .vTile strong {
  align-self: end;
  font-size: 1.02rem;
}
#journeyHub .vCompact .vTileHint {
  align-self: start;
  font-size: 0.86rem;
}
#journeyHub .vCompact .t-talk { --chip: #e6f1fb; --chipInk: #2a6fb0; }
#journeyHub .vCompact .t-lesen { --chip: #fdf1dc; --chipInk: #b06a06; }
#journeyHub .vCompact .t-check { --chip: #fde8e4; --chipInk: #c2412d; }
#journeyHub .vCompact :is(.t-pages, .t-foto) { --chip: #e3f5ef; --chipInk: #17785a; }
#journeyHub .vCompact .t-course { --chip: #fff4cf; --chipInk: #9a6b00; }
#journeyHub .vCompact .t-battle { --chip: #eeeafd; --chipInk: #5b45c4; }
#journeyHub .vCompact .t-plan { --chip: #e9f0ff; --chipInk: #3657b8; }
#journeyHub .vCompact .t-tests { --chip: #ffeedf; --chipInk: #b8571b; }
#journeyHub .vCompact .t-progress { --chip: #eaf6e2; --chipInk: #3e7a1f; }
#journeyHub .vCompact .t-mathe { --chip: #fff6d6; --chipInk: #9a6b00; }
#journeyHub .vCompact .t-nawi { --chip: #ecf4fd; --chipInk: #2a6fb0; }
@media (max-width: 560px) {
  #journeyHub .vTiles.vCompact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---------- Kinderansicht (Schule): verspielter, größer, fröhlicher ---------- */
body.vKid #journeyHub .vToday {
  background: radial-gradient(130% 150% at 0% 0%, #e3f6e9 0%, #f3fbea 40%, #fff6dc 100%);
  border-color: #cde9d4;
}
body.vKid #journeyHub .vToday > .vHello h1 {
  font-size: clamp(1.7rem, 4.6vw, 2.3rem);
}
body.vKid #journeyHub .vSubjects .vTile {
  border-width: 2px;
  border-bottom-width: 5px;
  border-radius: 24px;
  box-shadow: none;
}
body.vKid #journeyHub .vSubjects .vTile:hover {
  transform: translateY(-3px);
}
body.vKid #journeyHub .vSubjects .vTile:active {
  transform: translateY(2px);
  border-bottom-width: 3px;
}
body.vKid #journeyHub .vSubjects .vTile strong {
  font-size: 1.2rem;
}
body.vKid #journeyHub .vSubjects .vTileArt {
  transition: transform 0.2s ease;
}
body.vKid #journeyHub .vSubjects .vTile:hover .vTileArt {
  transform: rotate(-4deg) scale(1.05);
}
body.vKid #journeyHub button.primary {
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--d-green-dark);
}

/* ---------- Bewegung reduzieren, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  #journeyHub .vTile,
  #journeyHub button,
  .vInfoText {
    transition: none !important;
    animation: none !important;
  }
}
#journeyHub .vToday .trWeekWrap {
  justify-items: start;
}
/* Schatzkiste ohne Ziel: kleiner Knopf in der „Heute“-Karte */
#journeyHub .vToday > .kgGoalCard.kgOnlyChest {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  grid-column: 1 / -1;
  order: 9;
}

/* ---------- Üben: klare Rückmeldung (grün = richtig, warm-orange = noch nicht) ---------- */
.vFb.qaResult::before {
  display: none !important;
}
#journeyHub .vFb,
.vFb {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 16px 18px 16px 58px;
  border: 0;
  border-left: 0;
  border-radius: 18px;
  position: relative;
  animation: vPop 0.22s ease;
  text-align: left;
}
.vFb[hidden] {
  display: none;
}
.vFb::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}
.vFb.right {
  background: #e3f6e8;
  color: #14532d;
}
.vFb.right::after {
  background-color: #22a05a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}
.vFb.wrong {
  background: #fff0e3;
  color: #7a2e0e;
}
.vFb.wrong::after {
  background-color: #ea7a2c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v8 M12 18.5h.01'/%3E%3C/svg%3E");
}
.vFb.reveal {
  background: #eef3fb;
  color: #1e3a5f;
}
.vFb.reveal::after {
  background-color: #4b7bc4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M9 18h6 M10 21h4 M12 3a6 6 0 0 0-3.6 10.8c.6.5 1 1.2 1 2V16h5.2v-.2c0-.8.4-1.5 1-2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}
.vFb .vFbTitle {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 3px 0 0;
}
.vFb .vFbAnswer {
  margin: 2px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: inherit;
  overflow-wrap: break-word;
}
.vFb .vFbYours {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}
.vFb .vFbYours s {
  text-decoration-thickness: 2px;
}
.vFb .vFbMeta {
  margin: 2px 0 0;
  font-size: 0.86rem;
  opacity: 0.8;
}
.vFb .exampleNote,
.vFb .practiceSimilar,
.vFb .practiceSay {
  margin-top: 8px;
  justify-self: start;
}
@keyframes vPop {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
/* Nach dem Prüfen: Prüfen-Knöpfe verschwinden, „Weiter“ wird groß */
#exercise.answered #answerForm .actions,
#practiceExercise.answered #practiceForm .actions {
  display: none;
}
#exercise.answered #answer {
  opacity: 0.75;
}
#exercise #after:not([hidden]),
#practiceExercise .actions:has(> #practiceNext:not([hidden])) {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
#exercise #after #next,
#practiceExercise #practiceNext {
  flex: 1 1 auto;
  min-height: 56px;
  font-size: 1.1rem;
}
@media (prefers-reduced-motion: reduce) {
  .vFb {
    animation: none;
  }
}
#exercise #after,
#practiceExercise .actions:has(> #practiceNext),
.vFb {
  scroll-margin-bottom: 104px;
  scroll-margin-top: 80px;
}
/* Tägliches Training: „Weiter“ breit unten in der Rückmeldung */
.trFb.vFb {
  justify-items: stretch;
}
.trFb.vFb > :not(.trNext) {
  justify-self: start;
}
#journeyHub .trFb.vFb .trNext {
  justify-self: stretch;
  justify-content: center;
  margin: 10px 0 0 -40px;
  scroll-margin-bottom: 104px;
}
.trFb.vFb .cHint {
  margin: 4px 0 0;
  font-size: 0.92rem;
}
/* Untere Leiste am Handy: Inter läuft etwas breiter – Beschriftung enger setzen, damit „Vocabulario“ & Co. passen. */
@media (max-width: 700px) {
  body.journeyEnabled #journeyNav .vMenu .vMenuItem {
    letter-spacing: -0.035em;
    font-size: 10.2px !important;
  }
  body.jComfort #journeyNav .vMenu .vMenuItem {
    font-size: 11px !important;
  }
}
@media (max-width: 380px) {
  body.jComfort #journeyNav .vMenu .vMenuItem {
    font-size: 9.8px !important;
  }
}
/* Symbol-Felder: Hilfe-Kacheln, Foto-Auswahl, Wochenzahlen */
.vIcoSlot {
  display: inline-grid !important;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--d-green-tint);
  color: var(--d-green);
  font-size: 0 !important;
  flex: none;
}
.vIcoSlot svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faStatIcon.vIcoSlot {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  margin: 0 auto 4px;
}
.faStatIcon.vIcoSlot svg {
  width: 19px;
  height: 19px;
}
.vIcoSlot:is(.ic-gift, .ic-star, .ic-trophy, .ic-medal, .ic-party, .ic-euro, .ic-bulb) { background: #fff1d4; color: #b86e04; }
.vIcoSlot:is(.ic-chat, .ic-film, .ic-mic, .ic-volume, .ic-offline, .ic-wrench) { background: #e6f0fb; color: #2a6fb0; }
.vIcoSlot:is(.ic-pen, .ic-check, .ic-calc, .ic-target) { background: #fde9e1; color: #c2502d; }
.vIcoSlot:is(.ic-books, .ic-book, .ic-bookOpen, .ic-file, .ic-grad) { background: #eeeafd; color: #5b45c4; }
.mkToolIcon.vIcoSlot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.mkToolIcon.vIcoSlot svg {
  width: 21px;
  height: 21px;
}

/* =====================================================================
   „Kumi hilft bei der Aufgabe“ – Gespräch Schritt für Schritt
   ===================================================================== */
#journeyHub .thResume { margin: 0 0 14px; }
#journeyHub .thModes {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  margin: 6px 0 4px;
  border-radius: 14px;
  background: #eef4f0;
  justify-self: start;
}
#journeyHub .thMode {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-weight: 750;
  color: var(--v-muted);
  box-shadow: none;
}
#journeyHub .thMode.on {
  background: #fff;
  color: var(--d-green-dark);
  box-shadow: 0 1px 4px #0002;
}
.thPhotoBox,
.thTextBox {
  display: grid;
  gap: 10px;
}
.thPhotoBox[hidden],
.thTextBox[hidden] {
  display: none;
}
#journeyHub .thText {
  min-height: 92px;
  font-size: 1.05rem;
}
.thQuestion {
  margin-top: 4px;
}
/* Aufgabe oben */
#journeyHub .thTask {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--d-line);
  box-shadow: var(--d-shadow);
  margin: 0 0 12px;
}
.thTaskHead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.thTaskHead .vKicker {
  margin: 0;
}
.thTopic {
  color: var(--v-muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.thTaskText {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.4;
  font-family: "Cambria Math", "STIX Two Math", var(--d-font);
  overflow-wrap: break-word;
}
.thCalc {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e3f6e8;
  color: #17643a;
  font-size: 0.8rem;
  font-weight: 750;
}
/* Fortschritt: Punkte */
.thDots {
  display: flex;
  gap: 6px;
  margin: 4px 2px 0;
}
.thDots span {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #e2ece6;
  transition: background 0.25s;
}
.thDots span.on {
  background: var(--d-green);
}
.thDots span.now {
  background: #9fd2b2;
}
.thCounter {
  margin: 6px 2px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--v-muted);
}
/* Gespräch */
.thLog {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.thMsg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  animation: vPop 0.22s ease;
}
.thAvatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7f4ec;
  object-fit: contain;
  flex: none;
}
.thBubble {
  max-width: min(560px, 86%);
  padding: 10px 14px;
  border-radius: 18px;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.thBubble p {
  margin: 0;
}
.thBubble p + p {
  margin-top: 6px;
}
.thKumi .thBubble {
  background: #f1eefc;
  color: #2a2350;
  border-bottom-left-radius: 6px;
}
.thMe {
  justify-content: flex-end;
}
.thMe .thBubble {
  background: #fff;
  border: 1px solid var(--d-line);
  border-bottom-right-radius: 6px;
  font-weight: 700;
}
.thMe.ok .thBubble {
  background: #e3f6e8;
  border-color: #b9e3c6;
  color: #14532d;
}
.thMe.no .thBubble {
  background: #fff0e3;
  border-color: #f4cfae;
  color: #7a2e0e;
}
/* Antwortbereich */
#journeyHub .thArea {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--d-line);
  box-shadow: var(--d-shadow);
  scroll-margin-bottom: 104px;
}
#journeyHub .thArea:empty {
  display: none;
}
.thAnswer,
.thAsk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.thAsk[hidden] {
  display: none;
}
#journeyHub .thAnswer .bpInput {
  font-size: 1.15rem;
  min-height: 52px;
}
#journeyHub .thAnswer .primary {
  min-height: 52px;
  padding: 0 22px;
}
.thOptions {
  display: grid;
  gap: 8px;
}
#journeyHub .thOption {
  min-height: 52px;
  text-align: left;
  justify-content: flex-start;
  font-weight: 700;
  border: 2px solid var(--d-line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 0 var(--d-line-strong);
}
#journeyHub .thOption:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--d-line-strong);
}
.thTools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#journeyHub .thTool {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--d-line);
  background: #f7faf8;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: none;
}
#journeyHub .thTool:disabled {
  opacity: 0.5;
}
#journeyHub .thNext {
  justify-self: stretch;
  justify-content: center;
}
/* Ende */
.thDone {
  display: grid;
  gap: 8px;
  text-align: center;
}
.thDone h2 {
  margin: 4px 0 0;
}
.thDoneScore {
  margin: 0;
  font-weight: 700;
  color: var(--d-green-dark);
}
.thDone .vActions {
  justify-content: center;
}
.thAiNote {
  font-size: 0.82rem;
  margin: 4px 0 0;
}
/* Kachel „Ich komme bei einer Aufgabe nicht weiter“ auf „Foto machen“ hervorheben */
#journeyHub .vPhotoItem.vPhotoHelp {
  border: 2px solid #b9e3c6;
  background: linear-gradient(120deg, #f2fbf5, #fffaf0);
}
@media (max-width: 560px) {
  .thBubble {
    max-width: 88%;
  }
  .thTaskText {
    font-size: 1.12rem;
  }
}
#journeyHub .vCompact .t-hilfe { --chip: #e3f6e8; --chipInk: #17643a; }
#journeyHub .vCompact .t-homework { --chip: #fde8e4; --chipInk: #c2412d; }
#journeyHub .fTools { margin: 4px 0 14px; }

/* Funktionsliste (Basis / Plus): nach Bereichen gegliedert, gleichmäßiges Raster */
.vFeat { display: grid; gap: 14px; margin: 8px 0 4px; }
.vFeatHead { margin: 0 0 6px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v-muted, #5d6b63); }
.vFeatGrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.vFeatItem { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #e3ece6; min-width: 0; }
.vFeatGrid.tight .vFeatItem { align-items: center; padding: 9px 12px; }
.vFeatIcon { flex: none; width: 1.6em; font-size: 1.1rem; line-height: 1.35; text-align: center; }
.vFeatText { display: grid; gap: 2px; min-width: 0; }
.vFeatText strong { font-size: 0.92rem; line-height: 1.3; color: #1f2b24; }
.vFeatNote { font-size: 0.8rem; line-height: 1.35; color: var(--v-muted, #5d6b63); }
.vFeatItem.limited .vFeatNote { color: var(--kumi-green, #1f7a4d); font-weight: 650; }

/* Grammatik üben: erst das Thema, darunter Lektion und Wörter kompakt nebeneinander */
#practiceChoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 4px; align-items: end; }
#practiceChoices > * { grid-column: 1 / -1; min-width: 0; }
#practiceChoices > #practiceUnsupported { order: -5; }
#practiceChoices > .practiceChooseTitle { order: -4; margin: 0; }
#practiceChoices > .practiceChooseHint { order: -3; margin: 0 0 10px; }
#practiceChoices > label[for="verbLesson"] { order: 1; grid-column: 1; }
#practiceChoices > label[for="practiceSource"] { order: 2; grid-column: 2; }
#practiceChoices > #verbLesson { order: 3; grid-column: 1; }
#practiceChoices > #practiceSource { order: 4; grid-column: 2; }
#practiceChoices > :is(label, select) { margin-bottom: 0; }
#practiceChoices > label { font-size: 0.82rem; }
#practiceChoices > #practiceSourceHint { display: none; }
#practiceChoices > :is(#verbCoverage, #verbLanguageNote) { order: 5; margin: 2px 0 0; }
#practiceChoices > :is(label[for="verbGroup"], #verbGroup) { order: 6; }
#practiceChoices > #practiceModules { order: 7; }
#practiceChoices > #practiceAvailability { order: 8; }
@media (max-width: 560px) {
  #practiceChoices { grid-template-columns: 1fr; }
  #practiceChoices > :is(label[for="verbLesson"], #verbLesson, label[for="practiceSource"], #practiceSource) { grid-column: 1; }
  #practiceChoices > #verbLesson { order: 2; }
  #practiceChoices > label[for="practiceSource"] { order: 4; margin-top: 8px; }
  #practiceChoices > #practiceSource { order: 5; }
  #practiceChoices > :is(#verbCoverage, #verbLanguageNote) { order: 3; }
}
/* Themen-Karten: ruhiger und kompakter, auf großen Bildschirmen drei nebeneinander */
#journeyHub .practiceModules, .practiceModules { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.practiceModules .practiceModule { padding: 12px 14px; border-width: 1px; border-radius: 14px; gap: 3px; }
.practiceModule strong { font-size: 0.98rem; }
.practiceModule .moduleMeta { margin-top: 4px; }
.practiceModules .practiceSec.dCard { margin: 0; padding: 0; }
.practiceModules .practiceSec > summary { padding: 12px 16px; }
#practiceChoices { align-items: start; }
#practiceChoices > select { height: 48px; min-height: 48px; padding-top: 0; padding-bottom: 0; margin-top: 4px; }
@media (max-width: 560px) {
  /* Handy: Funktionsliste als ruhige Liste mit Trennlinien statt vieler Einzelkarten */
  .vFeatGrid { gap: 0; background: #fff; border: 1px solid #e3ece6; border-radius: 14px; padding: 0 12px; }
  .vFeatItem { border: 0; border-radius: 0; padding: 10px 0; background: none; }
  .vFeatItem + .vFeatItem { border-top: 1px solid #edf2ee; }
}
/* Rückmeldung beim Vokabel-Üben: die ältere „qaResult“-Regel darf das Symbol nicht über den Text schieben */
#journeyHub .vFb.qaResult:not(:empty),
.vFb.qaResult:not(:empty) { padding: 16px 18px 16px 58px; border: 0; margin: 14px 0 0; }

/* „Neu in Vokumi“ – einmal nach einem Update */
#journeyHub .vNews { display: grid; gap: 10px; margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(120deg, #eef5fd, #f3fbf5); border: 1px solid #cfe2f5; }
.vNewsHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vNewsTitle { font-size: 1.08rem; }
#journeyHub .vNewsClose { min-height: 36px; min-width: 36px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid #d5e3ef; color: #3b4a42; font-size: 0.95rem; box-shadow: none; }
.vNewsList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vNewsList li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.vNewsIcon { flex: none; width: 1.6em; text-align: center; font-size: 1.1rem; }
#journeyHub .vNews > .primary { justify-self: start; }
.vBuild { margin: 24px 0 0; text-align: center; font-size: 0.8rem; color: var(--v-muted, #5d6b63); }
/* Hilfe bei einer Aufgabe: kein Leerraum ohne Foto, klarer Hinweis, was noch fehlt */
.thForm .ctThumbs:empty { display: none; }
.thForm .thPhotoBox { display: grid; gap: 12px; }
.thForm .thOther { display: grid; gap: 4px; max-width: 360px; }
.thForm .thOther[hidden], .thForm .ctConsent[hidden] { display: none; }
.thForm .thNeed { margin: 4px 0 -2px; font-size: 0.9rem; font-weight: 650; color: #8a5a00; }
.thForm .thNeed[hidden] { display: none; }
/* Kompakte Kacheln: eigenes Symbol je Funktion */
#journeyHub .vCompact .vTileArt.vTileIco { display: grid; place-items: center; }
#journeyHub .vCompact .vTileArt.vTileIco svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#journeyHub .vCompact .t-hilfe { --chip: #e6f1fb; --chipInk: #2a6fb0; }
#journeyHub .vCompact .t-homework { --chip: #e0f4f1; --chipInk: #167a6d; }
#journeyHub .vCompact .t-fehler { --chip: #fde8e4; --chipInk: #c2412d; }
#journeyHub .vCompact .t-games { --chip: #eeeafd; --chipInk: #5b45c4; }
/* „Arbeiten an deiner Schule“ ohne Daten: ruhige Hinweiszeile statt großem Kasten */
#journeyHub .mkSchool.few { background: transparent !important; border: 1px dashed var(--d-line, #dfe8e2) !important; box-shadow: none !important; padding: 12px 16px; }
#journeyHub .mkSchool.few h2 { font-size: 1rem; margin: 0 0 2px; }
#journeyHub .mkSchool.few p { font-size: 0.86rem; margin: 0; }
#journeyHub .plCardCopy > button { justify-self: start; width: auto; min-width: 200px; }
@media (min-width: 900px) {
  /* Schatzkiste links unter „Weiter lernen“ statt einer leeren Zeile unter der ganzen Karte */
  #journeyHub .vToday > .kgGoalCard.kgOnlyChest { grid-column: 1; grid-row: 3; align-self: start; }
}
/* Startcheck-Einladung: „Später“ bleibt neben dem Hauptknopf */
#journeyHub .mkPlace .vActions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#journeyHub .mkPlace .vActions > .secondary { padding-inline: 14px; }
/* Meine Lektionen: Scannen · Selbst eingeben · Lernzettel als eine ruhige Reihe gleich hoher Knöpfe */
#journeyHub .vRowTitle > .vActions.small { display: flex; flex-wrap: wrap; gap: 8px; }
#journeyHub .vRowTitle > .vActions.small > button { flex: 1 1 auto; min-height: 44px; padding: 0 14px; justify-content: center; }
/* Karteikasten: Fächer oben bündig – „30 Tage“ in zwei Zeilen schiebt die Säule nicht mehr nach oben */
#journeyHub .vShelf { align-items: start; }
#journeyHub .vDrawerDays { line-height: 1.2; }
/* Eltern-Konsole: Kind-Kopf kompakt – Name, Klasse, „Ansehen“; Klasse/Schule zum Aufklappen */
#journeyHub .faKid { padding: 12px 14px; }
.faKidMeta { font-size: 0.9rem; color: var(--v-muted, #5d6b63); }
#journeyHub .faKid .faViewAs { min-height: 42px; padding: 0 14px; font-size: 0.92rem; }
.faKidMore { flex: 1 1 100%; border-top: 1px solid #d6e2f6; padding-top: 8px; }
.faKidMore > summary { cursor: pointer; font-weight: 750; font-size: 0.9rem; color: #2a5aa8; }
.faKidMore[open] { display: grid; gap: 8px; }
.faKidMore > .jMuted { margin: 0; font-size: 0.86rem; }
@media (max-width: 560px) {
  .faKid { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .faKidInfo { display: grid; gap: 0; grid-column: 2; }
  .faKidInfo > * { grid-column: auto; }
  #journeyHub .faKid .faViewAs { grid-column: 3; width: auto; margin-top: 0; }
  .faKidMore { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .faKid { grid-template-columns: 44px minmax(0, 1fr); }
  .faKid .faKidInfo > .faKidName, .faKid .faKidInfo > .faKidMeta { grid-column: 1; }
  #journeyHub .faKid .faViewAs { grid-column: 1 / -1; justify-self: start; width: auto; }
  /* Hilfe bei einer Aufgabe: Fächer zweispaltig statt einer langen Liste */
  #journeyHub .thForm .bpKinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #journeyHub .thForm .bpKinds > button { width: auto; margin: 0; min-height: 46px; }
}
#journeyHub .faKid .faKidMore > summary { background: none; border: 0; box-shadow: none; padding: 4px 0; min-height: 0; border-radius: 0; }

/* ---------- Bereiche farbig: Lernen (blau) · Üben (grün) · Spielen (lila) ---------- */
:root {
  /* Werte aus areas.css – hier nur die alten Namen, damit bestehende Regeln weiter greifen */
  --z-lernen: var(--area-learn, #2f6fb5); --z-lernen-t: var(--area-learn-tint, #eef3f9);
  --z-ueben: var(--area-practice, #1f7a4d); --z-ueben-t: var(--area-practice-tint, #edf4f1);
  --z-spielen: var(--area-play, #4f35bb); --z-spielen-t: var(--area-play-tint, #f1effa);
  --z-pruefen: var(--area-test, #c4501a); --z-pruefen-t: var(--area-test-tint, #faf1ed);
}
body[data-zone="lernen"] { --zc: var(--z-lernen); --zt: var(--z-lernen-t); }
body[data-zone="ueben"] { --zc: var(--z-ueben); --zt: var(--z-ueben-t); }
body[data-zone="spielen"] { --zc: var(--z-spielen); --zt: var(--z-spielen-t); }
body[data-zone="pruefen"] { --zc: var(--z-pruefen); --zt: var(--z-pruefen-t); }
/* Menü: der aktive Punkt in der Farbe des Bereichs */
body[data-zone] #journeyNav .vMenuItem[aria-current] { background: var(--zc) !important; color: #fff !important; }
/* Zurück-Leiste: Bereich als Etikett rechts */
.vZone { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--zt); color: var(--zc); font-weight: 800; font-size: 0.85rem; white-space: nowrap; }
.vZone::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.vContext strong { min-width: 0; flex: 1 1 auto; line-height: 1.25; }
/* Kacheln tragen die Farbe ihres Bereichs – so lernt man die Farben nebenbei */
#journeyHub .vCompact :is(.t-lesen, .t-pages, .t-foto, .t-scan, .t-course, .t-courses, .t-mathe, .t-nawi, .t-buch, .t-ueberblick, .t-daily) { --chip: var(--z-lernen-t); --chipInk: var(--z-lernen); }
#journeyHub .vCompact :is(.t-talk, .t-plan, .t-hilfe, .t-homework, .t-fehler, .t-training, .t-aufgabe) { --chip: var(--z-ueben-t); --chipInk: var(--z-ueben); }
#journeyHub .vCompact :is(.t-check, .t-tests) { --chip: var(--z-pruefen-t); --chipInk: var(--z-pruefen); }
#journeyHub .vCompact :is(.t-battle, .t-games) { --chip: var(--z-spielen-t); --chipInk: var(--z-spielen); }
#journeyHub .vCompact .t-progress { --chip: #f1f3f2; --chipInk: #4b5a52; }
/* Mathe & Co.: Probearbeiten (Üben) · Klassenarbeiten · Seiten (Lernen) getrennt und farbig */
.mkDocHead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 8px; }
.mkDocHead .vSectionTitle { margin: 0; }
.mkDocSub { font-size: 0.86rem; color: var(--v-muted, #5d6b63); }
#journeyHub .mkDocs .mkDocRow { border-left: 5px solid var(--k, #cfd8d3); }
#journeyHub .mkDocs.k-mock { --k: var(--z-ueben); }
#journeyHub .mkDocs.k-test { --k: var(--z-pruefen); }
#journeyHub .mkDocs.k-page { --k: var(--z-lernen); }
@media (max-width: 560px) {
  .vZone { padding: 4px 10px; font-size: 0.8rem; }
}
@media (max-width: 560px) {
  /* Gespräch/Lesetext: Überschrift hat schon ihr Symbol – Kumi-Bild am Handy weglassen, Text volle Breite */
  .ktHead > .ktKumi { display: none; }
}
/* Bereichs-Überschriften mit Farbpunkt */
.vZoneHead { display: flex; align-items: center; gap: 10px; }
.vZoneHead::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: #9aa8a0; flex: none; }
.vZoneHead.z-lernen::before { background: var(--z-lernen); }
.vZoneHead.z-ueben::before { background: var(--z-ueben); }
.vZoneHead.z-spielen::before { background: var(--z-spielen); }
.vZoneHead.z-pruefen::before { background: var(--z-pruefen); }
#journeyHub .ktOwnLessons .ktChipOwn.on .vIco { color: #fff; background: none; }
/* Menü: Symbole in der Farbe ihres Bereichs (Lernen blau, Üben grün, Spielen lila) */
#journeyNav .vMenuItem[data-zone="lernen"]:not([aria-current]) :is(.icon, .vIco) { color: var(--z-lernen) !important; }
#journeyNav .vMenuItem[data-zone="ueben"]:not([aria-current]) :is(.icon, .vIco) { color: var(--z-ueben) !important; }
#journeyNav .vMenuItem[data-zone="spielen"]:not([aria-current]) :is(.icon, .vIco) { color: var(--z-spielen) !important; }
#journeyNav .vMenuItem[data-zone="pruefen"]:not([aria-current]) :is(.icon, .vIco) { color: var(--z-pruefen) !important; }

/* Sprach-Startseite (Schule): „Heute in Englisch“ – Abhakliste mit einem Hauptknopf */
#journeyHub .vLangToday { display: grid; gap: 12px; }
.vLtHead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.vLtHead .vKicker { margin: 0; }
.vLtCount { font-size: 0.86rem; font-weight: 750; color: var(--v-muted, #5d6b63); }
.vLtList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vLtList li { display: flex; align-items: center; gap: 8px; }
#journeyHub .vLtItem { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 26px 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.82); border: 1px solid #dbe9e0; box-shadow: none; font: inherit; color: var(--kumi-earth, #1f2b24); cursor: pointer; min-height: 0; }
#journeyHub .vLtItem:hover { border-color: var(--z-ueben, #1f7a4d); }
.vLtTick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9cfc2; display: grid; place-items: center; font-size: 0.85rem; font-weight: 900; color: #fff; }
.vLtList li.done .vLtTick { background: #22a05a; border-color: #22a05a; }
.vLtList li.done .vLtText strong { text-decoration: line-through; text-decoration-thickness: 2px; color: #5d6b63; }
.vLtIcon { font-size: 1.2rem; text-align: center; }
.vLtText { display: grid; gap: 1px; min-width: 0; }
.vLtText strong { font-size: 1rem; line-height: 1.3; }
.vLtSub { font-size: 0.82rem; color: var(--v-muted, #5d6b63); line-height: 1.3; }
.vLtGo { color: #8aa396; font-size: 1.3rem; }
#journeyHub .vLtLater { flex: none; min-height: 40px; padding: 0 12px; font-size: 0.86rem; background: transparent; border: 1px solid #cfdcd4; box-shadow: none; }
#journeyHub .vLangToday > .vActions { margin: 2px 0 0; }
#journeyHub .vLangToday .vQuickTitle { margin: 4px 0 0; }
#journeyHub .vLangToday .vLtLessons { margin: 0; }
@media (max-width: 560px) {
  #journeyHub .vLtItem { grid-template-columns: 24px 24px minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .vLtList li { flex-wrap: wrap; }
}
/* Eltern-Konsole: Karten führen per Klick zum Kind (Ansehen wie …) */
#journeyHub .faCard > .faJump { justify-self: start; margin-top: 8px; min-height: 0; padding: 6px 0; background: none; border: 0; box-shadow: none; color: #2a5aa8; font-weight: 750; font-size: 0.9rem; cursor: pointer; }
#journeyHub .faCard > .faJump:hover { text-decoration: underline; }
/* Fortschritt: „Hier hakt es noch – gleich üben“ */
#journeyHub .vHakt { display: grid; gap: 10px; margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: #fff7ec; border: 1px solid #f3d7b0; }
#journeyHub .vHakt h2 { margin: 0; font-size: 1.15rem; }
.vHaktList { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15em), 1fr)); }
#journeyHub .vHaktItem { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #f0dcc0; box-shadow: none; font: inherit; color: #1f2b24; cursor: pointer; min-height: 0; }
.vHaktIcon { grid-row: 1 / 3; font-size: 1.3rem; }
.vHaktItem strong { font-size: 0.95rem; line-height: 1.3; }
.vHaktGo { font-size: 0.84rem; font-weight: 750; color: var(--z-ueben, #1f7a4d); }
/* Erste Schritte (neue Schüler) */
#journeyHub .vFirst { display: grid; gap: 10px; margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(120deg, #fff6dc, #f3fbf5); border: 1px solid #f0dca4; }
.vFirstHead { display: flex; align-items: center; gap: 10px; }
.vFirstTitle { font-size: 1.08rem; flex: 1 1 auto; }
.vFirstCount { font-weight: 800; color: #8a6a00; font-size: 0.9rem; }
.vFirstList { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#journeyHub .vFirstItem { width: 100%; display: grid; grid-template-columns: 28px 28px minmax(0, 1fr); align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #ecdfb8; box-shadow: none; font: inherit; color: #1f2b24; cursor: pointer; min-height: 0; }
#journeyHub .vFirstItem:disabled { opacity: 1; cursor: default; background: #f4fbf6; border-color: #cfe8d8; }
.vFirstNum { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 0.85rem; background: #f0b429; color: #fff; }
.vFirstList li.done .vFirstNum { background: #22a05a; }
.vFirstList li.done .vLtText strong { color: #4b5a52; }
/* Zeit nach Bereichen (Lernen · Üben · Spielen) */
.vZoneBar { display: grid; gap: 6px; margin: 10px 0 4px; }
.vZoneBarTrack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #eef2ef; }
.vZoneBarTrack > span.z-lernen { background: var(--z-lernen); }
.vZoneBarTrack > span.z-ueben { background: var(--z-ueben); }
.vZoneBarTrack > span.z-spielen { background: var(--z-spielen); }
.vZoneBarLegend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.84rem; font-weight: 700; }
.vZoneBarLegend > span { display: inline-flex; align-items: center; gap: 6px; }
.vZoneBarLegend > span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.vZoneBarLegend > .z-lernen { color: var(--z-lernen); }
.vZoneBarLegend > .z-ueben { color: var(--z-ueben); }
.vZoneBarLegend > .z-spielen { color: var(--z-spielen); }
.vZoneBarLegend > span::before { background: currentColor; }
.vZoneBarEmpty { margin: 0; font-size: 0.84rem; color: var(--v-muted, #5d6b63); }
/* Wochenrückblick (Fr–So) */
#journeyHub .vWeek { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(120deg, #f4f0ff, #fff7e6); border: 1px solid #ddd3f7; }
.vWeekDots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.vWeekDot { min-width: 0; padding: 6px 0; text-align: center; border-radius: 999px; font-size: 0.8rem; font-weight: 750; background: #fff; border: 1px solid #e4e0f0; color: #8a8f8c; }
.vWeekDot.on { background: #22a05a; border-color: #22a05a; color: #fff; }
.vWeekFacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vWeekFact { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.8); }
.vWeekFact strong { font-size: 1.35rem; }
.vWeekFact span { font-size: 0.8rem; color: var(--v-muted, #5d6b63); }
.vWeekMsg { margin: 0; font-weight: 650; }
@media (max-width: 560px) { .vWeekFact { padding: 8px; } .vWeekFact strong { font-size: 1.1rem; } .vWeekFact span { font-size: 0.74rem; } }
#journeyHub .vToday:has(> .vLangToday) > .kumiCard { align-self: start; }
/* Werkzeug-Kacheln (Mathe, Physik, Chemie, Fächer): breit genug für „Hausaufgaben prüfen“ – nie mitten im Wort trennen */
#journeyHub .mkTools { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12em), 1fr)); }
#journeyHub .mkTool strong, #journeyHub .mkTool span { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 560px) {
  /* Handy: Werkzeug-Kacheln als kompakte Zeilen (Symbol links, Text rechts) */
  #journeyHub .mkTools { gap: 8px; }
  #journeyHub .mkTool { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; min-height: 0; padding: 10px 12px; }
  #journeyHub .mkTool > .mkToolIcon { grid-row: 1 / span 2; }
}
@media (min-width: 900px) {
  /* Schul-Startseite: „Weiter lernen“ oben, Kumi als flache Leiste darunter – keine leere Fläche neben dem Knopf */
  #journeyHub .vToday:has(> .vTodayGo, > .vGradeAsk):has(> .kumiCard) { grid-template-columns: minmax(0, 1fr); }
  #journeyHub .vToday:has(> .vTodayGo, > .vGradeAsk) > .kumiCard { grid-column: 1; grid-row: auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; }
  #journeyHub .vToday:has(> .vTodayGo, > .vGradeAsk) > .kumiCard > .kumiText { flex: 1 1 0; }
  #journeyHub .vToday:has(> .vTodayGo, > .vGradeAsk) > .kumiCard > .kumiCare { flex: 1 1 0; border-top: 0; border-left: 1px dashed #d6eadd; padding: 0 0 0 18px; }
  #journeyHub .vToday:has(> .vTodayGo, > .vGradeAsk) > .kgGoalCard.kgOnlyChest { grid-row: auto; }
}
/* ✕ zum Schließen: immer ein kleiner Kreis (auch bei großer Schrift) */
#journeyHub .vNewsClose { flex: none; width: 36px; height: 36px; min-width: 36px; min-height: 36px !important; aspect-ratio: 1; align-self: center; }

/* ---------- Erklärfilm: Grafik zum Thema ---------- */
.vfBoard.hasVis { grid-template-columns: minmax(0, 1fr); }
.vfVis { margin: 0; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.85); border: 1px solid #e3ece6; justify-self: center; width: min(100%, 340px); }
@media (min-width: 760px) {
  .vfBoard.hasVis { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: start; }
  .vfBoard.hasVis > :not(.vfVis) { grid-column: 1; }
  .vfBoard.hasVis > .vfVis { grid-column: 2; grid-row: 1 / span 6; width: 100%; }
}
.fv { display: block; width: 100%; height: auto; font-family: var(--d-font, Inter, system-ui, sans-serif); }
.fv .d { fill: none; stroke: #2f6fb5; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: fvDraw 1.4s ease forwards; animation-delay: var(--d, 0s); }
.fv .p { opacity: 0; animation: fvPop 0.5s ease forwards; animation-delay: var(--d, 0s); }
.fv .axis { stroke: #8a9a91; stroke-width: 2; }
.fv .acc { stroke: #e07a2e; }
.fv .acc2 { stroke: #1f7a4d; }
.fv .thick { stroke-width: 10; }
.fv rect.cell { fill: #eef3f8; stroke: #c9d6e3; stroke-width: 1; }
.fv rect.on { fill: #2f6fb5; }
.fv rect.on2 { fill: #f2a35e; }
.fv rect.on3 { fill: #1f9a62; }
.fv rect.acc { fill: #e07a2e; }
.fv rect.head { fill: #e7f0fb; stroke: #b9cfe8; stroke-width: 1; }
.fv rect.wood { fill: #d9a066; }
.fv rect.iron { fill: #7c8a96; }
.fv rect.bubble { fill: #fff; stroke: #b9cfe8; stroke-width: 1.5; }
.fv ellipse.on { fill: #2f6fb5; }
.fv circle.fill { fill: #2f6fb5; stroke: none; }
.fv circle.acc { fill: #e07a2e; stroke: none; }
.fv circle.d.acc { fill: none; stroke: #e07a2e; }
.fv path.fillA, .fv rect.fillA { fill: #cfe0f5; }
.fv path.fillB { fill: #cdeedb; }
.fv text { fill: #1f2b24; font-size: 15px; font-weight: 700; }
.fv text.big { font-size: 20px; font-weight: 800; }
.fv text.small { font-size: 12.5px; font-weight: 650; }
.fv text.tiny { font-size: 10.5px; font-weight: 650; }
.fv text.acc { fill: #c05a12; }
.fv text.acc2 { fill: #1f7a4d; }
.fv text.w { fill: #fff; }
@keyframes fvDraw { to { stroke-dashoffset: 0; } }
@keyframes fvPop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fv .d, .fv .p { animation: none; opacity: 1; stroke-dashoffset: 0; } }
/* Heute-Karte: gewählter Block */
#journeyHub .vLtList li.sel .vLtItem { border-color: var(--z-ueben, #1f7a4d); background: #f0faf3; box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.15); }
.vLtList li.sel:not(.done) .vLtTick { border-color: var(--z-ueben, #1f7a4d); background: radial-gradient(circle, var(--z-ueben, #1f7a4d) 0 5px, #fff 6px); }
/* Erklärfilm, ruhiger: Grafik im Mittelpunkt, Text normal gesetzt, Kumi klein in der Ecke, keine doppelte Schrift */
.vfStage.withVis .vfKumi { width: 54px; height: 54px; top: auto; bottom: 14px; right: 14px; opacity: 0.9; }
.vfStage.withVis .vfBoard { padding-right: 0; max-height: none; }
.vfList { font-size: 1.02rem; }
.vfItem { font-weight: 500; }
.vfItem.now { font-weight: 700; }
.vfStage { padding-bottom: 72px; }
@media (min-width: 760px) {
  .vfBoard.hasVis { grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); gap: 18px; }
  .vfBoard.hasVis > .vfVis { padding: 12px; }
}
@media (max-width: 759px) {
  .vfBoard.hasVis > .vfVis { order: -1; }
  .vfBoard.hasVis > .vfHead { order: -2; }
}
/* Erklärfilm: klare Schrift (keine Schreibschrift auf der Tafel, kein Fett-Serif) */
.vfBoard, .vfBoard .vfPrompt, .vfBoard .vfList { font-family: var(--d-font, Inter, system-ui, sans-serif); }
.vfStage[data-kind="example"] .vfList { font-family: var(--d-font, Inter, system-ui, sans-serif); }
.vfBoard .vfPrompt { font-weight: 700; font-size: 1.08rem; }
.vfBoard .mkMath { font-family: var(--d-font, Inter, system-ui, sans-serif); font-weight: inherit; }

/* ---------- Erklärfilm: Tafelbild mit Farben je Größe (z15) ---------- */
:root { --k1: #b97a00; --k1s: #e3a008; --k2: #2563c9; --k4: #1d8a55; --k5: #7a4fd0; --kR: #d23c3c; }
.vfK { font-weight: 800; }
.vfK.k1 { color: var(--k1); } .vfK.k2 { color: var(--k2); } .vfK.k4 { color: var(--k4); } .vfK.k5 { color: var(--k5); } .vfK.kR { color: var(--kR); }
.vfK.vfFinal { padding: 0 3px; border-radius: 6px; background: #fde7e7; }
/* Rechenschritte: helle Karte statt dunkler Tafel, nummerierte Kreise */
.vfStage[data-kind="example"] .vfList.vfSteps { list-style: none; counter-reset: st; padding: 12px 14px; background: #fff; color: #1f2b24; border: 2px solid #dbe7df; border-radius: 16px; gap: 10px; font-family: var(--d-font, Inter, system-ui, sans-serif); }
.vfSteps .vfItem { counter-increment: st; position: relative; padding-left: 36px; opacity: 0.6; font-weight: 600; }
.vfSteps .vfItem::before { content: counter(st); position: absolute; left: 0; top: 0.05em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; background: #e9f1ec; color: #1f7a4d; }
.vfStage[data-kind="example"] .vfSteps .vfItem.now { color: #14231b; opacity: 1; font-weight: 700; }
.vfSteps .vfItem.now::before { background: #1f7a4d; color: #fff; }
.vfSteps .vfRow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vfSteps .vfRow + .vfRow { margin-top: 2px; }
.vfLab { display: inline-block; margin: 0 0 2px; padding: 1px 8px; border-radius: 999px; background: #eef3f0; color: #4a5a51; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em; }
.vfOp { margin-left: auto; padding: 1px 10px; border-radius: 8px; background: #f1f4f8; color: #45566a; border: 1px solid #d9e1ea; font-size: 0.9rem; font-weight: 700; white-space: nowrap; animation: vfSlide 0.4s ease-out both; }
.vfPrompt .vfOp { margin-left: 12px; }
.vfSteps .vfItem.vfRes.vfIn { opacity: 1; padding: 6px 10px 6px 42px; margin-left: -6px; border-radius: 12px; background: #eef9f2; box-shadow: inset 0 0 0 2px #7cc79e; }
.vfSteps .vfItem.vfRes::before { content: "✓"; left: 8px; top: 7px; background: #1f7a4d; color: #fff; }
/* Kernformel im Kasten */
.vfStage[data-kind="rules"] .vfItem.vfKey { list-style: none; margin-left: -18px; padding: 8px 12px; border-radius: 12px; border: 2px solid #2f6fb5; background: #f3f8fe; }
/* Grafik: Beschriftung mit weißem Rand (lesbar über Linien), Farben je Größe */
.fv text[class] { stroke: rgba(255, 255, 255, 0.95); stroke-width: 4px; paint-order: stroke fill; stroke-linejoin: round; }
.fv text.w { stroke: none; }
.fv text.k1 { fill: var(--k1); } .fv text.k2 { fill: var(--k2); } .fv text.k4 { fill: var(--k4); } .fv text.k5 { fill: var(--k5); } .fv text.kR { fill: var(--kR); }
.fv .d.k1 { stroke: var(--k1s); } .fv .d.k2 { stroke: var(--k2); } .fv .d.k4 { stroke: var(--k4); } .fv .d.k5 { stroke: var(--k5); } .fv .d.kR { stroke: var(--kR); }
.fv .sq.k1 { fill: #fdf1cf; stroke: var(--k1s); } .fv .sq.k2 { fill: #dde9fb; stroke: var(--k2); } .fv .sq.kR { fill: #fbe0e0; stroke: var(--kR); }
.fv .sq { stroke-width: 2; }
.fv .ink { stroke: #33424b; }
.fv text.vfLater { visibility: hidden; }
.fv text.vfShow { animation: fvPop 0.5s ease both !important; animation-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) { .vfOp, .fv text.vfShow { animation: none !important; opacity: 1; } }
.fv tspan.k1 { fill: var(--k1); } .fv tspan.k2 { fill: var(--k2); } .fv tspan.k4 { fill: var(--k4); } .fv tspan.k5 { fill: var(--k5); } .fv tspan.kR { fill: var(--kR); }
.fv rect.p.kR { fill: var(--kR); } .fv rect.p.k1 { fill: var(--k1s); } .fv rect.p.k2 { fill: var(--k2); }
.fv .sq.k4 { fill: #d9f2e4; stroke: var(--k4); }
/* Tipp „Schönere Stimme“: schlichter Textlink statt zweitem Rahmen in der Karte */
#speechSettings details.speechTip, #speechSettings details.speechTip > summary { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; }
#speechSettings details.speechTip > summary { display: inline; color: #1f7a4d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#speechSettings details.speechTip > p { margin: 6px 0 0; line-height: 1.5; }

/* ---------- Auf einen Blick & Lernkarten (z15) ---------- */
body.glOpen { overflow: hidden; }
.glOverlay { position: fixed; inset: 0; z-index: 120; background: rgba(20, 32, 26, 0.55); display: grid; place-items: start center; overflow: auto; padding: 16px 12px 40px; backdrop-filter: blur(3px); }
.glBox { width: min(1100px, 100%); background: #fbf8f1; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); padding: 14px 16px 22px; position: relative; }
.glBar { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.glBar button { min-height: 40px; }
.glBar .glX { order: -1; margin-right: auto; }
/* ✕ in Erklärfilm, Lernkarten und „Auf einen Blick“: wie in der Kopfzeile – oben links, 48 × 48, Druckzustand 90 ms */
.glBar .glX, .vfTop .vfClose, .glX, .vfClose { flex: none; display: grid; place-items: center; width: 48px; height: 48px; min-width: 48px; min-height: 48px !important; padding: 0; border-radius: 50%; border: 0 !important; box-shadow: none !important; background: transparent; color: #1f2b24; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 90ms ease-out, background-color 90ms ease-out; }
.glX:hover, .vfClose:hover { background: rgba(31, 43, 36, 0.06); }
.glX:active, .vfClose:active { transform: scale(0.97); background: rgba(31, 43, 36, 0.1); }
.glX:focus-visible, .vfClose:focus-visible { outline: 3px solid #2f7d4f; outline-offset: -3px; }
.glX svg, .vfClose svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* Erklärfilm im Vollbild der App: das ✕ der Kopfzeile genügt (Filme in eigenen Overlays behalten ihr ✕) */
body.anOn.anFull #journeyHub .vfTop { display: none; }
.vfTop { display: flex; align-items: center; gap: 4px; min-width: 0; margin-left: -6px; }
.vfTopTitle { min-width: 0; font-size: 1.05rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glHead { position: relative; text-align: center; margin: 4px 0 14px; }
.glKicker { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: #5d7066; }
.glTitle { margin: 2px 0 0; font-size: clamp(1.35rem, 3.6vw, 2rem); letter-spacing: 0.02em; text-transform: uppercase; font-weight: 900; color: #1d2b24; }
.glKumi { position: absolute; right: 4px; top: -6px; width: 54px; height: 54px; }
/* Zettel */
.glGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.glNote { --bg: #fff3b0; --ed: #e9d77a; position: relative; background: var(--bg); border-radius: 6px 6px 14px 6px; padding: 16px 14px 12px; box-shadow: 0 1px 0 var(--ed), 0 8px 18px rgba(60, 50, 20, 0.14); transform: rotate(var(--tilt, 0deg)); transition: transform 0.25s; animation: glIn 0.45s ease both; }
.glNote:hover { transform: rotate(0deg) translateY(-2px); }
.glNote::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; margin-left: -32px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0, 0, 0, 0.05); transform: rotate(-2deg); border-radius: 2px; }
.glNote.blu { --bg: #dcecff; --ed: #a9c8ef; } .glNote.grn { --bg: #dbf3e3; --ed: #a6d9b8; } .glNote.pnk { --bg: #ffe1ea; --ed: #f2b3c6; } .glNote.pur { --bg: #ebe3ff; --ed: #c7b6f2; } .glNote.org { --bg: #ffe7cf; --ed: #f2c391; }
.glNoteHead { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; font-size: 1rem; font-weight: 800; color: #1d2b24; }
.glNum { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; background: rgba(255, 255, 255, 0.75); border: 2px solid rgba(0, 0, 0, 0.12); }
.glFig { margin: 4px 0 6px; background: rgba(255, 255, 255, 0.72); border-radius: 10px; padding: 4px; }
.glFig .fv { max-height: 150px; }
.glFig .fv .d, .glFig .fv .p { animation-duration: 0.01s !important; animation-delay: 0s !important; }
.glKey { margin: 4px 0; padding: 4px 8px; display: inline-block; font-weight: 800; font-size: 1.02rem; background: #fff; border: 2px solid #2f6fb5; border-radius: 8px; }
.glRules { margin: 6px 0 0; padding-left: 18px; font-size: 0.9rem; line-height: 1.35; color: #24342b; }
.glRules li + li { margin-top: 3px; }
.glWarn { margin: 8px 0 0; font-size: 0.82rem; font-weight: 650; color: #8a3b12; }
.glFoot { margin: 16px 0 0; text-align: center; font-size: 0.75rem; color: #7b8a82; }
@keyframes glIn { from { opacity: 0; transform: translateY(10px) rotate(var(--tilt, 0deg)); } }
/* Lernkarten */
.glCards { max-width: 560px; margin: 0 auto; }
.glProg { height: 8px; border-radius: 99px; background: #e4ece7; overflow: hidden; margin: 10px auto 4px; max-width: 320px; }
.glProg span { display: block; height: 100%; background: linear-gradient(90deg, #1f9a62, #6fcf97); border-radius: 99px; transition: width 0.4s; }
.glCount { margin: 0; font-size: 0.85rem; color: #5d7066; font-weight: 700; }
.glStage { display: grid; gap: 14px; justify-items: center; }
.glCard { width: 100%; min-height: 380px; perspective: 1400px; cursor: pointer; outline: none; transition: transform 0.26s, opacity 0.26s; }
.glCard:focus-visible .glFace { box-shadow: 0 0 0 4px #9fd3b6, 0 14px 30px rgba(0, 0, 0, 0.12); }
.glCard.out { transform: translateX(60px) rotate(6deg); opacity: 0; }
.glCard.back { transform: translateX(-60px) rotate(-6deg); opacity: 0; }
.glInner { position: relative; width: 100%; min-height: 380px; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.glCard.flipped .glInner { transform: rotateY(180deg); }
.glFace { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); border: 2px solid #e2ebe5; overflow: auto; display: flex; flex-direction: column; gap: 6px; }
.glFace.back { transform: rotateY(180deg); background: #f4fbf7; border-color: #bfe3cd; }
.glCardKind { margin: 0; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: #1f7a4d; }
.glCardTitle { margin: 0; font-size: 1.3rem; }
.glFace .glFig .fv { max-height: 190px; }
.glHint { margin: auto 0 0; color: #6a7b72; font-size: 0.9rem; }
.glPrompt { margin: 4px 0; font-weight: 800; font-size: 1.1rem; }
.glSteps { margin: 2px 0 0; padding-left: 22px; display: grid; gap: 4px; font-weight: 650; }
.glSteps .glRes { font-weight: 800; background: #e6f6ec; border-radius: 8px; padding: 2px 6px; margin-left: -6px; }
.glActs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.glActs button { min-height: 48px; min-width: 140px; }
.glDone { text-align: center; padding: 30px 10px; }
.glBig { font-size: 3rem; margin: 0; }
.glTools { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 10px; }
.glTools button { min-height: 40px; font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) { .glNote, .glInner, .glCard { animation: none; transition: none; } }
@media print {
  body.glOpen > :not(.glOverlay) { display: none !important; }
  .glOverlay { position: static; background: none; padding: 0; backdrop-filter: none; }
  .glBox { box-shadow: none; width: 100%; padding: 0; background: #fff; }
  .noPrint { display: none !important; }
  .glGrid { display: flex; flex-wrap: wrap; gap: 3mm; }
  .glNote { width: calc(25% - 2.3mm); box-sizing: border-box; padding: 2.5mm 3mm; font-size: 8.5pt; transform: none; animation: none; box-shadow: none; border: 1px solid var(--ed); break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .glNote::before { display: none; }
  .glGrid.many .glNote { width: calc(20% - 2.4mm); }
  .glGrid.many .glNote .glFig .fv { max-height: 19mm; }
  .glNoteHead { font-size: 9.5pt; margin-bottom: 1mm; }
  .glNum { width: 18px; height: 18px; font-size: 7pt; }
  .glFig { margin: 1mm 0; padding: 1mm; }
  body .glNote .glFig .fv { max-height: 22mm; }
  .glKey { font-size: 9pt; padding: 0.5mm 2mm; margin: 0.5mm 0; }
  body .glNote .glRules { font-size: 7.8pt; margin-top: 0.8mm; padding-left: 4mm; line-height: 1.25; }
  body .glNote .glSub, body .glNote .glWarn { font-size: 7.5pt; margin-top: 0.8mm; line-height: 1.25; }
  .glHead { margin: 0 0 3mm; } .glTitle { font-size: 16pt; } .glKumi { width: 12mm; height: 12mm; top: 0; }
  .glFoot { margin-top: 2mm; font-size: 7pt; }
  @page { size: A4 landscape; margin: 10mm; }
}
.glBox .mkMath, .glBox { font-family: var(--d-font, Inter, system-ui, sans-serif); }
.glSub { margin: 2px 0 4px; font-size: 0.86rem; font-weight: 650; color: #4c5d54; font-style: italic; }
.glGrade { margin-left: auto; flex: none; font-size: 0.7rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.7); color: #5d7066; }
.glCard, .glInner { min-height: 470px; }
.glFace .glFig.small .fv { max-height: 120px; }
@media (min-width: 700px) { .glCard, .glInner { min-height: 520px; } }

/* ===================== Lernkarten · Premium-Layout (z17) =====================
   Schüler: runde Display-Schrift 24 px / 800 für Titel, Zählung und Kartentitel – kein Schulbuch-Serif.
   Erwachsene (body.adultView): behalten Fraunces (Serifen).
   Runde Schrift: auf iPhone/iPad/Mac die System-Rundschrift (SF Pro Rounded, nichts zu laden), sonst Nunito, sonst Inter. */
:root {
  --gl-round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", var(--d-font, Inter, system-ui, sans-serif);
  --gl-rule: #6a3fd0;       /* Kartenart „Regel“ */
  --gl-rule-bg: #f1ebff;
  --gl-calc: #c45a12;       /* Kartenart „Rechnen“ */
  --gl-calc-bg: #fff0e3;
  --gl-scale: var(--an-scale, 1);
}

/* Kopf: Titel links, Kumi rechts, darunter Fortschritt + Spielstand */
.glCardsHead { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t k" "m m"; align-items: center; gap: 6px 10px; text-align: left; margin: 2px 0 14px; }
.glCardsHead .glTitles { grid-area: t; min-width: 0; }
.glCardsHead .glMascot { grid-area: k; }
.glCardsHead .glMeter { grid-area: m; }
body:not(.adultView) .glCards .glTitle,
body:not(.adultView) .glCards .glCardTitle {
  font-family: var(--gl-round);
  font-size: calc(24px * var(--gl-scale));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}
body.adultView .glCards .glTitle { font-family: "Fraunces", Georgia, serif; font-weight: 600; text-transform: none; letter-spacing: -0.01em; font-size: calc(24px * var(--gl-scale)); }
body.adultView .glCards .glCardTitle { font-family: "Fraunces", Georgia, serif; font-weight: 600; }

/* Spielstand: Balken + „3 / 20“ */
.glMeter { display: flex; align-items: center; gap: 12px; }
.glMeter .glProg { flex: 1; margin: 0; max-width: none; height: 12px; background: #e6eee9; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06); }
.glMeter .glProg span { background: linear-gradient(90deg, #22a06b, #7fd8a6); }
.glCards .glCount { flex: none; margin: 0; padding: 2px 12px; border-radius: 999px; background: #fff; border: 2px solid #e2ebe5; color: #5d7066; font-family: var(--gl-round); font-weight: 800; font-size: calc(16px * var(--gl-scale)); font-variant-numeric: tabular-nums; }
.glCards .glCount b { font-size: calc(24px * var(--gl-scale)); color: #1d2b24; font-weight: 800; }
body.adultView .glCards .glCount { font-family: var(--d-font); }

/* Karte: Art als farbiges Etikett, Ecke in der Kartenfarbe */
.glFace { border-radius: 24px; padding: 20px 20px 18px; gap: 10px; }
.glFace.kRule { --k: var(--gl-rule); --k-bg: var(--gl-rule-bg); }
.glFace.kCalc { --k: var(--gl-calc); --k-bg: var(--gl-calc-bg); }
.glFace::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0; background: var(--k, #22a06b); opacity: 0.85; }
.glFace.back { background: #fbfdfc; }
.glCardKind { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--k-bg, #e6f6ec); color: var(--k, #1f7a4d); font-size: 0.72rem; letter-spacing: 0.06em; }

/* Regeln: Bausteine statt Fließtext – jede Regel ein eigenes Kästchen mit Nummer */
.glFace .glRules { list-style: none; counter-reset: gr; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; font-size: calc(1rem * var(--gl-scale)); line-height: 1.5; }
.glFace .glRules li { counter-increment: gr; position: relative; padding: 10px 12px 10px 44px; border-radius: 14px; background: #fff; border: 2px solid #e8efea; }
.glFace .glRules li + li { margin-top: 0; }
.glFace .glRules li::before { content: counter(gr); position: absolute; left: 10px; top: 9px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--k-bg); color: var(--k); font-family: var(--gl-round); font-weight: 800; font-size: 0.85rem; }
.glFace .glWarn { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin: 2px 0 0; padding: 10px 12px; border-radius: 14px; background: #fff5ec; border: 2px dashed #f2c39d; color: #7a3410; font-size: 0.92rem; font-weight: 650; line-height: 1.45; }
.glWarnTag { flex: none; padding: 1px 8px; border-radius: 999px; background: #c45a12; color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

/* Chunking – ein Farbgesetz für Film, Grafik und Karte:
   Form = Art (Chip = Variable, fette Ziffern = Zahl) · Farbe = Identität (a hat überall „seine“ Filmfarbe;
   eine gegebene Zahl trägt die Farbe ihrer Variablen). Variablen ohne Filmfarbe: Violett aus derselben Filmpalette (k5). */
.glCards .glCn { color: #1d2b24; font-weight: 800; font-variant-numeric: tabular-nums; }
.glCards .glCv { --chip: var(--k5, #7a4fd0); display: inline-block; min-width: 1.35em; padding: 0 0.28em; margin: 0 0.06em; border-radius: 7px; color: var(--chip); background: #eef2ef; background: color-mix(in srgb, var(--chip) 13%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--chip) 32%, #fff); font-weight: 800; font-style: italic; text-align: center; line-height: 1.35; }
.glCards .glCv.k1 { --chip: var(--k1); } .glCards .glCv.k2 { --chip: var(--k2); } .glCards .glCv.k4 { --chip: var(--k4); } .glCards .glCv.k5 { --chip: var(--k5); } .glCards .glCv.kR { --chip: var(--kR); }
.glCards .glCv sup, .glCards .glCv sub { font-style: normal; font-size: 0.7em; margin-left: 1px; }
.glCards .glRes .glCn, .glCards .vfK .glCn { color: inherit; }
.glCards .glPrompt { font-size: calc(1.3rem * var(--gl-scale)); }
.glCards .glSteps { font-size: calc(1.05rem * var(--gl-scale)); }
/* Karte so hoch wie ihr Inhalt (Höhe setzt glance.js) – kein inneres Scrollen */
.glCards .glFace { overflow: visible; }

/* Mini-Kumi: atmet ruhig, blinzelt beim Öffnen jeder Karte aufmerksam, hüpft bei „Wusste ich“ */
.glMascot { width: 58px; height: 62px; flex: none; }
.glMascot svg { width: 100%; height: 100%; overflow: visible; display: block; }
.glKumiBody { transform-box: fill-box; transform-origin: 50% 100%; animation: glBreathe 3.6s ease-in-out infinite; }
.glKumiEyes { transform-box: fill-box; transform-origin: 50% 50%; animation: glBlink 5.2s ease-in-out 1.2s infinite; }
.glKumiLeaf { transform-box: fill-box; transform-origin: 0% 100%; animation: glLeaf 3.6s ease-in-out infinite; }
.glMascot.glWake .glKumiEyes { animation: glWakeBlink 0.62s ease-in-out 1, glBlink 5.2s ease-in-out 2.4s infinite; }
.glMascot.glHop svg { animation: glHop 0.46s cubic-bezier(0.3, 1.6, 0.5, 1) 1; }
@keyframes glBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.035, 0.97); } }
@keyframes glLeaf { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-7deg); } }
@keyframes glBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
@keyframes glWakeBlink { 0%, 100% { transform: scaleY(1); } 18% { transform: scaleY(0.1); } 36% { transform: scaleY(1); } 54% { transform: scaleY(0.1); } 72% { transform: scaleY(1.08); } }
@keyframes glHop { 0% { transform: translateY(0); } 45% { transform: translateY(-9px) rotate(-4deg); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .glKumiBody, .glKumiEyes, .glKumiLeaf, .glMascot.glWake .glKumiEyes, .glMascot.glHop svg { animation: none !important; }
}
@media print { .glMascot { display: none; } }
/* Rückmeldung beim Antworten (z15) */
.fxToast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 130; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: #1f2b24; color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); animation: fxIn 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both; pointer-events: none; }
.fxToast.out { opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.5s, transform 0.5s; }
@keyframes fxIn { from { opacity: 0; transform: translate(-50%, 16px) scale(0.9); } }
.fxSwitch { display: flex; gap: 10px; align-items: center; margin: 10px 0 0; font-weight: 600; cursor: pointer; }
.fxSwitch input { width: 22px; height: 22px; flex: none; accent-color: #1f7a4d; }
@media (prefers-reduced-motion: reduce) { .fxToast { animation: none; } }

/* Weniger Bewegung (App-Schalter, html.vCalm): wirkt wie die Geräte-Einstellung „Bewegung reduzieren“.
   Schleifen laufen nicht, Übergänge werden zur kurzen Überblendung; JS-Bewegungen prüfen dieselbe Klasse. */
html.vCalm *,
html.vCalm *::before,
html.vCalm *::after {
  animation-duration: 1ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 120ms !important;
  transition-delay: 0ms !important;
  scroll-behavior: auto !important;
}
html.vCalm .gPlant .gZzz path,
html.vCalm .gPlant .gSpark { animation: none !important; opacity: 1; }

/* Designsystem: Bewegung (überall dieselben Werte) */
:root {
  --m-fade: 120ms;
  --m-quick: 240ms;
  --m-hop: 460ms;
  --m-grow: 600ms;
  --m-scene: 900ms;
  --m-ease-quick: cubic-bezier(0.2, 0.8, 0.2, 1);
  --m-ease-hop: cubic-bezier(0.2, 1.4, 0.4, 1);
  --m-ease-grow: cubic-bezier(0.34, 1.56, 0.64, 1);
  --m-ease-scene: cubic-bezier(0.65, 0, 0.35, 1);
}
.glBar .glHome { order: 10; }
.vfTop .vfHome { margin-left: auto; }
/* Navigations-Regel: Hinweis-Karten blenden sich mit einem beschrifteten Knopf aus (statt kleinem ✕), Berührfläche ≥ 44 px */
#journeyHub .vNewsClose { width: auto !important; min-width: 48px !important; min-height: 48px !important; height: auto !important; aspect-ratio: auto !important; padding: 0 14px !important; border-radius: 24px !important; font-size: 0.9rem !important; font-weight: 700; border-width: 2px !important; } /* z60r Durchlauf: 48 px und 2-px-Rahmen (weiße Knopfform) */
/* Lernzettel: beim Darüberfahren nur gerade rücken, nicht anheben (Anheben flackert an der Unterkante) */
.glNote:hover { transform: rotate(0deg); box-shadow: 0 8px 20px #14271d1f; }
/* Alle Kacheln: Hover hebt nicht mehr an (Flackern an der Unterkante unter dem Mauszeiger) – Schatten statt Verschieben */
.vTile:hover, #journeyHub .vTile:hover, body.vKid #journeyHub .vSubjects .vTile:hover, #journeyHub .activityTile:hover, #journeyHub .gTile:hover { transform: none; }
@media (hover: hover) {
  #journeyHub .vTile:hover, #journeyHub .activityTile:hover, #journeyHub .gTile:hover { box-shadow: 0 8px 22px #14271d1f; }
}
/* z28 · gezeichnete Bilder statt Emoji: Größe folgt der Schriftgröße des bisherigen Zeichens (1 em = altes Emoji) */
.vArtSlot { display: inline-grid; place-items: center; line-height: 0; }
.vArtSlot > .vArt { width: 1.35em; height: 1.35em; object-fit: contain; }
.fwGiftIcon.vArtSlot > .vArt, .faGiftIcon.vArtSlot > .vArt { width: 1.5em; height: 1.5em; }
.kgEmoji.vArtSlot > .vArt { width: 2.2em; height: 2.2em; }
.vArt { -webkit-user-drag: none; user-select: none; }
.vEmptyArt { width: 150px; height: auto; display: block; margin: 0 auto 6px; }
/* Belohnungs-Texte nie mitten im Wort umbrechen („Überraschu/ng“) – lieber mit Trennstrich */
.faGiftText, .fwGiftText { overflow-wrap: normal; word-break: normal; hyphens: auto; -webkit-hyphens: auto; }

/* z29: Abfrage-Feld bei Vokabeln und Grammatik – ruhiger, größer, klare Reihenfolge (Eingabe → Prüfen → Hilfe) */
#exercise > form.qaAnswer,
#practiceExercise > form.qaAnswer,
#exercise > #answerForm {
  border-top: 0 !important;
  padding-top: 10px;
}
#exercise #answer,
#practiceExercise #practiceAnswer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 62px;
  padding: 14px 18px;
  border: 2px solid #e5ddcc !important;
  border-radius: 18px;
  background: #fbf8f1 !important;
  color: var(--v-ink, #1f2b24);
  font-size: 1.4rem;
  font-weight: 650;
  text-align: center;
  letter-spacing: 0.01em;
  box-shadow: inset 0 2px 4px rgba(31, 43, 36, 0.05);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
#exercise #answer::placeholder,
#practiceExercise #practiceAnswer::placeholder {
  color: #a39b8c;
  font-weight: 500;
}
#exercise #answer:focus,
#practiceExercise #practiceAnswer:focus {
  outline: none;
  background: #fff !important;
  border-color: var(--kumi-green, #247a4c) !important;
  box-shadow: 0 0 0 4px rgba(36, 122, 76, 0.14);
}
#exercise #answerForm .actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 14px;
}
#exercise #answerForm #check {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  font-size: 1.1rem;
}
#exercise #answerForm #reveal {
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #5d6c63;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #c9d3cc;
  text-underline-offset: 4px;
}
#exercise #answerForm #reveal:hover {
  color: var(--kumi-green, #247a4c);
}

/* z29: iPhone zoomt bei Feldern unter 16 px hinein und bleibt vergrößert (Seite wirkt verrutscht) – nie kleiner als 16 px */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea {
    font-size: max(16px, 1em) !important;
  }
}
/* z29: Mini-Kumi auf den Lernkarten aus Midjourney-Bildern – Blinzeln blendet das Blinzel-Gesicht kurz ein */
.glKumiBlinkImg { opacity: 0; animation: glBlinkImg 5.2s steps(1, end) 1.2s infinite; }
.glMascot.glWake .glKumiBlinkImg { animation: glBlinkImg 0.62s steps(1, end) 1, glBlinkImg 5.2s steps(1, end) 2.4s infinite; }
.glKumiFace { animation: glBlinkFace 5.2s steps(1, end) 1.2s infinite; }
@keyframes glBlinkImg { 0%, 95% { opacity: 0; } 96%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes glBlinkFace { 0%, 95% { opacity: 1; } 96%, 99% { opacity: 0; } 100% { opacity: 1; } }
.glKumiLeaf { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) { .glKumiBlinkImg, .glKumiFace { animation: none !important; } }
html.vCalm .glKumiBlinkImg, html.vCalm .glKumiFace { animation: none !important; }
/* z30: Seiten-Anker unter dem Wort */
#exercise .promptAnchor { margin: 2px 0 0; font-size: 0.85rem; font-weight: 650; color: #8a5a1f; }
#exercise .promptAnchor[hidden] { display: none; }
/* z30: Fach-Startseite wie Englisch – Fach-Symbol im Titel */
.vLangHomeTitle .vHelloSubjArt { width: 1.35em; height: 1.35em; object-fit: contain; vertical-align: -0.25em; margin-right: 0.35em; }
.mkToday { margin-bottom: 14px; }

/* z31: „i“-Knopf – sichtbar klein, Tippfläche 44 × 44 px (negativer Rand hält die Zeile ruhig) */
html body .vInfoBtn { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; max-height: 44px !important; margin: -7px -7px -7px 1px !important; }

/* z31: Tippflächen ≥ 44 px auch am Desktop (Konsole, Abo, Vorlese-Tipp) */
#journeyHub .faKid .faViewAs, #journeyHub .faCard > .faJump, #journeyHub .faJump, #journeyHub .faAbo button, #journeyHub .abRow button { min-height: 44px; }
#journeyHub .faCard > .faJump { padding: 10px 0; }
#journeyHub .abRow details.abMore > summary { min-height: 44px !important; }
#journeyHub .faKid .faKidMore > summary { min-height: 44px; padding: 12px 0; box-sizing: border-box; }
#speechSettings details.speechTip > summary { display: inline-flex !important; align-items: center; min-height: 44px !important; }
#journeyHub .exHistory > summary { min-height: 44px !important; }

/* ---------- z33: Aquarell-Symbole (art/spot/) ---------- */
.vSpotSlot { display: grid; place-items: center; background: none !important; }
.vSpotSlot .vSpotIco { width: 100%; height: 100%; max-width: 64px; max-height: 64px; object-fit: contain; }
.vTileArt.vTileSpot { background: none !important; display: grid; place-items: center; }
.vTileArt.vTileSpot .vSpotIco { width: 56px; height: 56px; object-fit: contain; }
/* Merk-Trick und typische Fehler: Bild links (Schleife bzw. Kieselstein) */
.kxTrick, .mkTrick { position: relative; padding-left: 58px !important; min-height: 48px; background-image: url("art/spot/spot-trick.webp") !important; background-repeat: no-repeat !important; background-size: 42px 42px !important; background-position: 8px 6px !important; }
.mkTrick .vIco { display: none; }
.mkTips > h3, .kxMistakesHead { padding-left: 46px; min-height: 40px; display: flex; align-items: center; background: url("art/spot/spot-mistake.webp") left center / 38px 38px no-repeat; }
.mkTips > h3 .vIco { display: none; }
.fxToast.kvNote { border-radius: 16px; width: min(92vw, 420px); font-weight: 650; font-size: 0.95rem; line-height: 1.35; text-align: center; }
.kvWordSwitch[hidden] { display: none; }
.deviceVoiceBox { margin-top: 12px; border-top: 1px solid #e3ece6; padding-top: 10px; }
.deviceVoiceBox > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.deviceVoiceBox .kvDeviceHint { font-weight: 500; color: #5b6b62; }
.kvWordSwitch { margin: 8px 0 4px; }

/* z45: Barrierefreiheit – Kontrast mindestens 4,5 : 1 und Tippflächen für die Rechtstexte */
#journeyHub .vTileHint, .vTileHint { color: #4f5a54; }
#journeyHub .vQuickDue { background: #b8501f; }
.vWeekDot { color: #5f6662; }
.anTab:not([aria-current]) .anTabLabel { color: #4f5a54 !important; }
.anTab.t-garten[aria-current] .anTabLabel { color: #2a7a3b !important; }
.anTab.t-pruefen[aria-current] .anTabLabel { color: #b04a22 !important; }
.legalLinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.vWeekDot.on { background: #1c7d48; border-color: #1c7d48; }

/* z46: Kumis Fenster wieder groß – das Wahrzeichen der Lernsprache soll man sehen (vorher 64–96 px) */
#journeyHub .vToday > .kumiCard :is(.kumiScene, img) { width: 132px !important; height: 132px !important; }
@media (max-width: 560px) {
  #journeyHub .vToday > .kumiCard { flex-direction: column; flex-wrap: nowrap; height: auto; max-height: none; align-items: center; text-align: center; }
  #journeyHub .vToday > .kumiCard > * { width: 100%; max-width: 100%; }
  #journeyHub .vToday > .kumiCard > .kumiScene { width: min(220px, 64vw) !important; }
  #journeyHub .vToday > .kumiCard :is(.kumiScene, img) { width: min(220px, 64vw) !important; height: min(220px, 64vw) !important; }
  #journeyHub .vToday > .kumiCard .kumiText { width: 100%; }
}
#journeyHub .vToday > .vHello h1 { overflow-wrap: break-word; }

/* z60d: „Neu in Vokumi“ – ruhig. Klasse 1–4: eine Zeile mit Bild; ab Klasse 5 zugeklappt */
#journeyHub .vNewsLine { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 12px; padding: 8px 10px; border-radius: 16px; background: #f5f9f6; border: 1px solid #dfeae3; }
.vNewsKumi { width: 40px; height: 40px; flex: none; }
.vNewsLineText { flex: 1 1 180px; margin: 0; font-weight: 700; line-height: 1.35; }
#journeyHub .vNewsLine .secondary { min-height: 44px; padding: 0 14px; }
#journeyHub .vNews.vNewsFold { display: block; padding: 0; margin: 4px 0 16px; background: #fff; border: 1px solid #e1e8e4; border-radius: 16px; }
#journeyHub .vNewsFold > summary { min-height: 48px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style-position: inside; }
#journeyHub .vNewsFold[open] > summary { border-bottom: 1px solid #e1e8e4; }
#journeyHub .vNewsFold .vNewsList { padding: 12px 16px; }
#journeyHub .vNewsFold .vNewsClose { margin: 0 16px 14px; }
#journeyHub .faNews > summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 800; }
.faNewsList { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.faNewsList li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.faNewsIcon { flex: none; width: 1.6em; text-align: center; }
/* z60f: Kinder-Konten – keine Kauf- oder Extra-Hinweise in der Fußzeile */
body.vChild footer p span { display: none; }

/* z60m (Nachtrag 21d): Aufgabenhilfe – Bild „Hilfe“ im Kopf (72 px, 2× Auflösung) */
#journeyHub .thHead { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; }
.thHeadArt { width: 72px; height: 72px; object-fit: contain; display: block; }
.thHeadText h1 { margin: 0; }
