:root{--ink:#244b3d;--paper:#faf9f5;--muted:#4d5a52;--green:#32634e;--line:#e3e7dc;--focus:#8a420e}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible{outline:3px solid #db8b32;outline-offset:5px}header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 34px;border-bottom:1px solid var(--line)}.brand{font-family:Outfit,sans-serif;font-size:25px;font-weight:700;text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:10px}.logo{font-size:41px;color:#779451}.brand-note{font:10px 'DM Sans',sans-serif;letter-spacing:2px;border-left:1px solid #ccd2c5;padding-left:22px;margin-left:17px}.quiet{background:transparent;padding:12px 16px;border:1px solid #dce1d6;border-radius:25px;font-size:13px;font-weight:600}main{max-width:1132px;margin:auto;padding:30px 0 50px}.learnerbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.profiles{display:flex;gap:8px;align-items:center}.profiles small{margin-right:12px;color:var(--muted)}.profile{border:1px solid var(--line);background:white;border-radius:30px;padding:8px 17px 8px 9px;display:flex;gap:8px;align-items:center}.avatar{display:inline-grid;place-items:center;background:#f5e4c2;border-radius:50%;width:30px;height:30px}.profile.selected{background:#e7eddf;border-color:#9db08c}.stars{font-size:13px;background:#fff3d7;padding:10px 16px;border-radius:25px}.hero{position:relative;background:#eaf0e1;border-radius:26px;min-height:250px;padding:40px 44px;overflow:hidden;display:flex;align-items:center;justify-content:space-between}.eyebrow,small{font-size:11px;letter-spacing:1.8px;font-weight:700}.eyebrow{display:flex;gap:8px;align-items:center;margin-bottom:14px}h1,h2,h3{font-family:Outfit,sans-serif;margin:0;font-weight:600}h1{font-size:47px;letter-spacing:-1.6px;line-height:1.12}h1 em{font-style:normal;color:#6c8750}p{line-height:1.6}.hero p{font-size:14px;color:#63745f;margin-bottom:0}.garden{position:relative;width:280px;height:190px;flex-shrink:0}.sun{position:absolute;right:6px;top:0;background:#f8ce6c;border-radius:50%;width:69px;height:69px;display:grid;place-items:center;font-size:27px;transform:rotate(10deg)}.hill{position:absolute;width:270px;height:65px;background:#d8e3c9;border-radius:50%;bottom:2px;left:4px}.sprout{position:absolute;bottom:20px;left:110px;width:13px;height:105px;background:#537853;border-radius:10px;transform:rotate(-8deg)}.leaf{position:absolute;background:#7f9f62;width:82px;height:48px;border-radius:0 70px 0 70px;top:4px;left:-73px;transform:rotate(13deg)}.leaf.two{left:4px;top:-22px;transform:scaleX(-1) rotate(15deg);background:#96b67a}.buddy{position:absolute;bottom:5px;left:26px;width:68px;height:70px;border-radius:19px;background:#e7a383;transform:rotate(-10deg);display:grid;place-items:center;font-size:28px}.buddy.blue{left:188px;background:#abc8d1;border-radius:50%;width:63px;height:63px;transform:rotate(12deg)}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:31px 0 20px}.sectionhead h2{font-size:25px}.sectionhead span{font-size:12px;color:var(--muted)}.games{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{text-align:left;background:white;border:1px solid var(--line);border-radius:19px;padding:22px;transition:transform .18s,box-shadow .18s;position:relative;min-height:194px}.card:hover{transform:translateY(-4px);box-shadow:0 10px 22px #244b3d0b}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.icon{display:flex;align-items:center;justify-content:center;width:58px;height:55px;background:var(--tint);border-radius:15px;font-size:29px}.tag{font-size:9px;letter-spacing:1px;color:#7c857c}.card h3{font-size:21px}.card p{font-size:12px;color:#778177;margin:7px 20px 0 0}.arrow{position:absolute;right:22px;bottom:24px;font-size:22px}.bottom-note{margin-top:25px;display:flex;align-items:center;gap:13px;padding:18px 22px;background:#f0eee6;border-radius:14px;font-size:12px;color:#737e6b}.bottom-note b{color:var(--ink)}footer{max-width:1132px;margin:0 auto;border-top:1px solid var(--line);padding:20px 0 30px;color:#869080;font-size:11px;display:flex;justify-content:space-between}.playtop{display:flex;justify-content:space-between;align-items:center}.progress{height:9px;border-radius:20px;background:#e1e7da;margin:24px 0}.progress div{background:#8caa6a;border-radius:20px;height:100%;transition:width .3s}.playarea{text-align:center;background:white;border:1px solid var(--line);padding:36px;border-radius:24px;min-height:440px}.playarea h1{font-size:35px;letter-spacing:-.7px;margin:15px 0}.speaker{background:#edf2e5;border-radius:30px;padding:12px 20px;font-weight:600}.choices{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin:30px auto;max-width:800px}.choice{background:#fafbf7;border:2px solid #e3e9dc;border-radius:20px;min-width:140px;min-height:130px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;font-family:Outfit,sans-serif;font-size:32px;font-weight:600}.choice:hover{border-color:#97ad7b;background:#f0f4e8}.choice.wrong{border-color:#e3ad7b;background:#fff4e9}.shape{display:block;width:75px;height:75px;background:var(--shape-color,#8fac73)}.circle{border-radius:50%}.square{border-radius:5px}.triangle{clip-path:polygon(50% 0,0 100%,100% 100%)}.rectangle{width:100px;height:62px;border-radius:5px}.oval{width:98px;border-radius:50%}.diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.star{clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 94%,50% 73%,21% 94%,32% 57%,2% 35%,39% 35%)}.hexagon{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.swatch{width:75px;height:75px;border-radius:50%;border:1px solid #0002}.feedback{min-height:28px;font-weight:600}.primary{background:var(--green);color:white;padding:15px 25px;border-radius:28px;font-weight:600}.memoryrow{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;margin:35px 0}.wordslots{font-size:40px;font-family:Outfit,sans-serif;letter-spacing:9px;padding:20px}.letter{min-width:60px;min-height:65px;padding:10px}.hint{font-size:12px;color:#74806d}.result-star{font-size:75px;margin:20px}.statrow{display:flex;gap:20px;justify-content:center;margin:25px}.statrow div{padding:20px;background:#f2f5ec;border-radius:15px;min-width:110px}.statrow strong{display:block;font-size:30px}dialog{border:1px solid var(--line);border-radius:25px;padding:32px;color:var(--ink);max-width:540px;width:calc(100% - 32px);max-height:90vh}dialog::backdrop{background:#193c3155;backdrop-filter:blur(4px)}dialog h2{font-size:30px;margin:8px 0}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{background:#eff2e9;border-radius:50%;width:36px;height:36px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin:17px 0}input,select,textarea{width:100%;padding:12px;border:1px solid #d3dccb;border-radius:10px;background:#fff;color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{flex-direction:row;align-items:center}.check input{width:auto}#error,#gateError{color:#a73e24;font-size:13px}.empty-letter{color:#a5b69c}button:disabled{opacity:.5;cursor:default}@media(max-width:900px){main,footer{margin-left:22px;margin-right:22px}.brand-note{display:none}.games{grid-template-columns:repeat(2,1fr)}.garden{width:230px;transform:scale(.85)}h1{font-size:39px}.hero{padding:30px}.profiles small{display:none}}@media(max-width:560px){header{padding:18px}.brand{font-size:21px}.quiet{padding:10px}.hero{padding:27px;min-height:245px}.hero h1{font-size:36px}.garden{position:absolute;right:-70px;bottom:-23px;opacity:.5;transform:scale(.65);transform-origin:bottom right}.hero>div:first-child{z-index:1}.hero p{max-width:220px}.learnerbar{align-items:flex-start;flex-direction:column;gap:12px}.profiles{flex-wrap:wrap}.profile{font-size:12px}.stars{align-self:flex-end;margin-top:-2px}.games{gap:11px}.card{padding:17px;min-height:196px}.card h3{font-size:19px}.tag{display:none}.card p{font-size:11px}.arrow{right:15px;bottom:17px}.sectionhead{align-items:flex-start;gap:10px}.sectionhead span{max-width:100px;text-align:right}.playarea{padding:20px 12px}.playarea h1{font-size:29px}.choice{min-width:105px;min-height:105px;padding:14px}.letter{min-width:48px;min-height:55px}.choices{gap:10px}.shape,.swatch{width:60px;height:60px}.rectangle,.oval{width:75px}.bottom-note{align-items:flex-start}footer span{display:none}.form-grid{grid-template-columns:1fr;gap:0}}
.pathpanel{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f0ede2;border-radius:18px;padding:24px;margin:0 0 22px}.pathpanel h3{font-size:23px;margin-top:8px}.pathpanel p{font-size:13px;margin-bottom:0;color:#718065}.skillbadge{font-size:10px;margin-top:17px;color:#607c50}.skill-setting{border-bottom:1px solid var(--line);padding:4px 0 12px}.skill-setting label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin:8px 0}.skill-setting select{width:115px}.skill-setting span{font-size:11px;color:#75806e}.choice.hinted{outline:4px solid #8caf68;background:#edf5df}@media(max-width:560px){.pathpanel{align-items:flex-start;flex-direction:column}.pathpanel h3{font-size:22px}.card{min-height:220px}}
.stylebar{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);background:white;border-radius:18px;padding:20px 24px;margin:0 0 16px}.stylebar small{color:var(--muted)}.stylebar p{font-size:12px;color:#718065;margin:10px 0 0}.styles{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.stylebtn{border:1px solid var(--line);background:#fafbf7;border-radius:30px;padding:9px 16px;font-weight:600;font-size:14px}.stylebtn.selected{background:#e7eddf;border-color:#9db08c}.bigmove{font-size:90px;margin:20px 0 0}.target{display:grid;place-items:center;width:max-content;margin:25px auto 0;padding:24px;border:2px dashed #c9d5bb;border-radius:20px;min-width:140px;font-family:Outfit,sans-serif;font-size:32px}.grownup{max-width:520px;margin:24px auto 10px;background:#f0ede2;border-radius:18px;padding:18px 20px}.grownup small{color:var(--muted)}.grownup p{font-size:13px;margin:6px 0 14px}.camstage{position:relative;max-width:720px;aspect-ratio:4/3;margin:22px auto 8px;border-radius:20px;overflow:hidden;background:#1f3a30}.camstage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.camzones{position:absolute;top:0;left:0;right:0;margin:0;padding:14px;gap:10px;flex-wrap:nowrap;max-width:none;z-index:1}.camzones .choice{flex:1;min-width:0;min-height:0;max-width:150px;padding:12px;background:#fafbf7e6;font-size:22px}.camzones .shape,.camzones .swatch{width:48px;height:48px}.camzones .rectangle,.camzones .oval{width:64px}.choice.reaching{border-color:#8caf68;background:linear-gradient(to top,#cfe2b5 calc(var(--dwell,0)*100%),#fafbf7e6 0)}.hand{position:absolute;left:-22px;top:-22px;width:44px;height:44px;border-radius:50%;background:#f8ce6cdd;border:3px solid white;box-shadow:0 0 14px #f8ce6c;z-index:2;pointer-events:none}.hand[hidden]{display:none}.camstatus{position:absolute;bottom:0;left:0;right:0;margin:0;padding:10px 14px;background:#193c31d9;color:white;font-size:13px;z-index:3}.camstatus:empty{display:none}#printArea{display:none}#deckList .check{flex-wrap:wrap;margin:10px 0}#deckList .hint{font-weight:400;width:100%;margin:0 0 0 26px}@media(max-width:560px){.stylebar{flex-direction:column;align-items:flex-start;padding:18px}.camzones{padding:8px;gap:6px}.camzones .choice{padding:6px;font-size:17px}.camzones .shape,.camzones .swatch{width:34px;height:34px}.camzones .rectangle,.camzones .oval{width:46px}}
@media print{body{background:white}body>*:not(#printArea){display:none!important}#printArea{display:block}@page{margin:10mm}.floorcard{height:120mm;margin-bottom:5mm;border:1.5px dashed #9aa59a;border-radius:6mm;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8mm;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.floorcard small{font-weight:600;letter-spacing:1px;color:#8a948a;text-transform:uppercase}.cardart{filter:drop-shadow(0 0 .5mm #0008)}.floorcard .shape,.floorcard .swatch{width:85mm;height:85mm}.floorcard .rectangle{width:120mm;height:72mm}.floorcard .oval{width:115mm;height:80mm}.cardword{display:block;font-family:Outfit,sans-serif;font-weight:700;line-height:1;color:var(--ink);font-size:min(95mm,calc(290mm / var(--len)))}}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.quiet,.speaker,.stylebtn,.profile{min-height:44px}
.modal-head button{width:44px;height:44px}
.parent-short{display:none}
.card .card-title{display:block;font-family:Outfit,sans-serif;font-size:21px;font-weight:600}
.card p,.hero p,.pathpanel p,.stylebar p,.bottom-note,.hint,.skill-setting span,.skillbadge{color:#3f4d46}
.tag{font-size:11px;color:#4d5a52}
.card p{font-size:14px}
.skillbadge{font-size:12px;padding-right:28px}
footer{color:#4d5a52;font-size:12px}
.progress{background:#d9d6cc}
.progress div{background:#5d7a45}
.swatch{border:2px solid transparent}
.swatch.light{border-color:#4e584c}
.shape.light{filter:drop-shadow(0 0 .6px #4e584c) drop-shadow(0 0 .6px #4e584c)}
.choice-label{font-family:'DM Sans',sans-serif;font-size:15px;font-weight:600;line-height:1.2;color:#3f4d46}
.choice.wrong{border-color:#a85a2a;background:#fff4ec}
.choice.correct{border-color:#32634e;background:#e5f0dc;box-shadow:inset 0 0 0 2px #32634e}
button.choice.correct:disabled,button.choice.wrong:disabled{opacity:1}
.shape.missing{background:#eef1e9;display:grid;place-items:center;font-size:40px}
.noscript{max-width:40rem;margin:24px auto;padding:0 20px}
#settings[open]{display:flex;flex-direction:column;padding:0;overflow:hidden}
#parentForm{display:flex;flex-direction:column;min-height:0;max-height:90vh;width:100%}
.modal-head{padding:28px 32px 0}
.modal-scroll{overflow:auto;min-height:0;padding:0 32px 8px}
.modal-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 32px 24px;border-top:1px solid var(--line);background:#fff}
.modal-actions .primary{margin-left:auto}
#error{margin:0;flex:1 1 180px}
#gateForm,#confirmForm{display:flex;flex-direction:column;align-items:stretch;gap:4px}
#gateForm .primary,#confirmForm .primary{align-self:flex-start}
@media(prefers-reduced-motion:reduce){.card,.progress div,.choice{transition:none}.card:hover{transform:none;box-shadow:none}}
@media(max-width:560px){
  .parent-long{display:none}
  .parent-short{display:inline}
  .games{grid-template-columns:1fr}
  .sectionhead{flex-direction:column;align-items:flex-start;gap:6px}
  .sectionhead span{max-width:none;text-align:left}
  .quiet{min-height:44px;padding:10px 14px}
  .card{min-height:0}
  .card p{font-size:15px}
  .card .card-title{font-size:22px}
  header{gap:12px}
  .modal-head,.modal-scroll,.modal-actions{padding-left:20px;padding-right:20px}
}
