:root {
  --red: #eb0000;
  --red-dark: #900;
  --violet: #b70fff;
  --violet-dark: #6a0099;
  --gradient: linear-gradient(135deg, #eb0000 0%, #b70fff 100%);
  --ink: #16161a;
  --muted: #4a4a4a;
  --subtle: #8c8c8c;
  --bg: #f9f9fb;
  --panel: #ffffff;
  --border: #e0e0e0;
  --ok: #0f8a3c;
  --ok-bg: #e6f6ec;
  --bad: #c00;
  --bad-bg: #fdecec;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(22, 22, 26, 0.10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.4;
  min-height: 100dvh;
}
.app { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; }
.topbar img { height: 28px; }
.topbar .tag { font-size: 13px; color: var(--muted); font-weight: 600; }
.card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px; margin-bottom: 14px; }
h1 { font-size: 26px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 20px; line-height: 1.2; margin: 0 0 10px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn {
  display: block; width: 100%; border: 0; border-radius: 12px; padding: 16px 18px; font: inherit; font-size: 18px; font-weight: 600;
  text-align: left; cursor: pointer; background: #fff; color: var(--ink); border: 2px solid var(--border); margin-bottom: 10px;
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--gradient); color: #fff; border-color: transparent; text-align: center; }
.btn.secondary { text-align: center; border-color: var(--violet); color: var(--violet-dark); }
.btn.ghost { text-align: center; border-color: transparent; color: var(--muted); background: transparent; font-weight: 500; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.option { font-size: 17px; padding: 15px 16px; }
.btn.option.correct { background: var(--ok-bg); border-color: var(--ok); }
.btn.option.wrong { background: var(--bad-bg); border-color: var(--bad); }
.btn.option.chosen { border-color: var(--ink); }
.cat { display: flex; gap: 14px; align-items: center; }
.cat .emoji { font-size: 36px; }
.cat .title { font-size: 19px; font-weight: 700; }
.cat .sub { font-size: 14px; color: var(--muted); font-weight: 500; }
input[type=text], input[type=email], input[type=number] {
  width: 100%; font: inherit; font-size: 18px; padding: 14px 14px; border: 2px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink);
}
input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(183, 15, 255, .25); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 10px 0; }
label.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.chip { border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; cursor: pointer; }
.chip.active { border-color: var(--violet); color: var(--violet-dark); font-weight: 600; }
.error { color: var(--bad); font-weight: 600; font-size: 15px; margin: 6px 0; min-height: 1em; }
.rules { padding-left: 18px; margin: 0 0 12px; }
.rules li { margin-bottom: 6px; }
.progress { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.timer { height: 8px; border-radius: 999px; background: #ececf1; overflow: hidden; margin-bottom: 18px; }
.timer > div { height: 100%; background: var(--gradient); width: 100%; transition: width .25s linear; }
.timer.urgent > div { background: var(--red); }
.question { font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0 0 18px; letter-spacing: -0.01em; }
.feedback { border-radius: 12px; padding: 14px 16px; margin: 6px 0 14px; font-size: 16px; }
.feedback.ok { background: var(--ok-bg); color: #0b5e2a; }
.feedback.bad { background: var(--bad-bg); color: #8a0000; }
/* Gleiche Sprache wie das Mythos-Band auf dem Bildschirm: Verdikt, Einordnung, Merksatz. */
.feedback .verdict { display: inline-block; background: #fff; border-radius: 999px; padding: 6px 14px;
  font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.feedback.ok .verdict { color: var(--ok); }
.feedback.bad .verdict { color: var(--bad); }
.feedback .fbtext { line-height: 1.4; }
.take { font-weight: 700; line-height: 1.3; margin-top: 10px; }
.take::before { content: "→ "; color: var(--violet); font-weight: 800; }
.feedback .take { color: inherit; }
.review .take { font-size: 13px; color: var(--ink); margin-top: 6px; }
.result-hero { text-align: center; padding: 10px 0 6px; }
.result-hero .big { font-size: 64px; line-height: 1; margin-bottom: 8px; }
.result-hero .score { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.result-hero .rank { font-size: 17px; color: var(--muted); margin-top: 4px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 34px; font-weight: 800; letter-spacing: .16em; text-align: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 14px; margin: 8px 0 6px; }
.sweet { background: linear-gradient(135deg, #fff3b0, #ffd6e7); border-radius: 12px; padding: 16px; text-align: center; font-size: 18px; font-weight: 700; margin: 10px 0; }
.review { list-style: none; padding: 0; margin: 0; }
.review li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.review li .q { font-weight: 600; }
.review li .a { color: var(--muted); }
.review li.ok .q::before { content: "✅ "; }
.review li.bad .q::before { content: "❌ "; }
.center { text-align: center; }
.hidden { display: none !important; }
.foot { text-align: center; font-size: 12px; color: var(--subtle); margin-top: 20px; }
.foot a { color: inherit; }
a.link { color: var(--violet-dark); font-weight: 600; }
.practice-banner { background: #fff6d6; color: #6b4d00; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; }
@keyframes pop { 0% { transform: scale(.9); opacity: 0 } 100% { transform: scale(1); opacity: 1 } }
.pop { animation: pop .18s ease-out; }
