@font-face{font-family:Lesedruckschrift;src:url('lesedruckschrift.woff');font-display:swap}
*{box-sizing:border-box}body{margin:0}a{color:inherit}.wrap{width:min(1060px,calc(100% - 36px));margin:auto}header{display:flex;justify-content:space-between}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{color:#84702e;font-size:14px;font-weight:700;margin:8px 0}.page-heading h1{font-size:clamp(30px,4vw,42px);margin:0 0 10px}.intro{color:#536c61;margin:0 0 20px;line-height:1.5}
button{font:inherit;color:#234e45;background:#fffdf8;border:1px solid #c9d6c7;padding:11px 18px;cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,input:focus-visible{outline:3px solid #b57613;outline-offset:4px}[hidden]{display:none!important}
.exercise-settings summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#settingsSummary{font-size:13px;font-weight:400;color:#61736c}form{padding:20px}fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}legend{font-weight:650;margin-bottom:12px}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px}.preset-buttons button{font-size:13px;padding:8px 12px}.letter-choices{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.letter-option{display:flex;align-items:center;justify-content:center;gap:7px;background:#f5f3e9;padding:9px 5px;border:1px solid #d3dfd1;border-radius:10px;cursor:pointer;font:24px/1.3 Lesedruckschrift,system-ui,sans-serif;white-space:nowrap}.letter-option:has(input:checked){background:#f8edc8;border-color:#bca45d}.letter-option input{width:18px;height:18px;margin:0}.difficulty{display:flex;gap:18px;flex-wrap:wrap}.difficulty label{display:flex;align-items:center;gap:8px;min-height:44px}.difficulty input{width:22px;height:22px;accent-color:#234e45}.settings-error{color:#80512a;min-height:1.5em;line-height:1.5;margin:0 0 12px}.settings-note{font-size:13px;color:#61736c;line-height:1.5;margin-bottom:0}
.detective-game{padding:22px;background:#fffdf8;border:1px solid #d3dfd1;border-radius:26px;margin-top:18px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-top p{font-size:14px;margin:0;color:#536c61}.stars{display:flex;gap:7px;font-size:28px;line-height:1.2;color:#e1dfcf}.stars .earned{color:#b58110}.listen-area{display:flex;justify-content:center;align-items:center;gap:20px;margin:14px 0 0}.helper-star{width:100px;height:100px;object-fit:contain}.listen-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.listen-button{font-size:22px;font-weight:650}.listen-button span{font-size:28px;vertical-align:middle;margin-right:6px}.hint-button{font-size:14px;background:#fff5df}.audio-status{text-align:center;font-size:14px;color:#61736c;min-height:2.8em;line-height:1.4;margin:6px 0;display:grid;align-items:center}.hint-text{text-align:center;background:#fff5df;border-radius:12px;padding:10px;font:24px/1.4 Lesedruckschrift,system-ui,sans-serif;margin:0 0 14px}
.picture-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:740px;margin:0 auto}.picture-choices.four{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.exercise-page .picture-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9ef;border:2px solid #d3dfd1;padding:14px;border-radius:20px;min-width:0;min-height:205px;opacity:1;transition:background-color .15s,border-color .15s}.picture-choice img{display:block;width:100%;height:175px;object-fit:contain;pointer-events:none}.picture-choices.four img{height:145px}.picture-choice:disabled{cursor:default}.picture-choice.waiting img{opacity:.72}.picture-choice:not(:disabled):hover{background:#fff2d1;border-color:#bca45d}.picture-choice.retry{opacity:.42;border-style:dashed}.picture-choice.correct{background:#e4f1e7;border-color:#337a58}.answer-name{min-height:1.4em;font:23px/1.4 Lesedruckschrift,system-ui,sans-serif;margin-top:6px}.answer-check{position:absolute;top:7px;right:12px;font-size:26px;color:#337a58}.feedback{display:grid;align-items:center;min-height:3.3em;line-height:1.5;text-align:center;margin:12px 0;font-size:19px;font-weight:600}.next-row{text-align:center}.next-row button{min-width:230px}.finished{grid-column:1/-1;text-align:center;padding:25px 10px}.finished img{width:130px;height:130px;object-fit:contain;margin:auto}.finished h2{font-size:28px;margin:10px 0}.finished p{line-height:1.5;color:#536c61}footer{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:25px 0;font-size:13px;color:#61736c}
body.focus .eyebrow,body.focus .intro,body.focus footer{display:none}body.focus .wrap{width:min(1400px,calc(100% - 28px))}body.focus .page-heading{padding:15px 0}body.focus h1{font-size:28px;margin:0}body.focus .detective-game{margin-top:0}body.focus .picture-choice img{height:clamp(160px,25vh,265px)}
@media(max-width:800px){.letter-choices{grid-template-columns:repeat(6,minmax(0,1fr))}.picture-choices.four{grid-template-columns:repeat(2,minmax(0,1fr))}.picture-choices.four img{height:150px}.picture-choices.four .picture-choice{min-height:175px}}
@media(max-width:620px){.wrap{width:calc(100% - 28px)}.page-heading{flex-wrap:wrap;gap:10px;margin-bottom:15px}.intro{margin:0}.eyebrow{font-size:12px}.detective-game{padding:15px;border-radius:20px}.game-top p{font-size:12px}.stars{font-size:23px;gap:4px}.listen-area{gap:10px;margin-top:8px}.helper-star{width:67px;height:82px}.listen-actions{gap:7px;flex-direction:column;align-items:stretch}.listen-button{font-size:18px;padding:8px 14px}.hint-button{font-size:12px;padding:6px 10px}.picture-choices{gap:10px}.exercise-page .picture-choice{min-height:150px;padding:8px}.picture-choice img,.picture-choices.four img,body.focus .picture-choice img{height:120px}.picture-choices.four .picture-choice{min-height:145px}.feedback{font-size:17px;min-height:4.5em}.answer-name{font-size:18px}.letter-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-option{font-size:25px}form{padding:15px}.preset-buttons{gap:6px}.preset-buttons button{font-size:12px;padding:7px 9px}.hint-text{font-size:21px}.finished h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.picture-choice{transition:none}}
