@font-face{font-family:Nunito;src:url("assets/nunito.ttf") format("truetype");font-style:normal;font-weight:400 900;font-display:swap}
:root{--paper:#fbfcf7;--ink:#173f35;--muted:#405f54;--line:#d4e1d8;--purple:#2d7354;--purple-dark:#20573e;--mint:#dff2bd;--lilac:#e6dcff;--apricot:#ffd3a8;--white:#fff;--body:Nunito,"Arial Rounded MT Bold",system-ui,sans-serif;--display:Nunito,"Arial Rounded MT Bold",system-ui,sans-serif}
body{font-weight:600;background:#eefaff}
main{background:radial-gradient(circle at 8% 8%,#9debd650 0 13%,transparent 31%),radial-gradient(circle at 94% 25%,#a78bfa42 0 12%,transparent 29%),radial-gradient(circle at 12% 58%,#ffd1664a 0 11%,transparent 27%),linear-gradient(145deg,#e9fff8 0%,#eaf5ff 42%,#f2eaff 72%,#fff3d8 100%)}
h1,h2,h3{font-weight:900;letter-spacing:-.035em}
button{font-weight:800;touch-action:manipulation}
a,button,input,summary{ -webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #633b98;outline-offset:4px}
.shell{width:min(1240px,calc(100% - 56px))}
.topo{background:linear-gradient(105deg,#bff4e7f5 0%,#dceefff5 48%,#e8dcfff5 100%);border-bottom:2px solid #75cbb9;box-shadow:0 5px 22px #195b4030;backdrop-filter:blur(12px)}
.top-inner{min-height:84px;gap:20px}
.logo{font-family:var(--body);font-size:24px;font-weight:900;letter-spacing:-.055em;gap:7px}
.logo img{width:50px;height:50px;object-fit:contain}
.top-inner nav{font-size:15px;gap:25px}
.top-inner nav .adult-link{font-size:13px;color:#536654}
.top-actions{gap:7px}
.top-actions button{min-height:48px;min-width:48px;border:1px solid #cdd8c5;border-radius:17px;font-size:14px;padding:8px 12px;box-shadow:0 3px #dbe3cd}
.icon{width:23px;height:23px}
.primary,.secondary{font-size:16px;min-height:52px;border-radius:17px;box-shadow:0 4px #1f543d;padding:13px 20px}
.secondary{box-shadow:0 3px #c9d4bd;border-color:#adbea8}
.welcome{margin-block:20px;padding:18px;border:1px solid #d7e5df;border-radius:32px;background:#f9fcfb;box-shadow:0 8px 24px #315d5014}
.garden-intro{display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(135deg,#bff3ed 0%,#cce8ff 52%,#d9d1ff 100%);border:2px solid #71c8c2;border-radius:32px;overflow:hidden;min-height:262px;isolation:isolate;box-shadow:0 10px 0 #4baaa433,0 20px 45px #176f6320}
.welcome-copy{align-self:center;padding:26px 30px 28px 40px;z-index:1}
.welcome-age{font-size:14px;color:#38684b;font-weight:900;margin-bottom:9px}
.welcome h1{font-size:clamp(38px,4.5vw,66px);line-height:1.05;letter-spacing:-.05em}
.welcome-sub{font-size:19px;margin-top:10px;color:#456650}
.garden-scene{display:block;min-width:0;overflow:hidden}
.garden-scene img{height:100%;width:100%;max-height:300px;object-fit:cover;object-position:center 53%}
.first-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:17px;scroll-margin-top:16px}
.first-choice{position:relative;display:grid;grid-template-columns:150px 1fr;grid-template-rows:1fr auto auto 1fr;column-gap:3px;align-items:center;border:2px solid #8c66dc;border-radius:27px;padding:8px 18px 11px 5px;min-height:160px;background:linear-gradient(145deg,#e8d9ff,#c5a9ff);color:#35205d;box-shadow:0 7px #744ac4,0 13px 25px #5a39922c;text-align:left}
.first-choice.bubbles{background:linear-gradient(145deg,#bff5ff,#72d5ee);border-color:#329dbb;color:#174b64;box-shadow:0 7px #2786a2,0 13px 25px #227d9730}
.first-choice.forms{background:linear-gradient(145deg,#fff09a,#ffc45d);border-color:#e29a23;color:#5b3a10;box-shadow:0 7px #c98318,0 13px 25px #a5651c30}
.first-choice img{grid-column:1;grid-row:1/5;width:150px;height:150px;object-fit:contain}
.first-choice>span{font-size:30px;line-height:1.2;grid-column:2;grid-row:2}
.first-choice>small{font-size:12px;line-height:1.3;grid-column:2;grid-row:3;margin-top:3px;font-weight:800}
.first-choice:hover{transform:translateY(-3px);filter:saturate(1.08) brightness(1.02)}
.first-choice:active{transform:translateY(3px);box-shadow:0 2px #c4c9b4}
.welcome-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:12px 15px;border:1px solid #d3dfda;border-radius:20px;background:#f4f8f6;box-shadow:0 3px 0 #cbd8d2}
.adventure-link{font-weight:900;font-size:17px;color:#32624b}
.adventure-link span{padding-left:6px}
.quiet-button{border:1px solid #cedac5;border-radius:99px;background:#fffef9;min-height:48px;padding:9px 16px;font-size:13px;color:#3e5f46}
.quiet-button[aria-pressed=true]{background:#e1eccf;border-color:#6d8f59}
.places-section{margin-bottom:24px;padding:18px;border:1px solid #d7e5df;border-radius:32px;background:#f9fcfb;box-shadow:0 8px 24px #315d5014;scroll-margin-top:18px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px;padding:17px 19px;border:1px solid #d3dfda;border-radius:22px;background:#f4f8f6;box-shadow:0 3px 0 #cbd8d2}
.section-heading h2,.games h2{font-size:clamp(30px,4.2vw,46px);letter-spacing:-.04em}
.section-heading p{margin-top:6px;color:var(--muted)}
.view-switch{display:flex;padding:4px;background:#e9eddc;border:1px solid #d3dbc7;border-radius:99px;flex:none}
.view-switch button{background:transparent;border:0;border-radius:99px;min-height:44px;min-width:64px;font-size:14px}
.view-switch button[aria-pressed=true]{background:var(--white);box-shadow:0 2px 5px #32451e1c;color:#254a36}
.places{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;background:linear-gradient(135deg,#b8efcf,#aee9e4 48%,#c4d6ff);border:2px solid #65be9d;border-radius:32px;padding:22px;box-shadow:0 9px 0 #459d7b3b,0 20px 40px #1f6f5a1c}
.places[data-view=map]::before{content:"";position:absolute;inset:40px 14%;border:16px dashed #faf2d3;border-radius:45%;pointer-events:none}
.place{position:relative;display:flex;flex-direction:column;align-items:center;background:var(--place-color);border:2px solid #ffffff;border-radius:24px;padding:8px 12px 15px;box-shadow:0 6px 0 #356c6252,0 12px 20px #255e5220;min-height:220px;color:var(--ink)}
.place:nth-child(1){background:linear-gradient(145deg,#eadcff,#c9adff)}.place:nth-child(2){background:linear-gradient(145deg,#dcffaf,#aadb70)}.place:nth-child(3){background:linear-gradient(145deg,#ffd9e7,#ffadc9)}.place:nth-child(4){background:linear-gradient(145deg,#fff0a6,#ffc85d)}.place:nth-child(5){background:linear-gradient(145deg,#d9ecff,#9fcaf4)}.place:nth-child(6){background:linear-gradient(145deg,#ead8ff,#bd9af0)}
.place:hover{transform:translateY(-3px);filter:saturate(1.08)}
.place img{width:160px;height:145px;object-fit:cover;border-radius:20px}
.place>span{display:grid;gap:3px;padding-top:8px;position:relative}
.place strong{font-size:19px}
.place small{font-size:12px;color:#50604b}
.places[data-view=list]{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;background:transparent;border:0}
.places[data-view=list] .place{flex-direction:row;gap:16px;min-height:108px;text-align:left;justify-content:start;padding:8px 16px;border-color:#d8dfcb}
.places[data-view=list] .place img{width:90px;height:90px;border-radius:17px}
.places[data-view=list] .place>span{padding:0}
.age-section{position:relative;overflow:hidden;background:linear-gradient(115deg,#dff6ec 0%,#e9f5ff 48%,#f1e8ff 100%);border-color:#c6e4da}
.age-section::before,.age-section::after{content:"";position:absolute;border-radius:50%;pointer-events:none;filter:blur(1px)}
.age-section::before{width:190px;height:190px;left:-90px;top:-125px;background:#68d5b838}
.age-section::after{width:220px;height:220px;right:-95px;bottom:-155px;background:#8b65e838}
.age-inner{grid-template-columns:220px 1fr;gap:24px;padding-block:24px}
.age-intro h2{font-size:27px;font-family:var(--body);letter-spacing:-.045em;line-height:1.12}
.age-intro p{font-size:14px}
.age-btn{position:relative;z-index:1;min-height:90px;border:2px solid #86c96f;box-shadow:0 5px 0 #5da94f;border-radius:20px;padding:12px;gap:10px;background:linear-gradient(145deg,#dfff9f,#bde978);color:#17482f}
.age-btn.lilac{background:linear-gradient(145deg,#e3d4ff,#b99bf6);border-color:#9b72e7;box-shadow:0 5px 0 #7d55ca;color:#382067}
.age-btn.apricot{background:linear-gradient(145deg,#ffd56d,#ff9f70 58%,#f47b89);border-color:#e86a68;box-shadow:0 5px 0 #c64e59;color:#57233b}
.age-btn:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 7px 0 #4d8f43}.age-btn.lilac:hover{box-shadow:0 7px 0 #6945b5}.age-btn.apricot:hover{box-shadow:0 7px 0 #ae3e4a}
.age-btn[aria-pressed=true]{border-color:#173f35;box-shadow:0 0 0 3px #fff,0 0 0 6px #173f35;transform:translateY(-1px)}
.age-icon{width:43px;height:43px;border-radius:14px;background:#ffffffc7;box-shadow:0 2px 8px #173f3520}
.age-btn strong{font-size:17px}
.age-btn small{font-size:12px}
.games{margin-block:28px 34px;padding:28px 24px 34px;border:2px solid #9bcfc4;border-radius:30px;background:linear-gradient(145deg,#dff8f0ed,#e5f2ffed 50%,#eee5ffed);box-shadow:0 9px 0 #4c9d8e35,0 24px 45px #315d7b18}
.games-heading{margin-bottom:18px}
.search{min-height:48px;border-radius:16px;width:260px}
.topic{min-height:48px;font-size:14px;padding:9px 15px}
.result-line{flex-wrap:wrap;gap:4px 12px;padding-block:12px}
#active-filters{font-size:12px;max-width:100%;overflow-wrap:anywhere;color:#536b55}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.card{border:2px solid #cbded4;border-radius:26px;box-shadow:0 6px #c6d9cf,0 13px 28px #164c3b12;background:#fff}
.card:hover{transform:translateY(-3px);border-color:#78b99f;box-shadow:0 8px #8fcab1,0 18px 34px #164c3b22}
.card-art{aspect-ratio:1.8;border-bottom:1px solid #d5deca}
.card-cover{border:0;background:transparent;width:100%;height:100%;display:grid;place-items:center;position:relative;padding:5px;overflow:hidden;border-radius:23px 23px 0 0}
.card-cover>img{width:90%;height:100%;object-fit:contain}
.card-cover .thumbnail-place{width:78%;height:100%;object-fit:cover;border-radius:17px;opacity:.9}
.thumbnail-action{position:absolute;right:4%;bottom:5%;width:47%;height:57%;display:grid;place-items:center;background:#fffdf4e8;border-radius:18px;box-shadow:0 4px 10px #3a3a261f}
.thumbnail-action>svg{width:100%;height:100%}
.thumbnail-easel{display:block;width:82%;padding:8px;background:#d9b990;border-radius:11px;box-shadow:0 6px 0 #b89975;transform:rotate(-3deg)}
.thumbnail-easel>svg{display:block;width:100%;background:var(--white)}
.favorite{width:48px;height:48px;top:10px;right:10px;border:1px solid #c5cbbb;background:#fffef9;box-shadow:0 2px #00000012}
.card-body{padding:16px 18px 18px}
.card-meta{font-size:13px;font-weight:800;line-height:1.4;min-height:19px;gap:8px;margin-bottom:8px}
.card h3{font-size:23px;letter-spacing:-.025em}
.card h3 button{font:inherit;background:none;border:0;padding:0;display:block;text-align:left;min-height:48px;color:inherit}
.card p:not(.card-meta){font-size:14px;line-height:1.45}
.card-play{font-size:16px;min-height:50px;border-radius:15px;padding:9px 17px;background:#d8e9c5;color:#28523c;box-shadow:0 3px #bdcfa8}
.card-play .icon{width:19px;height:19px}
.tag{font-size:11px;border-radius:7px}
.tag.saved{background:#eee2f8;color:#573b7a}
.family{background:#e9eed6;border:1px solid #cfdbb6;border-radius:26px}
.journeys{margin-block:28px 34px;padding:24px;border:2px solid #c6d7ed;border-radius:30px;background:linear-gradient(145deg,#f5fbff,#edf1ff);box-shadow:0 8px 0 #aac4df55,0 20px 40px #315d7b14}.journeys-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.journey-card{display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:19px;border:2px solid #cfded4;border-radius:22px;background:#fff;box-shadow:0 4px #c4d7ce}.journey-card.mint{background:#effbe5;border-color:#b7d79b}.journey-card.lilac{background:#f5efff;border-color:#d2c0f0}.journey-card.apricot{background:#fff1e6;border-color:#f0c49b}.journey-card.yellow{background:#fff8d9;border-color:#ead38b}.journey-card.green{background:#e9f7eb;border-color:#b9d9b7}.journey-card.blue{background:#eaf5ff;border-color:#b9d5ed}.journey-kicker{font-size:12px;font-weight:900;color:#4d6a58;text-transform:uppercase;letter-spacing:.04em}.journey-card h3{font-size:24px;margin:3px 0}.journey-card-copy>p:not(.journey-kicker):not(.journey-next){font-size:14px;line-height:1.45;color:#53645a}.journey-progress{height:10px;margin-top:14px;border-radius:99px;background:#ffffffb8;overflow:hidden;border:1px solid #b9cdbd}.journey-progress span{display:block;height:100%;border-radius:inherit;background:#4e9968}.journey-next{font-size:12px;color:#4e6256;margin-top:8px}.journey-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.journey-actions .primary,.journey-actions .secondary{min-height:46px;padding:9px 13px;font-size:13px}.local-data{margin-top:18px;padding-top:16px;border-top:1px solid #d9dfce}.local-data h3{font-size:20px;margin-bottom:5px}.local-data p{font-size:13px;line-height:1.45;color:#53645a}.local-data-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.local-data-actions .settings-toggle{width:auto;margin:0}.data-status{min-height:20px}.data-status[data-tone=error]{color:#a24d43}.data-status[data-tone=success]{color:#3f7651}
.family h2{font-size:32px;letter-spacing:-.035em}
.family-emblem{color:#3b5e42;width:58px;height:58px}
.footer{font-size:13px}
.footer .logo{font-size:20px}
.footer .logo img{width:42px;height:42px}
dialog#dialog{width:min(1180px,calc(100% - 32px));max-height:calc(100dvh - 28px);border-radius:28px;border:2px solid #e1e6d3;background:#fffaf0}
dialog#dialog::backdrop{background:#244531a6}
#dialog .dialog-inner{padding:0;max-height:calc(100dvh - 34px);overflow-y:auto;scrollbar-gutter:stable}
#dialog .dialog-bar{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;background:#fffdf4;border-bottom:1px solid #e0e5d1;margin:0;padding:12px 16px}
#dialog-title{font-family:var(--body);font-size:clamp(22px,2.6vw,33px);text-align:center;letter-spacing:-.035em}
.back-garden{display:flex;align-items:center;gap:8px;min-height:54px;background:#ecf1dd;border:1px solid #c4d3b2;border-radius:17px;padding:9px 13px;line-height:1.15;font-size:13px;max-width:145px}
.back-garden>span:first-child{font-size:28px}
.game-tools{display:flex;gap:7px}
.game-tools button{display:grid;place-items:center;width:54px;height:54px;border:1px solid #cdd7c3;background:var(--white);border-radius:17px;font-size:24px;font-weight:900}
.game-tools button[aria-pressed=true]{background:#dae8ca}
#dialog-body{padding:12px clamp(12px,3vw,30px) 25px}
.activity-welcome{display:flex;align-items:center;justify-content:center;gap:9px;max-width:760px;margin:0 auto 11px;min-height:60px}
.activity-welcome img{width:64px;height:64px;object-fit:contain}
.activity-welcome .game-intro{margin:0;max-width:620px;font-size:17px;line-height:1.4}
#stage{width:min(100%,820px);margin-inline:auto}
.game-help-panel{display:flex;gap:12px;padding:15px 24px;background:#edf1df;border-bottom:1px solid #dbe3cb}
.game-help-panel>img{align-self:start;object-fit:contain;flex:none}
.game-help-panel p{font-size:16px}
.help-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.help-actions button{min-height:48px;padding:8px 13px;border-radius:14px;border:1px solid #b9caab;background:#fffef8}
#speech-message{font-size:13px;margin-top:5px}
.game-note{min-height:30px;text-align:center;margin-top:12px;font-size:16px}
.game-actions{justify-content:center;gap:10px}
.game-actions button,.atelier-tools button{min-height:50px;font-size:15px;border-radius:15px;padding:10px 16px}
.game-actions .next{background:var(--purple);border-color:#245c42;box-shadow:0 3px #1e4e39}
.game-actions .next:hover{background:#245f44}
.quiz-panel{padding:20px;gap:13px;border:2px solid #dbe5c9;background:#edf3dc;border-radius:24px}
.quiz-panel h3{font-family:var(--body);font-size:clamp(26px,4vw,42px);line-height:1.15}
.answers{gap:12px;margin-top:14px}
.answer{min-height:90px;border-width:2px;border-radius:20px;font-size:clamp(20px,3vw,28px);box-shadow:0 4px #d9dfca}
.answer .shape{width:64px;height:64px}
.match-target{display:grid;place-items:center;min-height:100px}
.match-target .shape{width:85px;height:85px}
.berries{gap:9px 7px;margin-block:6px}
.berry{width:24px;height:26px}
.bubble-field{min-height:350px;gap:18px;border:2px solid #b8dce5;border-radius:28px;background:#e3f5fa;padding:20px}
.bubble{width:clamp(72px,13vw,106px);border:2px solid #729eac;box-shadow:inset -9px -9px #6b94a821,0 5px 7px #4c819817;position:relative}
.memory-board{width:min(100%,590px);margin-inline:auto;gap:12px}
.memory-card{min-height:72px;border-width:2px;border-radius:20px;font-size:33px;box-shadow:0 4px #d5c3e5}
.memory-card .shape{width:52px;height:52px}
.win{background:#edf2dd;border-radius:26px;padding:20px}
.win>img{margin:auto;object-fit:contain;width:130px;height:130px}
.win h3{font-family:var(--body);font-size:clamp(27px,4vw,40px)}
.robot-grid{width:min(100%,420px);gap:6px}
.robot-cell{border:1px solid #dae2c8}
.robot-cell .icon{width:35px;height:35px}
.robot-controls button{min-width:64px;min-height:60px;border-radius:17px}
.robot-controls button .icon{width:27px;height:27px}
.queue{line-height:1.5}
.choice-glyphs{gap:12px}
.glyph-button{min-width:86px;min-height:85px;border-radius:20px;font-size:16px;border-width:2px;box-shadow:0 3px #d5dec6}
.exp-glyph{width:60px;height:60px}
.growth-line,.pattern-line{padding:14px;gap:8px;min-height:100px;border-radius:24px}
.growth-slot{width:clamp(43px,10vw,75px);border-radius:15px}
.pattern-line .exp-glyph{width:clamp(27px,6vw,58px)}
.dig-board{padding:16px;gap:10px;border-radius:24px}
.dig-cell{min-height:75px;border-radius:19px}
.treasure-board{width:min(100%,410px);gap:6px}
.treasure-cell{min-height:48px;border-radius:12px}
.tile-board{width:min(100%,440px);gap:6px}
.tile-piece{border-radius:14px}
.tile-reference{width:min(100%,240px)}
.atelier{background:#f0e7da;border:2px solid #ddc7aa;border-radius:26px;padding:18px;box-shadow:inset 0 0 0 4px #fff6e4}
#stage:has(.atelier){width:min(100%,1000px)}
.atelier-canvas{background:#d5b78f;padding:11px;border-radius:20px;box-shadow:0 5px #af906a;max-width:880px;margin:auto}
.coloring-scene{max-height:450px;width:100%;border-radius:10px;background:#fffaf0}
.coloring-scene [data-region]{stroke-width:3.2}
.coloring-scene [data-region]:hover,.coloring-scene [data-region]:focus-visible{stroke:#59388b;stroke-width:5;outline:none}
.atelier-paints{margin-top:19px}
.atelier-paints>.palette{gap:12px;display:grid;grid-template-columns:repeat(6,64px);justify-content:center}
.paint-pot{width:64px;height:68px;position:relative;border:2px solid #6f665b;border-radius:19px 19px 23px 23px;box-shadow:inset 0 5px 0 #ffffff50,inset 0 -8px #00000010,0 4px #a48b7350;background:var(--swatch)}
.paint-pot[aria-pressed=true]{outline:4px solid #3e5547;outline-offset:3px}
.paint-pot[aria-pressed=true]::after{content:"";position:absolute;width:12px;height:20px;border:solid white;border-width:0 5px 5px 0;left:23px;top:17px;transform:rotate(45deg);filter:drop-shadow(0 1px 2px #000)}
.paint-pot span{font-size:26px;color:#4c493f}
.paint-extras{display:flex;justify-content:center;align-items:start;gap:16px;margin-top:14px}
.paint-extras .paint-pot{width:55px;height:55px;border-radius:17px}
.extra-colors{padding:0 4px}
.extra-colors summary{font-size:14px;min-height:48px;display:list-item;padding:12px 9px;font-weight:900;cursor:pointer}
.extra-colors .palette{gap:10px}
.atelier-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}
.atelier-tools button{border:1px solid #b8ae9e;background:#fffcf3;min-width:98px}
.atelier button:disabled{opacity:.5;cursor:default;box-shadow:none}
.atelier-actions{margin-top:13px}
.draft-status{font-size:12px;text-align:center;color:#5c5e50;margin-top:3px}
.local-gallery{margin-top:16px;border-top:1px solid #cdbda7;padding-top:8px}
.local-gallery summary{font-size:17px;font-weight:900;min-height:48px;padding-block:10px;cursor:pointer}
.local-gallery>p{font-size:13px;color:#575e50;margin-bottom:10px}
.gallery-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gallery-item{margin:0;padding:8px;background:#fffaf0;border:1px solid #d5c7b1;border-radius:17px}
.gallery-item>div:first-child{aspect-ratio:1.5;display:grid;place-items:center;background:#fffdf7;border-radius:9px;overflow:hidden}
.gallery-item svg{width:100%;height:100%;max-height:155px}
.gallery-item figcaption{font-size:14px;font-weight:900;margin-block:5px}
.gallery-item small{display:block;font-size:11px;color:#606451;font-weight:600}
.gallery-actions{display:flex;flex-wrap:wrap;gap:5px}
.gallery-actions button{min-height:48px;padding:5px 10px;background:#e9efd9;border:1px solid #b5c0a3;border-radius:12px;font-size:13px}
.gallery-empty{grid-column:1/-1;font-size:14px}
.paint-next{text-align:center;margin-top:15px}
.atelier-scene-picker,.atelier-mode,.atelier-width,.atelier-zoom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px auto}.atelier-scene-picker label,.atelier-width span,.atelier-zoom span{font-weight:900;color:#4f5748}.atelier-scene-picker select{min-height:48px;border:2px solid #aebc99;border-radius:14px;background:#fffaf0;padding:8px 14px;font:inherit;font-weight:800;color:#405045}.atelier-mode button,.atelier-width button,.atelier-zoom button{min-height:48px;padding:8px 14px;border:1px solid #b8c3ab;border-radius:14px;background:#eef2e3;color:#405045;font-weight:800}.atelier-mode button[aria-pressed=true],.atelier-width button[aria-pressed=true]{background:#456b55;color:#fff}.atelier-board{transform:scale(var(--atelier-scale,1));transform-origin:top center;transition:transform .18s ease;min-height:220px}.atelier-drawing{position:relative;width:min(100%,880px);margin:auto}.atelier-drawing svg{display:block;width:100%;height:auto}.atelier-strokes{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.atelier-canvas{overflow:auto;min-height:220px}.atelier-zoom button{min-width:48px}.atelier-mode button,.atelier-width button,.atelier-zoom button{font-size:13px}@media(prefers-reduced-motion:reduce){.atelier-board{transition:none}}
.pixel-grid{width:min(100%,480px);border-color:#ae9578;border-width:3px;gap:2px;margin-block:0}
.pixel{min-height:0}
.small-dialog{max-width:460px;border-radius:25px;border:2px solid #d0dbbf;padding:0;background:#fffaf0}
.preferences-inner{padding:23px;display:grid;gap:14px}
.preferences-inner .dialog-bar{margin:0;position:static}
.preferences-inner h2{font-size:26px;font-family:var(--body)}
.preferences-inner p{color:var(--muted);font-size:14px}
.settings-toggle{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #bdcfac;background:#eef3e1;padding:12px;border-radius:17px;min-height:56px}
.settings-toggle[aria-pressed=true]{border:2px solid #4f7655;background:#dae9c8}
.preferences-inner input[type=range]{width:100%;min-height:48px;accent-color:#356e50}
.preferences-inner .close{min-width:48px;min-height:48px}
.demo-target{outline:5px solid #d18a2d!important;outline-offset:6px;filter:drop-shadow(0 0 4px #ffdc73)}
@keyframes point-once{0%,100%{filter:drop-shadow(0 0 1px #ffca55)}50%{filter:drop-shadow(0 0 12px #e7ac35)}}
@media(prefers-reduced-motion:no-preference){html:not([data-quiet=true]) .demo-target{animation:point-once .65s ease 2}html:not([data-quiet=true]) .place,html:not([data-quiet=true]) .first-choice,html:not([data-quiet=true]) .card-play{transition:transform .2s ease,box-shadow .2s ease}html:not([data-quiet=true]) .place:hover{transform:translateY(-3px)}}
html[data-quiet=true]{scroll-behavior:auto}
html[data-quiet=true] *,html[data-quiet=true] *::before,html[data-quiet=true] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-quiet=true] .bubble:hover{transform:none}
.editorial h1,.editorial h2,.editorial h3{font-family:var(--body);letter-spacing:-.035em}
.editorial .reading-head h1{font-size:clamp(34px,5.5vw,55px)}
.editorial .editorial-hero h1{font-size:clamp(40px,6vw,74px)}
.editorial .editorial-hero img{border-radius:27px}
.editorial .reading-head{border-radius:26px}
.editorial .guide-card{border-radius:24px}
.editorial .guide-card h3{font-size:27px}
.editorial .logo img{width:48px;height:48px}
@media(max-width:1100px){.first-choice{grid-template-columns:115px 1fr;padding-right:9px;min-height:140px}.first-choice img{width:115px;height:125px}.first-choice>span{font-size:26px}.first-choice>small{font-size:11px}.optional-label{display:none}.age-inner{grid-template-columns:170px 1fr}.age-options{gap:9px}.age-btn{gap:7px;padding:9px}.age-btn strong{font-size:16px}.age-icon{width:35px;height:35px}}
@media(max-width:800px){.shell{width:calc(100% - 32px)}.top-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-block:8px}.top-inner nav{display:flex;grid-column:1/-1;justify-content:center;font-size:13px;gap:23px}.top-inner nav .adult-link{font-size:12px}.logo{font-size:22px}.logo img{width:44px;height:44px}.top-actions button{padding:8px;min-width:46px;min-height:46px}.welcome{padding-block:16px 20px}.garden-intro{min-height:220px}.welcome-copy{padding:20px}.welcome h1{font-size:42px}.welcome-age{font-size:12px}.welcome-sub{font-size:16px}.garden-scene img{height:100%;max-height:240px}.first-choices{gap:10px}.first-choice{display:flex;flex-direction:column;text-align:center;gap:2px;padding:6px 4px 12px;min-height:155px;border-radius:23px}.first-choice img{width:100%;height:110px}.first-choice>span{font-size:25px}.first-choice>small{display:none}.places{padding:14px;gap:11px}.place{padding:8px 7px 12px;min-height:190px}.place img{width:125px;height:118px}.place strong{font-size:16px}.place small{font-size:11px}.places[data-view=list]{grid-template-columns:1fr}.age-inner{grid-template-columns:1fr;gap:15px}.age-intro h2 br{display:none}.age-intro h2{font-size:27px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.family{flex-wrap:wrap}.card-body{padding:14px}.card h3{font-size:21px}#dialog .dialog-bar{gap:9px;padding:10px}#dialog-title{font-size:23px}.back-garden{max-width:110px;font-size:12px}.game-tools{gap:5px}.game-tools button{width:48px;height:50px;border-radius:15px}#fullscreen{display:none}.game-help-panel{padding:12px}.game-help-panel>img{width:64px;height:64px}.gallery-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.top-inner{gap:6px 5px;padding-block:7px}.logo{font-size:18px;gap:3px}.logo img{width:38px;height:38px}.top-actions{gap:5px}.top-actions button{min-width:44px;min-height:44px;padding:7px;border-radius:14px}.top-actions .icon{width:21px;height:21px}.top-inner nav{gap:22px;min-height:27px}.welcome{padding-top:12px}.garden-intro{grid-template-columns:1.05fr .95fr;min-height:166px;border-radius:25px}.welcome-copy{padding:15px 4px 16px 17px}.welcome h1{font-size:clamp(29px,7.6vw,39px);letter-spacing:-.055em}.welcome-age{font-size:10px;line-height:1.35;margin-bottom:7px;max-width:144px}.welcome-sub{font-size:13px;margin-top:8px}.garden-scene img{height:180px;object-fit:cover;object-position:35% center}.first-choices{gap:8px;margin-top:12px}.first-choice{min-height:155px;padding:5px 3px 12px;border-radius:21px}.first-choice img{height:108px}.first-choice>span{font-size:23px}.welcome-bottom{padding-top:19px;gap:8px}.adventure-link{font-size:15px}.quiet-button{font-size:12px;padding-inline:11px}.places-section{padding-top:15px;padding-bottom:25px}.section-heading{align-items:start;gap:9px}.section-heading h2,.games h2{font-size:29px}.section-heading p{font-size:13px}.view-switch{padding:3px}.view-switch button{min-width:51px;min-height:42px;font-size:12px}.places,.places[data-view=list]{grid-template-columns:1fr;padding:10px;border-radius:25px;gap:10px}.place,.places[data-view=list] .place{display:flex;flex-direction:row;gap:12px;min-height:118px;text-align:left;justify-content:start;padding:7px 10px;border:1px solid #d6dfc6;border-radius:22px}.place img,.places[data-view=list] .place img{width:100px;height:100px;border-radius:18px}.place>span,.places[data-view=list] .place>span{padding:0}.place strong{font-size:19px;line-height:1.2}.place small{font-size:12px;margin-top:5px;line-height:1.3}.places[data-view=map]::before{inset:35px 40%;border-width:10px}.age-inner{padding-block:19px}.age-options{gap:7px}.age-btn{gap:7px;display:grid;min-height:113px;padding:10px 8px;border-radius:18px}.age-btn strong{font-size:14px}.age-btn small{font-size:10px}.age-icon{width:32px;height:32px}.games{padding-block:29px}.games-heading{align-items:stretch;flex-direction:column;gap:12px}.games-heading p{font-size:14px}.search{width:100%}.topic{min-height:48px;padding-inline:12px;font-size:12px}.topics{gap:7px}.cards{gap:12px}.card{border-radius:22px}.card-art{aspect-ratio:1.25}.card-cover{border-radius:19px 19px 0 0}.favorite{width:48px;height:48px;top:5px;right:5px}.card-body{padding:10px 10px 14px}.card-meta{font-size:11px;gap:3px;margin-bottom:5px}.tag{font-size:9px;padding:3px 5px}.card h3{font-size:19px;line-height:1.1}.card p:not(.card-meta){font-size:12px;margin-top:6px}.card-play{min-height:48px;font-size:14px;width:100%;justify-content:center;padding-inline:5px}.card-play .icon{width:18px}.thumbnail-action{width:60%;height:48%;right:3%;bottom:3%;border-radius:12px}.thumbnail-easel{width:93%;padding:5px}.family{gap:10px;padding:17px;margin-bottom:24px}.family h2{font-size:26px}.family p{font-size:14px}.family-emblem{width:45px;height:45px}.family .secondary{margin-left:0}.footer .logo{font-size:19px}.footer{padding-top:17px;gap:12px}dialog#dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}#dialog .dialog-inner{min-height:100%;max-height:100dvh;scrollbar-gutter:auto}#dialog .dialog-bar{padding:8px 10px;grid-template-columns:48px minmax(0,1fr) auto;gap:7px}#dialog-title{font-size:19px;line-height:1.1}.back-garden{width:48px;height:48px;min-height:48px;padding:7px;justify-content:center;border-radius:15px}.back-garden>span:last-child{display:none}.game-tools button{width:48px;height:48px}.activity-welcome{gap:5px;min-height:52px;margin-bottom:9px;align-items:center}.activity-welcome img{width:53px;height:53px}.activity-welcome .game-intro{font-size:15px;line-height:1.35}#dialog-body{padding:9px 12px 24px}.game-help-panel>img{display:none}.game-help-panel p{font-size:14px}.help-actions button{font-size:13px}.quiz-panel{padding:15px;border-radius:23px}.quiz-panel h3{font-size:27px}.answer{min-height:86px;font-size:21px;padding-inline:4px;border-radius:20px}.answer .shape{width:59px;height:59px}.answers{gap:10px}.bubble-field{min-height:340px;padding:19px 10px;gap:19px 10px}.bubble{width:80px}.memory-board{gap:10px}.memory-card{min-height:70px;border-radius:17px}.memory-card .shape{width:41px;height:41px}.robot-controls button{min-width:64px;min-height:60px}.robot-grid{width:100%;gap:5px}.robot-cell .icon{width:29px;height:29px}.glyph-button{min-width:80px;min-height:82px;font-size:14px}.choice-glyphs{gap:9px}.exp-glyph{width:50px;height:50px}.growth-line,.pattern-line{padding:10px 5px;gap:3px}.growth-slot{width:51px}.pattern-line .exp-glyph{width:29px;height:29px}.dig-board{padding:10px;gap:7px}.dig-cell{min-height:58px;border-radius:15px}.treasure-board{gap:5px;grid-template-columns:16px repeat(5,minmax(0,1fr))}.treasure-cell{min-height:48px}.atelier{padding:10px 9px 14px;border-radius:23px}.atelier-canvas{padding:6px;border-radius:13px}.coloring-scene{max-height:330px}.atelier-paints{margin-top:16px}.atelier-paints>.palette{grid-template-columns:repeat(3,64px);gap:10px 18px}.paint-extras{margin-top:13px}.paint-pot{width:64px;height:64px}.atelier-tools{gap:6px}.atelier-tools button{min-width:0;padding:9px 11px;font-size:13px}.atelier-actions{gap:8px}.atelier-actions button{padding-inline:12px;font-size:13px;min-height:52px}.game-note{font-size:14px}.draft-status{font-size:11px}.gallery-items{grid-template-columns:1fr}.gallery-item>div:first-child{aspect-ratio:2}.gallery-item svg{max-height:160px}.paint-next .secondary{font-size:13px;min-height:50px;white-space:normal}.game-actions button{font-size:14px}.pixel-grid{width:100%}.local-gallery summary{font-size:16px}.editorial .editorial-top{grid-template-columns:minmax(0,1fr) auto}.editorial .reading-head h1{font-size:34px}}
.word-chip{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:13px 24px;border-radius:999px;background:#fff;font:800 28px var(--body);color:#704d65;box-shadow:0 3px 0 #d8b7c8}.rhyme-prompt{text-align:center}.answer.try-again,.cycle-options button.try-again{animation:soft-shake .3s;border-color:#c99172}.answer.correct,.cycle-options button.correct{background:#dcebc7;border-color:#77965f}.number-trail{display:flex;align-items:center;justify-content:center;gap:10px;padding:22px;border:2px solid #e3d6ad;border-radius:24px;background:#fff8df}.number-trail span{display:grid;place-items:center;min-width:74px;min-height:90px;padding:8px;border-radius:18px;background:#fff}.number-trail strong{font:800 32px var(--body)}.number-trail i{max-width:58px;color:#d69a48;font-size:9px;line-height:1.2;letter-spacing:2px;font-style:normal}.number-trail .mystery-number{font-size:34px}.compact-answers{max-width:560px;margin-inline:auto}.water-scene{display:flex;align-items:center;justify-content:center;gap:13px;padding:20px;border-radius:24px;background:linear-gradient(#dff0f5,#f3f0d4);font-size:38px}.water-scene b{color:#4e7d8e}.cycle-question{text-align:center;font-family:var(--body);font-size:24px}.cycle-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.cycle-options button{min-height:54px;padding:10px 18px;border:2px solid #b9d4dd;border-radius:16px;background:#fff;font-weight:800}.cycle-timeline{display:grid;gap:8px;padding:0;counter-reset:cycle}.cycle-timeline li{display:grid;grid-template-columns:minmax(120px,.35fr) 1fr;gap:12px;padding:12px 16px;border-radius:15px;background:#edf5f0}.cycle-timeline span{color:#496056}.garden-maze{display:grid;grid-template-columns:repeat(var(--maze-cols),minmax(34px,64px));gap:4px;width:max-content;max-width:100%;margin:auto;padding:10px;border:3px solid #76905d;border-radius:20px;background:#b9d48f}.maze-cell{display:grid;place-items:center;aspect-ratio:1;border-radius:9px;background:#f6edcb;font-size:25px}.maze-cell.wall{background:#557349;box-shadow:inset 0 0 0 3px #6f8e5f}.maze-cell.player{background:#fff7cb;box-shadow:0 0 0 3px #d4974c}.maze-controls{display:grid;justify-items:center;gap:5px}.maze-controls>span{display:flex;gap:5px}.maze-controls button{width:58px;height:52px;border:2px solid #9ab087;border-radius:14px;background:#fff;font-size:24px;font-weight:900}@keyframes soft-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(max-width:550px){.number-trail{gap:5px;padding:12px 5px}.number-trail span{min-width:50px;min-height:73px}.number-trail strong{font-size:25px}.water-scene{gap:5px;padding:14px 4px;font-size:28px}.cycle-timeline li{grid-template-columns:1fr;gap:3px}.garden-maze{gap:3px;padding:7px}.maze-cell{font-size:19px}}
.download-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 16px;border:1px solid #cfc9db;border-radius:15px;background:var(--white);font-size:15px;font-weight:800}
.download-button:hover{background:var(--lilac)}
@media(max-width:550px){.atelier-actions .download-button{font-size:13px;padding-inline:12px;min-height:52px}}
@media(max-width:800px){.top-inner>.logo{grid-column:1;grid-row:1}.top-inner>.top-actions{grid-column:2;grid-row:1}.top-inner>nav{grid-row:2}#fullscreen{display:grid}}
@media(max-width:430px){#dialog-title{font-size:16px}.game-tools{gap:4px}#dialog .dialog-bar{gap:5px}}
@media(max-width:700px){.journeys{padding:15px;border-radius:24px}.journeys-list{grid-template-columns:1fr}.journey-card{padding:15px}.journey-card h3{font-size:21px}.journey-actions{align-items:stretch}.journey-actions button{flex:1}.local-data-actions{display:grid;grid-template-columns:1fr}.local-data-actions .settings-toggle{width:100%}}
