/* Três atividades locais com imagens grandes e controles previsíveis. */
.learn-game{max-width:740px;margin:auto}.learn-toolbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-bottom:8px}.learn-toolbar h2{font-size:25px;line-height:1.2;text-align:center}.learn-toolbar h2:focus{outline:none}.learn-subtitle{text-align:center;color:#536579;font-size:14px;margin:5px 0 12px}.learn-message{min-height:24px;margin:12px 0 0;color:#3566a8;font-size:14px;text-align:center;font-weight:650;line-height:1.4}.learn-playing .header{margin-bottom:10px}.learn-playing .shell{padding-top:12px}.vowel-pieces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:560px;margin:0 auto 15px}.vowel-piece{position:relative;padding:4px;min-width:0;min-height:68px;border:2px solid #c9d8ed;border-bottom-width:4px;border-radius:19px;background:#fffef7;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.vowel-piece svg{display:block;width:100%;height:100%;max-height:105px;pointer-events:none}.vowel-piece.is-selected{border-color:#3566a8;box-shadow:0 0 0 3px #c9d8ed}.vowel-piece:disabled{opacity:.45}.learn-check{position:absolute;top:0;right:5px;color:#3566a8;font-size:17px;font-weight:800}.vowel-piece.is-dragging{opacity:.5}.vowel-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;margin:auto}.vowel-board{position:relative;max-width:100%;border:2px solid #c9d8ed;border-radius:24px;overflow:hidden;box-shadow:0 4px 0 #eaf1fb}.vowel-scene,.vowel-slots{position:absolute;inset:0;width:100%;height:100%}.vowel-scene{pointer-events:none}.vowel-slot{position:absolute;transform:translate(-50%,-50%);padding:0;background:transparent;border:2px dashed #89a2c3;border-radius:12px;touch-action:manipulation}.vowel-slot:disabled{border-color:transparent;pointer-events:none;opacity:1}.vowel-slot.is-selected{border-color:#3566a8;background:#f4e3a122}.vowel-slot.is-selected::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,68px);height:max(100%,68px);transform:translate(-50%,-50%);border:2px solid #3566a8;border-radius:16px;background:#fff2b02a;pointer-events:none}.vowel-slot.is-hovered::after{background:#f2dd7070;border-width:3px}.learn-drag-ghost{position:fixed;z-index:85;width:74px;height:74px;pointer-events:none;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 4px #53657933)}.learn-drag-ghost svg{width:100%;height:100%;display:block}.memory-stage{position:relative;width:100%;max-width:490px;margin:auto}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62px;height:var(--memory-card-height,112px);min-width:0;padding:4px 5px;border:2px solid #b2a4cf;border-bottom-width:4px;border-radius:20px;background:#aa96c6;color:white;touch-action:manipulation}.memory-card.is-open{background:#fffdf4;border-color:#c9d8ed;color:#536579}.memory-card.is-matched{border-color:#89a2c3;background:#eaf1fb}.memory-card svg{display:block;width:100%;height:calc(100% - 22px);min-height:25px;max-height:100px;pointer-events:none}.memory-card>span:not(.memory-card-back){font-size:16px;font-weight:750;line-height:1.25}.memory-card-back{font-size:45px;color:#f5eadf;opacity:.8;pointer-events:none}.memory-match-check{position:absolute;right:8px;top:2px;font-style:normal;font-size:18px;font-weight:800;color:#3566a8}.memory-found{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:#f6f8fcee;border:3px solid #c9d8ed;border-radius:25px;pointer-events:none;z-index:4}.memory-found svg{width:220px;max-width:65%;height:180px;max-height:55%}.memory-found strong{font-size:29px;color:#3566a8}.memory-found>span{font-size:17px;color:#536579}.animal-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:0 0 14px;border:1px solid #c9d8ed;border-radius:17px;background:#eaf1fb}.animal-selected strong{font-size:22px;color:#536579}.animal-selected>div{display:flex;gap:7px}.animal-selected button{min-height:44px;padding:7px 10px;border:1px solid #c9d8ed;border-radius:12px;background:#fffef7;color:#3566a8;font-size:13px;font-weight:700}.animal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.animal-card{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:7px 8px 11px;border:2px solid #c9d8ed;border-bottom-width:5px;border-radius:24px;background:#fffdf8;touch-action:manipulation}.animal-card .animal-illustration{display:block;width:100%;height:auto;pointer-events:none}.animal-card>span{font-size:21px;line-height:1.25;font-weight:750;color:#536579;margin-top:7px}.animal-card>i{position:absolute;right:10px;bottom:8px;font-style:normal;color:#89a2c3;font-size:16px}.animal-card.is-selected{border-color:#89a2c3;background:#eaf1fb}.animal-card.is-playing{border-color:#3566a8;box-shadow:0 0 0 3px #c9d8ed}.learn-success{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:20px;background:#3566a870}.learn-success-card{width:min(100%,360px);padding:22px;border:3px solid #c9d8ed;border-radius:28px;background:#fffef7;text-align:center;box-shadow:0 15px 35px #24344b33}.learn-star{display:block;font-size:45px;color:#d7ac4d}.learn-success h3{font-size:29px;color:#3566a8;margin:6px 0}.learn-success p{font-size:15px;line-height:1.4;color:#536579;margin:0 0 17px}.learn-restart{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:145px;width:100%;border-radius:23px;border:2px solid #24344b;border-bottom-width:5px;background:#3566a8;color:white}.learn-restart>span{font-family:Arial,sans-serif;font-size:78px;line-height:1}.learn-restart strong{font-size:20px}.learn-back{min-height:44px;width:100%;margin-top:12px;background:transparent;color:#536579;font-weight:700;font-size:14px}.learn-fireworks{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;border-radius:inherit}.learn-fireworks>span{position:absolute;width:1px;height:1px}.learn-fireworks i{position:absolute;width:5px;height:12px;border-radius:5px;background:var(--color);opacity:0;animation:learn-firework 2s var(--delay) ease-out 1}.learn-fireworks i:nth-child(even){width:6px;height:6px}@keyframes learn-firework{0%{opacity:0;transform:rotate(var(--angle)) translateY(0)}12%{opacity:.8}80%{opacity:.4}100%{opacity:0;transform:rotate(var(--angle)) translateY(-95px)}}
.game-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-choice-grid .game-choice{display:flex;flex-direction:column;min-height:220px;height:100%;gap:9px;padding:14px;align-items:center;text-align:center}.game-choice-grid .game-choice-art{width:100%;flex-basis:auto;height:125px;flex-shrink:0}.game-choice-grid .game-choice-art svg{width:100%;height:100%}.game-choice-grid .game-choice-copy{gap:6px}.game-choice-grid .game-choice-copy strong{font-size:23px}.game-choice-grid .game-choice-copy>span{font-size:14px}.game-choice-grid .game-choice+.game-choice{margin-top:0}.game-choice-grid .game-choice-link{font-size:14px}.game-choice-grid .game-choice:first-child .game-choice-art{height:125px}.game-choice-grid .game-choice:first-child .game-choice-art svg{height:150px;margin-top:-6px}.game-choice-grid .game-choice:first-child .game-choice-art{overflow:hidden}.game-care{margin-top:16px}
@media(max-width:600px){.learn-toolbar h2{font-size:21px}.learn-toolbar .game-button{min-height:42px;padding:7px 9px;font-size:12px}.learn-subtitle{font-size:13px}.vowel-pieces{gap:5px;margin-bottom:14px}.vowel-piece{padding:2px;border-radius:14px;min-height:60px}.vowel-board{border-radius:18px}.learn-message{font-size:12px;min-height:19px;margin-top:10px}.animal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.animal-card{padding:5px 5px 10px;border-radius:19px}.animal-card>span{font-size:19px;margin-top:4px}.animal-selected{padding:9px 11px;gap:7px;flex-direction:column;align-items:center}.animal-selected strong{font-size:21px}.animal-selected button{font-size:12px;min-height:40px}.memory-card>span:not(.memory-card-back){font-size:14px}.memory-card{border-radius:16px}.game-choice-grid .game-choice{min-height:190px;padding:10px;gap:7px}.game-choice-grid .game-choice-art{height:95px}.game-choice-grid .game-choice-copy strong{font-size:20px}.game-choice-grid .game-choice-copy>span:not(.game-choice-link){display:none}.game-choice-grid .game-choice:first-child .game-choice-art{height:95px}.game-choice-grid .game-choice:first-child .game-choice-art svg{height:120px}.game-choice-grid .game-choice-copy .game-choice-link{font-size:12px}.game-care{font-size:12px}}
@media(max-width:360px){.learn-toolbar{gap:5px}.learn-toolbar h2{font-size:18px}.learn-toolbar .game-button{font-size:11px;padding:6px 7px}.animal-card>span{font-size:17px}.animal-card>i{right:6px;font-size:13px}.vowel-piece{min-height:53px}.memory-hint{max-width:69px}.game-choice-grid .game-choice-copy strong{font-size:18px}}
@media(max-height:650px){.learn-playing .header{display:none}.learn-playing .shell{padding-top:7px}.learn-subtitle{margin:4px 0 9px}.learn-toolbar{margin-bottom:5px}.learn-message{margin-top:8px}.vowel-pieces{margin-bottom:11px}}
@media(max-height:500px) and (orientation:landscape){.learn-playing .header{display:none}.learn-toolbar h2{font-size:20px}.learn-toolbar .game-button{min-height:34px;padding:5px 9px}.learn-subtitle{margin:1px 0 5px}.vowel-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:4px 12px}.vowel-game>.learn-toolbar,.vowel-game>.learn-subtitle,.vowel-game>.learn-message{grid-column:1/-1}.vowel-pieces{grid-column:2;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0}.vowel-piece{min-height:52px;height:61px;padding:2px}.vowel-stage{grid-column:1;grid-row:3}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-stage{max-width:640px}.memory-card>span:not(.memory-card-back){font-size:12px}.animal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-selected{flex-direction:row;padding:7px 10px}.animal-selected strong{font-size:18px}.learn-success{padding:10px}.learn-success-card{padding:12px 18px}.learn-star{font-size:25px}.learn-success h3{font-size:24px;margin:3px 0}.learn-success p{font-size:13px;margin-bottom:9px}.learn-restart{min-height:103px}.learn-restart>span{font-size:55px}.learn-restart strong{font-size:17px}.learn-back{min-height:36px;margin-top:8px}}
.high-contrast .vowel-slot{border-color:#3566a8}.high-contrast .animal-card,.high-contrast .memory-card{border-color:#89a2c3}.high-contrast .learn-message{color:#24344b}
@media(prefers-reduced-motion:reduce){.animal-card.is-playing .animal-illustration{animation:none}.learn-fireworks{display:none}}

.animal-selected>.animal-selected-copy{display:flex;flex-direction:column;align-items:center;gap:3px}.animal-selected .animal-playful{font-size:30px;line-height:1.15;font-weight:750;letter-spacing:.3px;color:#3566a8}.animal-selected .animal-playful[hidden]{display:none}.animal-selected>.animal-selected-actions{display:flex;flex-wrap:wrap;justify-content:center}

/* Acabamento de brinquedo educativo: superfícies foscas e volume discreto. */
.learn-game .vowel-piece{border-color:#d3deed;border-bottom-color:#b3c6e0;background:linear-gradient(145deg,#ffffff,#edf3fb);box-shadow:0 3px 7px #24344b0c,inset 0 1px 0 #fff}
.learn-game .vowel-piece.is-selected{border-color:#3566a8;background:#edf4ff;box-shadow:0 0 0 3px #3566a82b,0 4px 10px #24344b16}
.learn-game .vowel-board{border-color:#d0ddeb;box-shadow:0 5px 0 #dce5ef,0 9px 18px #24344b0d;background:#fff}
.learn-game .vowel-slot{border-color:#8a9db6;border-radius:11px}
.learn-game .vowel-slot.is-selected{border-color:#3566a8;background:#3566a812}
.learn-game .vowel-slot.is-selected::after{border-color:#3566a8;background:#3566a810;box-shadow:0 0 0 3px #ffffff80}
.learn-game .vowel-slot.is-hovered::after{background:#3566a82b}
.vowel-wagon.is-settling{animation:vowel-piece-settle .36s ease-out 1;transform-box:fill-box;transform-origin:center}
@keyframes vowel-piece-settle{0%{scale:1.035 .96}55%{scale:.99 1.015}100%{scale:1}}
.learn-game.memory-game .memory-card{border:2px solid #6384b7;border-bottom:5px solid #3e6196;background:linear-gradient(145deg,#789bcc,#5278b1);box-shadow:0 3px 7px #24344b12,inset 0 1px 0 #ffffff80;isolation:isolate}
.learn-game.memory-game .memory-card::before{content:"";position:absolute;inset:5px;border:1px solid #ffffff61;border-radius:inherit;pointer-events:none;z-index:-1}
.learn-game.memory-game .memory-card-back{display:grid;place-items:center;width:44px;height:44px;line-height:1;font-family:Arial,sans-serif;font-size:35px;font-weight:700;color:#ffffff;opacity:1;border:2px solid #ffffff9c;border-radius:14px;background:#ffffff12;text-shadow:0 2px 0 #3566a84d}
.learn-game.memory-game .memory-card.is-open{border-color:#c5d3e6;border-bottom-color:#a5b9d5;background:linear-gradient(145deg,#ffffff,#f3f6fb);color:#24344b}
.learn-game.memory-game .memory-card.is-current{border-color:#3566a8;border-bottom-color:#3566a8;box-shadow:0 0 0 2px #3566a82b,inset 0 1px 0 #fff}
.learn-game.memory-game .memory-card.is-matched{border-color:#8eacd5;border-bottom-color:#6a8dbc;background:linear-gradient(145deg,#f9fcff,#e7f0fd)}
.learn-game.memory-game .memory-card.is-open::before{border-color:#ffffff}
.learn-game.memory-game .memory-match-check{display:grid;place-items:center;top:4px;right:5px;width:22px;height:22px;border-radius:50%;background:#3566a8;color:white;font-size:14px;box-shadow:0 2px 3px #24344b13}
.learn-game.memory-game .memory-found{border-color:#b8cce7;background:#f8fbfff5;box-shadow:inset 0 1px 0 white}
.learn-game.memory-game[data-learn-motion="true"] .is-new-match{animation:memory-pair-settle .34s ease-out 1}
.learn-game.memory-game[data-learn-motion="true"] .memory-found.is-new-pair{animation:memory-found-settle .3s ease-out 1}
@keyframes memory-pair-settle{0%{transform:translateY(-3px) scale(1.02)}65%{transform:translateY(1px) scale(.995)}100%{transform:none}}
@keyframes memory-found-settle{0%{opacity:.65;transform:scale(.97)}100%{opacity:1;transform:none}}
.learn-game .animal-card{border-color:#cfdaea;border-bottom-color:#b7cae3;background:linear-gradient(150deg,#fff,#f5f8fc);box-shadow:0 3px 7px #24344b0c,inset 0 1px 0 white}
.learn-game .animal-card>span{color:#24344b}
.learn-game .animal-card.is-selected{border-color:#90add3;background:#edf4fd}
.learn-game .animal-card.is-playing{border-color:#3566a8;box-shadow:0 0 0 2px #3566a822,0 4px 9px #24344b0d}
.learn-game .animal-card.is-playing .animal-illustration{animation:none}
.animal-motion-part{transform-box:view-box}
.learn-game[data-learn-motion="true"] .animal-card.is-animating .animal-motion-part{animation:animal-part-greeting .42s ease-in-out 2}
@keyframes animal-part-greeting{0%,100%{transform:rotate(0)}30%{transform:rotate(-7deg)}70%{transform:rotate(6deg)}}
.learn-game .animal-selected{background:linear-gradient(145deg,#f2f7ff,#e8f0fb);border-color:#ccdbef;box-shadow:inset 0 1px 0 white}
.learn-game .animal-selected strong{color:#24344b}
.learn-game .animal-selected button{background:#fff;border-color:#bdcfe6;box-shadow:0 2px 0 #dce6f3}
.high-contrast .learn-game.memory-game .memory-card{border-color:#244b80;border-bottom-color:#244b80}
.high-contrast .learn-game .animal-card{border-color:#7187a4}
.learn-game[data-learn-motion="false"] .vowel-wagon,.learn-game[data-learn-motion="false"] .memory-card,.learn-game[data-learn-motion="false"] .memory-found,.learn-game[data-learn-motion="false"] .animal-motion-part{animation:none}
@media(prefers-reduced-motion:reduce){.vowel-wagon.is-settling,.learn-game.memory-game .is-new-match,.learn-game.memory-game .memory-found,.learn-game .animal-card.is-animating .animal-motion-part{animation:none}}
@media(max-height:500px) and (orientation:landscape){.learn-game.memory-game .memory-card-back{width:34px;height:34px;border-radius:11px;font-size:26px}}

/* v0.16.12 — uniform toy materials; the educational colors remain unchanged. */
.learn-toolbar{grid-template-columns:auto minmax(0,1fr) auto}
.learn-toolbar-actions{display:flex;align-items:center;gap:8px}
.learn-toolbar h2{min-width:0;overflow-wrap:normal}
.learn-game .learn-success-card{background:radial-gradient(ellipse at 50% 0,#fff 20%,#f4f8fe);border-color:#d8e4f2;box-shadow:0 20px 55px #24344b29,inset 0 1px 0 white}
.learn-game .vowel-board{border:5px solid #dac29f;border-bottom-color:#bfa17c;border-radius:25px;box-shadow:0 3px 0 #aa8966,0 9px 14px #4a3d2e16;background:#f1e0c4}
.learn-game .vowel-pieces{gap:10px}
.learn-game .vowel-piece{padding:5px;border-radius:22px;border:1px solid #d6bd98;border-bottom:4px solid #b99a76;background:repeating-linear-gradient(2deg,#f2e4cf 0 3px,#ead9bc 4px,#f2e4cf 8px);box-shadow:0 4px 8px #4a3d2e12,inset 0 1px 0 #fff9}
.learn-game .vowel-piece.is-selected{border-color:#3566a8;box-shadow:0 0 0 3px #3566a82b,0 5px 10px #24344b16}
.learn-game .animal-illustration{filter:drop-shadow(0 2px 1px #3e4e640b)}
.learn-game .animal-card{padding:7px 7px 12px;box-shadow:0 4px 7px #3449610b,inset 0 1px 0 white;overflow:hidden}
.learn-game .animal-card>span{letter-spacing:-.25px}
.learn-game .animal-selected{border-radius:22px;box-shadow:0 3px 0 #dce6f3,inset 0 1px 0 white}
.learn-game.memory-game .memory-card{background:radial-gradient(ellipse at 25% 0,#91add4,#688ac0 55%,#436b9e);border-color:#6285b6;border-bottom-color:#385e8c;border-radius:21px;box-shadow:0 4px 6px #34496113,inset 0 2px 0 #ffffff85,inset 0 -1px 2px #36567d30}
.learn-game.memory-game .memory-card::before{inset:7px;border:1px solid #ffffff75;box-shadow:inset 0 0 0 3px #ffffff08}
.learn-game.memory-game .memory-card.is-open{background:radial-gradient(ellipse at 30% 0,#fff,#fffdf7 55%,#f1eee4);border-color:#d6cbb9;border-bottom-color:#b9ad98;box-shadow:0 4px 5px #34496112,inset 0 2px 0 white}
.learn-game.memory-game .memory-card.is-matched{border-color:#8ba8ce;border-bottom-color:#638ab9;background:radial-gradient(ellipse at 30% 0,#fff,#eaf2fe)}
.learn-game.memory-game .memory-card-back{background:linear-gradient(145deg,#ffffff12,#ffffff05);box-shadow:inset 0 1px 0 #ffffff33,0 3px 6px #24344b14}
@media(max-width:600px){.learn-toolbar-actions{gap:5px}.learn-game .vowel-pieces{gap:5px}.learn-game .vowel-piece{border-radius:15px;padding:3px}.learn-game .vowel-board{border-width:4px}.learn-toolbar h2{font-size:20px}.learn-game .animal-card{padding:5px 5px 10px}.learn-game.memory-game .memory-card{border-radius:17px}}
@media(max-width:360px){.learn-toolbar h2{font-size:17px}.learn-game .vowel-piece{padding:2px}.learn-toolbar{gap:5px}.learn-toolbar-actions{gap:4px}}
@media(max-height:500px) and (orientation:landscape){.learn-game .vowel-board{border-width:3px}.learn-game .vowel-piece{padding:2px;border-radius:14px}.learn-game.memory-game .memory-card{border-radius:15px}}
.high-contrast .learn-game .vowel-board,.high-contrast .learn-game .vowel-piece,.high-contrast .learn-game.memory-game .memory-card.is-open{border-color:#627a9d;box-shadow:none;background:#fff}
@media(forced-colors:active){.learn-game .vowel-piece,.learn-game .vowel-board,.learn-game.memory-game .memory-card,.learn-game .animal-card,.learn-game .learn-success-card{background:Canvas;border-color:CanvasText;box-shadow:none}.learn-game .animal-illustration{filter:none}}

.learn-success-card>.game-icon-button{display:flex;margin:12px auto 0}
.learn-toolbar-actions .game-icon-button{flex-shrink:0}
