/* kreuzwortraetselhilfe.de – öffentliche Seiten (Wort, Kategorie, Rechtstexte, Fehlerseiten). Stand 02.10.2026, Design-Linie frage.de:
   Systemschrift, schwarzer Text, Logo-Grün #0a9070, Hover = Unterstreichung statt Farbwechsel. */
:root { --accent: #ff9933; --accent-text: #c2630a; --green: #c2630a; --green-dark: #a35208; --green-soft: rgba(255, 153, 51, .45); --grey: #6b7280; --grey-light: #9ca3af; --line: #e5e7eb; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #000; background: #fff; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 .9em; }
.hidden { display: none; }
.site-page-wrapper { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.site-page-wrapper > main { flex: 1 0 auto; }

/* Kopfzeile */
.site-header { width: 100%; background: #fff; }
.site-header-inner { max-width: 800px; margin: 0 auto; padding: 16px 20px 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-ask-button { display: inline-block; font-size: 14px; font-weight: 700; background: var(--green); color: #fff; border: 0; border-radius: 5px; padding: 8px 20px; white-space: nowrap; cursor: pointer; transition: background-color .12s; }
.menu-ask-button:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.header-link-btn { display: inline-block; font-size: 14px; font-weight: 600; line-height: 1; padding: 10px 14px; border-radius: 5px; color: #178f6d; background: #e8f6f1; white-space: nowrap; }
a.header-link-btn:hover { background: #d4efe5; text-decoration: none; color: #136e55; }
.header-link-btn.is-active { background: #f3f4f6; color: var(--grey); cursor: default; }

/* Inhalt */
.page { max-width: 800px; margin: 12px auto 50px; padding: 0 20px; width: 100%; }
.breadcrumb { font-size: 13px; color: var(--grey-light); margin: 6px 0 14px; }
.breadcrumb a { color: var(--grey); }
.breadcrumb span { margin: 0 6px; }
h1.page-title { font-size: 1.6em; font-weight: 700; margin: 0 0 4px; line-height: 1.25; }
.page-sub { color: var(--grey); font-size: 15px; margin: 0 0 18px; }
.page-sub a { color: var(--green); }
.page-sub .plain { color: var(--grey-light); }
h2 { font-size: 1.1em; font-weight: 600; margin: 0 0 8px; color: #000; }
h2.section-title { font-size: 1.25em; margin: 36px 0 8px; }

/* Wortbox */
.word-box { position: relative; border: 4px solid var(--green-soft); border-radius: 15px; padding: 18px 18px 14px; margin-bottom: 18px; }
.word-box h2 { margin-top: 0; }
.word-box h2 .count { color: var(--grey-light); font-weight: 400; font-size: .9em; }
.word-box section + section { margin-top: 18px; }
.syn-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.syn-list li { margin: 0; }
.syn-list a, .syn-list span { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 15px; line-height: 1.3; border: 1px solid #f6dcc0; background: #fff6ec; color: var(--green); }
.syn-list a:hover { text-decoration: none; background: #ffeedb; border-color: #f0c99c; }
.syn-list span { color: var(--green); } /* seit 03.10.2026: Chips ohne Seite sehen aus wie die mit Seite, nur das + unterscheidet sie */
.syn-list .syn-missing { cursor: pointer; }
.syn-list .syn-missing::after { content: " +"; color: var(--grey-light); font-weight: 600; }
.syn-list .syn-missing:hover { background: #ffeedb; border-color: #f0c99c; }
.syn-list .syn-missing.is-loading { cursor: progress; }
.syn-list .syn-missing.is-failed::after { content: ""; }
/* Klick auf +: kleiner Spinner anstelle des Plus, bis die neue Seite da ist */
.syn-list .syn-missing.is-loading::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 6px; vertical-align: -1px; border: 2px solid #f0c99c; border-top-color: var(--green); border-radius: 50%; animation: syn-spin .7s linear infinite; }
@keyframes syn-spin { to { transform: rotate(360deg); } }
.syn-list .syn-missing.is-failed { cursor: default; color: var(--grey-light); }
.word-box .meaning { color: #111; margin: 0; padding: 10px 14px; border: 1px solid #d9dde3; border-radius: 10px; background: #f8f9fa; }
.word-box .example { color: #333; font-style: italic; margin: 0; padding: 10px 14px; border: 1px solid #d9dde3; border-radius: 10px; background: #f8f9fa; }
.word-box .example b { font-weight: 600; color: #000; font-style: normal; }
/* Infoblock Rechtschreibung und Grammatik (seit 04.10.2026): Wortart, Worttrennung, Abkürzung, Sprache */
.word-facts { margin: 0; padding: 10px 14px; border: 1px solid #d9dde3; border-radius: 10px; background: #f8f9fa; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; }
.word-facts div { display: contents; }
.word-facts dt { color: var(--grey); font-weight: 600; margin: 0; }
.word-facts dd { color: #111; margin: 0; }
.word-facts dd.hyphen { letter-spacing: .06em; }
.word-facts dd.ipa { font-family: "Segoe UI", "Noto Sans", "DejaVu Sans", Arial, sans-serif; }
.word-facts dt { white-space: nowrap; }
/* Stilmarker am Chip (ugs., geh., …) und Kurzbedeutung je Lesart (seit 04.10.2026) */
.syn-list .marker { font-size: 11px; color: var(--grey-light); font-weight: 400; margin-left: 2px; font-style: italic; }
.syn-list a:hover .marker { text-decoration: none; }
.syn-group__desc { font-weight: 400; color: var(--grey-light); }
.syn-list--idioms .plain-chip { background: #f3f6f2; border-color: #d9e2d6; color: #3f5a3a; }
.word-meta { font-size: 13px; color: var(--grey-light); margin: 4px 0 0; }
.word-meta a { color: var(--green); font-weight: 600; }
.word-meta .plain { color: var(--grey); font-weight: 600; }

/* Listen (Kategorie, alle Wörter, ähnliche Wörter) */
.ask-container { margin-bottom: 22px; }
.ask-container h3 { font-size: 1.1em; font-weight: 600; margin: 0 0 2px; line-height: 1.35; }
.ask-container > a h3 { color: var(--green); }
.ask-container > a:hover { text-decoration: none; }
.ask-container > a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.ask-container .content, .ask-container .content p { margin: 0 0 1px; color: #333; font-size: 15px; line-height: 1.5; }
.ask-container .meta { font-size: 12px; color: var(--grey-light); }
.ask-container .meta a { color: var(--green); }
.pagination { text-align: center; margin: 10px 0 30px; }
.seo-page { display: inline-block; min-width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 999px; background: #efefef; color: #666; font-size: 12px; margin: 0 3px; }
.seo-page:hover { text-decoration: none; background: #e2e2e2; }
.seo-page-active { background: #dcdcdc; color: #333; font-weight: 600; }
.loading { text-align: center; padding: 10px 0; }
.empty-hint { color: var(--grey); }

/* Statische Seiten */
.static-page-content { line-height: 1.6; }
.static-page-content h2 { margin-top: 24px; }

/* Fehlerseiten */
.error-page { text-align: center; padding: 60px 0 40px; }
.error-page .code { font-size: 64px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 14px; }
.error-page p { color: #333; }

/* Fußzeile */
.site-footer { width: 100%; margin-top: auto; border-top: 1px solid var(--line); background: #fff; padding: 18px 20px 22px; text-align: center; font-size: 13px; color: var(--grey); }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 8px; }
.site-footer-inner a { color: #4b5563; }
.site-footer-inner a:hover { color: var(--green); }
.site-footer-copy { color: var(--grey-light); font-size: 12px; }

@media (max-width: 480px) {
    .menu-ask-button { font-size: 13px; padding: 8px 12px; }
    .header-link-btn { font-size: 13px; padding: 7px 10px; }
    h1.page-title { font-size: 1.4em; }
    .word-box { padding: 14px 14px 12px; }
}

.site-footer-langs { font-size: 12px; color: var(--grey-light); margin-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.site-footer-langs a { color: var(--grey); }
.site-footer-langs span { color: #000; font-weight: 600; }

/* Buchstabenregister auf /synonyme (03.10.2026) */
.letter-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.letter-bar .letter { display: inline-block; min-width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 8px; font-size: 14px; font-weight: 600; background: #f3f4f6; color: #000; padding: 0 8px; }
.letter-bar a.letter:hover { background: #ffeedb; color: var(--green); text-decoration: none; }
.letter-bar .letter.is-active { background: var(--green); color: #fff; }
.letter-bar .letter.is-empty { color: #c4c8cf; background: #f9fafb; }
.letter-bar .letter-new { color: var(--green); }

/* Bedeutungsgruppen, Gegenteile, Blättern (03.10.2026) */
.syn-group + .syn-group { margin-top: 12px; }
.syn-group__label { font-size: 13px; color: var(--grey); margin: 0 0 6px; font-weight: 600; }
.syn-list--antonyms a, .syn-list--antonyms span { background: #fbf4f4; border-color: #efd9d9; color: #9b3b3b; }
.syn-list--antonyms a:hover { background: #f6e6e6; border-color: #e2bcbc; }
.syn-list--antonyms .syn-missing { color: #9b3b3b; background: #fbf4f4; border-color: #efd9d9; }
.syn-list--antonyms .syn-missing:hover { background: #f6e6e6; border-color: #e2bcbc; }
.word-nav { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin: 6px 0 0; }
.word-nav a { color: var(--grey); }
.word-nav a:hover { color: var(--green); }

/* Abkürzung (amber) und Silbentrennung (blaugrau), 03.10.2026 */
.syn-list--abbr .plain-chip { background: #fff7e6; border-color: #f1dfb5; color: #8a5a00; }
.syn-list--hyphen .plain-chip { background: #eef2f7; border-color: #d6dde8; color: #3b4a63; letter-spacing: .04em; }
.syn-list .plain-chip { cursor: default; }

/* Reime (violett), 03.10.2026 */
.syn-list--rhymes a, .syn-list--rhymes span { background: #f5f1fb; border-color: #e1d7f0; color: #5b3e8f; }
.syn-list--rhymes a:hover, .syn-list--rhymes .syn-missing:hover { background: #ece4f7; border-color: #cdbde6; }
.syn-list--rhymes .syn-missing.is-loading::after { border-color: #e1d7f0; border-top-color: #5b3e8f; }

/* Verwandte Begriffe (blaugrau) und Silbentrennung in der Kopfzeile, 03.10.2026 */
.syn-list--related a, .syn-list--related span { background: #eef2f7; border-color: #d6dde8; color: #3b4a63; }
.syn-list--related a:hover, .syn-list--related .syn-missing:hover { background: #e3e9f2; border-color: #c3cddc; }
.syn-list--related .syn-missing.is-loading::after { border-color: #d6dde8; border-top-color: #3b4a63; }
.page-sub .hyphen { color: var(--grey); letter-spacing: .06em; }



/* ===== Kreuzworträtsel-spezifisch (04.10.2026) ===== */
.brand { font-weight: 700; font-size: 20px; color: #000; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-ask-button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; display: inline-block; }
.menu-ask-button:hover { background: #f08a1a; color: #fff; text-decoration: none; }
.menu-ask-button:disabled { opacity: .5; cursor: default; }
.admin-note { background: #fff3cd; color: #7a5a00; border: 1px solid #ffe08a; border-radius: 8px; padding: 8px 14px; font-size: 14px; margin-bottom: 12px; }
.page-sub a { color: var(--accent-text); }
.page-no { font-weight: 400; color: var(--grey); }

/* Lösung */
.solution { padding: 12px 0; }
.solution + .solution { border-top: 1px solid var(--line); }
.solution-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.solution-word { font-size: 1.35em; letter-spacing: .04em; color: #000; }
.solution-len { color: var(--grey-light); font-size: 13px; }
.cells { display: inline-flex; gap: 3px; }
.cell { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #d9dde3; border-radius: 4px; background: #fff; font-weight: 700; font-size: 14px; color: #000; }
.solution.is-first .cell { border-color: var(--accent); background: #fff6ec; }
.solution-desc { margin: 8px 0 0; color: #222; line-height: 1.55; }
.facts h2 { margin-bottom: 8px; }
.word-box { border: 4px solid var(--green-soft); }
.cta { margin: 22px 0 0; text-align: center; }
.ask-container .content .lbl { color: var(--grey); }
.ask-container .content .sol { display: inline-block; font-weight: 700; letter-spacing: .03em; margin-right: 8px; color: #000; }
.ask-container .meta a { color: var(--accent-text); }
.letter-bar .letter-label { color: var(--grey-light); font-size: 12px; padding-left: 6px; align-self: center; }

/* Startseite */
body.home { background: #fff; }
.home-page { max-width: 760px; margin: 0 auto; padding-top: 28px; }
.home-title { text-align: center; font-size: 2.2em; margin: 10px 0 6px; letter-spacing: -.01em; }
.home-title a { color: #000; text-decoration: none; }
.home-title span { color: var(--accent); }
.home-claim { text-align: center; color: var(--grey); margin: 0 auto 22px; max-width: 560px; font-size: 16px; }
.clue-form { border: 1px solid #d9dde3; border-radius: 16px; box-shadow: 0 2px 10px rgba(32, 33, 36, .12); padding: 12px 14px 14px; background: #fff; }
.clue-input-wrap { position: relative; }
.clue-input { width: 100%; box-sizing: border-box; border: 0; outline: 0; font-size: 18px; padding: 10px 36px 10px 6px; background: transparent; }
.clear-btn { position: absolute; right: 2px; top: 6px; border: 0; background: transparent; font-size: 22px; color: var(--grey-light); cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid #d9dde3; border-radius: 10px; box-shadow: 0 6px 18px rgba(32, 33, 36, .18); z-index: 20; max-height: 320px; overflow: auto; text-align: left; }
.suggest li a { display: block; padding: 8px 14px; color: #222; }
.suggest li a:hover, .suggest li.is-active a { background: #fff6ec; text-decoration: none; }
.suggest b { color: var(--accent-text); }
.clue-options { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.opt { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--grey); text-align: left; }
.opt small { color: var(--grey-light); }
.opt select { font-size: 16px; padding: 6px 8px; border: 1px solid #d9dde3; border-radius: 8px; background: #fff; min-width: 64px; }
.opt-cells { flex: 1 1 260px; }
.known-letters { display: flex; flex-wrap: wrap; gap: 4px; min-height: 34px; align-items: center; }
.known-letters .placeholder-text { color: var(--grey-light); font-size: 13px; }
.letter-input { width: 32px; height: 34px; border: 1px solid #c9ced6; border-radius: 6px; text-align: center; font-size: 17px; font-weight: 700; text-transform: uppercase; color: #000; }
.letter-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.send-btn { margin-left: auto; }
.result { margin-top: 18px; text-align: left; }
.result .loading { color: var(--grey); padding: 10px 0; }
.answer-text { border: 4px solid var(--green-soft); border-radius: 15px; padding: 14px 18px; }
.answer-text:empty { display: none; }
.answer-text p { margin: 0 0 8px; }
.answer-text .note { color: var(--grey); font-size: 14px; }
.home-result-title { font-size: 1.1em; margin: 0 0 6px; }
.home-result-link { margin: 12px 0 0; font-size: 14px; }
.home-result-link a { color: var(--accent-text); font-weight: 600; }
.home-text { text-align: left; color: #222; font-size: 16px; line-height: 1.6; margin-top: 34px; }
.home-text h2 { font-size: 1.15em; font-weight: 600; margin: 28px 0 8px; color: #000; }
.home-text p { margin: 0 0 12px; }
.home-text i { font-style: italic; }
.home-list { margin: 0; padding-left: 20px; }
.home-list li { margin: 0 0 8px; }
.home-examples a { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 15px; line-height: 1.3; border: 1px solid #f6dcc0; background: #fff6ec; color: var(--accent-text); }
.home-examples a:hover { background: #ffeedb; border-color: #f0c99c; text-decoration: none; }
.home-latest .ask-container { padding: 10px 0; }
.home-more { margin-top: 14px; font-size: 15px; }
.home-more a { color: var(--accent-text); font-weight: 600; }
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal-box { background: #fff; border-radius: 12px; max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; padding: 22px 24px; position: relative; text-align: left; }
.modal-close { position: absolute; right: 10px; top: 6px; border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--grey); }
@media (max-width: 600px) { .home-title { font-size: 1.7em; } .solution-word { font-size: 1.15em; } .cell { width: 22px; height: 22px; font-size: 12px; } .send-btn { width: 100%; margin-left: 0; } }

/* Support-Formular im Modal (Bootstrap-Klassen ohne Bootstrap) */
.modal-box .form-control { display: block; width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #c9ced6; border-radius: 8px; font-size: 15px; margin-top: 4px; }
.modal-box .form-label { font-size: 14px; color: var(--grey); }
.modal-box .mt-2 { margin-top: 10px; }
.modal-box .btn { border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; background: var(--accent); color: #fff; }
.modal-box .alert { padding: 8px 12px; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.modal-box .alert-success { background: #e8f6f1; color: #0a6b50; }
.modal-box .alert-danger { background: #fbe9e7; color: #9b2c2c; }

/* hidden-Attribut muss gegen eigene display-Regeln gewinnen */
[hidden] { display: none !important; }

/* Schritte auf der Startseite */
.home-steps { margin: 0 0 12px; padding: 0; list-style: none; counter-reset: step; }
.home-steps li { position: relative; padding-left: 44px; margin: 0 0 12px; counter-increment: step; }
.home-steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* ===== Üben: Lernkarten, Multiple Choice, Lückenwort (04.10.2026) ===== */
.train-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 8px; }
.train-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border: 1px solid #f6dcc0; border-radius: 14px; background: #fff6ec; color: #222; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.train-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 153, 51, .25); color: #222; }
.train-tile .ico { font-size: 26px; line-height: 1; }
.train-tile b { font-size: 16px; color: #000; }
.train-tile span:last-child { font-size: 14px; color: var(--grey); line-height: 1.45; }
.train-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 12px 0 0; padding: 14px 16px; border: 1px solid #d9dde3; border-radius: 14px; background: #fff; }
.train-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--grey); }
.train-form select { font-size: 15px; padding: 7px 9px; border: 1px solid #d9dde3; border-radius: 8px; background: #fff; min-width: 120px; }
.train-form .train-modes { display: flex; gap: 6px; }
.mode-btn { border: 1px solid #d9dde3; background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 14px; cursor: pointer; color: #222; display: inline-flex; align-items: center; gap: 6px; }
.mode-btn .ico { font-size: 14px; }
.mode-btn.is-active { border-color: var(--accent); background: #fff6ec; color: var(--accent-text); font-weight: 600; }
.train-form .menu-ask-button { margin-left: auto; }
.trainer { margin: 16px 0 26px; }
.trainer-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.trainer-opts { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 14px 16px; border: 1px solid #d9dde3; border-radius: 14px; background: #fff; }
.trainer-opts label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--grey); }
.trainer-opts select { font-size: 15px; padding: 7px 9px; border: 1px solid #d9dde3; border-radius: 8px; background: #fff; min-width: 110px; }
.trainer-opts .menu-ask-button { margin-left: auto; }
.trainer-hint { color: var(--grey); font-size: 14px; margin: 10px 0 0; }
.trainer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--grey); margin-bottom: 6px; }
.trainer-score { font-weight: 600; color: #222; }
.trainer-actions { margin-left: auto; display: flex; gap: 12px; }
.link-btn { border: 0; background: transparent; color: var(--accent-text); cursor: pointer; font-size: 14px; padding: 0; }
.link-btn:hover { text-decoration: underline; }
.trainer-progress { height: 6px; background: #eef0f3; border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.trainer-progress div { height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.card-stage { perspective: 1200px; }
.flipcard { position: relative; display: grid; cursor: pointer; transition: transform .45s; transform-style: preserve-3d; min-height: 220px; outline: none; }
.flipcard.static { cursor: default; }
.flipcard .face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 28px 22px; border: 4px solid var(--green-soft); border-radius: 16px; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipcard .back { transform: rotateY(180deg); background: #fff6ec; }
.flipcard.is-flipped { transform: rotateY(180deg); }
.card-thema { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-light); }
.card-q { font-size: 1.35em; font-weight: 600; color: #000; line-height: 1.35; }
.card-n { font-size: 14px; color: var(--grey); }
.card-a { font-size: 1.9em; font-weight: 700; letter-spacing: .08em; color: #000; }
.card-tap { font-size: 13px; color: var(--grey-light); margin-top: 6px; }
.card-link { font-size: 14px; color: var(--accent-text); font-weight: 600; }
.cells.big { gap: 4px; flex-wrap: wrap; justify-content: center; }
.cells.big .cell { width: 34px; height: 34px; font-size: 18px; }
.cells.big .cell.gap { background: #fff6ec; border-style: dashed; }
.trainer-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 14px 0 6px; min-height: 42px; }
.ctl { border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; cursor: pointer; background: var(--accent); color: #fff; }
.ctl.ghost { background: #fff; color: var(--accent-text); border: 1px solid #f0c99c; }
.ctl.good { background: #0a9070; }
.ctl.bad { background: #c0392b; }
.verdict { font-weight: 600; }
.verdict.good { color: #0a9070; }
.verdict.bad { color: #c0392b; }
.mc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mc-opt { position: relative; border: 2px solid #d9dde3; border-radius: 12px; background: #fff; padding: 14px 14px 14px 44px; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-align: left; cursor: pointer; color: #000; }
.mc-opt .key { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #eef0f3; color: var(--grey); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
.mc-opt:hover:not(:disabled) { border-color: var(--accent); background: #fff6ec; }
.mc-opt.is-right { border-color: #0a9070; background: #e8f6f1; }
.mc-opt.is-wrong { border-color: #c0392b; background: #fbe9e7; }
.gap-form { display: flex; gap: 8px; margin-top: 8px; width: 100%; max-width: 360px; }
.gap-input { flex: 1; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px; border: 2px solid #d9dde3; border-radius: 10px; min-width: 0; }
.gap-input.is-right { border-color: #0a9070; background: #e8f6f1; }
.gap-input.is-wrong { border-color: #c0392b; background: #fbe9e7; }
.trainer-export { font-size: 13px; color: var(--grey-light); text-align: center; margin: 10px 0 0; }
.trainer-export a { color: var(--accent-text); }
.trainer-keys { display: inline-block; margin-left: 6px; }
.trainer-result { border: 4px solid var(--green-soft); border-radius: 16px; padding: 18px 20px; }
.trainer-result h2 { margin: 0 0 6px; }
.res-score { font-size: 1.2em; font-weight: 600; margin: 0 0 10px; }
.trainer-preview { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; line-height: 1.6; }
.trainer-preview a { color: #222; }
.trainer-preview a:hover { color: var(--accent-text); }
.home-train { margin-top: 28px; }
@media (max-width: 640px) { .train-tiles { grid-template-columns: 1fr; } .mc-options { grid-template-columns: 1fr; } .trainer-preview { columns: 1; } .trainer-keys { display: none; } .trainer-opts .menu-ask-button, .train-form .menu-ask-button { width: 100%; margin-left: 0; } .card-q { font-size: 1.15em; } .cells.big .cell { width: 26px; height: 26px; font-size: 14px; } }

.share-msg { margin-left: 6px; color: #0a9070; font-weight: 600; }

/* ===== Spielen (04.10.2026) ===== */
.page-wide { max-width: 1080px; }
.menu-ask-button.is-light { background: #fff; color: var(--accent-text); border: 1px solid #f0c99c; }
.menu-ask-button.is-light:hover { background: #fff6ec; }
.game-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; border: 1px solid #f6dcc0; border-radius: 14px; background: #fff6ec; padding: 16px 18px; margin: 14px 0; }
.game-card-head { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 420px; }
.game-card-head .ico { font-size: 30px; line-height: 1; }
.game-card h2 { margin: 0 0 4px; font-size: 1.15em; }
.game-card p { margin: 0; color: #333; font-size: 15px; }
.game-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.size-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.size-tabs .letter { padding: 6px 12px; }
.xw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--grey); margin: 6px 0 10px; }
.xw-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #000; font-size: 16px; }
.xw-status { color: var(--accent-text); }
.xw-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.xw-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 20px; align-items: start; }
.xw-gridwrap { position: relative; }
.xw-grid { display: grid; gap: 2px; background: #999; border: 2px solid #999; border-radius: 4px; max-width: 640px; aspect-ratio: 1 / 1; user-select: none; }
.xc { position: relative; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: clamp(11px, 2.2vw, 20px); color: #000; cursor: pointer; aspect-ratio: 1 / 1; }
.xc.black { background: #222; cursor: default; }
.xc .nr { position: absolute; left: 2px; top: 1px; font-size: clamp(7px, 1vw, 10px); font-weight: 400; color: #555; line-height: 1; }
.xc.in { background: #fff1de; }
.xc.sel { background: #ffd9a8; outline: 2px solid var(--accent); outline-offset: -2px; z-index: 1; }
.xc.wrong .ch { color: #c0392b; text-decoration: line-through; }
.xc.right .ch { color: #0a6b50; }
.xw-input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; pointer-events: none; }
.xw-current { margin-top: 10px; font-size: 15px; color: #222; min-height: 24px; }
.xw-current .len { color: var(--grey-light); }
.xw-clues h2 { font-size: 1em; margin: 0 0 6px; }
.xw-cluecol + .xw-cluecol { margin-top: 14px; }
.xw-cluelist { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.45; max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.xw-cluelist li { padding: 5px 10px; cursor: pointer; border-bottom: 1px solid #f1f3f5; }
.xw-cluelist li:last-child { border-bottom: 0; }
.xw-cluelist li b { display: inline-block; min-width: 24px; color: var(--accent-text); }
.xw-cluelist li .len { color: var(--grey-light); }
.xw-cluelist li.is-active { background: #fff6ec; }
.xw-cluelist li:hover { background: #fff1de; }
@media (max-width: 900px) { .xw-layout { grid-template-columns: 1fr; } .xw-cluelist { max-height: 180px; } .xw-grid { max-width: 100%; } .xw-actions { margin-left: 0; } }
/* Wort des Tages */
.wortle { max-width: 520px; margin: 0 auto; text-align: center; }
.wl-board { display: flex; flex-direction: column; gap: 6px; align-items: center; margin: 10px 0 12px; }
.wl-row { display: flex; gap: 6px; }
.wl-cell { width: 56px; height: 56px; border: 2px solid #d9dde3; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #000; background: #fff; }
.wl-cell.filled { border-color: #9ca3af; }
.wl-cell.ok { background: #0a9070; border-color: #0a9070; color: #fff; }
.wl-cell.near { background: #e0a526; border-color: #e0a526; color: #fff; }
.wl-cell.no { background: #9ca3af; border-color: #9ca3af; color: #fff; }
.wl-hint { background: #fff6ec; border: 1px solid #f6dcc0; border-radius: 10px; padding: 8px 12px; font-size: 15px; margin: 0 0 10px; }
.wl-msg { min-height: 20px; color: var(--accent-text); font-size: 14px; margin-bottom: 8px; }
.wl-keys { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-bottom: 14px; }
.wl-krow { display: flex; gap: 5px; }
.wl-key { min-width: 36px; height: 48px; padding: 0 8px; border: 0; border-radius: 6px; background: #e5e7eb; font-weight: 700; font-size: 15px; cursor: pointer; color: #111; }
.wl-key.wide { min-width: 60px; font-size: 13px; }
.wl-key.ok { background: #0a9070; color: #fff; }
.wl-key.near { background: #e0a526; color: #fff; }
.wl-key.no { background: #9ca3af; color: #fff; }
@media (max-width: 480px) { .wl-cell { width: 46px; height: 46px; font-size: 22px; } .wl-key { min-width: 30px; height: 44px; padding: 0 6px; font-size: 14px; } }
