/* Italiano Fácil Kids 6 — protótipo de minimundo autoral */
:root{--pine:#0c654c;--coral:#ff8650;--butter:#ffdb89;--milk:#fff9e9}
body{background:#e2f4ea}.app{max-width:1200px;border-radius:0 0 24px 24px;overflow:hidden}.topbar{background:linear-gradient(90deg,#14573b,#176f50);border-bottom:3px solid #f9c67f}.brand{font-family:system-ui,sans-serif;font-size:21px;color:white;font-weight:1000;letter-spacing:-.8px}.brand em{color:#ffe082;font-style:normal}.topbtn{background:#ffffff23;color:#fff;border:1px solid #ffffff88;font-weight:900}.coinhud{display:inline-flex;align-items:center;gap:5px}.v6-coin-icon{border:2px solid #fff7cc;background:radial-gradient(circle at 25% 20%,#fff3a4,#ec9b1d);width:22px;height:22px;border-radius:50%;color:#ae6a0c;display:inline-grid;place-items:center;box-shadow:0 2px 0 #a75b09}
.hero{display:none!important}.main{max-width:none;padding:0!important;min-height:570px}.app footer{font-size:11px;padding:16px 20px;background:#fef8e9}
.v6intro{min-height:min(730px,92vh);display:grid;position:relative;overflow:hidden;background:#245942;color:white;isolation:isolate;align-items:end}.v6intro>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 42%;z-index:-2;animation:v6zoom 14s ease-in-out infinite alternate}.v6intro:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#003b2910 8%,#09392527 39%,#052c23d9 100%);z-index:-1}.v6sprinkle{position:absolute;border-radius:50%;background:#fff6b4a8;box-shadow:0 0 22px #fff8b6;animation:v6float 5s ease-in-out infinite;pointer-events:none}.v6sprinkle:nth-child(2){width:11px;height:11px;top:15%;left:13%;animation-delay:-1s}.v6sprinkle:nth-child(3){width:7px;height:7px;top:33%;right:18%;animation-delay:-2s}.v6sprinkle:nth-child(4){width:12px;height:12px;top:49%;left:8%;animation-delay:-3s}.v6sprinkle:nth-child(5){width:6px;height:6px;top:8%;right:36%;animation-delay:-4s}.v6introContent{padding:clamp(23px,5vw,64px);text-align:center;width:100%;max-width:850px;margin:0 auto 12px;animation:v6enter .7s both}.v6introKicker{display:inline-block;padding:10px 20px;background:#fff6e3d9;color:#21563d;border-radius:100px;font-weight:1000;text-transform:uppercase;font-size:12px;letter-spacing:2px;text-shadow:none}.v6intro h1{font-size:clamp(36px,7vw,75px);line-height:1.03;font-weight:1000;margin:14px auto 8px;letter-spacing:-2px;text-shadow:0 5px 12px #083b2a}.v6intro h1 span{color:#ffe696}.v6intro p{font-size:clamp(15px,2.5vw,23px);font-weight:750;margin:13px 0 24px;text-shadow:0 2px 10px #001e19}.v6bigbtn{display:inline-flex;align-items:center;gap:12px;border:3px solid #fff8d7;border-radius:100px;background:linear-gradient(180deg,#ffb466,#fb723e);color:#fff;padding:15px 28px;min-height:66px;font-size:clamp(17px,3vw,24px);font-weight:1000;box-shadow:0 8px 0 #c25127,0 16px 30px #0005;transform:translateY(0);animation:v6breath 2.6s infinite}.v6bigbtn:hover{filter:brightness(1.06)}.v6bigbtn:active{transform:translateY(6px);box-shadow:0 2px 0 #c25127}.v6introNote{color:#ffebb9;font-size:12px!important;margin:22px 0 0!important;font-weight:600!important}
.v6setup{min-height:700px;padding:34px clamp(15px,4vw,54px);background:linear-gradient(140deg,#fef4d9,#e9f7ec 70%)}.v6setup h2,.v6sectiontitle{color:#15563e;text-align:center;font-weight:1000;letter-spacing:-.9px;margin:4px 0 8px;font-size:clamp(27px,4.5vw,43px)}.v6sub{text-align:center;color:#587464;max-width:750px;margin:0 auto 25px;font-size:16px;line-height:1.5}.v6cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:770px;margin:18px auto}.v6catselect{padding:0;border:4px solid transparent;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 8px 20px #225a3525;transition:transform .18s,border-color .18s;position:relative}.v6catselect[aria-pressed="true"]{border-color:#f49446;transform:translateY(-5px);box-shadow:0 11px 0 #f3a64e}.v6catselect img{object-fit:cover;object-position:50% 21%;width:100%;height:240px}.v6catselect strong{display:block;font-size:26px;color:#275a41;padding:7px 5px 0}.v6catselect small{display:block;padding:0 5px 14px;color:#718674;font-size:13px}.v6fields{display:grid;grid-template-columns:1.5fr 1fr;max-width:770px;margin:20px auto 10px;gap:12px}.v6field label{display:block;font-weight:950;color:#225940;margin-bottom:7px}.v6field input,.v6field select{width:100%;min-height:56px;border:3px solid #a9d6bb;border-radius:15px;background:#fff;font-size:18px;padding:11px 13px;color:#245440;font-weight:800}.v6footnotes{text-align:center;color:#667968;max-width:650px;margin:17px auto;font-size:12px}
.v6world{background:linear-gradient(#effbed,#fff9e9);padding:24px clamp(14px,3.2vw,35px) 42px}.v6worldtop{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap;background:#fff;border:2px solid #ddeddf;border-radius:26px;padding:12px 16px;box-shadow:0 5px 15px #00000011}.v6worldtop .who{display:flex;align-items:center;gap:11px}.v6worldtop .who img{width:80px;height:78px;object-fit:cover;border-radius:18px}.v6worldtop .who strong{display:block;font-size:23px;color:#245c44}.v6worldtop .who small{display:block;color:#638474}.v6worldtop .stats{display:flex;gap:8px;flex-wrap:wrap}.v6chip{background:#f6f2db;color:#5b522a;border:1px solid #eddfaa;border-radius:40px;padding:8px 13px;font-weight:900;font-size:14px}.v6worldnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:19px auto}.v6worldnav button{border:3px solid white;border-radius:23px;background:#fff;box-shadow:0 6px 0 #d6e6da,0 9px 18px #194d2920;padding:14px 12px;min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:17px;font-weight:950;color:#16573b}.v6worldnav button:first-child{background:#ffead1;border-color:#fff0d1;color:#a14a20}.v6worldnav button:nth-child(3){background:#e1edf9;color:#2e6381}.v6worldnav .v6navicon{display:block;width:54px;height:54px}.v6note{border-radius:22px;background:#fff;border:2px solid #cce6d6;padding:20px;margin:17px auto;max-width:900px;line-height:1.5;color:#315e47}.v6note .heading{font-weight:1000;font-size:22px;color:#226348}.v6note p{margin:5px 0 10px}.v6bar{height:14px;border-radius:20px;background:#dae9dc;overflow:hidden}.v6bar i{display:block;height:100%;background:linear-gradient(90deg,#46bd77,#f9c04a);border-radius:20px}.v6gamegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:22px}.v6gamecard{border:3px solid #e7e4c7;box-shadow:0 7px 0 #dfe3ca;background:#fff;border-radius:21px;overflow:hidden;min-width:0}.v6gamecard.locked{opacity:.69}.v6gameart{height:135px;position:relative;overflow:hidden;background:linear-gradient(150deg,#cbeedc,#fff2bf);display:flex;align-items:center;justify-content:center}.v6gameart svg{height:100%;max-width:100%}.v6gamebody{padding:14px}.v6gamebody strong{font-size:19px;color:#275d42;display:block}.v6gamebody small{display:block;color:#74806f;margin:5px 0 12px;line-height:1.4;min-height:39px}.v6gamebody button{width:100%;border:0;background:#21845a;color:#fff;border-radius:13px;padding:12px;font-weight:900}.v6gamecard.locked .v6gamebody button{background:#869d90}.v6gamebody .v6state{display:block;color:#9d6c24;font-size:12px;margin:6px 0}
.v6runner{padding:18px;background:#f8f4e6}.v6runnerintro{background:#fff;border:2px solid #def0dd;border-radius:17px;padding:12px 16px;max-width:1050px;margin:0 auto 13px;color:#285d46;font-weight:850}.v6runnerHud{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0}.v6runnerHud span{background:#fff;border:2px solid #e8d8ad;color:#405e4b;font-weight:1000;border-radius:60px;padding:9px 13px;font-size:14px}.v6runBox{max-width:1060px;margin:0 auto;position:relative;border:5px solid #fff;border-radius:25px;overflow:hidden;box-shadow:0 12px 28px #12472e3a;background:#7ccbe0;touch-action:none}.v6runBox canvas{display:block;width:100%;height:auto;touch-action:none;max-height:680px;object-fit:contain}.v6runOverlay{position:absolute;inset:0;background:#08372ca8;display:grid;place-items:center;padding:17px;z-index:5}.v6runOverlay[hidden]{display:none!important}.v6runDialog{background:#fff8e9;border:5px solid #fff;outline:3px solid #e8ab67;border-radius:28px;text-align:center;max-width:530px;width:100%;padding:22px;box-shadow:0 14px 35px #0005}.v6runDialog h2{color:#165d45;font-size:clamp(22px,4vw,33px);margin:10px 0}.v6runDialog p{line-height:1.55;font-size:16px;color:#587161}.v6runDialog button{background:#2da66c;border-radius:15px;color:white;font-weight:1000;padding:14px;border:0;font-size:16px}.v6runControls{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:15px}.v6runControls button{min-width:64px;height:50px;border:2px solid #cce8d7;border-radius:15px;background:#fff;color:#1b6948;font-weight:1000}.v6runInfo{max-width:1060px;margin:15px auto;text-align:center;color:#4f705d;font-size:14px;font-weight:800}.v6runControls .quit{background:#fce4dc;border-color:#f2c4b0;color:#98553c}
.v6shop,.v6care{padding:24px clamp(14px,4vw,40px);background:linear-gradient(#fff4db,#ecf9ee)}.v6petlayout{display:grid;grid-template-columns: minmax(235px,.85fr) minmax(340px,1.3fr);gap:23px;max-width:1040px;margin:20px auto}.v6petstage{background:linear-gradient(#c8e7eb,#ecf8e7);border:6px solid #fff;border-radius:24px;display:flex;align-items:center;justify-content:center;min-height:390px;position:relative;box-shadow:0 10px 24px #124a2630;overflow:hidden}.v6petstage::before{content:"";position:absolute;bottom:-33px;width:120%;height:98px;border-radius:50%;background:#d3bfa0}.v6petstage svg{position:relative;z-index:1;max-width:86%;height:auto;max-height:360px;filter:drop-shadow(0 13px 11px #41573d2e)}.v6petstage .v6bubbleFace{position:absolute;top:14px;right:15px;z-index:2;font-size:15px;border-radius:35px;padding:10px 15px;font-weight:950;background:#fff;color:#1e7e53;box-shadow:0 4px 10px #0002}.v6petcontrols{padding:21px;background:#fff;border:2px solid #d8e8da;border-radius:25px}.v6outfitgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v6outfit{border:2px solid #e8e5d2;border-radius:15px;background:#fffdf5;padding:8px 5px;color:#426953;text-align:center;font-weight:850;min-height:138px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.v6outfit svg{height:50px;width:65px}.v6outfit b{font-size:12px}.v6outfit small{font-size:11px}.v6outfit.worn{border-color:#42a56b;background:#dff8e7}.v6petnav{display:flex;gap:8px;justify-content:center;margin:13px auto;flex-wrap:wrap}.v6petnav button{padding:10px 14px;border:0;background:#176c51;border-radius:13px;color:white;font-weight:950}.v6foodgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0}.v6food{display:flex;gap:9px;align-items:center;border:2px solid #e7dec2;background:#fffdf8;border-radius:14px;padding:10px;text-align:left;color:#396347;font-weight:900}.v6food svg{width:58px;height:58px;flex-shrink:0}.v6food small{display:block;color:#718273}.v6soap{border:3px solid #c9e4ef;color:#2f7a9d;background:#f3faff;padding:14px 22px;border-radius:18px;font-weight:950;margin:7px auto}.v6positive{background:#e6f7e9;padding:11px;border-radius:14px;color:#216b44;margin:12px 0;font-weight:900}.v6muted{color:#66806b;font-size:13px;line-height:1.5}.v6title{font-size:clamp(26px,4vw,37px);color:#1d684b;text-align:center;margin:0;font-weight:1000}
.v6dialogue{background:#fff;border-radius:17px;border:2px solid #d7eed8;padding:14px 16px;font-weight:850;line-height:1.5;text-align:center;max-width:800px;margin:12px auto}.v6back{border:1px solid #c6e4d5;background:#fff;color:#145c40;border-radius:12px;padding:12px 18px;font-weight:900}
@keyframes v6zoom{to{transform:scale(1.08)}}@keyframes v6float{50%{transform:translateY(-22px);opacity:.5}}@keyframes v6breath{50%{filter:brightness(1.08)}}@keyframes v6enter{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:750px){.v6gamegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v6gameart{height:115px}.v6worldnav{gap:7px}.v6worldnav button{min-height:105px;font-size:14px;padding:9px}.v6worldnav .v6navicon{width:43px;height:43px}.v6petlayout{grid-template-columns:1fr}.v6petstage{min-height:320px}.v6intro{min-height:650px}.v6cats{gap:9px}.v6catselect img{height:205px}.v6outfitgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.v6world{padding:14px 11px 32px}.v6gamebody strong{font-size:15px}.v6gamebody small{font-size:11px;min-height:45px}.v6gameart{height:97px}.v6worldtop .who img{width:60px;height:61px}.v6worldtop .who strong{font-size:18px}.v6fields{grid-template-columns:1fr}.v6catselect img{height:154px}.v6catselect strong{font-size:20px}.v6intro h1{font-size:39px}.v6intro{min-height:580px}.v6outfitgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.v6runner{padding:8px}.v6runnerHud span{font-size:11px;padding:6px 9px}.v6runControls{gap:6px}.v6runControls button{min-width:50px;height:44px}.v6petlayout{gap:10px}.v6shop,.v6care{padding:15px 9px}}
@media(prefers-reduced-motion:reduce){.v6intro>img,.v6sprinkle,.v6bigbtn{animation:none!important}}

/* Preserve padding on the existing 7 educational games. */
main:has(>.title),main:has(>.result),main:has(>.lessonbox),main:has(>.practice),main:has(>.memorygrid),main:has(>.wordgrid){padding:clamp(18px,3vw,36px)!important;background:#fffaf0}
/* Consistent badge look even when older game labels include a symbol. */
.gamecard .unlock,.badge-icon{font-family:system-ui,sans-serif}
@keyframes v6PetBreath{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.015)}}
.v6pet{animation:v6PetBreath 3s ease-in-out infinite;transform-origin:50% 90%}
@media(max-width:750px){.v6runControls [data-v6move]{display:none}}

/* 8.1: corrigido bug de tamanho zero do SVG dentro do flex container. */
#v6Model,#v6CareModel{display:block;position:relative;z-index:3;width:min(82%,330px);min-width:190px;flex:0 0 auto;align-self:flex-end;margin-bottom:23px;transform:scale(var(--growth,1));transform-origin:center bottom;filter:drop-shadow(0 17px 11px #342d325c)}
#v6Model>svg,#v6CareModel>svg{display:block;width:100%!important;max-width:330px!important;height:auto!important;max-height:none!important;overflow:visible}
.v6petstage{min-height:465px;isolation:isolate;background:#abd3de!important}
.v6petstage::before{z-index:1;bottom:-46px;opacity:.9}
.v6petstage .v6bubbleFace{z-index:5;right:9px;top:9px;max-width:48%;text-align:center}
.v8landscape{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.v8landscape>svg{width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;filter:none!important;object-fit:cover;display:block}
.v8placard{position:absolute;top:17px;left:12px;border-radius:9px;padding:6px 10px;background:#fff2dbe8;color:#236449;font:900 13px system-ui;box-shadow:0 3px 8px #0002;letter-spacing:.4px}
.v8growth{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:#fff9e8dd;padding:7px 12px;border-radius:22px;color:#265d49;z-index:5;font-size:12px;white-space:nowrap}
.v6outfitgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.v6outfit{min-height:175px;background:linear-gradient(#f7fff5,#fff9e8);gap:4px;padding:6px}
.v8-mini-outfit{display:flex;align-items:center;justify-content:center;overflow:hidden;height:123px;width:100%;max-width:126px;flex-shrink:0}
.v8-mini-outfit>svg{width:96px!important;max-width:96px!important;height:126px!important;max-height:126px!important;filter:none!important;animation:none!important;flex-shrink:0}
.v6outfit b{font-size:13px}.v6outfit small{font-size:12px}
.v6petlayout{grid-template-columns:minmax(340px,.95fr) minmax(340px,1.3fr);align-items:start}
.v6petstage:hover #v6Model svg{transform:translateY(-2px)}
@media(max-width:750px){.v6petlayout{grid-template-columns:1fr}.v6petstage{min-height:440px}}
@media(max-width:480px){.v6petstage{min-height:385px}#v6Model,#v6CareModel{min-width:150px;width:67%}.v8-mini-outfit>svg{width:78px!important;height:103px!important}.v8-mini-outfit{height:105px}.v6outfit{min-height:155px}}
