/* Zahlenzauber – Elternbereich */
/* Eltern */
.elternsumme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 4px; }
@media (max-width: 560px) { .elternsumme { grid-template-columns: repeat(2, 1fr); } }
.elternsumme div { background: var(--panel-2); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; }
.elternsumme b { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--blau-d); }
.elternsumme span { font-size: .8rem; font-weight: 700; color: var(--tinte-weich); }
.modulgruppe { margin-top: 20px; }
.modulgruppe h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tabelle { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--linie); }
.tabelle table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; }
.tabelle th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .8px; color: var(--tinte-weich); padding: 10px 12px; border-bottom: 2px solid var(--linie); }
.tabelle td { padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td small { display: block; color: var(--tinte-weich); font-weight: 500; margin-top: 2px; }
.tabelle input { width: 22px; height: 22px; accent-color: var(--blau); }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote { font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.quote.gut { background: #d8f7e6; color: #17804a; }
.quote.mittel { background: #fff1c7; color: #8a6200; }
.quote.schwach { background: #ffe0e6; color: #b8264a; }
.fehlerbox { margin-top: 14px; background: #ffe9ee; border-radius: 14px; padding: 12px 14px; font-size: .9rem; color: var(--rot-s); }
.anleitung { font-size: .92rem; color: var(--tinte-weich); line-height: 1.55; }
.anleitung h3 { color: var(--tinte); }

/* Spielstand sichern */
.sicherung-status { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-weight: 700; font-size: .92rem; }
.sicherung-status > div { padding: 8px 12px; border-radius: 12px; }
.sicherung-status .ok { background: #e3f8ec; color: var(--gruen-s); }
.sicherung-status .warn { background: #fff3d1; color: #8a5a00; }
.sicherung-status .hinweis-klein { background: var(--panel-2); color: var(--tinte-weich); }
.overlay-karte .warnung { background: #fff3d1; color: #8a5a00; border-radius: 12px; padding: 10px 12px; font-weight: 700; }

/* Rückmeldungen */
.feedback-liste { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.feedback-liste details { background: var(--panel-2); border-radius: 12px; padding: 8px 12px; }
.feedback-liste summary { cursor: pointer; font-size: .95rem; }
.feedback-liste ul { margin: 8px 0 2px; padding-left: 18px; font-size: .88rem; display: flex; flex-direction: column; gap: 4px; }
.feedback-liste small { color: var(--tinte-weich); font-weight: 700; }
.feedback-liste em { color: var(--gruen-s); font-style: normal; font-weight: 800; }
#el-feedback-text { width: 100%; margin-top: 10px; resize: vertical; font: inherit; }

/* Elternkonto */
#konto-dlg .feld { width: 100%; margin-top: 10px; font: inherit; }
.konto-ok { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: .88rem; font-weight: 700; color: var(--tinte-weich); text-align: left; }
.konto-ok input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blau); }
.konto-fehler { min-height: 1.2em; margin: 8px 0 0; color: var(--rot-s); font-weight: 800; font-size: .9rem; }
.konto-links { margin-top: 12px; font-size: .9rem; font-weight: 700; }
.konto-links a, .konto-ok a { color: var(--blau-d); }
.konto-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
@media (max-width: 480px) { .konto-wahl { grid-template-columns: 1fr; } }
.konto-wahl .knopf { display: flex; flex-direction: column; gap: 4px; height: auto; padding: 12px; text-align: center; }
.konto-wahl small { font-weight: 700; font-size: .8rem; opacity: .85; line-height: 1.3; }
.lesefrei-marke { font-size: .7rem; font-weight: 800; background: #e6f6ff; color: #1f66d1; border-radius: 999px; padding: 2px 8px; margin-left: 4px; white-space: nowrap; }

/* Plus: Sperrbildschirm, wenn die Spielzeit der Eltern vorbei ist */
.spielpause { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(20, 10, 60, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 25; }
.spielpause .overlay-karte { background: linear-gradient(180deg, #2b2470, #4a3a9a); color: #fff; }
.spielpause .overlay-karte h2, .spielpause .overlay-karte p { color: #fff; }
.spielpause .leise { opacity: .8; font-weight: 600; }
.pause-mond { font-size: 3.4rem; line-height: 1; margin-bottom: 6px; }
a.knopf { display: inline-block; text-decoration: none; }
.toast.spielzeit-hinweis { background: #3b2f7a; font-size: 1.05rem; padding: 14px 22px; border-radius: 20px; z-index: 30; }

/* Plus: Trainingsmission (kern/training.js) */
.quest.mission { background: linear-gradient(135deg, #fff, #e6f7ff); }
.quest.mission::before { background: radial-gradient(circle, rgba(91,140,255,.35), transparent 70%); }
.quest.mission .quest-text span { color: #2a5bb8; }
.mission-themen { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.mission-thema { display: flex; align-items: center; gap: 10px; }
.mission-thema em { font-style: normal; font-weight: 700; font-size: .9rem; flex: 0 0 45%; }
.mission-thema .quest-balken { height: 14px; flex: 1 1 auto; }
.missionsmarke { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: #2a5bb8; color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .95rem; z-index: 3; }
.mission-sieg { color: #2a5bb8; }

/* Aussehen im Elternbereich */
.el-aussehen { display: flex; align-items: center; gap: 14px; }
.el-aussehen .avatar.mini { width: 64px; height: auto; }
.overlay-karte .ae-wahlen { justify-content: center; }
.overlay-karte .ae-titel { text-align: center; }
