:root{font-family: 'Trebuchet MS',Arial,sans-serif;color:#203e35;background:#f7f5ed;font-synthesis:none;--green:#194c3c;--yellow:#f7c84b;--muted:#57695e}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:48px;border:0;border-radius:12px;padding:12px 20px;font-weight:700;color:var(--green);background:#e9eee5;transition:transform .15s,background .15s}button:hover:not(:disabled){transform:translateY(-2px);background:#dce5d6}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ad461f;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,5vw,68px);line-height:1.06;letter-spacing:-2px;margin-bottom:22px}h2{font-size:30px;letter-spacing:-.7px}p{line-height:1.6}.topbar{max-width:1280px;margin:auto;padding:27px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe3d6}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--green);font-size:23px}.brand strong{font-weight:900}.brand small{display:block;font-size:8px;letter-spacing:1.7px;margin-top:5px}.brand-icon{background:var(--green);color:#fff4c9;font-size:29px;font-weight:bold;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;transform:rotate(-6deg)}.outline{background:transparent;border:1px solid #cbd4c5}.topbar button{font-size:14px}main{max-width:1200px;margin:auto;padding:44px 0 24px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#526c50;text-transform:uppercase;margin-bottom:20px}.intro{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:32px}.intro p{color:var(--muted);font-size:18px;max-width:550px;margin-bottom:0}h1 em{font-style:normal;position:relative;white-space:nowrap}h1 em:after{content:'';position:absolute;left:0;right:0;bottom:-5px;height:8px;background:var(--yellow);border-radius:50%;z-index:-1}.letter-art{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:340px;min-width:290px;height:190px;background:radial-gradient(ellipse,#e7ebda 0, #e7ebda 63%,transparent 64%)}.letter-art span{display:grid;place-items:center;width:85px;height:102px;border:2px solid #203e35;border-radius:17px;font-size:67px;font-weight:900;box-shadow:4px 6px 0 #203e35}.letter-art span:nth-child(1){background:#f7c84b;transform:rotate(-13deg) translateY(8px)}.letter-art span:nth-child(2){background:#e99273;transform:rotate(7deg) translateY(-13px)}.letter-art span:nth-child(3){background:#99bbae;transform:rotate(13deg) translateY(14px)}.setup{display:grid;grid-template-columns:1.35fr 1fr;gap:28px}.panel{background:#fffef9;border:1px solid #dce0d1;border-radius:22px;padding:30px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.section-heading h2{font-size:22px;margin:0}.step{background:#eef0e5;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:bold}.label{display:block;font-size:14px;font-weight:bold;margin:18px 0 10px}.segmented{display:flex;gap:10px}.segmented button{flex:1;border:1px solid #d6ddce;background:transparent}.segmented button.selected{background:var(--green);color:white;border-color:var(--green)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}select,textarea{width:100%;border:1px solid #cbd4c5;border-radius:10px;padding:12px;background:white;color:#203e35}textarea{resize:vertical;min-height:130px;line-height:1.65}.hint{font-size:13px;color:var(--muted);margin:8px 0 0}.games{display:flex;gap:12px;margin-bottom:22px}.game-preview{padding:18px;flex:1;border-radius:14px;background:#f8edd8}.game-preview:last-child{background:#eaf0e6}.game-preview .symbol{font-size:30px;display:block;margin-bottom:10px}.game-preview h3{font-size:17px;margin:0 0 6px}.game-preview p{font-size:13px;margin:0;color:#536354}.rules{padding:0;list-style:none;font-size:14px;line-height:1.7}.rules li{margin:10px 0}.rules li::before{content:'✓';display:inline-block;margin-right:10px;color:#427150;font-weight:bold}.primary{background:var(--green);color:white;width:100%;font-size:18px;box-shadow:0 4px 0 #10382b}.primary:hover:not(:disabled){background:#28634e}.start-note{text-align:center;margin:13px 0 0;color:var(--muted);font-size:12px}.error{color:#9a351e;font-weight:bold;font-size:14px}.session-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.session-bar h1{font-size:34px;margin:0;letter-spacing:-1px}.badge{display:inline-block;background:#e8ecdd;padding:8px 14px;border-radius:20px;font-size:13px;font-weight:bold}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.play{min-height:470px;text-align:center}.play h2{font-size:clamp(28px,3vw,42px);margin:18px 0;line-height:1.25}.visual{font-size:85px;line-height:1.2;margin:20px 0}.answers{display:grid;grid-template-columns:1fr 1fr;gap:14px}.answer{font-size:30px;min-height:85px;background:#f5f1e4;border:2px solid #d8d9c7}.answer:disabled{opacity:1}.answer.correct{background:#d5ebcf;border-color:#41743b}.answer.incorrect{background:#f8dfd2;border-color:#b25836}.word-slots{min-height:85px;border:2px dashed #aab99e;border-radius:14px;display:flex;gap:8px;justify-content:center;align-items:center;padding:12px;margin:24px 0;font-size:30px}.word-slots button,.syllables button{font-size:28px;min-width:80px;min-height:65px}.syllables{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:25px}.syllables button{background:#f6d880}.feedback{font-size:23px;font-weight:bold;margin:22px 0 14px;line-height:1.4}.feedback:empty{display:none}.game-actions{display:flex;gap:12px;justify-content:center;margin-top:20px}.game-actions .primary{width:auto;min-width:190px}.scoreboard h2{font-size:21px}.scoreboard ol,.results-list{list-style:none;padding:0;margin:0}.scoreboard li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 10px;border-bottom:1px solid #e3e5dc;overflow-wrap:anywhere}.scoreboard li.active{background:#f9edc8;border-radius:8px}.scoreboard small{display:block;font-size:11px;color:#536354;margin-top:3px}.scoreboard .points{white-space:nowrap;font-weight:bold}.scoreboard{align-self:start;max-height:520px;overflow:auto;padding:24px 18px}.progress{height:7px;background:#e0e6d8;border-radius:20px;margin-bottom:24px;overflow:hidden}.progress span{display:block;background:#477454;height:100%}.results{text-align:center;max-width:750px;margin:auto}.results h1{font-size:48px}.results-list{margin:25px 0;text-align:left}.results-list li{display:flex;gap:18px;justify-content:space-between;padding:16px;border-bottom:1px solid #dce0d1;font-size:23px;overflow-wrap:anywhere}.results-list strong{white-space:nowrap}.speaker{font-size:14px;min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{max-width:1200px;margin:18px auto;padding:20px 0;border-top:1px solid #dfe3d6;display:flex;justify-content:space-between;gap:14px;color:#60705e;font-size:10px;letter-spacing:1px}footer span{letter-spacing:0;font-size:12px}
@media(min-width:1500px){main{padding-top:60px}.play h2{font-size:44px}.answer{font-size:38px}.play{min-height:560px}}
@media(max-width:1260px){main{padding:32px 28px 20px}footer{margin:18px 28px}}@media(max-width:760px){.topbar{padding:18px 20px}.brand{font-size:18px}.brand small{display:none}.brand-icon{width:43px;height:43px}.topbar button{padding:10px}.intro{gap:0}.letter-art{display:none}.setup,.game-layout{grid-template-columns:1fr}.panel{padding:22px}main{padding:28px 18px}.session-bar{flex-wrap:wrap}.scoreboard{max-height:260px}.session-bar h1{font-size:28px}footer{margin:15px 18px;flex-wrap:wrap}.results h1{font-size:36px}.answers{gap:10px}.answer{font-size:24px}.field-row{gap:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(min-width:761px) and (max-height:850px){body:has(.game-layout) .topbar{padding-top:12px;padding-bottom:12px}body:has(.game-layout) main{padding-top:16px;padding-bottom:0}.session-bar{margin-bottom:12px}.session-bar .eyebrow{margin-bottom:8px}.progress{margin-bottom:12px}.play{padding:18px;min-height:0}.play h2{font-size:30px;margin:10px 0}.play .visual{font-size:60px;margin:8px 0}.play p{margin-bottom:8px}.word-slots{min-height:60px;margin:10px 0;padding:6px}.word-slots button,.syllables button{min-height:48px;padding:8px 16px;font-size:28px}.syllables{margin-bottom:10px}.feedback{font-size:20px;margin:10px 0}.game-actions{margin-top:10px}.answer{min-height:62px}.play .speaker{min-height:36px;padding:8px 14px}body:has(.game-layout) footer{padding-top:10px;margin-top:14px}}

/* Cores de brinquedos, superfícies claras e movimento curto para a sala de aula. */
:root{color:#233963;background:#eef8ff;--green:#214eac;--yellow:#ffd442;--muted:#4b607d}
body{background-image:radial-gradient(circle,#b8dff5 1.5px,transparent 1.5px);background-size:26px 26px}
.topbar{background:#ffffffed;border-bottom:3px solid #b9def5;border-radius:0 0 26px 26px}
.brand{color:#234a9a}.brand strong{color:#bc3275}.brand-icon{background:#ffce3b;color:#233963;border:3px solid #fff;box-shadow:0 4px 0 #e4a718}
.outline{background:#fff;border:2px solid #bbd0ec;color:#294a7a}.outline:hover:not(:disabled){background:#e3efff}
.eyebrow{color:#3258a0}.intro h1{color:#234a9a}.intro h1 em{color:#bb3273}h1 em:after{height:10px;background:#ffd442}
.letter-art{background:#dcefff;border:3px dashed #a9ccef;border-radius:48% 52% 43% 57%;isolation:isolate}
.letter-art:before,.letter-art:after{position:absolute;font-size:37px;color:#cf8a00;content:'★';top:-16px;left:22px;transform:rotate(-15deg)}
.letter-art:after{content:'✦';left:auto;right:4px;top:130px;color:#cf4187;font-size:48px}
.letter-art span{border:3px solid white;box-shadow:0 7px 0 #2862aa26;color:#fff;animation:letter-hop 1s ease-in-out 2 both;--tilt:-13deg}
.letter-art span:nth-child(1){background:#ffc933;color:#704500;transform:rotate(-13deg)}
.letter-art span:nth-child(2){background:#e33e80;transform:rotate(7deg);--tilt:7deg;animation-delay:.15s}
.letter-art span:nth-child(3){background:#2784df;transform:rotate(13deg);--tilt:13deg;animation-delay:.3s}
.panel{background:#fff;border:2px solid #c9e0f5;box-shadow:0 6px 0 #ccdfef;border-radius:26px}
.setup>.panel:first-child{border-top:7px solid #418be2}.setup>.panel:last-child{border-top:7px solid #ffbf35}
.step{background:#dcecff;color:#224fa5;box-shadow:0 3px 0 #b7d3f7}.setup>.panel:last-child .step{background:#fff0b4;color:#765000;box-shadow:0 3px 0 #efd278}
.segmented button{background:#f1f7ff;color:#284d87;border:2px solid #c6dafa}.segmented button.selected{background:#255ec4;color:white;border-color:#255ec4;box-shadow:0 3px 0 #183f8c}
select,textarea{border:2px solid #c6d8ef;background:#fbfdff;color:#233963;border-radius:14px}
.game-preview{background:#fff0c2;border:2px solid #ffe091;position:relative}.game-preview:last-child{background:#eae3ff;border-color:#d7c8fa}.game-preview p{color:#465776}.game-preview .symbol{width:48px;height:48px;display:grid;place-items:center;background:#fff;border-radius:15px;box-shadow:0 3px 0 #0000000d;color:#aa6700}.game-preview:last-child .symbol{color:#6944ac;transform:rotate(7deg)}
.rules li::before{color:#138051}.primary{background:#255ec4;box-shadow:0 5px 0 #173c86;border:2px solid #255ec4;border-radius:16px}.primary:hover:not(:disabled){background:#194da9;box-shadow:0 7px 0 #173c86}.primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #173c86}
.badge{background:#fff0b5;color:#705000}.session-bar h1{color:#254fa6}.progress{background:#d5e5f7;height:9px}.progress span{background:repeating-linear-gradient(115deg,#2784df 0 22px,#60b6f6 22px 44px);border-radius:20px;transition:width .4s ease}
.play{position:relative;border-top:6px solid #5195e9}.play h2{color:#254fa6}.play .visual{animation:picture-pop .55s ease-out both}.speaker{background:#e9e1fc;color:#5b3698;border:1px solid #d2c0f3}.speaker:hover:not(:disabled){background:#dacafa}
.answer{background:#e1efff;border:3px solid #8eb9ed;color:#204b91;box-shadow:0 4px 0 #8eb9ed;border-radius:18px}
.answer:nth-child(2){background:#fff0b0;border-color:#e7c44f;color:#755000;box-shadow:0 4px 0 #e7c44f}
.answer:nth-child(3){background:#fce1ef;border-color:#e9a0c5;color:#963462;box-shadow:0 4px 0 #e9a0c5}
.answer:nth-child(4){background:#d6f5e5;border-color:#82ceac;color:#1a6146;box-shadow:0 4px 0 #82ceac}
.answer:hover:not(:disabled){background:#f8fcff;transform:translateY(-3px)}
.answer.correct{background:#c9f2d6;border-color:#258653;color:#155e37;box-shadow:0 4px 0 #258653;animation:correct-pop .55s ease-out}
.answer.incorrect{background:#f0f2f6;border-color:#a6b2c4;box-shadow:0 4px 0 #a6b2c4;color:#526178}
.word-slots{background:#f1f7ff;border:3px dashed #9fbfea;border-radius:18px}.word-slots button{background:#d9ecff;color:#214e91;border:2px solid #9cc3ec}.word-slots button:disabled{opacity:1}
.syllables button{background:#ffdb65;color:#654500;border:2px solid #e7b831;box-shadow:0 4px 0 #d9a928;border-radius:14px}.syllables button:nth-child(3n+2){background:#ffd4e8;color:#873058;border-color:#e8a2c4;box-shadow:0 4px 0 #d88cb1}.syllables button:nth-child(3n){background:#cdeedd;color:#205e43;border-color:#8ccfaf;box-shadow:0 4px 0 #78b99a}.syllables button:hover:not(:disabled){background:#fff4cd}.syllables button:disabled{opacity:.35;box-shadow:none}
.feedback{color:#354e79}.feedback.success{color:#17633d;animation:correct-pop .5s ease-out}.scoreboard{border-top:6px solid #ffcb3d}.scoreboard h2{color:#805a00}.scoreboard li{border-bottom:1px solid #e1e9f5}.scoreboard li.active{background:#fff0b5;border:2px solid #f1cc5d;border-radius:14px}.scoreboard small{color:#4b607d}.scoreboard .points{background:#fff;border-radius:10px;padding:6px 10px;color:#2754a3}.results{border-top:7px solid #ffca37}.results h1{color:#254fa6}.results>.visual{animation:trophy-pop .9s ease-out}.results-list li:first-child{background:#fff0b5;border-radius:14px;border-bottom:3px solid #f0cf68}.results-list li:nth-child(2){background:#e8f1ff;border-radius:14px}.results-list li:nth-child(3){background:#fce5f0;border-radius:14px}.results-list li{margin-bottom:8px}.results-list strong{color:#254fa6}footer{color:#4b607d;border-color:#c7dced}
.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:10}.confetti i{position:absolute;top:-30px;left:var(--x);width:12px;height:19px;background:var(--color);border-radius:3px;animation:confetti-fall 1.8s ease-in var(--delay) both}.confetti i:nth-child(3n){border-radius:50%;width:14px;height:14px}
@keyframes letter-hop{0%,100%{transform:translateY(0) rotate(var(--tilt))}50%{transform:translateY(-13px) rotate(calc(var(--tilt) + 6deg))}}
@keyframes picture-pop{0%{transform:scale(.8) rotate(-7deg);opacity:0}65%{transform:scale(1.08) rotate(3deg)}100%{transform:scale(1) rotate(0);opacity:1}}
@keyframes correct-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.04)}}
@keyframes trophy-pop{0%{transform:translateY(15px) scale(.6);opacity:0}65%{transform:translateY(-8px) scale(1.12)}100%{transform:translateY(0) scale(1);opacity:1}}
@keyframes confetti-fall{0%{transform:translateY(-20px) rotate(0);opacity:1}85%{opacity:1}100%{transform:translateY(95vh) rotate(540deg);opacity:0}}
@media(max-width:760px){.intro{position:relative;padding-top:8px}.intro h1{font-size:clamp(34px,8.6vw,48px)}.games{gap:8px}.game-preview{padding:14px}.field-row{grid-template-columns:1fr}.game-actions{flex-wrap:wrap}.segmented button{padding:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.confetti{display:none}}
