/* Vokabox – Styles nach dem Design im Canvas */

/* Optional: Baloo 2 / Nunito als woff2 in /fonts ablegen (siehe README) –
   ohne die Dateien greift automatisch die runde Systemschrift. */
@font-face { font-family: "Baloo 2"; src: local("Baloo 2 ExtraBold"), url("../fonts/baloo-2-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: local("Nunito"), url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #F4F7FB;
  --card: #FFFFFF;
  --ink: #1E2A44;
  --muted: #4A5876;
  --line: #DCE5F7;
  --line-2: #B9C6E0;
  --soft: #E8EEF9;
  --blue: #2F6BFF;
  --blue-d: #1F4FD1;
  --f1: #FF6B3D;
  --f2: #FFA62B;
  --f3: #FFD23F;
  --f4: #3CC6A8;
  --f5: #2F6BFF;
  --ok-d: #1D7F69;
  --no-d: #C2410C;
  --body: "Nunito", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Baloo 2", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--body); font-size: 16px; line-height: 1.4; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.screen {
  max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; gap: 18px;
  padding: max(20px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
}
.screen.with-nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.center-screen { justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.grow { flex-grow: 1; }
.push-down { margin-top: auto; }
.push-right { margin-left: auto; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.center { text-align: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
main.stack { gap: 18px; }

/* Typo */
.h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.h1.big { font-size: 32px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.muted { color: var(--muted); }
.strong { font-weight: 800; }
.small { font-size: 14px; }
.tiny { font-size: 12px; font-weight: 600; }
.red { color: var(--no-d); display: inline-flex; }
.label { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0; }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -0.5px; }
.wordmark span { color: var(--blue); }

/* Kopfzeile */
.topbar { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 15px; }
.icon-btn { width: 44px; height: 44px; flex: none; border: 0; border-radius: 999px; background: var(--card); display: grid; place-items: center; color: var(--ink); }
.greeting { all: unset; cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; align-self: flex-start; border-radius: 8px; }
.greeting:focus-visible { outline: 3px solid var(--blue); }

/* Hero / Onboarding */
.hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.hero-title { margin: 0; font-size: 52px; line-height: 1; }
.small-hero { padding-top: 12px; }

/* Panels */
.panel { background: var(--card); border-radius: 24px; padding: 18px 16px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; min-height: 44px; background: var(--card); font-weight: 700; font-size: 15px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 800; }
.chip.add { width: 44px; padding: 0; border-style: dashed; border-color: var(--line-2); background: transparent; color: var(--muted); font-size: 20px; font-weight: 800; }
.chip.static { min-height: 0; padding: 6px 12px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px; background: var(--card); font-weight: 700; font-size: 15px; }
.chip-radio input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 800; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Formulare */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field legend { margin-bottom: 8px; }
input[type="text"], input[type="search"], select, textarea {
  width: 100%; min-height: 52px; border-radius: 16px; border: 2px solid var(--line); background: var(--card);
  padding: 10px 14px; font-size: 18px; font-weight: 700; color: var(--ink);
}
textarea { min-height: 180px; font-size: 16px; line-height: 1.6; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
.input-sm { min-height: 44px !important; font-size: 15px !important; margin-top: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 18px; min-height: 48px; padding: 12px 16px; font-weight: 800; font-size: 16px; text-align: center; }
.btn.big { font-family: var(--display); font-size: 22px; padding: 14px 16px; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--blue-d); }
.btn.accent { background: var(--f1); color: var(--ink); box-shadow: 0 5px 0 #D9531F; }
.btn.ghost { background: var(--card); color: var(--ink); border: 3px solid var(--line); }
.btn.dashed { background: transparent; color: var(--blue); border: 2px dashed var(--line-2); }
.btn.danger { background: var(--card); color: var(--no-d); border: 3px solid #FFC3AE; }
.btn.mini { min-height: 44px; padding: 6px 12px; font-size: 14px; border-width: 2px; border-radius: 12px; }
.btn:active, .cta:active, .answer:active { transform: translateY(3px); box-shadow: none; }
.file-btn { cursor: pointer; }

/* Haupt-CTA */
.cta { border: 0; text-align: left; background: var(--blue); color: #fff; border-radius: 24px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 6px 0 var(--blue-d); }
.cta.done { background: var(--f4); color: var(--ink); box-shadow: 0 6px 0 #23977E; }
.cta-text { display: flex; flex-direction: column; gap: 2px; }
.cta-kicker { font-size: 14px; font-weight: 700; }
.cta-title { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.cta-sub { font-size: 14px; font-weight: 600; }
.cta-play { width: 52px; height: 52px; flex: none; border-radius: 999px; background: #fff; color: var(--blue); display: grid; place-items: center; }

/* Karteikasten */
.kasten { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; margin-top: 14px; padding: 0 4px; border-bottom: 6px solid var(--ink); }
.fach { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; border-radius: 8px 8px 0 0; }
.fach:focus-visible { outline: 3px solid var(--blue); }
.fach-count { font-weight: 800; font-size: 15px; }
.stack-cards { width: 100%; border-radius: 8px 8px 0 0; transition: height .4s ease; }
.stack-cards.b1 { background: repeating-linear-gradient(var(--f1) 0 7px, #fff 7px 9px); }
.stack-cards.b2 { background: repeating-linear-gradient(var(--f2) 0 7px, #fff 7px 9px); }
.stack-cards.b3 { background: repeating-linear-gradient(var(--f3) 0 7px, #fff 7px 9px); }
.stack-cards.b4 { background: repeating-linear-gradient(var(--f4) 0 7px, #fff 7px 9px); }
.stack-cards.b5 { background: repeating-linear-gradient(var(--f5) 0 7px, #fff 7px 9px); }
.kasten-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; margin-top: 12px; font-size: 13px; }

/* Badges */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.badge.b1 { background: var(--f1); } .badge.b2 { background: var(--f2); } .badge.b3 { background: var(--f3); }
.badge.b4 { background: var(--f4); } .badge.b5 { background: var(--f5); color: #fff; }
.badge.plain { background: var(--soft); }

/* Lernkarte */
.learn { gap: 16px; }
.progress { flex-grow: 1; height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress div { height: 100%; border-radius: 999px; background: var(--f4); transition: width .3s ease; }
.vcard { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 10px 24px rgba(30,42,68,.12); display: flex; flex-direction: column; overflow: hidden; }
.vcard.prompt { min-height: 190px; }
.vcard.prompt.tall { min-height: 300px; }
.vcard-top { height: 14px; flex: none; }
.vcard-top.blue { background: var(--blue); }
.vcard-body { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px 18px; text-align: center; background: repeating-linear-gradient(#fff 0 39px, var(--soft) 39px 40px); }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.word { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 10vw, 42px); line-height: 1.1; overflow-wrap: anywhere; }
.word.mid { font-size: clamp(26px, 8vw, 32px); }
.example { font-size: 16px; font-weight: 600; font-style: italic; color: var(--muted); }
.round-btn { width: 48px; height: 48px; flex: none; border: 0; border-radius: 999px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.no-margin { margin: 0; }
.center-self { align-self: center; }

/* Auswählen */
.options { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.options legend { padding: 0; margin-bottom: 10px; font-size: 16px; }
.option { min-height: 56px; border: 3px solid var(--line); border-radius: 16px; background: #fff; padding: 8px 16px; font-weight: 800; font-size: 19px; text-align: left; }
.option:hover { border-color: var(--line-2); }

/* Buchstabensalat */
.slots { display: flex; align-items: flex-end; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 56px; }
.art { font-weight: 800; font-size: 20px; color: var(--muted); padding-bottom: 6px; }
.slot-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.slot { width: 28px; height: 44px; border-bottom: 4px solid var(--line-2); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; }
.slot.filled { border-bottom-color: var(--ink); }
.slot.active { border-bottom-color: var(--blue); background: var(--soft); border-radius: 6px 6px 0 0; }
.slot.fixed { border-bottom-color: transparent; width: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; }
.tile { height: 56px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 4px 0 var(--line); font-family: var(--display); font-weight: 800; font-size: 28px; }
.tile:disabled { background: transparent; box-shadow: none; border: 2px dashed var(--line); color: var(--line-2); cursor: default; }
.tile.util { background: var(--soft); box-shadow: none; display: grid; place-items: center; }
.tile.util:disabled { border: 0; opacity: .5; color: var(--ink); }
.link-btn { border: 0; background: transparent; color: var(--blue); font-weight: 800; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.link-btn.left { justify-content: flex-start; padding: 0; }
.link-btn:disabled { color: var(--line-2); cursor: default; }
.btn:disabled { opacity: .45; box-shadow: none; cursor: default; }

/* Lückenwort */
.cloze { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: 2px; font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1; }
.cloze .art { font-size: 24px; margin-right: 8px; padding-bottom: 4px; }
.cloze-sp { width: 14px; }
.cloze-box { display: flex; }
.cloze-box input { width: 32px; height: 46px; min-height: 0; padding: 0; border: 0; border-bottom: 4px solid var(--line-2); border-radius: 6px 6px 0 0; background: var(--soft); text-align: center; font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--blue); }
.cloze-box input:focus { border-bottom-color: var(--blue); background: #fff; }

/* Hören */
.play-big { width: 112px; height: 112px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-d); display: grid; place-items: center; }
.play-big:active { transform: translateY(3px); box-shadow: none; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 999px; background: #fff; min-height: 44px; padding: 0 16px; font-weight: 800; font-size: 15px; color: var(--ink); }
.foreign-input { font-family: var(--display) !important; font-size: 24px !important; font-weight: 800; letter-spacing: .5px; }
.foreign-input.good { border-color: #23977E; background: #DDF6EF; }

/* Rückmeldung */
.verdict-title.correct { color: var(--ok-d); }
.verdict-title.spelling { color: #9A5B00; }
.verdict-title.wrong { color: var(--no-d); }
.fb-card { gap: 12px; }
.row-center { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.diff { display: flex; flex-wrap: wrap; gap: 2px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.diff .sp { width: 10px; }
.diff .x { color: var(--no-d); background: #FFE6DD; border-radius: 6px; padding: 0 3px; text-decoration: line-through; text-decoration-thickness: 3px; }
.diff .mark { background: var(--f3); border-radius: 6px; padding: 0 3px; }
.dash-line { border-top: 2px dashed var(--line); }
.hint { background: #FFF4D6; border-radius: 14px; padding: 10px 12px; font-size: 15px; font-weight: 700; }
.strike { text-decoration: line-through; color: var(--no-d); }

/* Übungs-Leiter */
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ladder li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 10px 12px; }
.ladder-num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.ladder-num.small-num { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; font-family: var(--body); }
.ladder-num.b1 { background: var(--f1); } .ladder-num.b2 { background: var(--f2); } .ladder-num.b3 { background: var(--f3); }
.ladder-num.b4 { background: var(--f4); } .ladder-num.b5 { background: var(--f5); color: #fff; }
.ladder-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ladder-head { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dir { background: var(--soft); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 800; }
.note { background: #FFF4D6; border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.note svg { flex: none; }
.ex-row { gap: 12px; }
.ex-row input { margin-left: auto; }

/* Ergebnis */
.stat { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.stat.ok { color: var(--ok-d); }
.stat.no { color: var(--no-d); }
.move { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.move > span { display: inline-flex; }

/* Neue Karte */
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--soft); border-radius: 16px; padding: 4px; }
.tab { border: 0; border-radius: 12px; min-height: 44px; background: transparent; font-weight: 800; color: var(--muted); }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(30,42,68,.08); }
.form-card { flex-grow: 0; }
.form-card .pad { padding: 16px 16px 12px; }
.form-card .no-top { padding-top: 4px; }
.form-card input { border: 0; border-bottom: 2px solid var(--line); border-radius: 0; padding: 0 2px; background: transparent; }
.form-card input:focus { border-bottom-color: var(--blue); }
.word-input { font-family: var(--display); font-size: 26px !important; font-weight: 800; }
.dash { border-top: 2px dashed var(--line); margin: 0 16px; }

/* Liste */
.list { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 0; border-radius: 16px; padding: 12px 14px; min-height: 56px; }
.row.static { padding: 8px 0; background: transparent; }
.row-main { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.row-main > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Profile */
.profile-btn { display: flex; align-items: center; gap: 14px; width: 100%; background: #fff; border: 3px solid transparent; border-radius: 20px; padding: 14px; font-family: var(--display); font-weight: 800; font-size: 22px; text-align: left; }
.profile-btn.active { border-color: var(--blue); }
.profile-btn .muted { margin-left: auto; font-family: var(--body); }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--f3); display: grid; place-items: center; }

/* Navigation */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 480px; margin: 0 auto; background: #fff; border-top: 1px solid var(--line);
  padding: 8px 4px max(12px, env(safe-area-inset-bottom));
}
.nav-item { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; font-size: 12px; font-weight: 700; color: var(--muted); }
.nav-item.active { color: var(--blue); font-weight: 800; }

/* Toast */
#toast { position: fixed; left: 50%; width: max-content; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(440px, calc(100vw - 32px)); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 20; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
  body { padding-top: 24px; }
  .nav { border-radius: 20px 20px 0 0; border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Unregelmäßige Verben – Übungen */
.vpad { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.vcell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vlabel { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.vbox { min-height: 52px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; padding: 0 4px; overflow-wrap: anywhere; }
.vbox.ok { background: #DDF6EF; }
.vbox.filled { background: var(--soft); }
.vbox.ask { border: 3px solid var(--blue); background: var(--soft); color: var(--blue); font-size: 28px; }
.vbox.wait { border: 2px dashed var(--line); color: var(--line-2); }
.options.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.grid legend { grid-column: 1 / -1; }
.big-opt { text-align: center; font-family: var(--display); font-size: 24px; min-height: 64px; }
.vrow { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 10px; }
.vword { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.cloze.small-cloze { justify-content: flex-start; font-size: 28px; }
.cloze.small-cloze .cloze-box input { width: 28px; height: 40px; font-size: 26px; }
.vinput { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 10px; }
.fbrow { display: grid; grid-template-columns: 104px minmax(0, 1fr) 26px; align-items: center; gap: 8px; min-height: 40px; }
.fbrow.bad { background: #FFF4D6; border-radius: 14px; padding: 8px; margin: 0 -8px; align-items: start; }
.fbrow.bad .vlabel, .fbrow.bad svg { margin-top: 8px; }
.fbcol { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.diff.small-diff { font-size: 20px; }
.pill-btn.soft { border: 0; background: var(--soft); color: var(--blue); align-self: flex-start; }

/* Karte anlegen: Prüfung & Verb-Panel */
.input-row { display: flex; align-items: center; gap: 8px; }
.input-row input { flex: 1 1 auto; min-width: 0; }
.form-card input.warn { border-bottom-color: var(--f2); text-decoration: underline wavy #E0501F; text-underline-offset: 6px; }
.check-wrap { padding: 0 12px; }
.check-wrap:empty { display: none; }
#front-check:not(:empty) { padding-bottom: 12px; }
.check-box { background: #FFF4D6; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.check-box.warn { background: #FFE6DD; }
.sugg { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; border: 2px solid var(--blue); border-radius: 14px; background: #fff; padding: 6px 12px; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.link-btn.small { font-size: 14px; min-height: 40px; }
.verb-panel { margin: 0 0 12px; background: var(--soft); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.vp-head { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.vp-icon { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.note .vp-icon { width: 26px; height: 26px; border-radius: 8px; }
.vp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vp-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.form-card .vp-field input { min-height: 48px; border: 2px solid var(--blue); border-radius: 12px; background: #fff; padding: 0 10px; font-family: var(--display); font-weight: 800; font-size: 19px; }
.form-card .vp-field input[readonly] { border-color: var(--line); background: var(--bg); }
.mark-ok, .mark-bad { flex: none; }

/* Stimme */
.voice-box { background: var(--bg); border-radius: 16px; padding: 12px; }
.voice-box select { font-size: 16px; }
input[type="range"] { width: 100%; accent-color: var(--blue); min-height: 44px; }

/* Fachfarben für den Kartenkopf (ohne Inline-Styles, damit eine strenge CSP nichts blockiert) */
.vcard-top.bg1 { background: var(--f1); } .vcard-top.bg2 { background: var(--f2); } .vcard-top.bg3 { background: var(--f3); }
.vcard-top.bg4 { background: var(--f4); } .vcard-top.bg5 { background: var(--f5); }
.stack-cards { height: 4px; }
