/* z60o Punkt 28: immer helle Darstellung – der Dunkelmodus des Geräts ändert nichts (Formulare, Rollbalken, Auswahllisten) */
:root { color-scheme: light; }
/* Vokumi app shell – one navigation, calm and visual. Loaded last. */
:root {
  --v-blue: #247a4c;
  --v-blue-dark: #16492f;
  --v-lime: #ffc93c;
  --v-ink: #1f2b24;
  --v-muted: #5a7668;
  --v-line: #e1eee8;
  --v-canvas: #fff8ec;
  --v-card: #ffffff;
  --v-vocab: #e4faef;
  --v-vocab-line: #85d3ac;
  --v-vocab-ink: #113021;
  --v-grammar: #eaf6e2;
  --v-grammar-line: #a9cf8d;
  --v-grammar-ink: #2d4d1d;
  --v-scan: #e2f5f1;
  --v-scan-line: #9cd6c9;
  --v-games: #f1ebff;
  --v-games-line: #c6b3ef;
  --v-radius: 20px;
  --v-shadow: 0 1px 2px #14271d0d, 0 6px 20px #14271d0a;
}
body.journeyEnabled {
  background: var(--v-canvas);
  color: var(--v-ink);
}
/* The old header, menus and welcome block are replaced by the shell. */
body.journeyEnabled > header,
body.journeyEnabled #learningLanguage,
body.journeyEnabled .mascotMenuWrap,
body.journeyEnabled .activityPrompt,
body.journeyEnabled #home,
body.journeyEnabled #games,
body.journeyEnabled .gamesBack {
  display: none !important;
}
body.journeyEnabled.journeyOpen.vokumiStartPage > footer {
  display: flex !important;
}
body.journeyEnabled:not(.vokumiStartPage) > footer {
  display: none !important;
}

/* ---------- Header ---------- */
body.journeyEnabled #journeyNav.vHeader {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.vBar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.vLogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--v-blue);
  min-height: 48px;
}
.vMark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.vWord {
  font-size: 1.85rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}
.vLang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 12px;
  background: var(--v-card);
  border: 1px solid var(--v-line);
  border-radius: 14px;
  min-height: 48px;
}
.vLang .flag {
  width: 28px;
  height: 19px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #0002;
}
.vLangLabel {
  font-size: 0.8rem;
  color: var(--v-muted);
  font-weight: 650;
}
.vLang select {
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  min-height: 46px;
  padding: 0 8px;
  color: var(--v-ink);
}
.vTools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.vTools .localeBar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  max-width: none;
  background: none;
  border: 0;
}
.vTools .localeBar label {
  font-size: 0.8rem;
  color: var(--v-muted);
  white-space: nowrap;
}
.vTools .localeBar label img,
.vTools .localeBar label .localeFlag {
  display: none;
}
.vTools .localeBar select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--v-line);
  background: var(--v-card);
  padding: 0 8px;
  font-size: 0.9rem;
}
.vTools .headerTools {
  display: flex;
  gap: 6px;
}
.vTools .headerIcon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px;
  border: 1px solid var(--v-line);
  background: var(--v-card);
  color: var(--v-blue);
  display: grid;
  place-items: center;
  padding: 10px !important;
}
.vTools .accountBar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: none;
  background: none;
  border: 0;
  font-size: 0.8rem;
}
.vTools .accountBar button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--v-line);
  background: var(--v-card);
  color: var(--v-ink);
  padding: 0 14px;
  font-weight: 650;
}
.vTools #cloudStatus {
  color: var(--v-muted);
  max-width: 14ch;
  line-height: 1.2;
}

/* Main menu: six fixed places */
.vMenu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 6px;
  padding: 6px;
  background: var(--v-card);
  border: 1px solid var(--v-line);
  border-radius: 22px;
  box-shadow: var(--v-shadow);
}
.vMenuItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 10px 4px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #3f6050;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
}
.vMenuItem .short {
  display: none;
}
.vMenuItem:hover {
  background: #fdfaee;
}
.vMenuItem[aria-current] {
  background: var(--v-blue);
  color: #fff;
}
.vMenuItem.m-vocab:not([aria-current]) .icon {
  color: #1e4c35;
}
.vMenuItem.m-grammar:not([aria-current]) .icon {
  color: #4d8a2c;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon.big {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

/* Back bar for sub pages */
.vContext {
  max-width: 1100px;
  margin: 10px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.vContext strong {
  font-size: 1.05rem;
}
.vBack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 16px 0 10px;
  border-radius: 14px;
  border: 1px solid #c1e5d3;
  background: var(--v-card);
  color: var(--v-blue);
  font-weight: 700;
}

/* ---------- Page container ---------- */
body.journeyEnabled #journeyHub.vPage {
  max-width: 1100px;
  margin: 14px auto 40px;
  padding: 28px;
  background: var(--v-card);
  border: 1px solid var(--v-line);
  border-radius: 26px;
  box-shadow: var(--v-shadow);
}
body.journeyEnabled > main {
  max-width: 1100px;
  margin: 14px auto 40px;
}
.vPage h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 6px;
  letter-spacing: -0.03em;
}
.vPage h2 {
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.vLead {
  color: var(--v-muted);
  margin: 0 0 12px;
}
.vHeading {
  margin-bottom: 20px;
}
.vSectionTitle {
  margin-top: 28px !important;
}
.vKicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--v-blue);
  margin: 0 0 6px;
}
.vActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.vPage button.primary,
.vPage button.secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 1rem;
}
.vPage button.primary {
  background: var(--v-blue);
  border: 1px solid var(--v-blue);
  color: #fff;
}
.vPage button.primary:hover {
  background: var(--v-blue-dark);
}
.vPage button.secondary {
  background: var(--v-card);
  border: 1px solid #c1e5d3;
  color: var(--v-blue);
}
.vPage button.big {
  min-height: 60px;
  padding: 0 28px;
  font-size: 1.1rem;
}
.vMascot {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* ---------- Start ---------- */
.vHello h1 {
  margin-bottom: 18px;
}
.vPick {
  text-align: center;
  padding: 10px 0 6px;
}
.vPick .vMascot {
  width: 140px;
  height: 140px;
}
.vFlags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 20px auto 0;
}
.vFlagBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border-radius: 18px;
  border: 2px solid var(--v-line);
  background: var(--v-card);
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--v-ink);
  cursor: pointer;
}
.vFlagBtn:hover {
  border-color: var(--v-blue);
  background: #fefcf4;
}
.flagBig {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px #0002;
}
.vNext {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(120deg, #fcf9eb 0%, #eef8e4 100%);
  border: 1px solid #c9e9d9;
}
.vNextCopy {
  flex: 1;
  min-width: 0;
}
.vNext .vMascot {
  width: 150px;
  height: 150px;
}
.vBig {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 16px;
}
.vBig strong {
  font-size: 3.2rem;
  line-height: 1;
  color: var(--v-blue);
  letter-spacing: -0.04em;
}
.vBig span {
  font-size: 1.15rem;
  font-weight: 650;
}
.vTiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.vTile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 14px 20px;
  border-radius: var(--v-radius);
  border: 1px solid var(--v-line);
  background: var(--v-card);
  color: var(--v-ink);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.vTile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #14271d1a;
}
.vTile strong {
  font-size: 1.1rem;
}
.vTileHint {
  font-size: 0.92rem;
  color: var(--v-muted);
  line-height: 1.4;
}
.vTileArt {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
}
.vTileArt .vMascot {
  width: 96px;
  height: 96px;
}
.vTile.t-vocab,
.vTile.game-pairs {
  background: var(--v-vocab);
  border-color: var(--v-vocab-line);
}
.vTile.t-vocab .icon {
  color: var(--v-vocab-ink);
}
.vTile.t-grammar,
.vTile.game-quotes {
  background: var(--v-grammar);
  border-color: var(--v-grammar-line);
}
.vTile.t-grammar .icon {
  color: var(--v-grammar-ink);
}
.vTile.t-scan,
.vTile.game-game {
  background: var(--v-scan);
  border-color: var(--v-scan-line);
}
.vTile.t-games,
.vTile.game-sequence,
.vTile.game-memory {
  background: var(--v-games);
  border-color: var(--v-games-line);
}
.vMore {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--v-line);
}
.vMoreItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--v-line);
  background: #fefcf6;
  color: #375848;
  font-weight: 650;
}
.vMoreItem .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Lessons ---------- */
.vRowTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.vRowTitle h2 {
  margin: 0;
}
.vActions.small button {
  min-height: 46px !important;
  font-size: 0.95rem !important;
}
.vLessons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.vLesson {
  position: relative;
  display: flex;
}
body.journeyEnabled .vLessonStart {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  padding: 16px 70px 16px 18px !important;
  min-height: 108px;
  border-radius: 18px !important;
  border: 1px solid var(--v-vocab-line) !important;
  background: var(--v-vocab) !important;
  color: var(--v-vocab-ink) !important;
  white-space: normal;
  cursor: pointer;
}
.vLessonStart:hover {
  border-color: #4da077;
  box-shadow: 0 6px 18px #11302118;
}
body.journeyEnabled .vLesson.all .vLessonStart {
  background: linear-gradient(120deg, #cdf6e2, #e4faef) !important;
  border: 2px solid #42ae78 !important;
}
.vLesson.all {
  grid-column: 1 / -1;
}
.vLessonHead {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vLessonHead strong {
  font-size: 1.05rem;
}
.vLessonMeta {
  font-size: 0.88rem;
  color: #416d57;
}
.vDone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 750;
  color: #2f5f1a;
  background: #dff2cf;
  border-radius: 999px;
  padding: 2px 10px 2px 6px;
}
.vDone .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.vPlay {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--v-blue);
  color: #fff;
  display: grid;
  place-items: center;
}
.vPlay .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.vEdit {
  position: absolute;
  right: 62px;
  top: 10px;
  width: 40px;
  height: 40px;
  min-height: 40px !important;
  padding: 8px !important;
  border-radius: 12px;
  border: 1px solid #a9dac2;
  background: #fff;
  color: var(--v-vocab-ink);
  display: grid;
  place-items: center;
}
.vEdit .icon {
  width: 20px;
  height: 20px;
}
/* Flash-card box colours: new → box 6 */
.vBoxBar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffffaa;
  gap: 2px;
}
.vBoxBar span {
  min-width: 4px;
}
.b0 {
  background: #c5dad0;
}
.b1 {
  background: #f2b366;
}
.b2 {
  background: #f5d25b;
}
.b3 {
  background: #ffc73a;
}
.b4 {
  background: #8fcf63;
}
.b5 {
  background: #4fb27a;
}
.b6 {
  background: #2e8b6a;
}
.vBoxBar span.b0 {
  flex-grow: 1;
}
.vEmpty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 2px dashed var(--v-vocab-line);
  border-radius: 18px;
  background: #fefdf7;
}
.vFree {
  margin-top: 26px;
}
.vFreeBtn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--v-radius);
  border: 1px solid #e5d9a6;
  background: #fff8df;
  color: var(--v-ink);
  cursor: pointer;
}
.vFreeCopy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vFreeCopy strong {
  font-size: 1.15rem;
}
.vLink {
  color: var(--v-blue);
  font-weight: 750;
}

/* ---------- Progress: the flash-card box ---------- */
.vBox {
  padding: 22px;
  border-radius: 22px;
  background: #fefdf7;
  border: 1px solid var(--v-line);
}
.vShelf {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 14px;
}
.vDrawer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  background: none !important;
}
.vDrawer strong {
  font-size: 1.4rem;
}
.vDrawerCard {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 12px 12px 6px 6px;
  background: #fff;
  border: 1px solid #d8eae1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.vFill {
  width: 100%;
  min-height: 4px;
  border-radius: 8px 8px 0 0;
}
.vDrawer.b0 .vFill {
  background: #c5dad0;
}
.vDrawer.b1 .vFill {
  background: #f2b366;
}
.vDrawer.b2 .vFill {
  background: #f5d25b;
}
.vDrawer.b3 .vFill {
  background: #ffc73a;
}
.vDrawer.b4 .vFill {
  background: #8fcf63;
}
.vDrawer.b5 .vFill {
  background: #4fb27a;
}
.vDrawer.b6 .vFill {
  background: #2e8b6a;
}
.vDrawerLabel {
  font-weight: 750;
  font-size: 0.9rem;
}
.vDrawerDays {
  font-size: 0.78rem;
  color: var(--v-muted);
  min-height: 1em;
}
.vBuddy {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(120deg, #fff4d7, #fdfaf0);
  border: 1px solid #d8e4c0;
}
.vBuddy progress {
  width: 100%;
  max-width: 340px;
  height: 14px;
  accent-color: #7fb236;
}

/* ---------- Free learning ---------- */
.vLevels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 20px;
}
.vLevel {
  min-height: 84px;
  border-radius: 16px;
  border: 2px solid var(--v-line);
  background: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--v-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vLevel[aria-current] {
  background: var(--v-blue);
  border-color: var(--v-blue);
  color: #fff;
}
.vLevel:disabled {
  opacity: 0.5;
}
.vLevel small {
  font-size: 0.8rem;
}
.vCourses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vCourse {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 20px;
  border-radius: var(--v-radius);
  border: 1px solid #e5d9a6;
  background: #fff8df;
  color: var(--v-ink);
  cursor: pointer;
}
.vCourse strong {
  font-size: 1.15rem;
}
.vBadge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0d39c;
  color: #6b5a12;
}

/* ---------- Help and preferences ---------- */
.vHelp {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}
.vHelp li::marker {
  font-weight: 800;
  color: var(--v-blue);
}
.vHelp p {
  margin: 4px 0 0;
  color: var(--v-muted);
}
.vPrefs {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #fefcf6;
  border: 1px solid var(--v-line);
  max-width: 520px;
}
.vPrefs label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}
.vPrefs .vCheck {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vPrefs .vCheck input {
  width: 24px;
  height: 24px;
}

/* Toast for engine messages */
body.journeyEnabled > #notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(560px, calc(100vw - 32px));
  margin: 0;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--v-ink);
  color: #fff;
  box-shadow: 0 10px 30px #0004;
}

/* Engine sections inside the shell: keep colour logic */
body.journeyEnabled #learn .wordcard,
body.journeyEnabled #learn #answerForm {
  border-color: var(--v-vocab-line);
}
body.journeyEnabled #practice .heading,
body.journeyEnabled #practiceChoices {
  border-color: var(--v-grammar-line);
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .vTiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vCourses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vLevels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vMenuItem .long {
    display: none;
  }
  .vMenuItem .short {
    display: inline;
  }
}

/* ---------- Phone: menu becomes a bottom bar ---------- */
@media (max-width: 700px) {
  body.journeyEnabled {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  body.journeyEnabled #journeyNav.vHeader {
    padding: 10px 16px 0;
  }
  .vBar {
    gap: 10px;
  }
  .vWord {
    font-size: 1.5rem;
  }
  .vMark {
    width: 34px;
    height: 34px;
  }
  .vLang {
    order: 3;
    flex: 1 1 100%;
  }
  .vLang select {
    flex: 1;
  }
  .vTools {
    gap: 6px;
  }
  .vTools .localeBar label,
  .vTools #cloudStatus {
    display: none;
  }
  .vTools .localeBar select {
    max-width: 120px;
  }
  .vMenu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    box-shadow: 0 -4px 18px #14271d1a;
  }
  .vMenuItem {
    min-height: 58px;
    padding: 6px 0;
    font-size: 0.66rem;
    white-space: nowrap;
    overflow-wrap: normal !important;
    word-break: normal !important;
    letter-spacing: -0.01em;
    gap: 4px;
    border-radius: 12px;
  }
  .vMenuItem .icon {
    width: 22px;
    height: 22px;
  }
  .vContext {
    padding: 0 16px;
  }
  body.journeyEnabled #journeyHub.vPage {
    margin: 12px 12px 24px;
    padding: 20px 16px;
    border-radius: 22px;
  }
  .vNext {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 20px;
  }
  .vNext .vMascot {
    width: 96px;
    height: 96px;
    align-self: center;
  }
  .vNext .vActions,
  .vNext .vActions button {
    width: 100%;
    justify-content: center;
  }
  .vTiles {
    gap: 10px;
  }
  .vTile {
    padding: 14px 8px 16px;
  }
  .vTileArt,
  .vTileArt .vMascot {
    width: 72px;
    height: 72px;
  }
  .vTileHint {
    font-size: 0.82rem;
  }
  .vLessons,
  .vCourses {
    grid-template-columns: 1fr;
  }
  .vFlags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vShelf {
    gap: 4px;
  }
  .vDrawerCard {
    height: 100px;
  }
  .vDrawerLabel {
    font-size: 0.72rem;
  }
  .vDrawerDays {
    font-size: 0.65rem;
  }
  .vDrawer strong {
    font-size: 1.05rem;
  }
  .vBuddy .vMascot {
    width: 72px;
    height: 72px;
  }
  .vEmpty {
    flex-direction: column;
    text-align: center;
  }
  body.journeyEnabled > #notice {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

/* Comfort mode: bigger everything */
body.jComfort .vMenuItem {
  font-size: 1rem;
  min-height: 76px;
}
body.jComfort .vLessonStart {
  min-height: 124px;
}
body.jComfort .vLessonHead strong {
  font-size: 1.2rem;
}
@media (max-width: 700px) {
  body.jComfort .vMenuItem {
    font-size: 0.75rem;
    min-height: 66px;
  }
  body.jComfort {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .vTile {
    transition: none;
  }
  .vTile:hover {
    transform: none;
  }
}

/* App-language flag is already shown inside the select. */
.vTools .selectedLanguageFlag {
  display: none !important;
}

/* Comfort mode enlarges content, not the header tools. */
body.jComfort .vTools :is(button, select) {
  min-height: 46px !important;
  font-size: 0.9rem !important;
  padding: 0 10px !important;
}
body.jComfort .vTools .headerIcon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 10px !important;
}

/* Older rule "#journeyHub button" overrode the tile colours; restate them with matching weight. */
#journeyHub .vTile,
#journeyHub .vFlagBtn,
#journeyHub .vCourse,
#journeyHub .vFreeBtn,
#journeyHub .vLevel {
  padding: 18px 14px 20px;
  border-radius: var(--v-radius);
  color: var(--v-ink);
}
#journeyHub .vTile { background: var(--v-card); border: 1px solid var(--v-line); }
#journeyHub .vTile.t-vocab,
#journeyHub .vTile.game-pairs { background: var(--v-vocab); border-color: var(--v-vocab-line); }
#journeyHub .vTile.t-grammar,
#journeyHub .vTile.game-quotes { background: var(--v-grammar); border-color: var(--v-grammar-line); }
#journeyHub .vTile.t-scan,
#journeyHub .vTile.game-game { background: var(--v-scan); border-color: var(--v-scan-line); }
#journeyHub .vTile.t-games,
#journeyHub .vTile.game-sequence,
#journeyHub .vTile.game-memory { background: var(--v-games); border-color: var(--v-games-line); }
#journeyHub .vTile strong { color: var(--v-ink); }
#journeyHub .vFlagBtn { background: var(--v-card); border: 2px solid var(--v-line); }
#journeyHub .vFlagBtn:hover { border-color: var(--v-blue); background: #fefcf4; }
#journeyHub .vCourse,
#journeyHub .vFreeBtn { background: #fff8df; border: 1px solid #e5d9a6; padding: 20px; }
/* Compact course strip at the top of the vocab page */
.vFree.top { margin: 4px 0 22px; }
#journeyHub .vFree.top .vFreeBtn { padding: 12px 18px; gap: 14px; }
#journeyHub .vFree.top .vTileArt { width: 56px; height: 56px; flex: none; }
#journeyHub .vFree.top .vTileArt img, #journeyHub .vFree.top .vTileArt svg { width: 56px; height: 56px; }
#journeyHub .vFree.top .vFreeCopy { flex: 1; min-width: 0; }
#journeyHub .vFree.top .vFreeCopy strong { font-size: 1.05rem; }
.vFreeGo { white-space: nowrap; font-weight: 700; }
@media (max-width: 420px) { .vFreeGo { white-space: normal; } }
@media (max-width: 600px) {
  #journeyHub .vFree.top .vFreeBtn { flex-wrap: wrap; }
  #journeyHub .vFree.top .vFreeBtn { padding: 10px 14px; gap: 10px; }
  #journeyHub .vFree.top .vTileArt,
  #journeyHub .vFree.top .vTileArt img, #journeyHub .vFree.top .vTileArt svg { width: 44px; height: 44px; }
  #journeyHub .vFree.top .vFreeCopy { font-size: 0.95rem; }
  #journeyHub .vFree.top .vFreeGo { flex-basis: 100%; padding-left: 54px; }
  .vFree.top .vWide { display: none; }
}
#journeyHub .vLevel { background: #fff; border: 2px solid var(--v-line); min-height: 84px; font-size: 1.5rem; }
#journeyHub .vLevel[aria-current] { background: var(--v-blue); border-color: var(--v-blue); color: #fff; }
#journeyHub .vMoreItem { background: #fefcf6; border: 1px solid var(--v-line); border-radius: 999px; color: #375848; padding: 0 16px; }
#journeyHub .vEdit { background: #fff; border: 1px solid #a9dac2; padding: 8px; }
footer .vLogo .vMark { width: 32px; height: 32px; }
footer .vLogo .vWord { font-size: 1.5rem; }

/* ---------- Sprachkurs A1 ---------- */
.vKurs {
  margin: 4px 0 26px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(120deg, #fdfaf0, #fff8df);
  border: 1px solid #dbeee4;
}
.vKursList {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vKursList li.soon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffffa0;
  color: #7d968a;
  border: 1px dashed #d1e4db;
}
.vKursList li.soon small {
  margin-left: auto;
  font-size: 0.75rem;
}
.vKursList li.ready {
  grid-column: 1 / -1;
}
#journeyHub .vKursUnit {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--v-blue);
  color: var(--v-ink);
}
.vKursUnit strong {
  font-size: 1.15rem;
}
.vKursUnit .vTileHint,
.vKursUnit .vKursBar {
  grid-column: 2;
}
.vKursNum {
  grid-row: span 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--v-blue);
  color: #fff;
  font-weight: 800;
}
li.soon .vKursNum {
  width: 28px;
  height: 28px;
  background: #e1eee8;
  color: #6a8678;
  font-size: 0.85rem;
}
.vKursBar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e7f4ee;
  overflow: hidden;
}
.vKursBar span {
  display: block;
  height: 100%;
  background: #4fb27a;
}

/* Player */
.cHead h1 {
  margin-bottom: 2px;
}
.cSteps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}
#journeyHub .cStep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--v-line);
  background: #fefcf6;
  color: #375848;
  font-weight: 650;
}
.cStep .cNum {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f1eb;
  font-size: 0.85rem;
}
#journeyHub .cStep.done .cNum {
  background: #4fb27a;
  color: #fff;
}
#journeyHub .cStep.on {
  background: var(--v-blue);
  border-color: var(--v-blue);
  color: #fff;
}
#journeyHub .cStep.on .cNum {
  background: #fff;
  color: var(--v-blue);
}
.cBody h2 {
  margin-top: 6px;
}
.cBody h3 {
  margin: 22px 0 8px;
}
.cGoals {
  padding: 16px 20px;
  border-radius: 18px;
  background: #f1f7e6;
  border: 1px solid #d3e6b8;
  margin-bottom: 20px;
}
.cGoals h2 {
  font-size: 1.05rem;
}
.cGoals ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.cActions,
.cAudio {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0;
}
#journeyHub .cMini {
  min-height: 44px;
  width: 48px;
  padding: 0;
  justify-content: center;
}
.cDialogue {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.cLine {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--v-vocab);
  border: 1px solid #c1e8d4;
}
.cLine:nth-child(even) {
  background: #fefcf5;
  border-color: var(--v-line);
}
.cText {
  flex: 1;
  min-width: 0;
}
.cText strong {
  font-size: 0.8rem;
  color: var(--v-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cSaid {
  margin: 2px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.cDe {
  display: none;
  margin: 4px 0 0;
  color: var(--v-muted);
}
.showDe .cDe {
  display: block;
}
.cTip {
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff8df;
  border: 1px solid #ecdca0;
}
.cWords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 20px;
}
.cWord {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--v-vocab);
  border: 1px solid #c1e8d4;
}
.cWord strong {
  font-size: 1.05rem;
}
.cWord span {
  grid-column: 1;
  color: var(--v-muted);
  font-size: 0.92rem;
}
.cWord button {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.cRule {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--v-grammar);
  border: 1px solid var(--v-grammar-line);
}
.cTable {
  border-collapse: collapse;
  margin: 14px 0;
  min-width: min(100%, 460px);
}
.cTable td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--v-line);
}
.cTable td:first-child {
  font-weight: 750;
}
.cTable td:last-child {
  color: var(--v-muted);
}
.cGap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--v-line);
  margin: 8px 0;
  background: #fff;
}
.cGap label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 1.1rem;
}
.cGap input {
  width: var(--gw, 9ch);
  max-width: 100%;
  min-height: 44px;
  padding: 0 8px;
  border: 2px solid #a4cbb8;
  border-radius: 10px;
  font-size: 1.05rem;
}
.cGap .cHint,
.cGap .cFb {
  grid-column: 1 / -1;
  margin: 0;
}
.cGap.ok {
  border-color: #8fcf63;
  background: #fff8e5;
}
.cGap.no {
  border-color: #e3a28f;
  background: #fff4f0;
}
.cHint {
  color: var(--v-muted);
  font-size: 0.9rem;
}
.cFb {
  font-weight: 700;
  min-height: 1.2em;
}
.cScore {
  font-weight: 750;
}
.cChoice {
  border: 1px solid var(--v-line);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cChoice legend {
  font-weight: 750;
  padding: 0 6px;
}
.cChoice .cFb {
  flex-basis: 100%;
  margin: 4px 0 0;
}
#journeyHub .cOption {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 2px solid #c1e5d3;
  background: #fff;
  color: var(--v-ink);
  font-weight: 650;
}
#journeyHub .cOption.ok {
  border-color: #4fb27a;
  background: #e9f7ee;
}
#journeyHub .cOption.no {
  border-color: #d9826b;
  background: #fff0eb;
}
.cTranscript,
.cModel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fefcf6;
  border: 1px solid var(--v-line);
}
.cReadText {
  margin: 12px 0;
  padding: 16px 20px;
  border-left: 5px solid var(--v-blue);
  background: #fefcf4;
  border-radius: 0 14px 14px 0;
  font-size: 1.1rem;
  line-height: 1.6;
}
.cForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--v-line);
  background: #fff;
}
.cForm label {
  display: grid;
  gap: 4px;
  font-weight: 700;
}
.cForm input,
.cBody textarea {
  min-height: 46px;
  border: 1px solid #bdd9cb;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}
.cBody textarea {
  width: 100%;
  box-sizing: border-box;
}
.cChecklist {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--v-grammar);
  border: 1px solid var(--v-grammar-line);
}
.cChecklist label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cChecklist input {
  width: 22px;
  height: 22px;
}
.cSpeak {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--v-line);
  margin: 10px 0;
  background: #fff;
}
.cQ {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.cRecorder {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--v-line);
}
.cRecorder.recording {
  background: #fff0ee;
  border-radius: 12px;
  padding: 10px;
}
.cRecState {
  font-weight: 700;
  color: #b33a2a;
  min-height: 1.2em;
  margin: 6px 0;
}
.cRecorder audio {
  width: 100%;
  max-width: 420px;
}
.cTestItem {
  padding: 12px 0;
  border-bottom: 1px solid var(--v-line);
}
.cResult.pass,
.cResult.retry {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
}
.cResult.pass {
  background: #e9f7ee;
  border: 1px solid #8fcf63;
}
.cResult.retry {
  background: #fff8df;
  border: 1px solid #ecdca0;
}
.cNav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--v-line);
}
.cNav .primary {
  margin-left: auto;
}
@media (max-width: 700px) {
  .vKursList,
  .cWords,
  .cForm {
    grid-template-columns: 1fr;
  }
  .cSteps {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  #journeyHub .cStep {
    flex-shrink: 0;
  }
  .cGap {
    grid-template-columns: 1fr;
  }
}

/* Gap sentences and checklists: override the general label/input styles of the old interface. */
#journeyHub .cGap label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-weight: 500;
}
#journeyHub .cGap input {
  display: inline-block !important;
  width: var(--gw, 9ch) !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  flex: 0 0 auto;
}
#journeyHub .cGap button {
  min-height: 44px;
}
#journeyHub .cChecklist label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 500;
  text-align: left;
}
#journeyHub .cChecklist input {
  width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}
#journeyHub .cForm input {
  width: 100%;
  margin: 0;
}
.cRecState { color: var(--v-muted); }
.cRecorder.recording .cRecState { color: #b33a2a; }

/* ---------- Text size button ---------- */
#journeyNav .vSize {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 44px;
  min-height: 44px !important;
  padding: 0 !important;
  border-radius: 12px;
  border: 1px solid var(--v-line);
  background: var(--v-card);
  color: var(--v-blue);
  font-weight: 800 !important;
  font-size: 1rem !important;
  line-height: 1;
}
#journeyNav .vSize .small { font-size: 0.85rem; }
#journeyNav .vSize .big { font-size: 1.35rem; }
#journeyNav .vSize[aria-pressed="true"] {
  background: var(--v-blue);
  border-color: var(--v-blue);
  color: #fff;
}
.vTools .accountBar button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.vTools .accountBar button .icon {
  width: 20px;
  height: 20px;
}

/* Comfort mode must not inflate the header or the bottom bar (old rule enlarged every button). */
body.jComfort #journeyNav .vMenu .vMenuItem {
  padding: 10px 4px !important;
  min-height: 70px !important;
  font-size: 1rem !important;
}
body.jComfort #journeyNav .vTools :is(button, select) {
  min-height: 44px !important;
  font-size: 0.9rem !important;
}

/* Round end: buttons never split words; stacked on phones. */
body.journeyEnabled #complete .actions button {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none;
}

@media (max-width: 700px) {
  /* Header: logo + tools in one row, learning language below. App language lives in Settings. */
  .vBar {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .vTools {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .vTools .localeBar {
    display: contents;
  }
  .vTools .localeBar > label,
  .vTools .localeBar > select,
  .vTools .localeBar .selectedLanguageFlag {
    display: none !important;
  }
  .vTools .accountBar .vAccLabel,
  .vTools #cloudStatus {
    display: none;
  }
  .vTools .accountBar button {
    width: 44px;
    padding: 0 !important;
    justify-content: center;
  }
  #journeyNav .vSize {
    width: 48px;
  }
  /* Bottom bar: fixed, readable label size in both text sizes. */
  body.journeyEnabled #journeyNav .vMenu .vMenuItem {
    min-height: 60px !important;
    padding: 6px 0 !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.jComfort #journeyNav .vMenu .vMenuItem {
    min-height: 66px !important;
    font-size: 12px !important;
  }
  body.jComfort #journeyNav .vMenu .vMenuItem .icon {
    width: 26px;
    height: 26px;
  }
  body.journeyEnabled #complete .actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.journeyEnabled #complete .actions button {
    width: 100%;
  }
}
@media (max-width: 700px) {
  body.journeyEnabled #journeyNav .vMenu {
    padding-left: 4px;
    padding-right: 4px;
    gap: 0;
  }
  body.journeyEnabled #journeyNav .vMenu .vMenuItem {
    font-size: 10.5px !important;
    letter-spacing: -0.02em;
    text-overflow: clip;
  }
  body.jComfort #journeyNav .vMenu .vMenuItem {
    font-size: 11.5px !important;
  }
}
@media (max-width: 700px) {
  body.journeyEnabled #journeyNav .vMenu .vMenuItem { font-weight: 600 !important; font-size: 10.5px !important; }
  body.jComfort #journeyNav .vMenu .vMenuItem { font-size: 11px !important; }
}
/* Sehr schmale Handys mit großer Schrift: sechs Menüpunkte passen noch ganz („Grammatik“). */
@media (max-width: 380px) {
  body.jComfort #journeyNav .vMenu .vMenuItem { font-size: 10px !important; letter-spacing: -0.03em; padding-left: 1px; padding-right: 1px; }
}

/* ---------- Settings: four cards ---------- */
.vSettings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.vSetCard {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--v-card);
  border: 1px solid var(--v-line);
  box-shadow: var(--v-shadow);
  min-width: 0;
}
.vSetCard h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin: 0 0 14px;
}
.vSetCard h2 .icon {
  color: var(--v-blue);
}
#settings .vSetCard .panel {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
}
#settings .vSetCard .vPrefs {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  max-width: none;
}
#settings .vSetCard .vCheck {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-weight: 650;
}
#settings .vSetCard .vCheck input {
  width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  flex: 0 0 auto;
}
#settings .vSetCard > button {
  margin-top: 14px;
}
#settings .vSetCard .localnote {
  margin-top: 12px;
}
@media (max-width: 800px) {
  .vSettings {
    grid-template-columns: 1fr;
  }
}

/* ---------- Help (plain language) ---------- */
.vFaq {
  display: grid;
  gap: 10px;
}
.vFaqItem {
  border: 1px solid var(--v-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.vFaqItem[open] {
  border-color: #ace2c7;
  box-shadow: var(--v-shadow);
}
.vFaqItem summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px;
  font-weight: 750;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.vFaqItem summary::-webkit-details-marker {
  display: none;
}
.vFaqItem summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--v-blue);
  line-height: 1;
}
.vFaqItem[open] summary::after {
  content: "–";
}
.vFaqNum {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fcf9eb;
  color: var(--v-blue);
  font-size: 0.9rem;
}
.vFaqSteps {
  margin: 0;
  padding: 4px 22px 18px 64px;
  display: grid;
  gap: 8px;
  font-size: 1.05rem;
  line-height: 1.55;
}
.vFaqSteps li::marker {
  color: var(--v-blue);
  font-weight: 800;
}
@media (max-width: 700px) {
  .vFaqSteps {
    padding-left: 44px;
    padding-right: 16px;
  }
}
/* Header: the globe is enough; the words "App-Sprache" live in Settings. */
.vTools .localeBar #localeLabel { display: none; }

/* =========================================================
   Games – one shared look
   ========================================================= */
.gFrom {
  display: inline-block;
  margin: 4px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdfaef;
  color: #3f6050;
  font-size: 0.92rem;
}
.gGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
#journeyHub .gTile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 18px 18px 16px;
  min-height: 170px;
  border-radius: 22px;
  border: 0;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px #14271d1f;
  transition: transform 0.15s, box-shadow 0.15s;
}
#journeyHub .gTile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px #14271d2e;
}
.gTile strong {
  font-size: 1.2rem;
  line-height: 1.25;
}
.gHint {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.4;
}
.gTag {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff33;
}
.gRecord {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #ffffff33;
  padding: 2px 8px;
  border-radius: 999px;
}
.gArt {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ffffff2e;
  margin-bottom: 4px;
}
.gIcon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* One colour per game, also used inside the game */
.g-memory { --g: #2f6fe4; --g2: #5b93ff; --gl: #e6efff; }
.g-senso { --g: #7b4fd6; --g2: #a07bf0; --gl: #f1ebff; }
.g-sentence { --g: #2e9b6a; --g2: #4fc08b; --gl: #e5f7ee; }
.g-hangman { --g: #e07a2f; --g2: #f5a25f; --gl: #fff1e4; }
.g-proverbs { --g: #c2477a; --g2: #e3729f; --gl: #fde9f1; }
.g-listen { --g: #1b8fa6; --g2: #3fb8cf; --gl: #e1f6fa; }
.g-scramble { --g: #b08a12; --g2: #d9b23a; --gl: #fff7d9; }
.g-blitz { --g: #d43d3d; --g2: #f26a5b; --gl: #ffecea; }
.g-sorter { --g: #4f5bd5; --g2: #7c86f0; --gl: #eceeff; }
#journeyHub .gTile {
  background: linear-gradient(135deg, var(--g), var(--g2));
}

/* Game frame */
.gHead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin: -8px -8px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--g), var(--g2));
  color: #fff;
}
.gTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}
.gTitle h1 {
  color: #fff;
  margin: 0;
  font-size: 1.45rem;
}
.gSkill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff33;
}
#journeyHub .gBack,
#journeyHub .gSound {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: #ffffff2b;
  color: #fff;
  font-weight: 700;
}
#journeyHub .gSound[aria-pressed="false"] {
  background: #00000026;
}
.gInfo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gPill {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gl, #fdfaef);
  color: var(--g, #247a4c);
  font-weight: 750;
  font-size: 0.95rem;
}
.gBody {
  --gl: inherit;
}
.gPill.timer.low {
  background: #ffe1dc;
  color: #b3261e;
}
.gTask {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 4px 0 12px;
}
.gStatus {
  min-height: 1.4em;
  margin: 12px 0;
  padding: 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.gStatus.ok {
  color: #1f7a4a;
}
.gStatus.no {
  color: #b3401e;
}
.gActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
#journeyHub .gBtn,
#journeyHub .gBody button.gBtn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 2px solid var(--g, #247a4c);
  background: #fff;
  color: var(--g, #247a4c);
  font-weight: 750;
}
#journeyHub .gBtn.primary {
  background: var(--g, #247a4c);
  color: #fff;
}
#journeyHub .gBtn.big {
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.15rem;
}
#journeyHub .gBtn.mini {
  min-height: 44px;
  width: 48px;
  padding: 0;
}
.gEmpty {
  padding: 18px;
  border-radius: 16px;
  background: #fefcf6;
  border: 1px dashed var(--v-line);
}
.gFinish {
  margin-top: 18px;
  padding: 24px;
  border-radius: 22px;
  text-align: center;
  background: var(--gl, #fdfaf0);
  border: 2px solid var(--g, #247a4c);
}
.gFinish h2 {
  margin: 4px 0;
  color: var(--g, #247a4c);
}
.gFinish .gActions {
  justify-content: center;
}
.gConfetti {
  font-size: 2.6rem;
  animation: gPop 0.6s ease-out;
}
.gBest {
  font-weight: 750;
}
.gOptions {
  display: grid;
  gap: 10px;
}
#journeyHub .gOption {
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 2px solid #d8ece2;
  background: #fff;
  color: var(--v-ink);
  font-size: 1.05rem;
  font-weight: 650;
  text-align: left;
}
#journeyHub .gOption:not(:disabled):hover {
  border-color: var(--g);
  background: var(--gl);
}
#journeyHub .gOption.ok,
#journeyHub .wBasket.ok {
  border-color: #3aa76d;
  background: #e3f6ea;
  color: #1f5c3a;
}
#journeyHub .gOption.no,
#journeyHub .wBasket.no {
  border-color: #e0805f;
  background: #ffece4;
  color: #8a2f12;
}
.gFlag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #0002;
}
.gCheck {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
  font-weight: 650;
}
.gCheck input {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
}
@keyframes gPop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes gShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
@keyframes gPulse {
  0%, 100% { box-shadow: 0 0 0 0 #ff8a3d80; }
  50% { box-shadow: 0 0 0 10px #ff8a3d00; }
}

/* 1 · Memory */
.memoryBoard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  perspective: 900px;
}
#journeyHub .mCard {
  position: relative;
  min-height: 118px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.35s;
}
.mCard.open {
  transform: rotateY(180deg);
}
.mBack,
.mFront {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}
.mBack {
  background:
    radial-gradient(circle at 20% 20%, #ffffff40 0 12px, transparent 13px),
    radial-gradient(circle at 80% 75%, #ffffff30 0 18px, transparent 19px),
    linear-gradient(135deg, #24774d, #7b4fd6);
  box-shadow: 0 4px 0 #163e2a;
}
.mQ {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  opacity: 0.9;
}
.mFront {
  transform: rotateY(180deg);
  background: #fff;
  border: 3px solid #d8ece2;
}
.mWord {
  font-weight: 750;
  font-size: 1.02rem;
  color: var(--v-ink);
  text-align: center;
  overflow-wrap: break-word;
}
.mCard.first .mFront {
  background: #e4faef;
  border-color: #24774d;
}
.mCard.second .mFront {
  background: #fff1dc;
  border-color: #f08c2a;
}
.mCard.miss.first .mFront {
  background: #ffe1ea;
  border-color: #d9466f;
}
.mCard.miss.second .mFront {
  background: #fff2c2;
  border-color: #d9a400;
}
.mCard.miss {
  animation: gShake 0.35s;
}
.mCard.found .mFront {
  background: #dff5e7;
  border-color: #3aa76d;
}
.mCard.found .mFront::after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 6px;
  color: #2b8a57;
  font-weight: 900;
}
#journeyHub .gFlip.attention {
  background: #ff8a3d;
  border-color: #ff8a3d;
  color: #fff;
  animation: gPulse 1.4s infinite;
}

/* 2 · Senso */
.sensoBoard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
}
#journeyHub .sPad {
  min-height: 130px;
  border-radius: 24px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  opacity: 0.72;
  transition: transform 0.12s, opacity 0.12s, box-shadow 0.12s;
}
#journeyHub .sPad:disabled {
  cursor: default;
}
.sPad.p0 { background: #24774d; box-shadow: 0 6px 0 #17412c; }
.sPad.p1 { background: #2e9b6a; box-shadow: 0 6px 0 #1d6a48; }
.sPad.p2 { background: #e0a21b; box-shadow: 0 6px 0 #a4740f; }
.sPad.p3 { background: #d43d6a; box-shadow: 0 6px 0 #962646; }
#journeyHub .sPad.lit {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.18);
}
#journeyHub .sPad.hint {
  outline: 5px solid #ffd34d;
  opacity: 1;
}
.sWord {
  font-size: 1.3rem;
  font-weight: 800;
}
.sTrans {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 3 · Sentence builder and 7 · Letter jumble */
.bClue {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--gl);
  margin: 0 0 14px;
}
.bLine {
  min-height: 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 3px dashed #c6dfd2;
  background: #fefefb;
}
.bLine.ok {
  border: 3px solid #3aa76d;
  background: #e8f7ee;
}
.bLine.no {
  border: 3px solid #e0805f;
  background: #fff1ea;
}
.bBank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
#journeyHub .bTile,
#journeyHub .cTile {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  background: var(--g);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 750;
  box-shadow: 0 4px 0 #0002;
}
#journeyHub .bTile.placed {
  background: #fff;
  color: var(--v-ink);
  border: 2px solid var(--g);
  box-shadow: none;
}
#journeyHub .bTile.used,
#journeyHub .cTile.used {
  opacity: 0.25;
  box-shadow: none;
}
.bEnd {
  font-size: 1.3rem;
  font-weight: 800;
}
.cSlotsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 16px;
}
.cSlot {
  width: 46px;
  height: 54px;
  border-radius: 12px;
  border: 3px dashed #d4c486;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #fffdf3;
}
.cSlot.filled {
  border-style: solid;
  border-color: var(--g);
}
.cSlotsRow.ok .cSlot {
  border-color: #3aa76d;
  background: #e8f7ee;
}
.cSlotsRow.no .cSlot {
  border-color: #e0805f;
  background: #fff1ea;
}
.cTiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#journeyHub .cTile {
  width: 54px;
  padding: 0;
  font-size: 1.4rem;
}

/* 4 · Word puzzle */
.hTop {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.hPlantBox {
  width: 140px;
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 20px;
  background: var(--gl);
}
.hPlant path {
  transition: fill 0.4s;
}
.hPlant.won .bloom {
  animation: gPop 0.7s ease-out;
  transform-origin: 60px 30px;
}
.hRight {
  flex: 1;
  min-width: 220px;
}
.hClue {
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.hSlots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hSlot {
  width: 38px;
  height: 48px;
  border-bottom: 4px solid var(--g);
  display: grid;
  place-items: end center;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
}
.hSlot.gap {
  border: 0;
  width: 18px;
}
.hSlot.missed {
  color: #c4501f;
}
.hKeys {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 6px;
  margin-top: 16px;
}
#journeyHub .hKey {
  min-height: 50px;
  padding: 0;
  border-radius: 12px;
  border: 2px solid #f0c9a4;
  background: #fff;
  color: var(--v-ink);
  font-size: 1.15rem;
  font-weight: 800;
}
#journeyHub .hKey.hit {
  background: #3aa76d;
  border-color: #3aa76d;
  color: #fff;
}
#journeyHub .hKey.miss {
  background: #edf4f0;
  border-color: #edf4f0;
  color: #a3b7ad;
  text-decoration: line-through;
}

/* 5 · Sayings */
.pCard {
  padding: 20px;
  border-radius: 20px;
  background: var(--gl);
  border: 2px solid var(--g2);
  margin-bottom: 14px;
}
.pText {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--v-ink);
}
.pMeaning {
  margin: 10px 0 0;
  color: var(--v-muted);
  font-style: italic;
}

/* 6 · Listening detective */
.lSpeaker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
#journeyHub .lPlay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--g);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 6px 0 #0d5f70;
}
.lPlay .gIcon {
  width: 34px;
  height: 34px;
}
.lWritten {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

/* 8 · Speed round */
.zCard {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 26px 20px;
  border-radius: 24px;
  background: var(--gl);
  border: 3px solid var(--g2);
  text-align: center;
  transition: background 0.2s;
}
.zCard.ok {
  background: #e3f6ea;
  border-color: #3aa76d;
}
.zCard.no {
  background: #ffece4;
  border-color: #e0805f;
  animation: gShake 0.35s;
}
.zWord {
  font-size: 1.8rem;
  font-weight: 850;
  margin: 0;
}
.zEq {
  font-size: 1.3rem;
  color: var(--v-muted);
}
.zTrans {
  font-size: 1.4rem;
  font-weight: 650;
  margin: 0;
}
.zChoice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
#journeyHub .zYes,
#journeyHub .zNo {
  min-height: 72px;
  border: 0;
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 850;
  color: #fff;
}
#journeyHub .zYes {
  background: #2e9b6a;
  box-shadow: 0 6px 0 #1d6a48;
}
#journeyHub .zNo {
  background: #d43d3d;
  box-shadow: 0 6px 0 #9a2525;
}

/* 9 · Word-class sorter (colours match the word-class colours in exercises) */
.wCard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 22px;
  background: var(--gl);
  border: 2px solid var(--g2);
}
.wWord {
  font-size: 2rem;
  font-weight: 850;
  margin: 0;
}
.wBaskets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
#journeyHub .wBasket {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 110px;
  border-radius: 20px;
  border: 3px solid;
  font-size: 1.1rem;
  font-weight: 800;
}
.wBasket svg {
  width: 56px;
  height: 42px;
}
#journeyHub .wBasket.k-noun { background: #e2faee; border-color: #4da077; color: #153324; }
#journeyHub .wBasket.k-verb { background: #e9f5e1; border-color: #629349; color: #2f5a1c; }
#journeyHub .wBasket.k-adjective { background: #fff6d5; border-color: #b08e24; color: #6d5508; }

@media (max-width: 900px) {
  .gGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .gGrid {
    gap: 10px;
  }
  #journeyHub .gTile {
    min-height: 150px;
    padding: 14px;
  }
  .gTile strong {
    font-size: 1.02rem;
  }
  .gHint {
    font-size: 0.82rem;
  }
  .gRecord {
    position: static;
  }
  .gHead {
    margin: -4px -4px 14px;
  }
  .gTitle h1 {
    font-size: 1.2rem;
  }
  .memoryBoard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  #journeyHub .mCard {
    min-height: 96px;
  }
  .mWord {
    font-size: 0.88rem;
  }
  #journeyHub .sPad {
    min-height: 110px;
  }
  .wBaskets {
    gap: 8px;
  }
  #journeyHub .wBasket {
    font-size: 0.9rem;
  }
  .cSlot {
    width: 38px;
    height: 46px;
    font-size: 1.25rem;
  }
  #journeyHub .cTile {
    width: 46px;
  }
  .hPlantBox {
    width: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mCard,
  .gConfetti,
  .mCard.miss,
  .zCard.no,
  #journeyHub .gFlip.attention {
    animation: none;
    transition: none;
  }
}

/* Memory without 3D flip (works in every browser): back or front is shown. */
#journeyHub .mCard,
.mCard.open {
  transform: none;
  transform-style: flat;
  transition: none;
}
.mBack,
.mFront {
  backface-visibility: visible;
  transform: none;
}
.mFront {
  display: none;
}
.mCard.open .mFront {
  display: flex;
  animation: mReveal 0.25s ease-out;
}
.mCard.open .mBack {
  display: none;
}
@keyframes mReveal {
  from { transform: scale(0.85); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}
/* Answered buttons keep their colours. */
#journeyHub .mCard:disabled,
#journeyHub .gOption:disabled,
#journeyHub .wBasket:disabled,
#journeyHub .hKey.hit:disabled,
#journeyHub .bTile.placed:disabled {
  opacity: 1;
  cursor: default;
}
/* Senso pads: colours with enough weight against older button rules. */
#journeyHub .sPad.p0 { background: #24774d; box-shadow: 0 6px 0 #17412c; }
#journeyHub .sPad.p1 { background: #2e9b6a; box-shadow: 0 6px 0 #1d6a48; }
#journeyHub .sPad.p2 { background: #e0a21b; box-shadow: 0 6px 0 #a4740f; }
#journeyHub .sPad.p3 { background: #d43d6a; box-shadow: 0 6px 0 #962646; }
#journeyHub .sPad,
#journeyHub .sPad:disabled { opacity: 0.75; color: #fff; }
#journeyHub .sPad.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .mCard.open .mFront { animation: none; }
}
#journeyHub .gBody button.gBtn.gFlip.attention {
  background: #ff8a3d;
  border-color: #ff8a3d;
  color: #fff;
  animation: gPulse 1.4s infinite;
}
.mWord,
.gTile,
.gTag {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: auto;
}
@media (max-width: 700px) {
  .gHead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "back . sound" "title title title";
    row-gap: 10px;
  }
  .gHead .gBack { grid-area: back; }
  .gHead .gSound { grid-area: sound; }
  .gHead .gTitle { grid-area: title; }
  .mWord { font-size: 0.82rem; }
  .gTag { font-size: 0.66rem; letter-spacing: 0.03em; }
}

/* ---------- Calm header: one row of equal buttons ---------- */
.vTools {
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: center;
}
/* App language lives in Settings → Darstellung; only Settings and Help stay from that bar. */
.vTools .localeBar {
  display: contents !important;
}
.vTools .localeBar > label,
.vTools .localeBar > select,
.vTools .localeBar .selectedLanguageFlag {
  display: none !important;
}
.vTools .headerTools {
  display: flex;
  gap: 8px;
}
/* Einstellungen und Hilfe gibt es in jeder App-Sprache (die alte Regel „body.international .headerTools“ versteckte sie –
   dann kam man aus einer fremden App-Sprache nicht mehr zurück). */
#journeyNav .vTools .headerTools {
  display: flex;
}
/* Einstellungen in fremder App-Sprache (#international): Häkchen nicht als breite Eingabefelder zeichnen. */
#international .vPrefs {
  margin: 0 0 16px;
}
#international .vPrefs .vCheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}
#international .vPrefs .vCheck input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  margin: 2px 0 0;
  flex: 0 0 auto;
}
#journeyNav .vTools .vSize,
#journeyNav .vTools .headerIcon,
#journeyNav .vTools .accountBar button {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid var(--v-line) !important;
  background: var(--v-card);
  box-shadow: 0 1px 2px #14271d0d;
}
#journeyNav .vTools .vSize,
#journeyNav .vTools .headerIcon {
  width: 46px !important;
  min-width: 46px !important;
}
#journeyNav .vTools .vSize[aria-pressed="true"] {
  background: var(--v-blue);
  border-color: var(--v-blue) !important;
}
#journeyNav .vTools .accountBar button {
  padding: 0 16px !important;
  font-weight: 700;
}
.vTools .accountBar {
  position: relative;
  gap: 0;
}
.vTools #cloudStatus {
  display: none !important;
}
.vTools #cloudStatus.warn {
  display: block !important;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff1e6;
  border: 1px solid #f0b27a;
  color: #8a3b0c;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .vTools #cloudStatus.warn {
    white-space: normal;
  }
}
#journeyNav .vTools .vSize[aria-pressed="true"] span { color: #fff; }

/* Start: five tiles; vocabulary page: inline word search */
.vTiles {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
#journeyHub .vTile.t-tests { background: #fff1e4; border-color: #f0c9a4; }
#journeyHub .vTile.t-course { background: #fff8df; border-color: #e5d9a6; }
.vSearchInline {
  margin: 0 0 14px;
}
.vSearchInline input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #c1e5d3;
  background: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}
.vSearchResults:not(:empty) {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #fefcf6;
  border: 1px solid var(--v-line);
}
@media (max-width: 1000px) {
  .vTiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .vTiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Lernzettel: sticky notes ---------- */
.nLessonPick {
  display: grid;
  gap: 6px;
  max-width: 460px;
  margin-bottom: 18px;
  font-weight: 650;
}
.nToday {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5f1e6, #fdfaf0);
  border: 1px solid #e6dfc8;
}
#journeyHub .nNote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: var(--note, #fff3a8);
  border: 0;
  border-radius: 4px;
  color: #223d30;
  box-shadow: 0 10px 22px #3b2f0a24, 0 2px 0 #0000000d;
  transform: rotate(var(--tilt, -2deg));
}
#journeyHub .nNote::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 84px;
  height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: #ffffffb8;
  border: 1px solid #0000000f;
}
#journeyHub .nNote.big {
  width: 300px;
  min-height: 250px;
  padding: 34px 22px 22px;
  cursor: pointer;
}
.nKicker {
  font-size: 0.8125rem; /* z60p Durchlauf (n): mindestens 13 px */
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6d10;
}
.nNote.big .nWord {
  font-size: 2.3rem;
  line-height: 1.1;
  overflow-wrap: break-word;
}
.nNote.big .nTrans {
  font-size: 1.15rem;
  padding-top: 10px;
  border-top: 2px dashed #223d3044;
  visibility: hidden;
}
.nNote.big.open .nTrans {
  visibility: visible;
}
.nNote.big.open .nTap {
  display: none;
}
.nTap {
  font-size: 0.82rem;
  color: #5b5030;
}
.nSide {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 220px;
}
#journeyHub .nSide button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #c1e5d3;
  background: #fff;
  color: var(--v-blue);
  font-weight: 700;
}
.nBadge {
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0d39c;
  font-size: 0.8125rem;
  font-weight: 750;
  color: #6b5a12;
}
.nLesson {
  margin: 0;
  color: var(--v-muted);
  font-size: 0.9rem;
}
.nPrint,
.nPlaces {
  margin-top: 26px;
}
.nPreview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  padding: 22px 6px 6px;
}
#journeyHub .nNote.small {
  min-height: 130px;
  padding: 22px 12px 12px;
}
.nNote.small .nWord {
  font-size: 1.25rem;
  overflow-wrap: break-word;
}
.nNote.small .nTrans {
  font-size: 0.9rem;
  color: #4d6559;
  border-top: 2px dashed #223d3033;
  padding-top: 8px;
  width: 100%;
}
.nMore {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--v-muted);
  text-align: center;
}
.nRow {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 16px;
}
.nRow label {
  display: grid;
  gap: 4px;
  font-weight: 650;
}
#journeyHub .nRow button.primary {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
}
.nChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}
.nChip {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff8df;
  border: 1px solid #ecdca0;
  font-weight: 650;
}
.page-daily .emailNotes {
  margin-top: 26px;
}
@media (max-width: 700px) {
  .nToday {
    justify-content: center;
    padding: 22px 12px;
  }
  #journeyHub .nNote.big {
    width: 100%;
    max-width: 300px;
  }
  .nSide {
    align-items: stretch;
    width: 100%;
  }
  .nPreview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  #journeyHub .nNote { transform: none; }
}

/* ---------- Klassenarbeiten ---------- */
.ctSteps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ctSteps li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff1e4;
  border: 1px solid #f0c9a4;
}
.ctIcon {
  font-size: 1.6rem;
}
.ctSteps li span:last-child {
  color: var(--v-muted);
  font-size: 0.9rem;
}
.ctUpload {
  padding: 22px;
  border-radius: 22px;
  border: 2px dashed #f0b27a;
  background: #fffaf4;
}
.ctUpload h2 {
  margin-top: 0;
}
.ctForm {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.ctForm label {
  display: grid;
  gap: 4px;
  font-weight: 650;
}
.ctForm input,
.ctForm select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #c1e5d3;
  padding: 0 12px;
  font: inherit;
}
.ctThumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.ctThumb {
  position: relative;
  width: 96px;
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px #0002;
}
.ctThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#journeyHub .ctRemove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #000a;
  color: #fff;
}
.ctConsent {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.ctConsent input {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 auto;
}
.ctStatus {
  min-height: 1.2em;
  font-weight: 650;
}
.ctStatus.busy {
  color: var(--v-blue);
}
.ctStatus.warn {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1e6;
  border: 1px solid #f0b27a;
  color: #8a3b0c;
}
.ctManual {
  margin-top: 14px;
}
.ctManual summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ctList {
  display: grid;
  gap: 10px;
}
#journeyHub .ctItem {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid #f0c9a4;
  background: #fff;
  color: var(--v-ink);
}
.ctMeta {
  color: var(--v-muted);
  font-size: 0.9rem;
}
.ctTabs {
  display: flex;
  gap: 8px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}
#journeyHub .ctTab {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--v-line);
  background: #fefcf6;
  color: var(--v-ink);
  font-weight: 750;
}
#journeyHub .ctTab.on {
  background: #e07a2f;
  border-color: #e07a2f;
  color: #fff;
}
.ctSummary {
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff8ef;
  border: 1px solid #f0d2b0;
}
.ctSummary h2 {
  margin-top: 0;
}
.ctChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}
.ctChip,
.ctTopic {
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0c9a4;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8a4a12;
}
.ctReview {
  display: grid;
  gap: 10px;
}
.ctCard {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--v-line);
  border-left: 6px solid #3aa76d;
  background: #fff;
}
.ctCard.no {
  border-left-color: #e0805f;
}
.ctCardTop {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ctMark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: #3aa76d;
}
.ctCard.no .ctMark {
  background: #e0805f;
}
.ctRows p {
  display: flex;
  gap: 10px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}
.ctLabel {
  min-width: 110px;
  color: var(--v-muted);
  font-size: 0.88rem;
}
.ctWrong {
  text-decoration: line-through;
  text-decoration-color: #e0805f;
  color: #8a2f12;
}
.ctRight {
  color: #1f6b40;
  font-weight: 700;
}
.ctWhy {
  margin: 10px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fefcf6;
}
.ctVocab {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--v-vocab);
  border: 1px solid var(--v-vocab-line);
}
.ctVocab h2 {
  margin-top: 0;
}
#journeyHub .ctNext {
  margin-top: 22px;
}
.ctSheet {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--v-line);
  box-shadow: var(--v-shadow);
}
.ctSheet h2 {
  margin-top: 0;
}
.ctSection {
  margin-top: 18px;
}
.ctInstr {
  font-style: italic;
  color: var(--v-muted);
}
.ctQ {
  padding: 10px 12px;
  border-radius: 14px;
  margin: 8px 0;
  border: 1px solid transparent;
}
.ctQ.ok {
  background: #effaf3;
  border-color: #a5d9ba;
}
.ctQ.no {
  background: #fff3ee;
  border-color: #f0b49c;
}
.ctPrompt {
  margin: 0 0 6px;
  font-weight: 650;
}
.ctQ input,
.ctQ textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid #bdd9cb;
  padding: 8px 12px;
  font: inherit;
  box-sizing: border-box;
}
.ctOpts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ctOpt {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #c1e5d3;
  background: #fff;
}
.ctOpt input {
  width: 20px !important;
  min-height: 20px !important;
  height: 20px;
  margin: 0 !important;
}
.ctResult.great,
.ctResult.good,
.ctResult.more {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
}
.ctResult.great { background: #e9f7ee; border: 1px solid #8fcf63; }
.ctResult.good { background: #fff8df; border: 1px solid #ecdca0; }
.ctResult.more { background: #fff1ea; border: 1px solid #f0b49c; }
#journeyHub .ctDelete {
  margin-top: 26px;
  border: 0;
  background: none;
  color: #a1401e;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .ctSteps,
  .ctForm {
    grid-template-columns: 1fr;
  }
}

/* Word-class sorter: 4th basket (adverb) and forms card */
#journeyHub .wBasket.k-adverb { background: #f1e9ff; border-color: #8460c4; color: #4b2d85; }
.wBaskets.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wDetails {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px solid var(--g2);
  background: #fff;
  display: grid;
  gap: 8px;
}
.wDetails.k-noun { border-color: #4da077; }
.wDetails.k-verb { border-color: #629349; }
.wDetails.k-adjective { border-color: #b08e24; }
.wDetails.k-adverb { border-color: #8460c4; }
.wRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wLabel { min-width: 120px; font-size: 0.85rem; font-weight: 700; color: #5e806f; text-transform: uppercase; letter-spacing: 0.03em; }
.wVal { font-weight: 700; font-size: 1.05rem; }
.wMeaning strong { font-size: 1.15rem; }
.wConj { align-items: flex-start; }
.wConjGrid { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; justify-content: start; gap: 2px 28px; font-weight: 650; flex: 1; }
@media (max-width: 600px) {
  .wBaskets.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #journeyHub .wBaskets.n4 .wBasket { min-height: 84px; }
  .wLabel { min-width: 0; flex-basis: 100%; }
  .wConjGrid { grid-template-rows: none; grid-auto-flow: row; }
}

/* Back button inside the German learning round – same look as the other back buttons */
.learnheading .vBack.learnBack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px 0 10px;
  border-radius: 14px;
  border: 1px solid #c1e5d3;
  background: var(--v-card, #fff);
  color: var(--v-blue, #1d8551);
  font-weight: 700;
  font-size: 1rem;
}
.learnheading .vBack.learnBack svg { width: 20px; height: 20px; }

/* Games: lesson picker */
.gPick { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 6px 4px 14px; }
.gPick select {
  min-height: 40px;
  max-width: 100%;
  padding: 0 34px 0 12px;
  border-radius: 999px;
  border: 1px solid #c1e5d3;
  background-color: #fff;
  font: inherit;
  font-weight: 700;
  color: #162b21;
}
.gFromNote { margin: 6px 0 0; font-size: 0.88rem; color: #6e8d7e; }
.gPickRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.gPickRow .gFromNote { margin: 0; }
.gActions { scroll-margin-bottom: 96px; }

/* Grammar trainer: two groups of exercises */
.practiceModules .practiceGroupTitle { grid-column: 1 / -1; margin: 14px 0 0; font-size: 1.15rem; }
.practiceModules .practiceGroupTitle:first-child { margin-top: 0; }
.practiceModules .practiceGroupHint { grid-column: 1 / -1; margin: -4px 0 2px; color: #5e806f; }

/* Third book column: example sentence / note */
.editrow .exInput { grid-column: 1 / 3; font-size: 0.92rem; color: #3f6050; background: #fefefc; border-style: dashed; }
.editrow { row-gap: 6px; margin-bottom: 16px; }
.exampleNote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #a7d3bd;
  color: #2a4b3b;
  font-style: italic;
  line-height: 1.45;
}
.exampleNote span { flex: 1; }
.exampleNote .exampleSpeak { min-height: 36px; padding: 0 10px; font-style: normal; flex: none; }
/* Dritte Buchspalte: Beispiel und „!“-Hinweise je eigene Zeile */
.exampleNote .exText, .exampleNote .exHint, .trEx .exText, .trEx .exHint { display: block; }
.exHint { font-style: normal; margin-top: 4px; }
.exHint::before { content: "!"; display: inline-block; width: 1.1em; margin-right: 4px; color: #c0392b; font-weight: 800; text-align: center; }
#divider2 { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--lime, #ffc42e); }
#divider2[hidden], #thirdColumn[hidden], .cropHandle[hidden] { display: none !important; }

/* =========================================================
   Word duel
   ========================================================= */
#journeyHub .gDuel {
  display: flex; align-items: center; gap: 16px; width: 100%; margin: 0 0 18px; padding: 16px 20px;
  border-radius: 22px; border: 0; text-align: left; color: #fff;
  background: #247a4c; box-shadow: 0 10px 24px #247a4c33;
}
.gDuelIcon { font-size: 2.2rem; line-height: 1; }
.gDuelCopy { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.gDuelCopy strong { font-size: 1.2rem; }
.gDuelCopy span { opacity: 0.92; }
.gDuelBadge { background: #ffd43b; color: #3b2a00; font-weight: 800; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.bHead h1 { margin-bottom: 4px; }
.bSection h2, .bGroup h2, .bCard h2 { margin: 0 0 8px; font-size: 1.2rem; }
.bDuels { display: grid; gap: 10px; }
.bMoreDuels { margin-top: 10px; }
.bMoreDuels > summary { cursor: pointer; font-weight: 800; color: var(--kumi-green, #1f6b3a); padding: 8px 2px; list-style: none; }
.bMoreDuels > summary::-webkit-details-marker { display: none; }
.bMoreDuels > summary::after { content: " ▾"; }
.bMoreDuels[open] > summary::after { content: " ▴"; }
.bDuel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: #fefcf5; border: 1px solid #dbefe5; }
.bDuel.s-your_turn { background: #fff8df; border-color: #ead27a; }
.bDuel.r-win { border-left: 6px solid #3aa76d; }
.bDuel.r-loss { border-left: 6px solid #e0805f; }
.bDuel.r-draw { border-left: 6px solid #8eac9d; }
.bDuelInfo { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
.bMeta { color: #6e8d7e; font-size: 0.88rem; }
.bState { font-weight: 700; color: #2f5341; }
@media (max-width: 560px) { .bDuelInfo, .bDuel .bState { flex-basis: 100%; } .bDuel { row-gap: 8px; } }
.bRecord { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: #eef7f1; color: #1f5c3a; }
.bGroup { margin-top: 18px; padding: 18px 20px; border-radius: 22px; border: 1px solid #dbefe5; background: #fff; }
.bGroupTop { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.bGroup h3 { font-size: 1rem; margin: 14px 0 6px; }
.bShare { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: #fdfaef; }
.bCode { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.35rem; letter-spacing: 0.18em; color: #1d8551; }
.bMembers { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.bMembers li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fefdf7; }
.bMembers li.bMe { background: #fdfaf0; font-weight: 700; }
#journeyHub .gBtn.small { min-height: 38px; padding: 0 14px; font-size: 0.92rem; }
#journeyHub .bLeave { margin-top: 12px; color: #a33; }
.bStart { margin-top: 20px; }
.bStart > summary { cursor: pointer; font-weight: 700; color: #1d8551; padding: 8px 0; }
.bStartGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.bCard { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; border: 1px solid #dbefe5; background: #fefefc; }
.bField { display: flex; flex-direction: column; gap: 4px; font-weight: 650; font-size: 0.92rem; }
.bField input { min-height: 44px; border-radius: 12px; border: 1px solid #c1e5d3; padding: 0 12px; font: inherit; font-weight: 500; }
.bCodeInput { text-transform: uppercase; letter-spacing: 0.15em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.bPrivacy { margin-top: 18px; font-size: 0.88rem; color: #5e806f; }
.bError { padding: 10px 14px; border-radius: 12px; background: #ffece4; color: #8a2f12; }
.bNote { padding: 12px 16px; border-radius: 14px; background: #e3f6ea; color: #1f5c3a; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bReady { text-align: center; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bSwords { font-size: 3.4rem; }
#journeyHub .gBtn.big { min-height: 56px; padding: 0 34px; font-size: 1.15rem; }
.bTimer { height: 26px; border-radius: 999px; background: #e8f4ee; overflow: hidden; margin: 6px 0 14px; }
.bTimer span { display: block; height: 100%; background: linear-gradient(90deg, #1d8551, #7b3fe4); color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 26px; padding-left: 10px; transition: width 1s linear; white-space: nowrap; }
.bTimer.hurry span { background: #e0805f; }
.bQuestion { padding: 22px; border-radius: 22px; border: 2px solid #dbefe5; background: #fff; text-align: center; }
.bPrompt { font-size: 1.8rem; font-weight: 850; margin: 6px 0 14px; }
.bBasic { display: inline-block; margin-bottom: 10px; }
.bAnswer { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.bAnswer input { flex: 1 1 260px; min-height: 52px; font-size: 1.2rem; border-radius: 14px; border: 2px solid #a7d3bd; padding: 0 14px; }
.bResult { text-align: center; padding: 18px; border-radius: 22px; background: #fefcf5; margin-bottom: 16px; }
.bResult.r-win { background: #e3f6ea; }
.bResult.r-loss { background: #fff1ea; }
.bTrophy { font-size: 3rem; }
.bResult .bYoungKumi { display: block; width: 72px; height: 72px; margin: 0 auto 4px; object-fit: contain; } /* z60n (26b) */
.bOutcome { font-size: 1.35rem; font-weight: 850; margin: 4px 0; }
.bScore { font-size: 2.2rem; font-weight: 900; margin: 0; }
.bReview { display: grid; gap: 8px; }
.bRow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid #dbefe5; }
.bRow.ok { background: #f2fbf5; }
.bRow.no { background: #fff6f2; }
.bRow > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.bSol { color: #1f5c3a; font-weight: 700; }
.bMine { color: #8a2f12; font-size: 0.9rem; }
.bMarks { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bMark { font-size: 1.3rem; font-weight: 900; }
.bOpp { font-size: 0.8rem; color: #6e8d7e; white-space: nowrap; }
@media (max-width: 640px) {
  .bStartGrid { grid-template-columns: 1fr; }
  .bPrompt { font-size: 1.4rem; }
  #journeyHub .gDuel { padding: 14px; gap: 12px; }
  #journeyHub .gDuel { flex-wrap: wrap; }
  .gDuelBadge { margin-left: 50px; }
}

/* ---------- Hilfe & Ideen ---------- */
#journeyHub .sCard { background: var(--v-card); border: 1px solid var(--v-line); border-radius: var(--v-radius); box-shadow: var(--v-shadow); padding: 20px; margin: 22px 0; display: grid; gap: 12px; }
#journeyHub .sCard h2 { margin: 0; font-size: 1.25rem; }
#journeyHub .sCard p { margin: 0; }
#journeyHub .sForm, #journeyHub .sIdeaForm { display: grid; gap: 12px; }
#journeyHub .sCard label { display: grid; gap: 6px; font-weight: 600; border: 0; padding: 0; background: none; box-shadow: none; min-height: 0; }
#journeyHub .sCard :is(select, textarea, input) { font: inherit; padding: 10px 12px; border: 2px solid var(--v-line); border-radius: 12px; background: #fff; color: var(--v-ink); width: 100%; box-sizing: border-box; }
#journeyHub .sCard :is(select, textarea, input):focus { outline: 3px solid #247a4c55; border-color: var(--v-blue); }
#journeyHub .sPrivacy { font-size: 0.9rem; color: var(--v-muted); }
#journeyHub .sAnswer { background: var(--v-vocab); border: 1px solid var(--v-vocab-line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; white-space: pre-line; }
#journeyHub .sNote { background: var(--v-grammar); border: 1px solid var(--v-grammar-line); color: var(--v-grammar-ink); border-radius: 12px; padding: 10px 12px; }
#journeyHub .sError { color: #a1192d; font-weight: 600; }
#journeyHub .sMine summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
#journeyHub .sTicket { border-top: 1px solid var(--v-line); padding: 10px 0; display: grid; gap: 6px; justify-items: start; }
#journeyHub .sReply { background: var(--v-scan); border: 1px solid var(--v-scan-line); border-radius: 12px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
#journeyHub .sIdeasBtn { justify-self: start; }
#journeyHub .sIdeas { display: grid; gap: 10px; margin-bottom: 30px; }
#journeyHub .sIdea { display: flex; gap: 14px; align-items: flex-start; background: var(--v-card); border: 1px solid var(--v-line); border-radius: 16px; padding: 14px; }
#journeyHub .sIdea.s-pending { border-style: dashed; opacity: 0.85; }
#journeyHub .sIdea.s-done { background: var(--v-grammar); }
#journeyHub .sIdeaBody { display: grid; gap: 4px; justify-items: start; min-width: 0; }
#journeyHub .sIdeaBody p { margin: 0; color: var(--v-muted); overflow-wrap: break-word; }
#journeyHub .sVote { flex: none; width: 64px; min-height: 52px; display: grid; place-items: center; border-radius: 14px; border: 2px solid var(--v-line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#journeyHub .sVote.voted { background: var(--v-lime); border-color: #9fbf1d; }
#journeyHub .sVote:disabled { cursor: default; opacity: 0.7; }

/* Wort-Duell: Familie und Grammatik-Lücken (18.10.) */
.bGroup.bFamily { border-color: #f0d68f; background: #fffdf5; }
.bNameRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; font-weight: 650; }
.bPrompt.bGap { font-size: 1.45rem; line-height: 1.35; }
.bBlank { display: inline-block; min-width: 3.2em; border-bottom: 3px solid var(--v-green, #247a4c); color: transparent; margin: 0 4px; }
.bHint { margin: -6px 0 10px; color: var(--v-muted, #5a6b62); font-size: 0.98rem; }
.gPill.bGram { background: #eef4ff; color: #2c4a8a; border-color: #cfdcf6; }
@media (max-width: 560px) { .bPrompt.bGap { font-size: 1.18rem; } }
.bQuestion .gPill.bGram { display: inline-block; margin: 2px 0 14px; }
.vTileHint.vPlusHint { color: #8a5a00; font-weight: 700; }
/* Fach-Modus (Mathe, Physik, Chemie): Symbol statt Flagge */
.vLang .vSubjIcon { font-size: 1.3rem; line-height: 1; }
.vLang select optgroup { font-weight: 700; color: var(--v-muted); }
.vLang select option { color: var(--v-ink); font-weight: 600; }
.vGradeForm { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--v-line); }
.vGradeForm label { font-weight: 700; }
.vGradeForm select { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--v-line); background: #fff; font: inherit; font-weight: 700; max-width: 260px; }
.vGradeForm button { justify-self: start; }
.vGradeForm p { margin: 0; }
/* ---------- Zwei Ebenen (Schule): Übersicht mit Fächern, Sprach-Startseite ---------- */
.vSubjChip { gap: 8px; padding: 0 16px; font-weight: 750; color: var(--v-ink); }
.vMenuItem img.flagIcon { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #0002; }
.vGradeAsk { display: grid; gap: 6px; margin: 0 0 18px; padding: 18px 20px; background: #e8f7ef; border: 2px solid #bff0d4; border-radius: 18px; }
.vGradeAsk h2 { margin: 0; font-size: 1.25rem; }
.vGradeAsk p { margin: 0; }
.vGradeRow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.vGradeRow select { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--v-line); background: #fff; font: inherit; font-weight: 700; }
#journeyHub .vTiles.vSubjects { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
#journeyHub .vSubjects .vTile.t-sprachen { background: #eef8f1; border-color: #c4e6cf; }
#journeyHub .vSubjects .vTile.t-physik { background: #ecf4fd; border-color: #c3dbf3; }
#journeyHub .vSubjects .vTile.t-chemie { background: #f6f0fc; border-color: #ddcdf1; }
#journeyHub .vSubjects .vTile.t-deutsch { background: #fdf3ea; border-color: #f0d6bf; }
.vSubjects .vTileArt img.flagBig { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px #0002; }
.vLangHomeTitle { display: flex; align-items: center; gap: 14px; }
.vHelloFlag { width: 46px; height: 31px; border-radius: 5px; box-shadow: 0 0 0 1px #0002; object-fit: cover; }
/* ---------- „Mein Buch“ im Sprach-Menü (Schule) ---------- */
.vBookMore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -6px 0 18px; color: #5b6b63; }
.vBookMore > span { font-weight: 700; }
#journeyHub .vBookMore button { min-height: 42px; padding: 6px 14px; font-size: .95rem; }
.vBookEmpty { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 2px dashed #f1c6b2; border-radius: 18px; background: #fffaf3; }
.vBookEmpty .vMascot { width: 72px; height: 72px; flex: none; }
.vBookEmpty p { margin: 0; }
.vBookCols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.vBookBox { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--v-line); border-radius: 18px; background: #fff; box-shadow: var(--v-shadow); }
.vBookBox h3 { margin: 0; font-size: 1.1rem; }
.vBookBox > button, .vBookBox .vActions { justify-self: start; }
.vBookList { display: grid; gap: 6px; }
#journeyHub .vBookItem { display: grid; gap: 2px; text-align: left; padding: 10px 14px; border-radius: 12px; border: 1px solid #e3eee8; background: #f8fcf9; font: inherit; color: var(--v-ink); cursor: pointer; min-height: 0; }
#journeyHub .vBookItem:hover { border-color: var(--kumi-green); }
.vBookItem strong { overflow-wrap: break-word; }
.vBookDue { color: #b4531f; font-weight: 700; font-size: .92rem; }
.vBookOk { color: #5b6b63; font-size: .92rem; }
.vPhotoList.vBookNew { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
/* ---------- Hilfe: „So ist Vokumi aufgebaut“, Suche, Fragen nach Bereichen ---------- */
#journeyHub details.vHelpMap { margin: 0 0 14px; padding: 0 0 14px; border: 2px solid #cfe9da; border-radius: 20px; background: #f4fbf6; }
#journeyHub details.vHelpMap:not([open]) { padding-bottom: 0; }
#journeyHub details.vHelpMap > summary { margin: 0; border: 0; border-radius: 18px; }
#journeyHub details.vHelpMap > :not(summary) { margin-left: 16px; margin-right: 16px; }
.vHelpMapLead { margin: 0 0 2px; color: #5b6b63; }
#journeyHub .vHelpMapTitle { margin: 12px 16px 8px; font-family: inherit; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #2d7a52; }
#journeyHub.vHelpSearching .vHelpMap, #journeyHub.vHelpSearching .vVideos { display: none; }
.vHelpMapGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
#journeyHub .vHelpMapItem { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; min-height: 0; padding: 10px 12px; border-radius: 14px; border: 1px solid #d6eadd; background: #fff; font: inherit; color: var(--v-ink); cursor: pointer; }
#journeyHub .vHelpMapItem:hover { border-color: var(--kumi-green); }
.vHelpMapItem .icon, .vHelpMapItem img.flagIcon { grid-row: span 2; width: 26px; height: 26px; justify-self: center; }
.vHelpMapItem img.flagIcon { height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px #0002; object-fit: cover; }
.vHelpMapItem strong { font-size: 1rem; }
.vHelpMapItem span { font-size: .88rem; color: #5b6b63; line-height: 1.3; }
.vHelpMapFoot { margin: 10px 0 0; font-size: .9rem; color: #5b6b63; }
#journeyHub .vHelpSearch { display: block; width: 100%; min-height: 50px; margin: 6px 0 14px; padding: 0 16px; border: 2px solid #cfe3d6; border-radius: 14px; background: #fff; font: inherit; font-size: 1.02rem; }
#journeyHub .vHelpSearch:focus { outline: none; border-color: var(--kumi-green); }
.vHelpNone { margin: 0 0 12px; font-weight: 700; color: #b4531f; }
.vFaqGroup { display: grid; gap: 10px; }
.vFaqGroup[hidden] { display: none; }
.vFaqGroupTitle { margin: 14px 0 2px; font-size: 1.2rem; }
.vFaqItem[hidden] { display: none; }
/* Fach-Duelle (Mathe, Physik, Chemie) */
.bMembers li:has(.bPick) { flex-wrap: wrap; }
.bPick { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 6px; }
.bPickLead { font-weight: 700; margin-right: 4px; }
.bPrompt.bSubj { font-size: 1.45rem; line-height: 1.35; overflow-wrap: break-word; }
.bSubjAnswer .bNumField { flex: 1 1 260px; flex-direction: row; align-items: center; gap: 8px; }
.bSubjAnswer .bNumField input { flex: 1; min-width: 0; min-height: 52px; font-size: 1.2rem; border-radius: 14px; border: 2px solid #a7d3bd; padding: 0 14px; }
.bLabel, .bUnit { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.bOptions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bOptions .bOption { min-width: 88px; font-size: 1.25rem; font-weight: 800; }
@media (max-width: 560px) { .bPrompt.bSubj { font-size: 1.18rem; } }
.vDuelNote { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 16px; border-radius: 18px; background: #fff6e8; border: 2px solid #f4c98a; }
.vDuelNote > div { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.vDuelNote .vMuted { color: var(--v-muted); font-size: 0.92rem; }
/* Wissens-Check */
.ckCard { background: #fff; border: 1px solid var(--v-line, #dfeee6); border-radius: 22px; padding: 18px 18px 20px; margin: 0 0 14px; box-shadow: var(--v-shadow, 0 2px 10px #0000000d); display: grid; gap: 12px; }
.ckCard h1 { margin: 0; }
.ckCard h2 { margin: 0; font-size: 1.2rem; }
.ckFrom { display: grid; gap: 6px; font-weight: 700; }
.ckFrom select { min-height: 48px; border-radius: 12px; border: 1px solid #c1e5d3; padding: 0 10px; font: inherit; }
.ckNote { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff6e8; }
.ckCount { margin: 0; font-weight: 800; color: var(--v-muted); }
.ckProgress { height: 8px; border-radius: 99px; background: #e8f3ed; overflow: hidden; }
.ckProgress span { display: block; height: 100%; background: var(--kumi-green, #2f8f5b); border-radius: 99px; transition: width 0.3s; }
.ckTask { margin: 4px 0 0; font-weight: 700; }
.ckPrompt { margin: 0; font-size: 1.6rem; font-weight: 850; line-height: 1.3; overflow-wrap: break-word; }
.ckBlank { display: inline-block; min-width: 3em; border-bottom: 3px solid var(--kumi-green, #2f8f5b); color: transparent; }
.ckExtra { margin: 0; color: var(--v-muted); }
.ckAnswer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ckAnswer input { flex: 1 1 240px; min-width: 0; min-height: 52px; font-size: 1.15rem; border-radius: 14px; border: 2px solid #a7d3bd; padding: 0 14px; }
.ckOptions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.ckOptions .ckOption { min-height: 52px; font-size: 1.05rem; text-align: left; }
.ckScore { margin: 0; font-size: 2rem; font-weight: 900; color: var(--kumi-earth, #1f4d36); }
.ckWeakRow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fdf6ea; }
.ckWeakRow > div { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
.ckTip { margin: 0; padding: 12px 14px; border-radius: 14px; background: #eef7ff; }
.ckRow { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f4faf6; }
.ckRow.no { background: #fff3f1; }
.ckRow > div { display: grid; gap: 2px; min-width: 0; }
.ckRowTask { font-size: 0.85rem; color: var(--v-muted); }
.ckSol { color: #1f6b43; font-weight: 700; }
.ckMine { color: #a33a2a; }
.ckMark { font-size: 1.4rem; font-weight: 900; }
.ckRow.ok .ckMark { color: #1f8a4c; }
.ckRow.no .ckMark { color: #c0392b; }
.vTileEmoji { font-size: 2.4rem; line-height: 1; }
@media (max-width: 560px) { .ckPrompt { font-size: 1.3rem; } }
/* Mit Kumi üben: Gespräch, Lesetext, Einfach erklärt */
.ktCard { background: #fff; border: 1px solid var(--v-line, #dfeee6); border-radius: 22px; padding: 18px; margin: 0 0 14px; box-shadow: var(--v-shadow, 0 2px 10px #0000000d); display: grid; gap: 12px; }
.ktCard h1, .ktCard h2 { margin: 0; }
.ktCard h2 { font-size: 1.15rem; }
.ktHead { display: flex; gap: 14px; align-items: center; }
.ktHead > div { min-width: 0; }
.ktKumi { width: 84px; height: 84px; flex: none; }
.ktChips { display: flex; flex-wrap: wrap; gap: 8px; }
#journeyHub .ktChip { min-height: 42px; padding: 6px 14px; border-radius: 999px; border: 2px solid #cfe3d8; background: #fff; font: inherit; font-weight: 700; color: var(--kumi-earth, #1f4d36); cursor: pointer; }
#journeyHub .ktChip.on { border-color: var(--kumi-green, #2f8f5b); background: #e9f7ef; }
.ktOwn, .ktLessonSel { min-height: 48px; border-radius: 12px; border: 1px solid #c1e5d3; padding: 0 12px; font: inherit; max-width: 100%; }
.ktFocus { font-weight: 700; }
.ktPrivacy { margin: 0; font-size: 0.88rem; color: var(--v-muted); }
.ktStatus { margin: 0; min-height: 1.2em; color: var(--v-muted); }
.ktStatus.busy::before { content: "⏳ "; }
.ktStatus.warn { color: #a33a2a; }
.ktMessages { display: grid; gap: 10px; padding: 4px 2px; }
.ktMsg { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
.ktMsg p { margin: 0; }
.ktMsg.kumi .ktBody { background: #eef7f1; border-radius: 4px 18px 18px 18px; padding: 10px 14px; min-width: 0; }
.ktMsg.me { justify-self: end; background: #fff4dc; border-radius: 18px 4px 18px 18px; padding: 10px 14px; }
.ktAvatar { width: 38px; height: 38px; flex: none; }
.ktTools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#journeyHub .ktIcon { min-height: 34px; padding: 2px 10px; border-radius: 999px; border: 1px solid #cfe3d8; background: #fff; font: inherit; font-size: 0.85rem; cursor: pointer; }
.ktHint { margin: 6px 0 0 !important; color: var(--v-muted); font-size: 0.92rem; }
.ktFix { justify-self: end; max-width: 92%; background: #fffbe6; border: 1px dashed #e7c75a; border-radius: 12px; padding: 6px 10px; font-size: 0.92rem; }
.ktWhy { color: var(--v-muted); }
.ktForm { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.ktForm textarea { flex: 1 1 240px; min-width: 0; min-height: 56px; border-radius: 14px; border: 2px solid #a7d3bd; padding: 10px 12px; font: inherit; resize: vertical; }
.ktFoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ktCount { color: var(--v-muted); font-size: 0.9rem; }
.ktFixRow { display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: #fffbe6; }
.ktWrong { text-decoration: line-through; color: #a33a2a; }
.ktWords { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ktWords li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding: 8px 12px; border-radius: 12px; background: #f4faf6; }
.ktExample { flex-basis: 100%; color: var(--v-muted); font-style: italic; }
.ktText { background: #fffdf6; border: 1px solid #efe4c4; border-radius: 16px; padding: 14px 16px; font-size: 1.08rem; line-height: 1.6; }
.ktText h2 { margin: 0 0 6px; }
.ktText p { margin: 0 0 8px; }
.ktQuestion { display: grid; gap: 10px; border-top: 1px dashed #d5e6dc; padding-top: 12px; }
.ktQ { margin: 0; font-size: 1.15rem; font-weight: 800; }
.ktFeedback { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #f4faf6; }
.ktFeedback p { margin: 0; }
.ktFeedback.v-partly { background: #fffbe6; }
.ktFeedback.v-wrong { background: #fff3f1; }
.ktSol { font-weight: 700; }
.kxBtn { margin-top: 6px; }
.kxPanel { display: grid; gap: 8px; margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: #f7f4ff; border: 1px solid #e2dbfa; }
.kxPanel h4 { margin: 4px 0 0; }
.kxPanel p { margin: 0; }
.kxExamples { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.kxExamples li { display: grid; }
.kxTr { color: var(--v-muted); font-size: 0.92rem; }
.kxMistake { display: grid; gap: 2px; padding: 6px 10px; border-radius: 10px; background: #fff; }
.kxWrong { color: #a33a2a; text-decoration: line-through; }
.kxRight { color: #1f6b43; font-weight: 700; }
.kxWhy { color: var(--v-muted); font-size: 0.92rem; }
.kxTrick { padding: 8px 10px; border-radius: 10px; background: #fffbe6; }
.kxGap { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.kxGap p { flex-basis: 100%; }
.kxGap input { width: 10ch; min-height: 38px; margin: 0 4px; border-radius: 8px; border: 2px solid #a7d3bd; padding: 0 8px; font: inherit; }
.kxOut.ok { color: #1f8a4c; font-weight: 700; }
.kxOut.no { color: #a33a2a; font-weight: 700; }
.kxHint { color: var(--v-muted); font-size: 0.88rem; }
body.printSheet .kxBtn, body.printSheet .kxPanel { display: none !important; }
@media (max-width: 560px) { .ktKumi { width: 60px; height: 60px; } }
.ktChat .ktForm, .ktChat .ktFoot { scroll-margin-bottom: calc(110px + env(safe-area-inset-bottom)); }
.ktQuestion .gPill, .ktQuestion .ckCount { justify-self: start; margin: 0; }
.ktLessonBox { display: grid; gap: 4px; font-weight: 700; }
.ktLessonBox[hidden] { display: none; }
/* Familien-Duell: Kind hat gewonnen → Eltern können direkt belohnen */
.bKidWon { margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: #fff7df; border: 1px solid #f0d27a; display: grid; gap: 6px; }
.bKidWon h3 { margin: 0; }
.bKidWon p { margin: 0; }
.bKidWon button { justify-self: start; }
.bPickHint { margin: 6px 0 0; }
/* Hilfe als Themen-Kacheln */
#journeyHub .vHelpTiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); margin: 4px 0 8px; }
#journeyHub .vHelpTile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; text-align: left; padding: 16px; min-height: 84px; border: 2px solid var(--v-line); border-radius: 18px; background: var(--v-card); box-shadow: var(--v-shadow); font: inherit; color: var(--v-ink); cursor: pointer; }
#journeyHub .vHelpTile:hover, #journeyHub .vHelpTile:focus-visible { border-color: var(--kumi-green, #247a4c); }
#journeyHub .vHelpTileIcon { grid-row: 1 / span 2; font-size: 1.9rem; line-height: 1; }
#journeyHub .vHelpTile strong { font-size: 1.04rem; line-height: 1.25; }
#journeyHub .vHelpTileSub { color: var(--v-muted, #5f7a6c); font-size: 0.88rem; line-height: 1.3; }
#journeyHub .vHelpTileAsk { background: #e8f7ef; border-color: #bff0d4; }
#journeyHub .vHelpOther { margin: 22px 0 6px; font-size: 1.15rem; }
#journeyHub .vHelpBack { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 8px 14px; min-height: 48px; /* z60q (Durchlauf n): Tippfläche 48 px */ border: 2px solid var(--v-line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--kumi-green, #247a4c); cursor: pointer; }
#journeyHub .vHelpSubTitle { margin: 6px 0 10px; }
#journeyHub .vHelpView .sCard.sAsk { margin-top: 6px; }
#journeyHub .vHelpView .sCard.sAsk::before { display: none; }
#journeyHub .vFaqHits { margin-bottom: 14px; }
/* Ideen-Wand: Vorschlagen-Knopf, Gruppen nach Stand, Karten im Raster */
#journeyHub .sIdeaAdd { justify-self: start; margin: 4px 0 6px; }
#journeyHub .sIdeaForm[hidden] { display: none; }
#journeyHub .sIdeaForm { margin-top: 10px; }
#journeyHub .sIdeaHint { margin: 14px 0 4px; }
#journeyHub .sIdeaGroup h2 { margin: 18px 0 10px; font-size: 1.15rem; }
#journeyHub .sIdeaGroup .sIdeas { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); margin-bottom: 6px; }
#journeyHub .sIdeaWall { margin-bottom: 30px; }
/* Erste Wörter mit Bildern (Kinder ohne eigene Wörter, Grundschule) */
#journeyHub .vFirstWords { margin: 18px 0 8px; scroll-margin-top: 90px; }
#journeyHub .vFirstWords .vLead { margin: 0 0 12px; }
#journeyHub .vFwGrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
#journeyHub .vFwTile { display: grid; justify-items: center; gap: 4px; padding: 14px 10px; border: 2px solid var(--v-line); border-radius: 18px; background: #fff; font: inherit; color: var(--v-ink); cursor: pointer; text-align: center; min-height: 118px; }
#journeyHub .vFwTile:hover, #journeyHub .vFwTile:focus-visible { border-color: var(--kumi-green, #247a4c); }
#journeyHub .vFwIcon { font-size: 2.2rem; line-height: 1.1; }
#journeyHub .vFwTile strong { font-size: 0.98rem; line-height: 1.2; }
#journeyHub .vFwSub { font-size: 0.8rem; color: var(--v-muted, #5f7a6c); }
#journeyHub .vFwSub.on { color: var(--kumi-green, #247a4c); font-weight: 700; }
/* Große Schrift (Komfortmodus): alle rem-Größen wachsen mit – Texte, Knöpfe, Karten */
html.vBigText { font-size: 112.5%; }
@media (min-width: 900px) { html.vBigText { font-size: 118.75%; } }
/* Zurück-Leiste: Knopf nie umbrechen, langer Titel darf zweizeilig werden (große Schrift) */
.vContext .vBack { flex: none; white-space: nowrap; }
.vContext strong { min-width: 0; overflow-wrap: break-word; line-height: 1.25; }
/* 🌱 Einführung beim ersten Start */
body.vIntroOpen { overflow: hidden; }
.vIntro { position: fixed; inset: 0; z-index: 100000; background: rgba(24, 40, 31, .55); display: grid; place-items: center; padding: 16px; overflow: auto; }
.vIntroCard { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--v-card, #fffdf7); border-radius: 26px; padding: 18px 22px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: grid; gap: 12px; text-align: center; }
.vIntroTop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vIntroDots { display: flex; gap: 6px; }
.vIntroDots span { width: 9px; height: 9px; border-radius: 50%; background: #d7e6dc; }
.vIntroDots span.on { background: #247a4c; width: 22px; border-radius: 6px; }
.vIntro .vIntroSkip { background: none; border: 0; color: #5b6f64; font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; min-height: 40px; padding: 0 6px; }
.vIntroImg { width: 132px; height: 132px; object-fit: contain; margin: 0 auto; }
.vIntroCard h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.vIntroText { margin: 0; font-size: 1.08rem; line-height: 1.55; color: #33463b; }
.vIntroActs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.vIntroActs button { min-height: 50px; padding: 0 22px; }
.vIntroChoices { display: grid; gap: 8px; text-align: left; }
.vIntro .vIntroChoice { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; border: 2px solid #cfe3d6; background: #fff; font: inherit; cursor: pointer; text-align: left; }
.vIntro .vIntroChoice.on { border-color: #247a4c; background: #eef8f1; }
.vIntroChoice span { color: #5b6f64; font-size: .92em; }
.vIntroGrade { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 650; }
.vIntroGrade select { min-height: 44px; border-radius: 10px; border: 1px solid #cfe3d6; padding: 0 10px; font: inherit; }
.vIntroStart { display: grid; gap: 8px; }
.vIntro .vIntroGo { min-height: 54px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid #cfe3d6; background: #fff; font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.vIntro .vIntroGo:hover { border-color: #247a4c; background: #f3faf6; }
.vIntro .vIntroGo.video { background: #f3f8ff; border-color: #d6e3f7; }
.vIntroVideo { width: 100%; max-height: 52vh; border-radius: 14px; background: #000; }
.vIntroFlags { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.vIntro .vIntroFlag { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 14px; border-radius: 14px; border: 1.5px solid #cfe3d6; background: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.vIntroFlag img { width: 34px; height: 24px; border-radius: 4px; }
@media (max-width: 420px) { .vIntroCard { padding: 14px 16px 18px; } .vIntroImg { width: 104px; height: 104px; } .vIntroCard h2 { font-size: 1.3rem; } }
/* Viele Lektionen: „Jetzt dran“ + kompakte Gruppen */
.vLessonsSub { margin: 18px 0 8px; font-size: 1.05rem; }
.vLessonGroup { margin: 0 0 8px; border: 1px solid #e3eee8; border-radius: 14px; background: #fff; }
.vLessonGroup > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 16px; cursor: pointer; list-style: none; }
.vLessonGroup > summary::-webkit-details-marker { display: none; }
.vLessonGroup > summary::after { content: "▾"; margin-left: auto; color: #6b7c72; transition: transform 0.2s; }
.vLessonGroup[open] > summary::after { transform: rotate(180deg); }
.vLgMeta { font-size: 0.9rem; color: #6b7c72; }
.vLgMeta.due, .vLrMeta.due { color: #b5531f; font-weight: 700; }
.vLessonRows { display: grid; gap: 4px; padding: 0 10px 10px; }
.vLessonRow { display: flex; align-items: center; gap: 6px; }
#journeyHub .vLessonRowGo { flex: 1; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px; border-radius: 10px; border: 1px solid transparent; background: #f8fcf9; font: inherit; color: var(--v-ink); text-align: left; cursor: pointer; }
#journeyHub .vLessonRowGo:hover { border-color: var(--kumi-green); }
.vLrName { font-weight: 700; overflow-wrap: break-word; }
.vLrMeta { font-size: 0.88rem; color: #6b7c72; white-space: nowrap; }
.vLrPlay { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--kumi-green, #247a4c); color: #fff; font-size: 0.8rem; }
#journeyHub .vLessonRow .vEdit.small { position: static; width: 40px; height: 40px; flex: none; }
#journeyHub .vBookItem { grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 8px 14px; }
@media (max-width: 420px) { #journeyHub .vLessonRowGo { grid-template-columns: 1fr auto; } .vLrMeta { grid-column: 1; grid-row: 2; } .vLrPlay { grid-row: 1 / span 2; grid-column: 2; } }
/* Lernkarte als EINE ruhige Karte: Wort, weitere Bedeutungen, Eingabe und Knöpfe zusammen – keine Kästen in Kästen. */
.learning { max-width: 640px; margin-left: auto; margin-right: auto; }
#exercise, #practiceExercise { background: #fff; border: 1px solid #e3ddd0; border-radius: 24px; box-shadow: 0 6px 22px rgba(31, 43, 36, 0.06); padding: 22px 22px 18px; margin: 12px 0 14px; }
#exercise > .wordcard, #practiceExercise > .wordcard { border: 0; box-shadow: none; background: transparent; margin: 0; padding: 6px 0 4px; }
#exercise > .wordcard::before, #practiceExercise > .wordcard::before { display: none; }
#exercise #prompt.qaTask, #practiceExercise #practicePrompt.qaTask { background: transparent; border: 0; padding: 0; margin: 14px 0 6px; text-align: center; }
#exercise #prompt { font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.15; }
#exercise .promptAlso { margin: 0 0 4px; }
#exercise #hint:empty, #practiceExercise .muted:empty { display: none; }
#exercise > form.qaAnswer, #practiceExercise > form.qaAnswer { border: 0; border-top: 1px solid #efe9dc; border-radius: 0; padding: 16px 0 0; margin: 12px 0 0; background: transparent; }
#exercise #answer { text-align: center; font-size: 1.25rem; }
#exercise .actions, #practiceExercise .actions { margin-bottom: 0; }
#exercise > .feedback, #exercise > #after { margin-top: 12px; }
.learning #learnStats { text-align: center; }
@media (max-width: 520px) { #exercise, #practiceExercise { padding: 16px 14px 14px; border-radius: 20px; } }
#practiceExercise #practicePrompt.qaTask:not([class*="word-"])::before { display: none; }
#practiceExercise #practiceAnswer { text-align: center; font-size: 1.2rem; }
/* Abmelden: immer direkt neben „Konto“ */
.vTools .vLogout { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--v-line); background: var(--v-card); color: var(--v-ink); font: inherit; font-weight: 650; cursor: pointer; }
.vTools .vLogout:hover { border-color: #c95b3c; color: #a2401f; }
.vTools .vLogout .icon { width: 20px; height: 20px; }
@media (max-width: 700px) { .vTools .vLogout { width: 44px; padding: 0; justify-content: center; } .vTools .vLogout .vLogoutLabel { display: none; } body.jComfort .vTools .vLogout .vLogoutLabel { display: none; } }
/* Aufklappbare Karte: flache Kopfzeile statt grünem Balken im Rahmen */
details.dCard > summary { background: transparent !important; border: 0 !important; margin: 0 !important; border-radius: inherit; box-shadow: none !important; }
details.dCard > summary:hover { background: rgba(36, 122, 76, 0.06) !important; }
details.dCard[open] > summary { border-bottom: 1px solid #e3eee8 !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 10px !important; }
.vTools .vLogout { flex: none; white-space: nowrap; }
@media (max-width: 440px) {
  body:not(.jComfort) .vBar { column-gap: 8px; }
  body:not(.jComfort) .vMark { width: 32px; height: 32px; }
  body:not(.jComfort) .vWord { font-size: 1.35rem; }
  body:not(.jComfort) .vLogo { gap: 6px; }
  body:not(.jComfort) .vTools { gap: 2px; margin-left: auto; }
  body:not(.jComfort) #journeyNav .vTools .headerIcon, body:not(.jComfort) #journeyNav .vTools .vLogout, body:not(.jComfort) #journeyNav .vTools .accountBar button, body:not(.jComfort) #journeyNav .vTools .vSize { width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; } /* z57f: 44 px (Navigationsregel), auch mit „Abmelden“ */
}

/* Große Schrift: „Abmelden“ wie die anderen Symbole mit Wort darunter */
@media (max-width: 700px) { body.jComfort #journeyNav .vTools .vLogout { flex-direction: column; justify-content: center; gap: 2px; width: auto; min-width: 46px; padding: 4px 8px !important; } body.jComfort #journeyNav .vTools .vLogout .vLogoutLabel { display: block; font-size: 0.8rem; font-weight: 700; } }
@media (max-width: 700px) {
  body.jComfort #journeyNav .vTools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
  body.jComfort #journeyNav .vTools .accountBar, body.jComfort #journeyNav .vTools .headerTools { display: contents; }
  body.jComfort #journeyNav .vTools :is(.vSize, .headerIcon, .vLogout, .accountBar button) { width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 60px !important; padding: 4px 2px !important; }
  body.jComfort #journeyNav .vTools .vIconLabel, body.jComfort #journeyNav .vTools .vLogoutLabel { font-size: 0.72rem !important; white-space: nowrap; letter-spacing: -0.01em; }
}
#journeyNav .vTools .vLogout { font-size: 0.82rem; font-weight: 700; }
/* In Karten: „Was genau?“ als ruhiger Aufklapp-Link statt zweitem grünem Balken */
#journeyHub .abRow details.abMore > summary { background: transparent !important; border: 0 !important; min-height: 40px; padding: 6px 2px !important; justify-content: flex-start; gap: 8px; font-size: 0.95rem; border-radius: 8px; }
#journeyHub .abRow details.abMore > summary:hover { background: rgba(36, 122, 76, 0.06) !important; }
#journeyHub .abRow details.abMore > summary::after { margin-left: 4px; }
#journeyHub .abRow .abIcon { align-self: flex-start; margin-top: 2px; }
/* Aufklapp-Links in Karten (Upload „selbst eintippen“, Lernplan „alle Tage“): ohne zweiten Rahmen */
#journeyHub :is(.ctUpload, .ctMore) details.ctManual > summary, #journeyHub .plView details.plDays > summary { background: transparent !important; border: 0 !important; min-height: 40px; padding: 6px 2px !important; justify-content: flex-start; gap: 8px; border-radius: 8px; }
#journeyHub :is(.ctUpload, .ctMore) details.ctManual > summary:hover, #journeyHub .plView details.plDays > summary:hover { background: rgba(36, 122, 76, 0.06) !important; }
/* Mein Buch: weitere Foto-Möglichkeiten als kleine Kacheln */
.vBookAlsoHead { margin: -2px 0 8px; font-size: 1rem; font-weight: 750; color: #5b6b63; }
.vPhotoList.vBookAlso { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 8px; margin: 0 0 22px; }
#journeyHub .vBookAlso .vPhotoItem { min-height: 0; padding: 10px 12px; border-radius: 14px; box-shadow: none; column-gap: 10px; }
#journeyHub .vBookAlso .vPhotoItem strong { font-size: .94rem; }
#journeyHub .vBookAlso .vPhotoItem .vTileHint { font-size: .8rem; }
#journeyHub .vBookAlso .vPhotoIcon { transform: scale(.85); }
/* Gespräch/Lesetext: eigene Lektionen farbig abgehoben, darunter „oder ein Thema“ */
#journeyHub .ktOwnLessons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff4e5; border: 2px solid #f4c98a; }
#journeyHub .ktOwnLessons .ktChipOwn { border-color: #e9a54a; background: #fff; color: #8a4b00; }
#journeyHub .ktOwnLessons .ktChipOwn.on { background: #e9a54a; border-color: #e9a54a; color: #fff; }
#journeyHub .ktOwnLessons .ktLessonBox { flex: 1 1 220px; margin: 0; }
#journeyHub .ktOwnLessons .ktLessonBox select { width: 100%; }
.ktOr { margin: 12px 0 6px; font-size: 0.9rem; font-weight: 700; color: var(--v-muted, #5d6b63); }
/* z31: Fortschritt (Garten): Lektionskarten in Garten-Grün – Fälliges ist eine Einladung, keine Warnung */
body.journeyEnabled .vProgLessons .vLessonStart { background: #f1f8f3 !important; border-color: #cfe5d7 !important; color: #1f3c2e !important; }

/* z31: Ein Topf je Fach – leer, bis das Fach zum ersten Mal geübt wird; Ebenen aus dem Midjourney-Raster */
.vPot { position: relative; display: inline-block; width: 88px; aspect-ratio: 372 / 544; }
.vPot .vPotL { position: absolute; display: block; max-width: none; object-fit: contain; pointer-events: none; }
.vPot .vPotPot { z-index: 1; }
.vPot .vPotSeed, .vPot .vPotPlant { z-index: 2; transform-origin: 50% 100%; }
.vPotBadge { position: absolute; z-index: 3; right: -10px; bottom: 6%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fffdf8; box-shadow: 0 2px 6px #4a2f1a33; font-size: 1.15rem; line-height: 1; overflow: hidden; }
.vPotBadge .vPotFlag, .vPotBadge .vPotBadgeArt, .vPotBadge img { width: 30px !important; height: 30px !important; object-fit: contain; border-radius: 50%; }
.vPotBadge svg.vPotFlag { border-radius: 50%; }
.vTileScene { width: 96px; height: 96px; object-fit: contain; }
/* Pflanzen: das Saatkorn fällt in die Erde, dann wächst der Keim */
.vPot.planting .vPotSeed { animation: vSeedIn .9s .25s cubic-bezier(.3, 1.4, .5, 1) both; }
.vPot.planting .vPotDrop { position: absolute; z-index: 4; left: 47%; top: 0; width: 10px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #8a5a2b; animation: vSeedDrop .55s ease-in both; }
.vPot.growing .vPotPlant { animation: vGrow 1.1s .2s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes vSeedDrop { 0% { transform: translateY(-20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(var(--drop, 60px)); opacity: 0; } }
@keyframes vSeedIn { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes vGrow { 0% { transform: scaleY(.15) scaleX(.6); opacity: .2; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vPot.planting .vPotSeed, .vPot.growing .vPotPlant { animation: none; } .vPot .vPotDrop { display: none; } }
html.vCalm .vPot .vPotSeed, html.vCalm .vPot .vPotPlant { animation: none !important; }
html.vCalm .vPot .vPotDrop { display: none; }
.vTileArt:has(> .vPot) { width: 112px; height: 112px; overflow: visible; }
.vTileArt > .vPot { width: auto; height: 108px; }

/* ===== z31: Die ersten 3 Minuten – Fach wählen → Seite fotografieren → erstes Beet ===== */
.vFirstRun .vIntroTop { display: flex; align-items: center; gap: 10px; }
.vFirstRun .vIntroDots span.done { background: #9fd3b4; }
.vFrStep { font-size: .85rem; font-weight: 700; color: #5b6f64; margin-right: auto; }
.vFrKumi { width: 96px !important; height: 96px !important; justify-self: center; object-fit: contain; }
.vFrGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.vFrSubject { display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 148px; padding: 12px 8px 10px; border-radius: 20px; border: 2px solid #e5eee8; background: #fffdf8; color: #1f3c2e; font: inherit; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.vFrSubject:hover, .vFrSubject:focus-visible { border-color: #2f8f5b; }
.vFrSubject:active { transform: scale(.97); }
.vFrSubject .vPot { width: auto; height: 84px; }
.vFrSubject strong { font-size: 1rem; }
.vFrHint { font-size: .8rem; color: #5b6f64; }
.vFrScene { width: 150px !important; height: 150px !important; justify-self: center; object-fit: contain; }
.vFrActs { display: grid !important; gap: 8px; }
.vFrActs > button { width: 100%; min-height: 52px; }
.vFrCamera { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.15rem !important; }
.vFrCamera .icon { width: 26px; height: 26px; }
.vFrPot { display: grid; place-items: center; padding: 6px 0 0; }
.vFrPot .vPot { height: 170px; width: auto; }
.vFrPot .vPotBadge { width: 46px; height: 46px; }
/* Fortschritt: weitere, noch nicht begonnene Lektionen */
.vProgMore { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 12px; padding: 14px 16px; border-radius: 18px; border: 1.5px dashed #cfe0d5; background: #f8fbf8; }
.vProgMore .vProgMoreText { margin: 0; color: #35503f; font-weight: 650; }
.vProgMore .vProgMoreGo { min-height: 44px; }
/* z34: Foto-Einwilligung im Kinderprofil (Eltern erlauben in der Konsole) */
label.ctConsent.pcOk, label.mkWayConsent.pcOk { color: #2f6b45; }
label.ctConsent.pcAsk, label.mkWayConsent.pcAsk { color: #7a4d12; background: #fff6e6; border-radius: 12px; padding: 10px 12px; }
label.pcAsk input[type="checkbox"], label.pcOk:not(:has(input:enabled)) input[type="checkbox"] { opacity: 0.55; }

/* ---------- z35: Notenheft ---------- */
.mkCard, .mkBook .mkBody { display: grid; gap: 12px; }
.mkCard { margin: 14px 0; padding: 16px; border-radius: 18px; background: #fffaf0; border: 1px solid #efe3c8; }
.mkCard h2 { margin: 0; font-size: 1.15rem; }
.mkForm { display: grid; gap: 10px; }
.mkRow { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; align-items: center; }
.mkLab { font-weight: 650; color: #44544a; }
.mkForm select, .mkForm input { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid #cfdcd3; background: #fff; font: inherit; }
.mkMark { font-size: 1.2rem; font-weight: 750; letter-spacing: 0.02em; max-width: 160px; }
.mkQuick { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 80px; }
.mkQuick .mkQ { min-width: 44px; min-height: 44px; padding: 0; border-radius: 12px; font-weight: 750; }
.mkSave { justify-self: start; }
.mkSkip { justify-self: start; min-height: 44px; background: none; border: 0; color: #5b6b61; text-decoration: underline; font: inherit; cursor: pointer; }
.mkKumiSay { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #eef7f1; border: 1px solid #cfe6d7; }
.mkKumiSay p { margin: 0; font-weight: 600; line-height: 1.45; color: #1f3a2b; }
.mkKumiIcon { width: 56px; height: 56px; object-fit: contain; }
.mkSubjBlock { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #e3ece6; }
.mkSubjHead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.mkSubjHead h3 { margin: 0; font-size: 1.05rem; }
.mkAvg { font-weight: 700; color: #2c4a3a; }
.mkTrend { font-weight: 650; color: #44544a; }
.mkTrend-up { color: #1f7a4d; }
.mkSpark svg { width: 100%; max-width: 260px; height: 46px; display: block; }
.mkSpark .mkLine { fill: none; stroke: #5a8fd0; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.mkSpark .mkDot { fill: #2f6fb5; }
.mkSpark .mkMid { stroke: #e6ece8; stroke-width: 1; stroke-dasharray: 3 4; }
.mkList { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mkItem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; }
.mkDay { color: #5b6b61; min-width: 46px; }
.mkMarkTxt { font-size: 1.05rem; }
.mkPract { color: #4b7a5c; font-size: 0.92rem; }
.mkDel { margin-left: auto; min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid #e3ece6; background: #fff; color: #7a857e; cursor: pointer; }
.mkAdd > summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: #1f7a4d; cursor: pointer; }
.mkAdd[open] > summary { margin-bottom: 10px; }
.mkKid { display: grid; gap: 10px; }
.mkKid + .mkKid { margin-top: 10px; padding-top: 12px; border-top: 1px solid #e3ece6; }
.mkKidName { margin: 0; }
@media (max-width: 420px) { .mkQuick { margin-left: 0; } .mkRow { grid-template-columns: 60px minmax(0, 1fr); } }

/* ---------- z36: „Alle Filme einsprechen“ (Verwaltung) ---------- */
.vpWrap { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: start center; padding: 24px 16px; overflow: auto; background: rgba(20, 30, 24, 0.55); }
.vpCard { width: min(640px, 100%); display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: #fffcf5; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.vpCard h1 { margin: 0; font-size: 1.35rem; }
.vpFacts { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.vpBar { width: 100%; height: 14px; }
.vpNote { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff3dc; color: #6a4a22; }
.vpNote.ok { background: #e8f5ec; color: #1f5a3a; }
.vpCard button { min-height: 48px; justify-self: start; }

/* z47 · Sprachbuch aus dem Inhaltsverzeichnis */
.lbBook { margin: 18px 0 8px; }
.lbNew > summary, .lbUnit > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; min-height: 44px; padding: 12px 14px; border-radius: 16px; background: #fffaf2; border: 1px solid #eadfcd; }
.lbNew > summary::-webkit-details-marker, .lbUnit > summary::-webkit-details-marker { display: none; }
.lbNew > summary .vTileHint, .lbUnit > summary span:last-child { grid-column: 2; font-size: .9rem; }
.lbNew > summary:focus-visible, .lbUnit > summary:focus-visible { outline: 3px solid #247a4c; outline-offset: 2px; }
.lbIcon { font-size: 1.5rem; grid-row: span 2; }
.lbUpload { display: grid; gap: 12px; padding: 14px 4px 4px; }
.lbUpload .ctStatus:empty, .lbInfo:empty { display: none; }
.lbUnits { display: grid; gap: 8px; }
.lbNo { grid-row: span 2; min-width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e7efe4; color: #2f5b3d; font-weight: 700; font-size: .95rem; }
.lbExtra .lbNo { background: #f3e8d7; color: #6e4a1d; }
.lbUnit > summary strong { overflow-wrap: break-word; }
.lbHave { color: #2f6b45; }
.lbHint { color: #6b6257; }
.lbInner { display: grid; gap: 8px; padding: 10px 6px 4px 54px; }
.lbParts { margin: 0; padding-left: 18px; color: #4f4a43; }
.lbItem { text-align: left; justify-self: start; min-height: 44px; }
.lbWords { margin-top: 10px; }
@media (max-width: 480px) { .lbInner { padding-left: 6px; } }

/* z47 · Kumi passt auf persönliche Angaben auf */
.pgHint { margin: 6px 0 4px; padding: 10px 12px; border-radius: 12px; background: #fff6e6; color: #7a4d12; font-weight: 600; font-size: .95rem; line-height: 1.4; }
textarea[aria-invalid="true"], input[aria-invalid="true"] { border-color: #c27a1a !important; box-shadow: 0 0 0 2px rgba(194, 122, 26, .25); }
/* z57f: „Aussprache“ bricht nie um – der Weiter-Knopf nimmt den restlichen Platz */
#after.actions { display: flex; flex-wrap: nowrap; gap: 10px; }
#after.actions #pronounce { flex: 0 0 auto; white-space: nowrap; }
#after.actions #next { flex: 1 1 auto; min-width: 0; }

/* ===== z59e: Einstellungen in vier Bereichen (aufklappbar auf dem Handy, zwei gleich hohe Spalten ab 900 px) ===== */
#settings .vSet2 { align-items: stretch; }
#settings .vSetSec { padding: 0; }
#settings .vSetSec > .vSetSum {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 12px 18px;
}
#settings .vSetSec > .vSetSum::-webkit-details-marker { display: none; }
#settings .vSetSec > .vSetSum h2 { margin: 0; font-size: 1.15rem; min-width: 0; }
#settings .vSetSec > .vSetSum::after, #settings .vSoundMore > summary::after, #settings .vVoiceMore > summary::after, #settings .vSetMore > summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: 0 4px 4px auto; border-right: 2.5px solid #4f6158; border-bottom: 2.5px solid #4f6158; transform: rotate(45deg); transition: transform 0.15s;
}
#settings .vSetSec[open] > .vSetSum::after, #settings .vSoundMore[open] > summary::after, #settings .vVoiceMore[open] > summary::after, #settings .vSetMore[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
#settings .vSoundMore > summary, #settings .vVoiceMore > summary, #settings .vSetMore > summary { list-style: none; gap: 8px; }
#settings :is(.vSoundMore, .vVoiceMore, .vSetMore) > summary::-webkit-details-marker { display: none; }
#settings .vSetBody { padding: 0 18px 18px; display: grid; gap: 12px; min-width: 0; }
#settings .vSetSum .vSaved { margin-left: auto; font-size: 0.85rem; font-weight: 700; color: #1f6b45; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
#settings .vSaved.on { opacity: 1; }
#settings .vSaved.on::before { content: "✓ "; }
@media (min-width: 900px) {
  #settings .vSetSec > .vSetSum { cursor: default; pointer-events: none; }
  #settings .vSetSec > .vSetSum::after { content: none; }
  #settings .vSetSec > .vSetSum .vSaved { pointer-events: none; }
}
/* Schalter: Text einzeilig, Erklärung klein darunter, Schalter rechts (Tippfläche ganze Zeile, ≥ 48 px) */
:is(#settings, .vTeenSw, .vOnb) .vSw {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; margin: 0; cursor: pointer; position: relative;
  border-top: 1px solid var(--v-line, #e4ece7);
}
:is(#settings, .vTeenSw, .vOnb) .vSw:first-child, :is(#settings, .vTeenSw, .vOnb) .vSetLead + .vSw, #settings .vStyle + .vSw { border-top: 0; }
:is(#settings, .vTeenSw, .vOnb) .vSwText { flex: 1; min-width: 0; display: grid; gap: 2px; }
:is(#settings, .vTeenSw, .vOnb) .vSwTitle { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--v-ink, #1f2b24); }
:is(#settings, .vTeenSw, .vOnb) .vSwHint { color: #4f6158; font-size: 0.86rem; line-height: 1.3; }
:is(#settings, .vTeenSw, .vOnb) .vSw input[role="switch"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
:is(#settings, .vTeenSw, .vOnb) .vSwTrack { flex: none; width: 50px; height: 30px; border-radius: 15px; background: #b9c4be; position: relative; transition: background 0.15s; }
:is(#settings, .vTeenSw, .vOnb) .vSwTrack::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
:is(#settings, .vTeenSw, .vOnb) .vSw input:checked ~ .vSwTrack { background: #1f7a4d; }
:is(#settings, .vTeenSw, .vOnb) .vSw input:checked ~ .vSwTrack::after { transform: translateX(20px); }
:is(#settings, .vTeenSw, .vOnb) .vSw input:focus-visible ~ .vSwTrack { outline: 3px solid var(--v-blue, #2f6fb5); outline-offset: 2px; }
#settings .vField { display: grid; gap: 6px; }
#settings .vField label, #settings .studentProfile label { font-weight: 700; }
#settings .vField select, #settings .studentProfile input { min-height: 48px; max-width: 100%; }
#settings .studentProfile { display: grid; gap: 6px; }
#settings .vSetQ { margin: 0; font-weight: 700; }
#settings .vStyle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#settings .vStyleBtn {
  display: grid; gap: 2px; align-content: center; justify-items: center; text-align: center; min-height: 72px; margin: 0; padding: 8px 6px;
  border: 2px solid var(--v-line, #e4ece7); border-radius: 14px; background: #fff; color: var(--v-ink, #1f2b24); font: inherit; cursor: pointer; box-shadow: none;
}
#settings .vStyleBtn strong { font-size: 1rem; }
#settings .vStyleBtn small { font-size: 0.78rem; color: #4f6158; line-height: 1.2; hyphens: none; overflow-wrap: normal; word-break: normal; }
#settings .vStyleBtn[aria-checked="true"] { border-color: #1f7a4d; background: #eaf5ee; box-shadow: inset 0 0 0 1px #1f7a4d; }
:is(#settings, .vTeenSw, .vOnb) .vSetLead, :is(#settings, .vTeenSw, .vOnb) .vSetNote { margin: 0; color: #3f5148; }
:is(#settings, .vTeenSw, .vOnb) .vSetNote { font-size: 0.88rem; }
#settings .vSoundMore, #settings .vVoiceMore, #settings .vSetMore { border: 1px solid var(--v-line, #e4ece7); border-radius: 14px; padding: 0 14px; }
#settings .vSoundMore > summary, #settings .vVoiceMore > summary, #settings .vSetMore > summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
#settings .vSoundMore[open], #settings .vVoiceMore[open], #settings .vSetMore[open] { padding-bottom: 12px; }
#settings .vSetLogout { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 48px; }
#settings .vSetLogout svg { width: 22px; height: 22px; }
#settings .vSetLogin[hidden] { display: none; }
#settings .vSetLogin .vSetSub { margin: 4px 0 0; }
#settings .vPrefs { display: grid; gap: 0; }
.accConfirm { margin-top: 10px; padding: 14px; border-radius: 14px; border: 2px solid #b4531f; background: #fff7f1; }
.accConfirm .accConfirmQ { font-weight: 800; margin: 0 0 4px; }
@media (max-width: 899px) {
  #settings .vSettings.vSet2 { grid-template-columns: 1fr; }
}

/* ===== z59e: Erstanmeldung ===== */
.vIntro .vOnb { text-align: left; gap: 14px; }
.vOnb .vOnbTop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vOnb .vOnbQ { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.vOnb .vOnbBody { display: grid; gap: 12px; }
.vOnb .vOnbKumi { width: 96px; height: 96px; justify-self: center; object-fit: contain; }
.vOnb .vOnbName { min-height: 56px; font-size: 1.2rem; padding: 0 16px; border-radius: 14px; border: 2px solid #cfe3d6; width: 100%; box-sizing: border-box; }
.vOnb .vOnbHint, .vOnb .vOnbSub { margin: 0; color: #3f5148; }
.vOnb .vOnbSub { font-weight: 700; margin-top: 4px; }
.vOnbTiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vOnbTiles.vOnbStyles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vOnbTiles.vOnbGrades { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vOnbTile {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 92px; padding: 10px 8px; margin: 0;
  border: 2px solid #d7e5dc; border-radius: 16px; background: #fff; color: #1f2b24; font: inherit; text-align: center; cursor: pointer; box-shadow: none;
}
.vOnbTile.on { border-color: #1f7a4d; background: #eaf5ee; box-shadow: inset 0 0 0 1px #1f7a4d; }
.vOnbTile strong { font-size: 1rem; line-height: 1.2; }
.vOnbTile small { color: #4f6158; font-size: 0.8rem; line-height: 1.2; }
.vOnbPic { font-size: 2rem; line-height: 1; display: grid; place-items: center; min-height: 40px; font-weight: 800; color: #1f6b45; }
.vOnbPic img, .vOnbPic svg { width: 48px; height: 48px; object-fit: contain; }
.vOnbGrades .vOnbTile { min-height: 72px; }
.vOnbGrades .vOnbTile strong { font-size: 0.85rem; color: #4f6158; }
.vOnbEx { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #f4f7f5; border: 1px dashed #b9c9bf; font-size: 0.92rem; }
.vOnbExOn::before { content: "✓ "; color: #1f7a4d; font-weight: 800; }
.vOnbExMaybe { color: #4f6158; }
.vOnbExMaybe::before { content: "? "; font-weight: 800; }
.vOnb .vLater { margin: 0; text-align: center; }
.vOnb .vOnbNext { width: 100%; min-height: 56px; }
.vOnb .vOnbRead { justify-self: center; min-height: 48px; min-width: 64px; }
.vTeenAsk { text-align: left; }
.vTeenAsk .vTeenDone { width: 100%; }
/* z60d: Abfrage-Richtung untereinander – lange Sprachnamen passen ganz */
#settings .vStyle.vQuizDir { grid-template-columns: 1fr; }
#settings .vQuizDir .vStyleBtn { min-height: 48px; justify-content: flex-start; text-align: left; padding: 10px 14px; }
/* z60k: Eltern-Ansicht – Kopfzeile wie bei allen Abläufen: Pfeil (ohne Pille) · Titel · Haus, je ≥ 44 px */
.vContext .vBack.vBackFlow { width: 48px; min-width: 48px; height: 48px; position: relative; padding: 0; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--v-ink, #1f2b24); }
.vContext .vBack.vBackFlow > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vContext .vBack.vBackFlow:hover { background: rgba(31, 43, 36, 0.06); }
.vContext .vCtxHome { margin-left: auto; flex: none; }
/* z60k: Duell – Spielen, Bereit und Ergebnis als Karte mit sinnvoller Breite; Antwortkarten für Kl. 1–4; ruhiges Ergebnis */
.bStage { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  .bStage { width: 100%; max-width: 760px; margin: 0 auto; padding: 22px 26px 26px; box-sizing: border-box; border-radius: 24px; background: #fff; border: 1px solid #e3dccb; box-shadow: 0 6px 22px rgba(60, 50, 30, 0.06); }
  .bStage .bQuestion { border-color: #ece6f7; }
}
.bStage > .bHead { margin-bottom: 0; }
/* z60l: in der Duell-Karte ist „Deine Duelle“ ein schlichter Abschnitt, keine zweite Karte mit abgeschnittenem Schatten */
#journeyHub .bStage .bSection { box-shadow: none; border: 0; padding: 0; background: transparent; }
.bReadyText { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 1.15rem; font-weight: 700; max-width: 34em; }
.bOnward { margin: 0 0 6px; color: #4f5d55; font-weight: 700; }
.bPrompt .bSay { margin-left: 8px; vertical-align: middle; }
.bPickCards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 12px; }
.bPickCell { display: flex; align-items: center; gap: 6px; min-width: 0; }
#journeyHub .bPickCards .bPickCard { flex: 1 1 auto; min-width: 0; min-height: 64px; font-size: 1.2rem; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 420px) { .bPickCards { grid-template-columns: 1fr; } }
.bCalm .bRow.no { background: #fbf8f0; }
.bCalm .bMine { color: #4f5d55; }
.bCalmList { padding: 16px 18px; border-radius: 18px; background: #fbf8f0; border: 1px solid #ece4d0; }
.bCalmLead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.15rem; font-weight: 750; margin: 0 0 10px; }
.bSolList { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bSolList li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 10px; border-radius: 12px; background: #fff; font-size: 1.1rem; }
.bSolList strong { color: #1f5c3a; }
.bDash { color: #6e7c74; }
.bSolList .bSay { margin-left: auto; }

/* ===== z60l: neues Fach nur über ein Foto · Notausgang „Kein Material zur Hand?“ ===== */
.vNewSubj { display: grid; gap: 10px; justify-items: stretch; max-width: 560px; margin: 8px auto 16px; text-align: center; }
.vNewSubj.main { padding: 22px 18px; border-radius: 22px; background: #fff; border: 1px solid #e3ddd0; box-shadow: 0 2px 10px #3b2a1812; }
.vNewSubjBtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; }
.vNewSubjBtn .icon { width: 24px; height: 24px; flex: none; }
.vNewSubjText { margin: 0; font-size: 1.05rem; line-height: 1.45; color: #1d2b24; }
.vNewSubjLead { margin: 0; line-height: 1.45; }
.vNewSubjText .vReadInline, .vNewSubjLead .vReadInline, .vNoMatSheet > .vLead .vReadInline, .vIntroText .vReadInline { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.vReadInline { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid #d8d2c4; border-radius: 12px; background: #fff; font: inherit; cursor: pointer; }
/* Notausgang: kleiner Text-Link – nie ein Haupt-Knopf, nie grün, nie größer als Fließtext */
#journeyHub button.vNoMat, .anSheet button.vNoMat, .vIntro button.vNoMat, button.vNoMat {
  justify-self: center; min-height: 44px; padding: 0 10px; border: 0; background: transparent; box-shadow: none;
  color: #5d7066; font: inherit; font-size: .9rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.vLernenFaecher > .vNoMat { display: block; margin: 8px auto 0; }
.vNoMatSheet { display: grid; gap: 14px; }
.vNoMatSheet > .vLead { text-align: left; margin: 0; }
.vNoMatSubj { display: grid; gap: 8px; }
.vNoMatH { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.vNoMatTopics { display: flex; flex-wrap: wrap; gap: 8px; }
.vNoMatTopic { min-height: 44px; padding: 6px 12px; text-align: left; }
.vNewSubjTile .vLernenPlus .icon { width: 26px; height: 26px; }
.vNoSubjHello { text-align: center; }
.vNoSubjHello h1 { margin: 8px 0 4px; }
/* einmaliger Neu-Hinweis auf „Heute“ (ab Kl. 5) */
.vNewsOnce { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 16px; background: #fffaf0; border: 1px solid #eadfc8; }
.vNewsOnce .vNewsOnceFold { flex: 1; min-width: 0; }
.vNewsOnce summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.vNewsOnce .vNewsOk { flex: none; min-height: 44px; }

/* z60l: Duell – Punkte statt „1 / 10“ (Kl. 1–4), Hauptaktion oben, „Zur Übersicht“ klein, Allein üben */
.bDots { display: inline-flex; gap: 6px; align-items: center; padding: 6px 2px; }
.bDots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #4f35bb; background: transparent; }
.bDots i.on { background: #4f35bb; }
.bDots i.now { background: #d9d0f5; }
.bYoungTop { margin: 0; }
.bYoungTop .bPractice { width: 100%; max-width: 420px; }
.bCalmLead { flex-wrap: nowrap; }
.bCalmLead .bSay { flex: none; }
.bBackSmall { align-self: center; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #5d7066; font: inherit; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bAlone { margin-top: 10px; }
.bYoung .vNewSubj { margin-top: 12px; }
/* z60l: ausgeblendete Fächer wieder einblenden (Einstellungen › So lerne ich) */
.vHiddenSubj { display: grid; gap: 8px; margin-top: 12px; }
.vHiddenRow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.vHiddenRow .vShowSubj { min-height: 44px; }
/* z60l: Satz mit 🔊 – der Knopf steht neben dem Satz, nie allein in einer Zeile */
.vNewSubjText:has(.vReadInline), .vNewSubjLead:has(.vReadInline) { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; }
.vNewSubjText:has(.vReadInline) > span, .vNewSubjLead:has(.vReadInline) > span { flex: 0 1 auto; }
.vNewSubjText .vReadInline, .vNewSubjLead .vReadInline { flex: none; margin-left: 0; }

/* z60l (Punkt 20): feste, ruhige Spielfarben – c / tint / ink, flach (kein Verlauf), auch im Spiel.
   Blitzrunde Pflaume statt Rot (Rot steht für Fehler). Apricot #C9721F (weißes Symbol ≥ 3 : 1). */
.g-duel { --g: #4f35bb; --g2: #4f35bb; --gl: #efebfb; --gi: #3a2790; }
.g-memory { --g: #2f7fd0; --g2: #2f7fd0; --gl: #e6f0fb; --gi: #1f5c99; }
.g-senso { --g: #7b5bd6; --g2: #7b5bd6; --gl: #f1ecfc; --gi: #5a3fae; }
.g-sentence { --g: #2e9b6a; --g2: #2e9b6a; --gl: #e4f5ec; --gi: #1f6e4b; }
.g-hangman { --g: #c9721f; --g2: #c9721f; --gl: #fdf0e2; --gi: #9a5615; }
.g-proverbs { --g: #c2477a; --g2: #c2477a; --gl: #fbe9f1; --gi: #8e2f57; }
.g-listen { --g: #1b8fa6; --g2: #1b8fa6; --gl: #e0f4f8; --gi: #12677a; }
.g-scramble { --g: #b08a12; --g2: #b08a12; --gl: #fbf4d9; --gi: #7a5f08; }
.g-blitz { --g: #8e4585; --g2: #8e4585; --gl: #f6e9f4; --gi: #6a2f63; }
.g-sorter { --g: #4f5bd5; --g2: #4f5bd5; --gl: #eceeff; --gi: #3540a8; }
/* Kopf im Spiel: ruhige Fläche in der Spielfarbe, Streifen links, Symbolquadrat in der Spielfarbe */
.gHead[class*="g-"] { background: var(--gl); color: var(--gi); border-left: 6px solid var(--g); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--g) 35%, transparent); }
.gHead[class*="g-"] .gTitle h1 { color: var(--gi); }
.gHead[class*="g-"] .gTitle .gIcon { box-sizing: border-box; width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--g); color: #fff; }
.gHead[class*="g-"] .gSkill { background: transparent; padding: 0; color: var(--gi); }
#journeyHub .gHead[class*="g-"] .gSound { background: #fff; color: var(--gi); border: 1px solid color-mix(in srgb, var(--g) 35%, transparent); }
#journeyHub .gTile[class*="g-"] { background: var(--gl); color: var(--gi); }
#journeyHub .gTile[class*="g-"] { border: 1px solid color-mix(in srgb, var(--g) 35%, transparent); box-shadow: 0 2px 0 color-mix(in srgb, var(--g) 20%, transparent); }
#journeyHub .gTile[class*="g-"] .gArt { background: var(--g); color: #fff; }
#journeyHub .gTile[class*="g-"] .gHint { color: #3d4a42; opacity: 1; }
#journeyHub .gTile[class*="g-"] .gTag { background: transparent; padding: 0; color: var(--gi); text-transform: none; letter-spacing: 0; }
/* z60l (Durchlauf, Fehlerklasse b): Kl. 1–4 sehen in Spielen keine Zähler („Paare: 2 / 6“, „Züge“, „3 / 10“) */
body.pzCalm .gBody .gInfo { display: none; }
/* z60l (Durchlauf, Fehlerklasse h): Kl. 1–4 sehen im Wissens-Check kein Rot – falsche Antworten ruhig sandfarben */
body.pzCalm .ckRow.no { background: #f6f2ea; }
body.pzCalm .ckMine { color: #5c4a2c; }
body.pzCalm .ckRow.no .ckMark { color: #8a6a2e; }
/* z60l2 (Zweitprüfung, Punkt 3): Kl. 1–4 – nach einer falschen Antwort in den Spielen kein Rot, ruhiger Rahmen */
.gStatus.calm { color: #4d4130; }
.bLine.calm { border: 3px solid #cfc3a8; background: #f6f2ea; }
.cSlotsRow.calm .cSlot { border-color: #cfc3a8; background: #f6f2ea; }
#journeyHub .gOption.calm,
#journeyHub .wBasket.calm { border-color: #cfc3a8; background: #f6f2ea; color: #4d4130; }
.zCard.calm { background: #f6f2ea; border-color: #cfc3a8; }
body.pzCalm .hSlot.missed { color: #6b5a3a; }
/* z60l2 (Punkt 3): Kl. 1–4 – kein Rot und kein Wackeln nach einem Fehlversuch */
body.pzCalm .mCard.miss { animation: none; }
body.pzCalm .mCard.miss.first .mFront,
body.pzCalm .mCard.miss.second .mFront { background: #f6f2ea; border-color: #cfc3a8; }
body.pzCalm .zCard.no { animation: none; }
/* z60m (Punkt 11): Hausaufgabe Kl. 1–4 ruhig – ohne Rot, ohne Durchstreichen, das richtige Wort mit Strategie */
.ctCard.calm.no, .ctCard.calm.maybe { border-left-color: #cfc3a8; background: #fbf8f2; }
.ctCard.calm.no .ctMark, .ctCard.calm.maybe .ctMark { background: #74664b; }
.ctFix { color: #4d4130; font-weight: 700; }
.hwFix { margin: 8px 0 0; font-weight: 700; color: #1f4f6b; }
/* z60n (Punkt 12): richtig ist in jedem Aufgabentyp grün mit Häkchen; Kl. 1–4 ohne Rot oder Warnfarbe – falsch ruhig beige */
#journeyHub .fOption.ok::after, #journeyHub .cOption.ok::after, #journeyHub .gOption.ok::after { content: " ✓"; color: #1f6b43; font-weight: 800; }
body.pzCalm #journeyHub .fOption.no, body.pzCalm #journeyHub .cOption.no, body.pzCalm #journeyHub .gOption.no, body.pzCalm #journeyHub .wBasket.no { border-color: #b59a6a; background: #faf4e8; color: #4d4130; }

/* z60n Punkt 28 F9: Merkspiel ohne Rot (Kl. 1–4) – Grün, Blau, Gelb, Violett, jede Farbe klar unterscheidbar, Schrift ≥ 4,5 : 1 */
body.pzCalm #journeyHub .sPad.p0 { background: #24774D; box-shadow: 0 6px 0 #17412C; color: #fff; }
body.pzCalm #journeyHub .sPad.p1 { background: #2F6FB5; box-shadow: 0 6px 0 #1E4C7E; color: #fff; }
body.pzCalm #journeyHub .sPad.p2 { background: #E0A21B; box-shadow: 0 6px 0 #A4740F; color: #1F2A24; }
body.pzCalm #journeyHub .sPad.p3 { background: #6B4FD8; box-shadow: 0 6px 0 #4A34A0; color: #fff; }
body.pzCalm #journeyHub .sPad.p2 .sTrans { opacity: 1; }
/* z60n (Tablet-Stichprobe 360 px): Schalter-Titel in den Einstellungen brechen um statt „…“ („Auf diesem Gerät auch offline lernen“) */
:is(#settings, .vTeenSw, .vOnb) .vSwTitle { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
#journeyHub .bNumCards .bPickCard { min-height: 72px; font-size: 1.6rem; } /* z60o P8: Zahl-Karten im Mathe-Duell Kl. 1–4, untereinander wie alle Antworten (Marc) */

/* z60p Durchlauf (n): Tippflächen Kl. 1–4 mindestens 48 px */
body.age-k #journeyHub .ktChip, body.age-k #journeyHub .bxAll { min-height: 48px; }

/* z60r Punkt 17: „Neu in diesem Update“ und das Versprechen (oben in „Fragen zur App“, nur Eltern und Erwachsene) */
#journeyHub .vNeu { display: grid; gap: var(--sp-3, 12px); margin: 4px 0 18px; padding: var(--sp-4, 16px); border-radius: var(--r-card, 20px); background: var(--c-card, #fff); border: 1px solid var(--c-line, #EADFCB); box-shadow: var(--sh-1, 0 1px 2px rgba(31, 42, 36, 0.06)); }
#journeyHub .vNeu .vNeuTitle { margin: 0; font-size: 20px; line-height: 1.3; color: var(--c-text, #1F2A24); }
#journeyHub .vNeu .vNeuDate { margin: 0; font-size: 15px; font-weight: 600; color: var(--c-text-soft, #4A5750); }
#journeyHub .vNeu .vNeuList { margin: 4px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 17px; line-height: 1.45; color: var(--c-text, #1F2A24); }
#journeyHub .vNeu .vNeuEarlier summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; color: var(--c-text, #1F2A24); }
#journeyHub .vNeu .vNeuOld { padding: 8px 0; border-top: 1px solid var(--c-line, #EADFCB); }
#journeyHub .vNeu .vNeuPromise { display: grid; gap: var(--sp-3, 12px); padding-top: var(--sp-3, 12px); border-top: 1px solid var(--c-line, #EADFCB); }
#journeyHub .vNeu .vNeuPromiseText { margin: 0; font-size: 17px; line-height: 1.45; color: var(--c-text, #1F2A24); }
#journeyHub .vNeu .vNeuMail { min-height: var(--h-side, 48px); width: 100%; margin: 0; justify-content: center; text-align: center; }
@media (min-width: 900px) { #journeyHub .vNeu { max-width: 720px; } #journeyHub .vNeu .vNeuMail { width: auto; justify-self: start; padding: 0 24px; } }
