/* Ela! Pame! – Griechisch lernen. Farben aus dem Logo: Navy, Ägäis-Blau, Sonne, Creme. */
:root {
  --navy: #012552;
  --blue: #0165b8;
  --blue-2: #2a86d6;
  --blue-soft: #e4eef8;
  --bg: #f8f4ee;
  --card: #fffdf9;
  --text: #0e2246;
  --muted: #69707e;
  --line: #e8e1d5;
  --ok: #1e9e5a;
  --ok-soft: #e3f6ec;
  --no: #d64545;
  --no-soft: #fdeaea;
  --sun: #feb228;
  --sun-soft: #fff1d6;
  --m: #2f6fd6;
  --f: #d3457a;
  --n: #2b9a78;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(1, 37, 82, .06), 0 2px 10px rgba(1, 37, 82, .05);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #f8f4ee;
    --blue: #5aa8ec;
    --blue-2: #7db9f0;
    --blue-soft: #14305a;
    --bg: #0a1a33;
    --card: #112649;
    --text: #f3efe6;
    --muted: #9fb0c8;
    --line: #22395f;
    --sun-soft: #3a2e12;
    --ok: #3cc47c;
    --ok-soft: #133324;
    --no: #f07070;
    --no-soft: #3a1a1d;
    --m: #79a8f5;
    --f: #f08ab2;
    --n: #5fd0ac;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; }
.el { font-family: -apple-system, "SF Pro Text", "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
small { color: var(--muted); }

.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Kopfzeile & Navigation */
header.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px;
  padding: calc(12px + var(--safe-t)) 16px 12px; background: var(--bg); color: var(--navy);
  border-bottom: 1px solid var(--line);
}
header.top h1 { font-size: 20px; font-weight: 800; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
header.top.home { padding-top: calc(8px + var(--safe-t)); padding-bottom: 6px; }
header.top .back { color: var(--blue); font-size: 32px; line-height: 1; padding: 0 6px 2px 0; }
.hdr-logo { height: 46px; width: auto; display: block; }
.hdr-btn { color: var(--blue); font-size: 14px; border: 1px solid var(--blue); border-radius: 20px; padding: 4px 12px; }
/* Im Dunkelmodus steht das Logo auf einem cremefarbenen Schild, damit das Navy lesbar bleibt */
@media (prefers-color-scheme: dark) {
  .hdr-logo, .logo-img { background: #f8f4ee; border-radius: 12px; padding: 4px 8px; }
}
main.view { max-width: 640px; margin: 0 auto; padding: 16px 16px calc(96px + var(--safe-b)); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: center;
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: var(--safe-b);
}
.tabbar a { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; padding: 8px 0 7px; font-size: 12px; color: var(--muted); }
.tabbar a .ti { font-size: 20px; line-height: 1.2; height: 24px; font-weight: 700; }
.tabbar a.on { color: var(--blue); }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); border-radius: 12px; padding: 12px 16px; font-weight: 600; cursor: pointer;
  text-align: center; min-height: 48px; box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (prefers-color-scheme: dark) { .btn.primary { color: #06142b; } }
.btn.danger { background: var(--no); color: #fff; border-color: var(--no); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--muted); }
.btn.wide { width: 100%; margin: 8px 0; }
.btn.big { width: 100%; flex-direction: column; padding: 18px; font-size: 20px; margin: 4px 0 8px; border-radius: 16px; }
.btn.big small { color: inherit; opacity: .85; font-weight: 500; font-size: 14px; }
.link { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 6px 0; font-size: 14px; }
.row2 { display: flex; gap: 10px; margin: 10px 0; }
.row2 .btn { flex: 1; }

/* Startseite */
.hero { display: flex; align-items: center; gap: 18px; margin: 4px 0 16px; }
.ring {
  --p: 0; width: 96px; height: 96px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--sun) calc(var(--p) * 1%), var(--line) 0);
}
.ring > div { width: 78px; height: 78px; border-radius: 50%; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring b { font-size: 24px; line-height: 1; }
.ring span { font-size: 11px; color: var(--muted); }
.hello { font-size: 22px; font-weight: 800; color: var(--navy); }
.streak { color: var(--muted); margin-top: 2px; }
h2.sec { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 22px 0 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.qt { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--text); box-shadow: var(--shadow); }
.qt b { display: block; font-size: 22px; color: var(--blue); }
.qt span { font-size: 14px; color: var(--muted); }
.note-box { background: var(--sun-soft); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; font-size: 15px; }

/* Lektionen */
.seg { display: flex; background: var(--line); border-radius: 12px; padding: 3px; margin-bottom: 14px; }
.seg a { flex: 1; text-align: center; padding: 8px 6px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.seg a.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.seg.small a { font-size: 13px; padding: 6px 4px; }
.lesson-card {
  display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; color: var(--text); box-shadow: var(--shadow); cursor: pointer;
}
.lesson-card.off { opacity: .55; }
.lc-icon { font-size: 28px; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--blue-soft); border-radius: 12px; }
.lc-icon.big { font-size: 34px; width: 60px; height: 60px; }
.lc-main { flex: 1; min-width: 0; }
.lc-title { font-weight: 700; }
.lc-sub { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.bar { height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; transition: width .3s; }
.l-head { display: flex; gap: 14px; align-items: flex-start; }
.l-head > div:last-child { flex: 1; min-width: 0; }
.l-head p { margin: 4px 0; }
.switch { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
details.sec-d { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; padding: 0 14px; }
details.sec-d > summary { cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none; }
details.sec-d > summary::after { content: '›'; float: right; transform: rotate(90deg); color: var(--muted); }
details.sec-d[open] > summary::after { transform: rotate(-90deg); }
details.sec-d > summary::-webkit-details-marker { display: none; }
details.sec-d[open] { padding-bottom: 12px; }
.prose { font-size: 15px; }
.gram h3 { font-size: 16px; margin: 8px 0 4px; }
.tbl-wrap { overflow-x: auto; margin: 8px 0; }
table.gt { border-collapse: collapse; font-size: 15px; min-width: 60%; }
table.gt th, table.gt td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
table.gt th { background: var(--blue-soft); font-size: 13px; }
.sent { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.sent .dots { margin-top: 7px; }
.list-row {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px; margin-bottom: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-align: left; cursor: pointer;
}
.list-row .li { display: inline-block; width: 30px; font-weight: 700; color: var(--blue); }
.chev { color: var(--muted); font-size: 20px; }

/* Wörter */
.search { width: 100%; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); margin-bottom: 12px; }
.words { display: flex; flex-direction: column; }
.word {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer; width: 100%;
}
.word .el { font-weight: 600; flex: 1; min-width: 0; }
.word .de { color: var(--muted); font-size: 14px; flex: 1; min-width: 0; text-align: right; }
.word .bad { color: var(--no); font-weight: 700; font-size: 13px; width: 30px; }
.dots { display: inline-flex; gap: 2px; flex: none; }
.dots i { width: 6px; height: 14px; border-radius: 2px; background: var(--line); }
.dots i.f { background: var(--ok); }
.dots.new i { background: transparent; border: 1px dashed var(--line); }

/* Übungsrunde */
.session { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; padding: var(--safe-t) 0 0; }
.s-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.s-top .bar { flex: 1; height: 12px; margin: 0; border-radius: 8px; }
.s-top .close { background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; padding: 4px; }
.s-xp, .s-badge { font-weight: 700; color: var(--sun); font-size: 14px; white-space: nowrap; }
.s-badge { color: var(--blue); border: 1px solid var(--blue); border-radius: 10px; padding: 1px 8px; }
.s-body { flex: 1; padding: 8px 16px 16px; }
.s-foot { padding: 0 0 var(--safe-b); position: sticky; bottom: 0; }
.ex-label { color: var(--muted); font-weight: 600; font-size: 15px; margin: 6px 0 10px; }
.ex-prompt { font-size: 32px; font-weight: 700; margin: 10px 0 6px; line-height: 1.25; word-wrap: break-word; }
.ex-prompt.de { font-size: 26px; }
.ex-prompt.long, .ex-prompt.cloze { font-size: 23px; font-weight: 600; }
.ex-prompt .gap { display: inline-block; min-width: 70px; border-bottom: 3px solid var(--blue); color: transparent; margin: 0 4px; }
.ex-sub { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.options { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.options.compact { display: grid; grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; min-height: 56px;
  border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; background: var(--card); cursor: pointer; font-size: 18px;
}
.opt .num { flex: none; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; display: grid; place-items: center; color: var(--muted); }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.wrong { border-color: var(--no); background: var(--no-soft); }
.opt:disabled { cursor: default; }
@media (hover: none) { .opt .num { display: none; } }
.type-wrap { margin-top: 18px; }
.answer {
  width: 100%; font-size: 22px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px;
  background: var(--card); color: var(--text); outline: none;
}
.answer:focus { border-color: var(--blue); }
.answer.right { border-color: var(--ok); background: var(--ok-soft); }
.answer.wrong { border-color: var(--no); background: var(--no-soft); }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ex-actions { display: flex; gap: 10px; margin-top: 16px; }
.ex-actions .btn { flex: 1; }
.kb-on { display: block; margin-top: 6px; }

.tile-line {
  min-height: 64px; border-bottom: 2px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; margin-top: 14px; align-content: flex-start;
}
.tile-line.right { border-color: var(--ok); }
.tile-line.wrong { border-color: var(--no); }
.tile-bank { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.tile {
  padding: 9px 14px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 12px; background: var(--card);
  font-size: 18px; cursor: pointer;
}
.tile.used { opacity: .25; }
.tile.sel { border-color: var(--blue); background: var(--blue-soft); }
.tile.right { border-color: var(--ok); background: var(--ok-soft); opacity: .6; }
.tile.wrong { border-color: var(--no); background: var(--no-soft); }
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.match .col { display: flex; flex-direction: column; gap: 10px; }
.match .tile { width: 100%; min-height: 54px; font-size: 16px; }

.fb { padding: 16px 16px 12px; border-radius: 18px 18px 0 0; animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.fb.ok { background: var(--ok-soft); }
.fb.no { background: var(--no-soft); }
.fb-title { font-size: 20px; font-weight: 800; }
.fb.ok .fb-title { color: var(--ok); }
.fb.no .fb-title { color: var(--no); }
.fb-hint, .fb-right, .fb-word, .fb-explain { margin-top: 4px; font-size: 16px; }
.fb-right span { color: var(--muted); }
.fb-explain { color: var(--muted); font-size: 14px; }
.fb-word { color: var(--muted); font-size: 15px; }
.fb-actions { display: flex; justify-content: space-between; gap: 10px; }

/* Karteikarte */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow); margin: 6px 0 12px; }
.card-el { font-size: 34px; font-weight: 800; line-height: 1.2; }
.card-el.long { font-size: 24px; }
.card-de { font-size: 20px; margin-top: 8px; }
.card-tl { color: var(--muted); font-size: 14px; margin-top: 4px; }
.card-extra { margin-top: 8px; font-size: 15px; }
.card-extra span { color: var(--muted); }
.card-note { margin-top: 12px; font-size: 14px; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.gender { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; border-radius: 10px; padding: 2px 10px; color: #fff; }
.g-m { background: var(--m); } .g-f { background: var(--f); } .g-n { background: var(--n); } .g-c { background: var(--muted); }
table.conj { margin: 14px auto 0; border-collapse: collapse; font-size: 15px; }
table.conj caption { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
table.conj td { padding: 3px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.conj td.el { font-weight: 700; }

/* Griechische Tastatur */
.kb { margin: 14px -10px 0; padding: 6px 4px; background: var(--line); border-radius: 12px; user-select: none; touch-action: manipulation; }
.kb.hidden { display: none; }
.kb-row { display: flex; gap: 4px; justify-content: center; margin: 4px 0; }
.kb .k {
  flex: 1; max-width: 44px; height: 44px; border: 0; border-radius: 7px; background: var(--card); font-size: 19px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.25); padding: 0;
}
.kb .k:active { background: var(--blue-soft); }
.kb .k.mod { background: var(--bg); font-size: 16px; }
.kb .k.mod.on { background: var(--blue); color: #fff; }
.kb .k.space { max-width: 200px; flex: 4; font-size: 14px; }
.kb .k.sys { max-width: 120px; flex: 2; font-size: 12px; }

/* Ende einer Runde */
.end { padding: 30px 20px; text-align: center; }
.end-icon { font-size: 56px; }
.end h2 { margin: 8px 0; font-size: 28px; color: var(--navy); }
.end-stats { display: flex; justify-content: center; gap: 12px; margin: 18px 0; }
.end-stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-width: 90px; }
.end-stats b { display: block; font-size: 22px; color: var(--blue); }
.end-stats span { font-size: 12px; color: var(--muted); }
.end-actions { margin-top: 20px; }
.big { font-size: 18px; font-weight: 600; }
.grade { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 52px; font-weight: 800; color: #fff; }
.g1 { background: #1e9e5a; } .g2 { background: #5bb04a; } .g3 { background: #e0a100; } .g4 { background: #e07a1f; } .g5 { background: #d64545; }
.grade-sm { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px; margin-right: 10px; }
ul.mistakes { list-style: none; padding: 0; text-align: left; }
ul.mistakes li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--no); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 15px; }
ul.mistakes li.ok { border-left-color: var(--ok); }
.mq { font-weight: 600; }
.ma { color: var(--muted); }
.mr b { color: var(--ok); }
.empty { text-align: center; padding: 30px 10px; }

/* Lesen */
.reading { font-size: 21px; line-height: 1.8; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tw { cursor: pointer; border-radius: 4px; padding: 0 1px; border-bottom: 1px dotted var(--muted); }
.tw.sel { background: var(--blue-soft); }

/* Fragen an die Lehrerin */
.add-note { display: flex; gap: 8px; align-items: stretch; }
.add-note textarea { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); resize: vertical; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.note label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.note input { width: 20px; height: 20px; accent-color: var(--ok); flex: none; margin-top: 2px; }
.note.done span { text-decoration: line-through; color: var(--muted); }
.note-ctx { color: var(--muted); font-size: 13px; margin: 4px 0 0 30px; }
.note-meta { color: var(--muted); font-size: 12px; margin-left: 30px; display: flex; gap: 12px; align-items: center; }
.note-meta .link { font-size: 12px; color: var(--no); }

/* Statistik */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat-grid b { display: block; font-size: 24px; color: var(--blue); }
.stat-grid span { font-size: 13px; color: var(--muted); }
.chart { position: relative; display: flex; gap: 4px; height: 150px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 0; }
.chart .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.chart .col i { width: 100%; max-width: 22px; background: var(--blue-2); border-radius: 4px 4px 0 0; min-height: 2px; max-height: calc(100% - 22px); }
.chart .col i.goal { background: var(--sun); }
.chart .col span { font-size: 11px; color: var(--muted); height: 18px; line-height: 18px; }
.goal-line { position: absolute; left: 10px; right: 10px; border-top: 1px dashed var(--muted); opacity: .5; }

/* Alphabet */
.alpha { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ab { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.ab-l { font-size: 28px; font-weight: 800; color: var(--navy); }
.ab-n { font-weight: 600; }
.ab-s { font-size: 13px; color: var(--muted); }
.ab-e { font-size: 14px; margin-top: 2px; }

/* Formulare */
.field { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.field select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.checks { margin: 10px 0; }
.check-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; cursor: pointer; }
.check-row input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.check-row small { display: block; }

/* Dialog & Hinweis */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(5, 12, 20, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; background: var(--bg); width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 22px 16px calc(16px + var(--safe-b)); }
@media (min-width: 640px) { .modal { align-items: center; } .modal-box { border-radius: 20px; } }
.modal-box .close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 20px; color: var(--muted); cursor: pointer; }
ul.skills { padding-left: 18px; font-size: 14px; color: var(--muted); }
#toast {
  position: fixed; left: 50%; bottom: calc(80px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 30; opacity: 0; pointer-events: none;
  background: var(--navy); color: #f8f4ee; padding: 10px 16px; border-radius: 12px; font-size: 14px; transition: .2s; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Anmeldung */
.login { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 380px; margin: 0 auto; padding: 24px; text-align: center; }
.login .logo-img { width: min(300px, 80vw); height: auto; margin: 0 auto 6px; display: block; }
.login .tagline { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: 28px; }
