:root{font:16px system-ui;color:#242a27;background:#f5f1e8;--accent:#365a48}*{box-sizing:border-box}body{margin:0}header,main,footer,#status,aside{max-width:1100px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ccc}header span,aside,footer{font-size:13px}aside{background:#f9e5bd}h1{font-size:36px;letter-spacing:-1px}h2{margin-top:0}form,.panel{background:#fff;border:1px solid #ccc;border-radius:16px;padding:24px;margin:20px 0}label{display:block;margin:14px 0}input,select,button{font:inherit;padding:12px;border:1px solid #a6afa8;border-radius:8px;max-width:100%}input:not([type=checkbox]):not([type=color]),select{display:block;width:100%;margin-top:6px}button{background:var(--accent);color:white;cursor:pointer;margin:5px 5px 5px 0;min-height:44px}button:disabled{opacity:.45;cursor:default}.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.profile{border-top:7px solid var(--accent);background:var(--surface);color:#202622}.avatar{height:70px;width:70px;border-radius:50%;object-fit:cover;font-size:40px;display:inline-grid;place-items:center;background:white}.job{padding:16px 0;border-top:1px solid #bbb;display:flex;align-items:center;justify-content:space-between;gap:12px}.job small{display:block}.game{display:flex;flex-wrap:wrap;gap:10px}.game button{width:65px;height:65px}.error{color:#9b231c}details{margin:20px 0}summary{cursor:pointer;padding:16px;font-weight:600}a{color:#305543}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e29335;outline-offset:3px}@media(max-width:700px){.grid{grid-template-columns:1fr;gap:0}header,main,aside,footer,#status{padding:16px}h1{font-size:28px}.job{align-items:start;flex-direction:column}form,.panel{padding:18px}header{flex-wrap:wrap}}
[hidden] { display: none !important; }
/* Warm household surfaces, with original theme geometry and no external assets. */
:root{--accent:#315548;--ink:#24332c;--line:#d8ded5;color:var(--ink);background:#f5f4ec}body{line-height:1.55}header{padding-block:20px;border-color:var(--line)}header strong{font-size:20px;letter-spacing:-.6px}aside{border-radius:0 0 12px 12px;background:#f7edcf;color:#534629}h1{line-height:1.15;margin:28px 0 16px;font-size:clamp(28px,4vw,44px)}h2{letter-spacing:-.6px;line-height:1.25}h3,h4{line-height:1.3}form,.panel{border-color:var(--line);box-shadow:0 4px 18px #223b2810}button{font-weight:650;border:1px solid transparent;transition:background .15s}button:hover:not(:disabled){filter:brightness(.94)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #a24e10;outline-offset:4px}input,select{background:#fff;color:#24332c}small,.muted,.play-note{color:#526057}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:1.8px;margin:12px 0 8px}.profile{position:relative;overflow:hidden;border-top-width:5px;background-color:var(--surface)}.profile button{background:#263c35;color:#fff}.theme-web{background-image:linear-gradient(135deg,transparent 88%,#b6334515 88%),linear-gradient(45deg,transparent 92%,#24529b18 92%);background-size:70px 70px}.theme-leaf{background-image:radial-gradient(circle at 90% 30px,#536e3f20 0 26px,transparent 27px),radial-gradient(circle at 80% 95px,#536e3f35 0 2px,transparent 3px);background-size:auto,110px 130px}.avatar{border:3px solid #ffffffb0;box-shadow:0 3px 10px #20312614}.profile progress{accent-color:#315548;width:100%;height:10px}.profile .job{border-color:#56634f40;background:#ffffff75;padding:14px 12px;border-radius:10px;margin:10px 0}.job b{overflow-wrap:anywhere}.job small{font-size:12px;margin-top:5px}.job button{white-space:normal}.profile details{background:#ffffffe0;border-radius:12px}.profile form{box-shadow:none;margin:0}.profile h2{margin-bottom:12px}.reward-choice{display:flex;align-items:flex-start;gap:14px;border:1px solid var(--line);padding:16px;border-radius:12px;cursor:pointer}.reward-choice input{flex:0 0 20px;width:20px;height:20px;accent-color:#315548;margin-top:4px}.reward-choice small{display:block}.catalog-settings{border-left:5px solid #80966f}.play-shelf{border-top:1px solid #52605755;margin-top:24px;padding-top:16px}.play-tabs{display:flex;gap:6px;flex-wrap:wrap}.play-tabs button{font-size:14px;background:#fff;color:#263c35;border:1px solid #526057}.play-tabs button[aria-pressed=true]{background:#263c35;color:white}.play-note{font-size:12px;margin-top:20px}.number-board{display:grid;grid-template-columns:repeat(3,minmax(44px,1fr));max-width:330px}.game button{width:100%;height:64px;margin:0}.memory-board{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:8px;max-width:360px}.memory-board button{margin:0;height:64px;font-size:26px}.profile .found{background:#dce6ce;color:#24332c;box-shadow:inset 0 0 0 2px #4d6843}.palette{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.palette button{width:44px;height:44px;margin:0;border:2px solid #24332c}.pixel-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;max-width:384px;border:2px solid #4a5b50;padding:4px;background:#fff;border-radius:8px}.pixel-board button{min-height:28px;aspect-ratio:1;width:100%;padding:0;margin:0;border-radius:3px;border:1px solid #53655266}.pixel-board button:focus-visible{outline-offset:0;position:relative;z-index:1}.profile .ink-0{background:#fff;color:#24332c}.profile .ink-1{background:#bd4b53;color:#fff}.profile .ink-2{background:#315b9f;color:#fff}.profile .ink-3{background:#668055;color:#fff}.profile .ink-4{background:#efc867;color:#24332c}.tv-reward{background:#fff8e5;border:1px solid #c9b878;padding:16px;border-radius:12px;margin-top:20px}.skip-link{position:absolute;left:16px;top:-100px;z-index:10;background:#fff;padding:12px}.skip-link:focus{top:10px}#status{min-height:60px;font-weight:600}summary{min-height:48px}footer{border-top:1px solid var(--line);color:#526057}#app[data-role=child]>.grid{grid-template-columns:minmax(0,680px);justify-content:center}#app[data-role=child]>h1{max-width:680px;margin-inline:auto}@media(max-width:700px){.grid{gap:0}.profile{margin:16px 0}.job{align-items:stretch}.job>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.memory-board button{height:55px}.reward-choice{padding:12px}.play-tabs button{flex:1}.pixel-board button{min-height:28px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.section-nav a{padding:10px 16px;min-height:44px;background:#fff;border:1px solid var(--line);border-radius:24px;text-decoration:none;font-weight:650;font-size:14px}.section-nav a:hover{background:#e6eddf}[id]{scroll-margin-top:20px}.play-paused{padding:12px;background:#fff0cb;border:1px solid #b99847;border-radius:8px;color:#513d11}.profile{background-color:color-mix(in srgb,var(--surface) 35%,white)}.profile .job{background:#ffffffd9}.profile .play-shelf{background:#ffffff70;border-radius:12px;padding:16px 10px}.profile.theme-web{border-top-color:#a62639}.profile.theme-leaf{border-top-color:#506b47}
#child-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none}#child-backdrop:empty{display:none}#child-backdrop img{width:100%;height:100%;object-fit:cover}#child-backdrop:after,.preview-shade{content:"";position:absolute;inset:0;background:rgb(0 0 0 / var(--photo-dim,.4));pointer-events:none}body>header,body>aside,body>main,body>footer,body>#status{position:relative;z-index:1}.has-photo-background>header,.has-photo-background>footer,.has-photo-background>#status{background:#f5f4ec}.has-photo-background #app>h1{background:#f5f4ec;padding:16px;border-radius:12px}.has-photo-background .profile{background-color:#f8f9f4}.background-preview{height:220px;position:relative;overflow:hidden;border-radius:12px;background:#e1e8d9;border:1px solid #aab8a4}.background-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.preview-card{position:absolute;left:16px;right:16px;bottom:16px;z-index:1;background:#fff;color:#24332c;border-radius:10px;padding:16px;font-size:14px}.background-settings form{border-top:1px solid var(--line)}.background-settings input[type=range]{padding:8px 0;accent-color:#315548;min-height:44px}.background-settings output{font-size:13px;font-weight:650}.background-feedback{font-weight:600;font-size:14px}.background-settings input[type=file]{font-size:14px}.background-settings{background:#fff;border-radius:12px}
/* Child worlds: original CSS scenery; no remote assets or per-move requests. */
.reward-explanation{padding:12px 16px;background:#fff;border-left:4px solid #b17d32;border-radius:8px;font-size:14px;line-height:1.6}
body.child-mode{background:#eef1e5;color:#182d31}.child-mode>header{max-width:1280px;border:0;padding-bottom:0}.child-mode>header strong{font-size:16px}.child-mode main{max-width:1280px;padding-top:12px}.child-mode #status{max-width:1232px}.child-world{--world-dark:#173e39;--world-mid:#345e50;--world-light:#d9e7bd;--world-pop:#e8ff95;--world-soft:#f2f6e8}.world-hero{--world-dark:#172d67;--world-mid:#29468e;--world-light:#dce7ff;--world-pop:#ffe278;--world-soft:#eff3ff}.child-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0 20px}.child-nav a,.child-nav button{font-size:13px;color:#253b36;background:#fff;border:1px solid #ccd7cb;border-radius:24px;padding:10px 18px;text-decoration:none;margin:0;min-height:44px;display:inline-flex;align-items:center}.child-nav button:first-of-type{margin-left:auto}.world-welcome{min-height:330px;border-radius:30px;position:relative;overflow:hidden;background:var(--world-dark);color:#fff;isolation:isolate}.welcome-copy{position:relative;padding:42px 42px 40px;z-index:2;width:66%}.world-label{font-size:10px;letter-spacing:2px;font-weight:850;display:block}.welcome-copy .world-label{color:var(--world-pop)}.hello-name{margin-top:22px;font-size:18px;font-weight:650}.hello-name span{color:var(--world-pop);padding-left:6px}.child-world h1{font-size:clamp(40px,5vw,68px);font-weight:850;letter-spacing:-2.8px;margin:12px 0 18px;line-height:1.02}.welcome-copy p{font-size:15px;color:#e3eadc;margin:0;line-height:1.7}.world-avatar,.world-badge{width:62px;height:62px;border:4px solid #ffffffb0;border-radius:50%;object-fit:cover;position:absolute;right:0;top:40px;display:grid;place-items:center;font-size:30px;color:var(--world-dark);background:var(--world-pop);transform:rotate(8deg)}.world-art{position:absolute;inset:0 0 0 55%;overflow:hidden;z-index:0;background:radial-gradient(ellipse at 85% 70%,#ffffff15,transparent 65%)}.planet{position:absolute;width:230px;height:230px;right:4%;top:75px;border-radius:50%;background:radial-gradient(circle at 25% 25%,#e4ecc2,#99b982 63%,#678a65);box-shadow:inset -28px -20px 0 #0000000c}.planet:before{content:'';position:absolute;inset:10% -24%;border:18px solid #e5c99c;border-top-color:transparent;border-radius:50%;transform:rotate(-30deg);z-index:2}.planet:after{content:'';position:absolute;width:42px;height:42px;border-radius:50%;background:#769a6a55;top:55px;left:60px;box-shadow:70px 50px 0 14px #769a6a33,5px 100px 0 -8px #769a6a55}.orbit{position:absolute;width:450px;height:450px;border:1px solid #c5e6c344;border-radius:50%;right:-90px;top:0}.small-planet{position:absolute;left:20%;top:38px;width:25px;height:25px;border-radius:50%;background:#d6a477}.rocket{position:absolute;left:12%;bottom:20px;font-size:90px;transform:rotate(25deg);color:#e6eece;line-height:1}.art-star{position:absolute;right:12%;top:22px;font-size:46px;color:var(--world-pop)}.tiny-star{position:absolute;left:20%;top:110px;color:#e0ebc9;font-size:35px}.city-art{background:repeating-radial-gradient(circle at 110% -20%,transparent 0 85px,#ffffff0c 86px 87px,transparent 88px 130px)}.city-moon{position:absolute;right:16%;top:45px;width:125px;height:125px;border-radius:50%;background:#e9d3b8}.tower{position:absolute;bottom:-5px;width:95px;background:repeating-linear-gradient(0deg,transparent 0 20px,#f9ce5c55 21px 28px,transparent 29px 45px),#243e7d;border:12px solid #243e7d}.tower-one{height:175px;left:6%;transform:rotate(-7deg)}.tower-two{height:230px;left:45%;background-color:#d65156;border-color:#d65156;transform:rotate(7deg)}.tower-three{height:135px;right:-10px}.hero-bolt{position:absolute;top:70px;left:18%;color:#ffe278;font-size:150px;line-height:1;transform:rotate(13deg);text-shadow:10px 7px 0 #172d67}.mission-progress{display:flex;gap:24px;align-items:center;padding:28px 34px;background:#fff;border:1px solid #d6dece;border-radius:24px;margin:22px 0 30px;box-shadow:0 8px 24px #183c2f08}.progress-medal{display:grid;place-items:center;flex:0 0 78px;height:78px;font-size:40px;color:var(--world-dark);background:var(--world-pop);border-radius:24px;transform:rotate(-8deg);box-shadow:4px 5px 0 var(--world-light)}.progress-copy{flex:1;min-width:0}.progress-copy .world-label{color:#5a6d50}.child-world h2{font-size:26px;letter-spacing:-.8px;margin:6px 0 10px}.progress-copy p{font-size:14px;margin:0 0 16px;color:#4c6054}.mission-stamps{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.mission-stamp{display:grid;place-items:center;width:32px;height:32px;border:1px dashed #9cad8b;background:#f5f7f0;border-radius:50%;font-size:12px;font-weight:800;color:#60714e}.stamp-done{background:var(--world-dark);color:var(--world-pop);border-style:solid;border-color:var(--world-dark)}.mission-progress progress{appearance:none;display:block;height:8px;width:100%;border:0;border-radius:8px;background:#ebefe4;overflow:hidden}.mission-progress progress::-webkit-progress-bar{background:#ebefe4}.mission-progress progress::-webkit-progress-value{background:var(--world-mid);border-radius:8px}.mission-progress progress::-moz-progress-bar{background:var(--world-mid)}.progress-caption{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#596a52;margin-top:8px}.reward-ready{border:2px solid #8dba53;background:#fcfff5}.reward-ready .progress-medal{animation:little-win .7s ease-out both}.child-columns{display:grid;grid-template-columns:1fr 1.05fr;gap:28px;align-items:start}.missions-panel,.arcade-panel{min-width:0}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 20px}.section-heading .world-label{color:#57674e}.section-sticker{font-size:40px;color:var(--world-mid);transform:rotate(14deg)}.mission-card{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid #d6dece;border-radius:18px;padding:18px;margin:12px 0;box-shadow:0 3px 0 #dae3d2}.mission-icon{height:44px;border-radius:14px;display:grid;place-items:center;background:var(--world-light);font-size:22px;color:var(--world-dark)}.mission-period{font-size:9px;font-weight:850;letter-spacing:1.4px;color:#65735b}.mission-card h3{font-size:17px;margin:3px 0;overflow-wrap:anywhere;letter-spacing:-.2px}.mission-card p{font-size:12px;color:#5c6d58;margin:3px 0}.mission-card button{grid-column:2;justify-self:start;font-size:13px;border-radius:12px;padding:10px 16px;background:var(--world-dark);margin:3px 0 0;box-shadow:0 3px 0 #00000020}.mission-status{grid-column:2;font-size:11px;font-weight:750;color:#586c46;background:#edf2e5;border-radius:20px;padding:6px 12px;justify-self:start}.mission-pending .mission-status{background:#fff0c5;color:#73551c}.mission-approved{background:#f8fbed;border-color:#b7c99a}.mission-approved .mission-icon{background:#315c44;color:#fff}.gentle-note{font-size:12px;color:#5c7052;text-align:center;margin:22px 0}.empty-missions{text-align:center;border:1px dashed #b8c6a9;padding:35px 20px;border-radius:20px;background:#ffffff90}.empty-missions>span{font-size:52px}.empty-missions h3{margin-bottom:8px}.empty-missions p{font-size:14px}.child-world .play-shelf{border:0;padding:0;margin:0;background:none}.game-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.child-world .game-tile{display:flex;flex-direction:column;align-items:stretch;padding:0;text-align:left;background:#fff;color:#182c32;border:1px solid #ccd7cc;border-radius:18px;overflow:hidden;margin:0;box-shadow:0 3px 0 #c6d5bc;font-size:12px;min-width:0}.child-world .game-tile[aria-pressed=true]{outline:2px solid var(--world-mid);outline-offset:3px;background:#fff;color:#182c32}.child-world .game-tile:disabled{opacity:1;cursor:default}.game-art{height:110px;position:relative;display:flex;align-items:center;justify-content:center;gap:4px;overflow:hidden;background:#f5bd77}.tile-memory .game-art{background:#c4c8ec}.tile-drawing .game-art{background:#c2dfc1}.game-art i{font-style:normal;font-size:26px;border-radius:9px;display:grid;place-items:center;background:#fff9e9;width:34px;height:42px;transform:rotate(-12deg);box-shadow:0 4px 0 #00000015}.game-art i:nth-child(2){transform:rotate(12deg) translateY(12px)}.game-art i:nth-child(3){transform:rotate(18deg) translateY(-8px)}.tile-memory .game-art i{background:#615ba3;color:#fff6c4}.tile-memory .game-art i:nth-child(2){background:#fff5d9;color:#6e61a6}.tile-drawing .game-art{display:grid;grid-template-columns:30px 30px;grid-template-rows:30px 30px;align-content:center;gap:4px}.tile-drawing .game-art i{width:30px;height:30px;border-radius:4px;transform:none;box-shadow:none;background:#e08066}.tile-drawing .game-art i:nth-child(2){background:#e7c96b}.tile-drawing .game-art i:nth-child(3){background:#538d8a}.tile-drawing .game-art i:nth-child(4){background:#6986bb}.game-title{font-size:14px;font-weight:800;padding:15px 12px 3px;line-height:1.3}.game-description{font-size:11px;padding:0 12px 12px;line-height:1.5;flex:1;color:#5c685e}.game-launch{font-size:10px;padding:10px 12px;border-top:1px solid #dfe5d9;color:#2e503b;background:#f7f9f2;font-weight:800}.shelf-locked .game-launch{color:#6b6655;background:#f4f1e7}.unlock-guide{font-size:13px;padding:12px 16px;border-radius:12px;background:#fff;border:1px solid #d6dece;margin:0 0 18px}.play-stage{background:#fff;border:1px solid #d3dfc9;border-radius:20px;padding:22px;margin-top:20px}.play-stage h4{font-size:22px;margin:0 0 8px}.play-stage p{font-size:13px;color:#586750}.child-world .number-board,.child-world .memory-board,.child-world .pixel-board{max-width:100%;margin-top:18px}.child-world .number-board button,.child-world .memory-board button{background:var(--world-dark);font-size:25px;border-radius:14px;box-shadow:0 4px 0 #00000020}.child-world .found{background:#e5efcc!important;color:#2a4531!important;box-shadow:inset 0 0 0 2px #8fac65!important}.child-world .ink-0{background:#fff;color:#24332c}.child-world .ink-1{background:#bd4b53;color:white}.child-world .ink-2{background:#315b9f;color:white}.child-world .ink-3{background:#668055;color:white}.child-world .ink-4{background:#efc867;color:#24332c}.child-world .tv-reward{display:flex;gap:14px;align-items:center;background:#f8edce;border:1px solid #ddcd9e;padding:18px;border-radius:18px}.tv-reward>span{font-size:40px;color:#7d6e48}.child-world .tv-reward h4{margin:0 0 4px;font-size:16px}.child-world .tv-reward p{font-size:12px;margin:0}.child-world .tv-reward small{font-size:10px}.has-photo-background.child-mode .world-welcome{background:color-mix(in srgb,var(--world-dark) 88%,transparent)}.has-photo-background.child-mode .section-heading{background:#fffffff2;padding:16px;border-radius:18px}.has-photo-background.child-mode .gentle-note{background:#fffffff2;padding:12px;border-radius:12px}.has-photo-background.child-mode .child-nav a,.has-photo-background.child-mode .child-nav button{background:#fff}.has-photo-background.child-mode main{background:none}.has-photo-background.child-mode .world-art{opacity:.55}.child-world :is(button,a):focus-visible{outline:3px solid #a75013;outline-offset:4px}
@keyframes little-win{0%{transform:rotate(-16deg) scale(.85)}60%{transform:rotate(8deg) scale(1.06)}100%{transform:rotate(-8deg) scale(1)}}
@media(max-width:850px){.child-columns{grid-template-columns:1fr;gap:24px}.world-welcome{min-height:300px}.welcome-copy{padding:32px;width:70%}.world-avatar,.world-badge{right:-15px;width:48px;height:48px;font-size:24px}.planet{width:190px;height:190px;right:-30px}.world-art{inset-inline-start:52%}.child-world h1{font-size:52px}.game-art{height:125px}}
@media(max-width:500px){.child-mode main{padding:12px}.child-mode>header{padding-inline:16px}.child-nav{gap:6px;padding-bottom:14px}.child-nav a,.child-nav button{font-size:11px;padding:8px 12px}.child-nav button:first-of-type{margin-left:0}.child-nav button:last-child{margin-left:auto}.world-welcome{border-radius:22px;min-height:340px}.welcome-copy{padding:26px 22px;width:100%}.hello-name{font-size:15px;max-width:75%;margin-top:24px}.child-world h1{font-size:42px;letter-spacing:-1.8px;max-width:100%}.welcome-copy p{font-size:12px;max-width:78%;margin-top:24px}.welcome-copy .world-label{font-size:8px;letter-spacing:1.6px}.world-avatar,.world-badge{right:20px;top:48px;width:44px;height:44px}.world-art{inset:110px -40px 0 60%;opacity:.65}.planet{width:140px;height:140px;top:45px;right:0}.planet:before{border-width:11px}.planet:after{transform:scale(.6);transform-origin:top left}.small-planet,.rocket,.city-moon,.art-star{display:none}.hero-bolt{font-size:90px;left:12%;top:25px}.tower{width:65px}.tower-one{height:90px}.tower-two{height:140px}.tower-three{height:60px}.mission-progress{gap:14px;padding:20px 18px;border-radius:20px;margin:16px 0 24px;align-items:start}.progress-medal{flex-basis:38px;height:40px;font-size:24px;border-radius:12px}.child-world h2{font-size:23px}.progress-copy h2{font-size:20px;line-height:1.25}.progress-copy p{font-size:12px}.mission-stamp{width:27px;height:27px;font-size:11px}.progress-copy .world-label{font-size:8px;letter-spacing:1px}.progress-caption{font-size:10px;flex-wrap:wrap}.section-heading{margin-bottom:14px}.section-heading .world-label{font-size:9px}.game-tiles{gap:8px}.game-art{height:85px}.game-art i{width:24px;height:32px;font-size:19px;border-radius:6px}.game-title{font-size:12px;padding:12px 8px 4px}.game-description{font-size:10px;padding:0 8px 10px}.game-launch{font-size:9px;padding:9px 8px}.game-tile{border-radius:14px!important}.tile-drawing .game-art{grid-template-columns:24px 24px;grid-template-rows:24px 24px}.tile-drawing .game-art i{width:24px;height:24px}.play-stage{padding:18px 14px}.mission-card{padding:16px;gap:10px}.child-world .pixel-board button{min-height:28px}.child-world .memory-board button{height:58px}.child-world .play-tabs button{flex:initial}}
@media(prefers-reduced-motion:reduce){.reward-ready .progress-medal{animation:none}}

.child-world .world-welcome{border-top:5px solid var(--child-accent)}
/* Tablet day cards: distinct rhythm without relying on colour alone. */
.routine-group{padding:18px;border:2px solid #d5dfd9;border-radius:24px;background:#f9faf7;margin-bottom:24px}.routine-group>header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.routine-group>header>span{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#fff;font-size:2rem;color:#263e35}.routine-group h3{margin:0;font-size:1.4rem}.routine-group header p{margin:3px 0;color:#42534b}.routine-morning{background:#fff3d5;border-color:#e3c67d}.routine-midday{background:#e2f3f7;border-color:#91c8d4}.routine-night{background:#ece9fa;border-color:#b9b0db}.routine-anytime{background:#eaf3e5;border-color:#b1c9a1}.routine-group .mission-card{margin-top:12px;background:#fff}.uniform-card{border:2px solid #d2ddcf;background:#fffffff2;border-radius:24px;padding:24px;margin:24px 0}.uniform-card h2{margin:8px 0 16px}.uniform-colours{display:flex;gap:14px 28px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.uniform-colours li{display:flex;align-items:center;gap:12px;font-weight:700}.colour-dot{display:inline-block;width:32px;height:32px;border-radius:50%;border:2px solid #758078;box-shadow:inset 0 0 0 2px #ffffff80;flex:none}.uniform-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:16px}.uniform-row input[type=color]{min-height:48px;width:100%}.maze-board{display:grid;grid-template-columns:repeat(5,1fr);max-width:360px;aspect-ratio:1;margin:20px auto;gap:5px}.maze-board span{display:grid;place-items:center;border-radius:8px;font-size:1.7rem}.maze-board .wall{background:#405653;color:#405653}.maze-board .path{background:#e8efd2;color:#30483e}.direction-pad,.answer-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:18px 0}.direction-pad button,.answer-buttons button{min-height:52px;min-width:64px;font-size:1.1rem}.pattern-sequence,.counting-stars{font-size:2.2rem;line-height:1.7;text-align:center;max-width:360px;margin:20px auto;color:#365753;overflow-wrap:anywhere}.shape-clue{font-size:1.4rem;font-weight:700;text-align:center}.sliding-board button:disabled{opacity:.35}.tile-maze,.tile-counting{background:#f0f4d8}.tile-patterns,.tile-tictac{background:#eee6fa}.tile-tiles,.tile-shapes{background:#dff1f4}.play-stage button:focus-visible,.routine-group button:focus-visible{outline:3px solid #1d548f;outline-offset:3px}@media(max-width:600px){.routine-group{padding:12px}.uniform-card{padding:18px}.uniform-row{grid-template-columns:minmax(0,1fr) 90px}.pattern-sequence{font-size:1.7rem}}
