.age-control{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap}.age-control select{padding:8px 12px;border:1px solid #b9c9ad;border-radius:14px;background:#fffdf7;color:#24473d;max-width:160px;font-size:13px}.entry-age{display:block;font-size:11px;color:#3d6152;margin:6px 0}.level-explanation{font-size:12px;background:#eef3e6;padding:12px 15px;border-radius:12px}.text-button{background:none;border:0;text-decoration:underline;padding:0 5px;min-height:30px;font-size:inherit}.learning-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;font-size:12px}.learning-meta span{padding:6px 12px;border-radius:20px;background:#e7efdf}.learn-scene{width:100%;max-height:260px;object-fit:contain;border-radius:16px;background:#f3f3e8;display:block;margin:0 auto 22px}.reading-text{font-size:clamp(20px,2.3vw,27px);line-height:1.8;max-width:630px;margin:24px auto;letter-spacing:.015em}.reading-text p{line-height:1.8;margin:0 0 14px}.learn-note{font-size:12px!important;color:#607363;line-height:1.6!important}.learn-options,.round-heading{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:16px 0}.learn-options button{font-size:13px}.learn-options button[aria-pressed=true]{border:2px solid #477745;background:#e5efdc}.round-heading{justify-content:space-between}.round-heading>span{font-size:13px;color:#607363}.round-heading button{font-size:13px}.voice-button{background:#eaf1e1}.math-location{display:flex;align-items:center;gap:15px;margin-bottom:20px}.math-location .learn-scene{width:120px;height:70px;object-fit:cover;margin:0}.math-location p{font-size:13px}#math-level{display:block;width:100%;max-width:440px;border:1px solid #adc4a9;padding:12px;border-radius:12px;background:#fffef7;margin:8px 0 12px;color:#23483e}#math-stage{margin-top:24px}.equation{font:500 clamp(27px,4vw,44px) Fredoka,system-ui;text-align:center;margin:18px 0 24px;color:#305f82;font-variant-numeric:tabular-nums}.quantity-board{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:24px 0}.ten-frame{display:grid;grid-template-columns:repeat(5,48px);grid-template-rows:repeat(2,48px);gap:3px;border:2px solid #b4c9b3;border-radius:12px;padding:7px;background:#f8fbf1}.quantity{position:relative;border:1px solid #cfddc7;padding:0;min-height:0;width:48px;height:48px;border-radius:6px;background:#e8f2e0;font-size:27px}.quantity.empty{background:#fafbf5}.quantity small{display:none;position:absolute;bottom:0;right:3px;font:11px Nunito;background:#fff;border-radius:3px;padding:0 2px}.quantity.counted{outline:3px solid #3e7245;outline-offset:-3px}.quantity.counted small{display:block}.quantity.added{background:#e0eef9}.quantity.to-remove{background:#fff4e1;border:2px dashed #a66c32}.quantity.to-remove b{position:absolute;top:-5px;right:2px;color:#904614;font-size:20px}.quantity.removed{opacity:.5;background:#edece4}.quantity.removed span{text-decoration:line-through;filter:grayscale(1)}.quantity.removed:after{content:'';position:absolute;left:5px;right:5px;top:22px;height:3px;background:#934f30;transform:rotate(-35deg)}.number-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px auto;max-width:500px}.number-choices button{font:30px Fredoka;background:#f5f8ee;min-height:75px;border:2px solid #baccaf}.choice-dots{display:block;font-size:10px;letter-spacing:2px;overflow-wrap:anywhere;margin-top:5px}.correct-choice{background:#d8ebc8!important;border-color:#4b843b!important}.correct-feedback{color:#3d6a2e;background:#edf6e5;padding:14px;border-radius:12px}.retry-feedback{color:#795421;padding:14px;background:#fff5dd;border-radius:12px}#learn-math-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:center;margin:24px 0}#learn-answer{width:190px;padding:12px;border:2px solid #adc4a9;border-radius:12px;font-size:24px}#learn-writing{display:block;width:100%;border:1px solid #b9cbb4;border-radius:14px;background:#fffef9;margin:12px 0;padding:16px;line-height:1.8;min-height:150px}.written-board{border:2px solid #c9d9c6;background:#f8fbf2;border-radius:18px;padding:24px}.written-board>span{font-size:12px}.written-board h3{text-align:center}.written-board .equation{font-size:clamp(22px,3vw,36px)}.puzzle-layout{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:start;margin:24px 0}.puzzle-model{width:100%;border-radius:12px}#puzzle-board{display:grid;gap:3px;border:3px solid #d1ddc6;background:#fff;border-radius:10px;padding:3px;overflow:hidden}#puzzle-board.complete{border-color:#5a944c;gap:0}.puzzle-tile{border:0;border-radius:3px;min-height:36px;padding:0;position:relative;background-repeat:no-repeat;background-color:#edf0e5}.puzzle-tile span{position:absolute;bottom:3px;right:3px;background:#ffffffe8;border-radius:4px;padding:1px 5px;font-size:10px}.puzzle-tile.chosen{outline:4px solid #9d55ba;outline-offset:-4px;z-index:1}.puzzle-tile:hover{filter:brightness(1.05)}.mission-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;align-items:center}.mission-intro .learn-scene{max-height:300px;margin:0}.mission-intro p{font-size:15px}.mission-guide{width:50px;height:60px;object-fit:contain;float:right;margin-left:12px}.target-cards{display:flex;justify-content:center;gap:16px;padding:22px;background:#edf4e4;border-radius:18px;margin:18px 0}.target-card{font-size:38px;width:76px;height:76px;display:flex;align-items:center;justify-content:center;background:#fffef8;border:3px solid transparent;border-radius:14px;position:relative}.target-card.current{border-color:#a060b0}.target-card.done{border-color:#4d8444;background:#e0efce}.target-card.done:after{content:'✓';position:absolute;right:0;bottom:0;font-size:18px;background:#fff;border-radius:50%;color:#356426}.mission-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.mission-choices button{font-size:42px;min-height:85px;background:#fffdf6;border:2px solid #c4d2b9}.collected-cards{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.collected-cards span{font-size:27px;border-radius:10px;background:#eef4e4;padding:8px}#draw-pad{display:block;width:100%;height:auto;touch-action:none;background:#fffef9;border:2px solid #bdceaf;border-radius:16px;margin-top:18px;cursor:crosshair}
@media(min-width:800px){.site-head nav{gap:16px}.site-head{gap:18px}.brand{font-size:25px}.room:not(.selected){max-width:min(1200px,calc((100svh - 310px)*1.77778))}}
@media(max-width:799px){.site-head{flex-wrap:wrap}.age-control{margin-left:auto;order:1}.site-head nav{order:2;width:100%}.puzzle-layout{grid-template-columns:1fr}.puzzle-model{max-width:200px;margin:auto}.mission-intro{grid-template-columns:1fr}.mission-intro .learn-scene{max-height:210px}.learning-meta{gap:6px}.learning-meta span{font-size:10px}.math-location .learn-scene{width:100px}.number-choices{gap:7px}.number-choices button{font-size:27px;padding:8px}.ten-frame{grid-template-columns:repeat(5,42px);grid-template-rows:repeat(2,42px);gap:3px}.quantity{width:42px;height:42px;font-size:25px}.mission-choices{gap:7px}.mission-choices button{font-size:30px;padding:5px;min-height:65px}.target-card{width:60px;height:60px;font-size:32px}.target-cards{gap:8px;padding:15px}.written-board{padding:14px}.reading-text{font-size:22px}.learn-options button{font-size:12px;padding:9px}.age-control{font-size:10px;gap:5px}.age-control select{font-size:12px;max-width:130px}.brand{font-size:22px}.brand small{font-size:9px}.brand img{width:30px;height:36px}}
@media(max-width:380px){.age-control{width:100%;justify-content:center;margin:0}.activity{padding:20px 12px}.number-choices button{font-size:24px}.ten-frame{grid-template-columns:repeat(5,38px);grid-template-rows:repeat(2,38px)}.quantity{width:38px;height:38px;font-size:23px}.reading-text{font-size:21px}}
@media print{.age-control,.learn-options,.voice-button,[data-learn="stop"],[data-learn="save-drawing"],#learn-status{display:none!important}.learn-scene{max-height:180px}.learning-meta span{background:none}#draw-pad{max-width:700px}.reading-text{font-size:16pt}}
.math-lesson{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;align-items:start}.math-controls{padding:16px;background:#f1f5e9;border-radius:14px}.math-controls .math-location{display:block}.math-controls .math-location img{width:100%;height:auto;max-height:110px;object-fit:contain}.math-controls .math-location p{font-size:12px}.math-controls label{font-size:13px}.math-controls select{font-size:12px}.math-lesson #math-stage{margin-top:0}.activity:has(.math-lesson){max-width:1100px;padding:24px}.domino-chain{display:flex;gap:4px;align-items:center;overflow-x:auto;background:#eef4e5;padding:16px;border-radius:14px}.domino-piece{display:flex;align-items:center;justify-content:center;border:2px solid #b9cba9;border-radius:12px;min-width:116px;padding:9px;background:#fffef8;gap:8px}.domino-piece span{font-size:30px}.domino-piece i{display:block;width:1px;height:40px;background:#b9cba9}.domino-bank{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.domino-target{font-size:34px}.activity:has(#domino-stage)>.learn-scene{max-height:160px}.activity:has(.math-lesson)>h2{font-size:27px}.activity:has(.math-lesson) .learning-meta{margin-bottom:16px}
@media(max-width:799px){.math-lesson{grid-template-columns:1fr;gap:12px}.math-controls{padding:10px}.math-controls .math-location{display:none}.math-controls .learn-note{margin:4px 0}.math-controls select{margin-bottom:5px;max-width:none}.activity:has(.math-lesson){padding:16px}.domino-bank{grid-template-columns:repeat(2,1fr);gap:8px}.domino-piece{min-width:100px;padding:6px}.domino-piece span{font-size:28px}.math-lesson .round-heading{margin-top:5px}.math-lesson .equation{margin-top:12px}}

@media(max-width:799px){.activity:has(.reading-text)>.learn-scene{max-height:175px}.activity:has(.reading-text)>h2{font-size:27px}}

.puzzle-tile{touch-action:none;position:relative}.puzzle-tile.fixed{opacity:1;border-color:transparent;cursor:default}.target-card,.mission-choices button,.collected-cards>span{min-width:105px;min-height:105px;font-size:58px}.domino-piece>span{display:flex;width:86px;height:86px;align-items:center;justify-content:center}.domino-target{display:inline-block;width:80px;height:70px}.quantity .motif{width:42px;height:42px}#math-groups,#math-levels{display:flex;flex-wrap:wrap;gap:8px}.math-intro{font-size:22px}.puzzle-tile:disabled{filter:none}.puzzle-tile.fixed span{display:none}

.math-intro{font-size:20px}.equation:has(+p){font-size:clamp(22px,3vw,32px);line-height:1.5}.domino-chain,.domino-bank{max-width:100%;overflow-x:auto}.puzzle-tile:focus-visible{outline:3px solid #e29a26;outline-offset:-4px}.puzzle-tile.fixed{pointer-events:none}#math-groups button[aria-pressed="true"]{background:#d5e9e4;border-color:#246e69}@media(max-width:600px){.math-lesson,.puzzle-layout{display:block}.math-location{display:none}.math-controls{margin-bottom:18px}.puzzle-model{width:150px;max-height:100px;object-fit:contain}.mission-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.target-card,.mission-choices button{min-width:0}.domino-piece>span{width:62px;height:62px}.number-choices{display:grid;grid-template-columns:repeat(2,1fr)}.ten-frame{grid-template-columns:repeat(5,minmax(0,1fr))}.quantity{min-width:0}}

/* Paket A: Alter und Empfehlung unmittelbar nebeneinander. */
.age-controls{display:flex;align-items:flex-start;gap:8px;flex-wrap:nowrap;margin:14px 0}.age-controls .age-filters{flex:0 1 auto;min-width:0;display:flex;flex-wrap:wrap;gap:8px;margin:0}.age-controls>button{flex:none;font-size:12px}.level-explanation[hidden]{display:none}

/* Paket B: isolated objects from a six-cell atlas. */
.motif.motif-sprite{display:inline-block;width:86px;height:auto;aspect-ratio:1;max-width:100%;vertical-align:middle;background-size:300% 200%;background-repeat:no-repeat;background-color:#fffaf1}.quantity .motif.motif-sprite{width:42px;height:42px}
