/* Erdkunde */
.ek-loading{padding:30px;text-align:center;font-weight:700;color:var(--muted)}
.ek-story{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#fff7d6,#ffe4f1);border-radius:20px;
  padding:16px 18px;margin-bottom:14px;box-shadow:0 8px 20px rgba(31,42,68,.08)}
.ek-story-icon{font-size:2.6rem}
.ek-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.ek-step{width:44px;height:44px;padding:0;border-radius:50%;font-weight:800}
.ek-step.done{background:#dcfce7;border-color:var(--good);color:#15803d}
.ek-step.cur{outline:3px solid var(--accent);outline-offset:2px}
.ek-main{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.ek-card{flex:1 1 560px;background:#fff;border-radius:22px;padding:22px;box-shadow:0 10px 26px rgba(31,42,68,.1)}
.ek-card.solved{box-shadow:0 0 0 3px var(--good),0 10px 26px rgba(31,42,68,.1)}
.ek-notebook{flex:0 1 300px;background:#fffbea;border:2px dashed #e8c76a;border-radius:18px;padding:14px 16px}
.ek-notebook h3{margin:.1em 0 .4em}
.ek-notebook ol{padding-left:0;margin:0;list-style:none}
.ek-notebook li{margin:.45em 0;line-height:1.35}
.ek-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.ek-topic{background:#eef4ff;color:var(--accent);border-radius:999px;padding:4px 12px;font-weight:800;font-size:.85rem}
.ek-num{color:var(--muted);font-weight:700;font-size:.9rem}
.ek-q{font-size:1.3rem;font-weight:800;line-height:1.4;margin:6px 0 14px}
.ek-muted{color:var(--muted);font-size:.92rem;margin:4px 0 10px}
.ek-fig{display:flex;justify-content:center;margin:6px 0 14px}
.ek-fig svg{max-width:100%;height:auto}
.ek-fig > svg.ek-fig, .ek-fig > svg:not(.ek-map){width:min(420px,100%)}
.ek-world svg{width:100%}
.ek-de svg{width:min(330px,100%)}
.ek-gridfig svg{width:min(520px,100%)}
.ek-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.ek-options.few{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.ek-opt{text-align:left;font-size:1.05rem;padding:14px 16px;line-height:1.3}
.ek-opt.right{background:#dcfce7;border-color:var(--good);color:#15803d;opacity:1}
.ek-opt.wrong{background:#fee2e2;border-color:var(--bad);color:#b91c1c}
.ek-opt.gone{opacity:.25;text-decoration:line-through}
.ek-opt.toggle.on{background:#e4ecff;border-color:var(--accent)}
.ek-opt.toggle.on::before{content:"✔ "}
.ek-check{margin-top:12px;flex:0 0 auto;min-width:140px}
.ek-numrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ek-numin{width:200px;font-size:1.3rem;font-weight:800;text-align:center;margin:0}
.ek-numin.right{border-color:var(--good);background:#dcfce7}
.ek-unit{font-size:1.2rem;font-weight:800}
.ek-numrow .ek-check{margin-top:0}
.ek-feedback{margin-top:16px;border-radius:14px;padding:0;font-weight:600;line-height:1.45}
.ek-feedback.good{background:#dcfce7;border:2px solid var(--good);padding:12px 14px}
.ek-feedback.bad{background:#fee2e2;border:2px solid var(--bad);padding:12px 14px;color:#b91c1c}
.ek-clue{margin-top:8px;background:#fff7d6;border-radius:10px;padding:8px 10px;color:#854d0e}
.ek-next{margin-top:10px;flex:0 0 auto;min-width:160px}
.ek-tipbox{background:#fef3c7;border:2px solid var(--warn);border-radius:14px;padding:10px 12px;margin:0 0 12px;font-weight:600}
.ek-shake{animation:shake .3s}
/* Reihenfolge */
.ek-slots{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-direction:column;gap:6px;counter-reset:s}
.ek-slot{counter-increment:s;background:#f4f7ff;border:2px dashed #b9c4de;border-radius:12px;padding:10px 12px;color:var(--muted);font-weight:700}
.ek-slot::before{content:counter(s) ". ";color:var(--muted)}
.ek-slot.filled{background:#fff;border-style:solid;color:var(--ink);cursor:pointer}
.ek-slot.fixed{background:#fef3c7;border-color:var(--warn);cursor:default}
.ek-slot.right{background:#dcfce7;border-color:var(--good)}
.ek-slot.wrong{background:#fee2e2;border-color:var(--bad)}
.ek-pool{display:flex;flex-wrap:wrap;gap:8px}
.ek-chip{background:#e4ecff;border-color:#c7d6ff}
/* Zuordnen */
.ek-match{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:12px}
.ek-col{display:flex;flex-direction:column;gap:8px}
.ek-term,.ek-def{text-align:left;line-height:1.3}
.ek-term.pick{background:#e4ecff;border-color:var(--accent)}
.ek-term.right,.ek-def.right{background:#dcfce7;border-color:var(--good);opacity:.85}
.ek-def.wrong{background:#fee2e2;border-color:var(--bad)}
.ek-l{display:inline-block;min-width:26px;text-align:center;background:#1f2a44;color:#fff;border-radius:8px;margin-right:6px;font-weight:900}
.ek-word{display:flex;gap:6px;align-items:center;margin-top:14px;flex-wrap:wrap;font-weight:800}
.ek-letter{width:38px;height:44px;border-bottom:3px solid #1f2a44;display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:900}
.ek-letter.set{color:#15803d}
/* Kompass */
.ek-compass{position:relative;width:min(320px,90vw);aspect-ratio:1;margin:0 auto;border-radius:50%;
  background:radial-gradient(circle,#fff 0 40%,#eef4ff 41% 100%);border:3px solid #dbe3f5}
.ek-rose{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:4.2rem}
.ek-dir{position:absolute;width:52px;height:52px;padding:0;border-radius:50%;font-weight:900;font-size:.95rem}
.ek-dir.main{font-size:1.2rem;background:#1f2a44;color:#fff;border-color:#1f2a44}
.ek-dir.right{background:var(--good) !important;border-color:var(--good);color:#fff}
/* Karten */
.ek-map{display:block;border-radius:14px}
.ek-sea{fill:#e8f1fb}
.ek-ocean{fill:#cfe3fb;stroke:none;transition:fill .15s}
.ek-land{fill:#eadcb5;stroke:#8a7a55;stroke-width:.6;transition:fill .15s}
.ek-land.hl,.ek-ocean.hl{fill:#ef4444}
.ek-map.interactive .ek-ocean,.ek-map.interactive .ek-land{cursor:pointer}
.ek-map.interactive .ek-ocean:hover{fill:#9cc6f5}
.ek-map.interactive .ek-land:hover{fill:#f6c453}
.ek-land.right,.ek-ocean.right{fill:#22c55e !important}
.ek-land.wrong,.ek-ocean.wrong{fill:#ef4444 !important}
.ek-grat{stroke:#6b7a99;stroke-width:.6;stroke-dasharray:4 3}
.ek-grat.main{stroke:#dc2626;stroke-width:1.2;stroke-dasharray:none}
.ek-lbl{fill:#1f2a44;font-family:inherit;font-weight:600}
.ek-lbl.strong{font-weight:800}
.ek-lbl.halo{paint-order:stroke;stroke:#fff;stroke-width:3px;font-weight:800}
.ek-pt{fill:#e11d48;stroke:#fff;stroke-width:2}
.ek-pthit{fill:transparent}
.ek-ptg.clickable{cursor:pointer}
.ek-ptg.clickable:hover .ek-pt{fill:#f59e0b;r:7}
.ek-de-land{fill:#e6f2dc;stroke:#4b6b3a;stroke-width:1.5}
.ek-gsea{fill:#dbeafe}
.ek-gl{stroke:#93a7c9;stroke-width:1}
.ek-gl.main{stroke:#1f2a44;stroke-width:3}
.ek-gl.hl{stroke:#f59e0b;stroke-width:4}
.ek-gpt{fill:transparent;cursor:pointer}
.ek-grid.interactive .ek-gpt:hover{fill:rgba(79,124,255,.45)}
.ek-gpt.wrong{fill:rgba(239,68,68,.6)}
.ek-gpt.right{fill:rgba(34,197,94,.6)}
.ek-mark{font-size:26px}
@media (max-width:640px){.ek-match{grid-template-columns:1fr}.ek-q{font-size:1.12rem}}
