/* Sunny playground. Scoped to the homepage; the games keep their own worlds. */
.playground{--cream:#193c35;--soft:#456259;--home-primary:#7955b7;--sun:#ffcf43;color:#193c35;background:#ffffff}
.playground .pg-atmosphere{display:none}
.playground .pg-wrap{width:min(1240px,calc(100% - 64px))}
.playground .pg-header{height:84px}
.playground .pg-brand{color:#443955}.playground .brand-secondary{color:#925ac3}
.playground .pg-header-actions .grownup-link{--toy-face:#bb9ef2;--toy-light:#ecddff;--toy-edge:#8662b9;--toy-ink:#44256d}
.playground .pg-header-actions .games-link{--toy-face:#ffce39;--toy-light:#ffe994;--toy-edge:#ad771c;--toy-ink:#47340d}
.playground .pg-hero{position:relative;isolation:isolate;min-height:360px;padding:20px 32px 24px;margin:6px -12px 24px;border:2px solid #87cda7;border-radius:34px 34px 65px 34px;background:#b9edcf;box-shadow:0 7px 0 #79b998;gap:8px;overflow:hidden}
.playground .pg-hero:before{content:'';position:absolute;z-index:-1;width:330px;height:330px;border-radius:50%;right:70px;top:12px;background:#ffe682;box-shadow:0 0 0 22px #d8f3ba;pointer-events:none}
.playground .pg-hero:after{content:'';position:absolute;z-index:-1;inset:auto -5% -100px 43%;height:170px;border-radius:50%;background:#7bc797;rotate:-5deg;pointer-events:none}
.playground .pg-hero h1{color:#183f35;font-size:clamp(38px,4.1vw,57px);font-weight:600;line-height:1.02;letter-spacing:-1.5px;margin-bottom:15px}
.playground .pg-hero h1 em{color:#7343a6}
.playground .pg-kicker,.playground .pg-hero-footnote{color:#315f4c}
.playground .pg-hero-copy .pg-kicker{font-size:9px;letter-spacing:1.3px;margin-bottom:12px}
.playground .pg-hero-copy .pg-kicker>span{background:#147348;box-shadow:0 0 0 4px #ffffff70}
.playground .pg-hero-description{color:#31584b;font-size:15px;line-height:1.5}
.playground .pg-hero-actions{margin-top:18px;gap:13px}
.playground .pg-primary{background:#ffcf43;border:2px solid #98651c;color:#352c12;font-weight:600;box-shadow:0 5px 0 #98651c;padding:11px 20px;min-height:50px}
.playground .pg-primary:hover{background:#ffda63;box-shadow:0 7px 0 #98651c}
.playground .pg-primary:active{box-shadow:0 2px 0 #98651c}
.playground .pg-surprise{background:#ffffff;border:2px solid #8b63b1;border-radius:16px;padding:9px 15px;color:#65418b;font-weight:800;box-shadow:0 4px 0 #8b63b1;min-height:50px}
.playground .pg-surprise>span{color:#925ac3}
.playground .pg-hero-footnote{margin-top:16px;font-size:11px}
.playground .orbit-stage{height:306px}
.playground .orbit-stage:before,.playground .hero-orbit{display:none}
.playground .hero-foo{width:278px;height:278px;left:calc(50% - 139px);top:-4px}
.playground .hero-boo{width:191px;height:201px;left:-8px;bottom:0}
.playground .hero-doodle{width:190px;height:200px;right:-10px;bottom:-4px}
.playground .hero-friend .minion-avatar{filter:drop-shadow(0 9px 3px #306d4938)}
.playground .hero-plinth{background:#438f5730;filter:blur(5px);bottom:8px;height:28px}
.playground .hero-bubble{background:#f3e8ff;border:2px solid #9169b5;color:#634180;box-shadow:0 4px 0 #9169b5;top:0;font-size:13px;padding:9px 12px}
.playground .hero-tap-note{color:#235638;bottom:-10px;font-weight:800}
.playground .hero-spark{color:#8356ba}.playground .token-a{background:#ff8e91;color:#802d3a;left:7%;top:32px}.playground .token-five{background:#58c5dc;color:#174a60;top:105px;right:0}
.playground .pg-shelf{padding-top:6px}
.playground .pg-shelf-heading{margin-bottom:13px;align-items:center}
.playground .pg-shelf h2{font-size:clamp(26px,2.8vw,35px);font-weight:600;color:#204f3c}
.playground .pg-shelf-heading .pg-kicker{display:none}
.playground .pg-count{color:#486951;font-weight:800}
.playground .pg-browse{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:14px;align-items:center;margin-bottom:20px}
.playground .learning-categories{display:flex;flex-wrap:wrap;gap:10px;width:auto}
.playground .learning-categories button{display:flex;gap:8px;min-height:48px;padding:9px 13px;border:2px solid #8ab79b;border-radius:14px;background:#edf7e9;color:#254f37;box-shadow:0 3px 0 #8ab79b;flex:0 1 auto;max-width:100%}
.playground .learning-categories button>span{font-size:20px;min-width:22px;color:#287a4d}
.playground .learning-categories strong{font-size:14px;font-weight:600}.playground .learning-categories small{display:none}
.playground .learning-categories button[aria-pressed=true],.playground .learning-categories button[aria-pressed=true]:hover{background:#237b50;color:#fff;border-color:#174e35;box-shadow:0 4px 0 #174e35}
.playground .learning-categories button[aria-pressed=true]>span{color:#ffdf70}
.playground .learning-categories button:hover{background:#d6edbf;color:#234f36;border-color:#3d8054}
.playground .pg-search{width:100%;min-width:0;background:white;border:2px solid #aac5b1;border-radius:14px;padding:9px 10px;color:#42644e;margin:0}
.playground .pg-search input{color:#244932;font-size:13px}.playground .pg-search input::placeholder{color:#5b7161}
.playground .learning-library{gap:26px}
.playground .group-toggle,.playground .is-expanded .group-toggle{border:2px solid #98bd9d;background:#e5efcb;padding:10px 15px;margin-bottom:0;border-radius:17px;gap:12px}
.playground #group-art .group-toggle{background:#d2efb5;border-color:#81b46d}
.playground .group-toggle:hover,.playground #group-art .group-toggle:hover{background:#c9e9a8;border-color:#3e7d4b}
.playground .group-heading-copy{min-width:0}.playground .group-heading-copy>small{display:none}
.playground .group-heading-copy>strong,.playground #group-art .group-heading-copy>strong{font-size:24px;color:#24522f;font-weight:600}
.playground .group-heading-copy>span{color:#44634c;font-size:12px}
.playground .learning-mark,.playground #group-art .learning-mark{width:42px;height:42px;min-width:42px;border:2px solid #4b8759;background:#fffbdc;color:#2d7144;border-radius:13px}
.playground .group-count{color:#355e42;font-weight:800}
.playground .group-fold{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:2px solid #447b50;border-radius:11px;background:#fffdf1;color:#285638;box-shadow:0 3px 0 #447b50;font-size:27px}
.playground #group-reading .group-toggle{background:#eef0e9;border-color:#bac3b8}.playground #group-reading .learning-mark{background:#f7f7ef;color:#5c6c5a;border-color:#9aa897}
.playground .group-inner>.portal-grid{padding-top:16px;padding-bottom:9px}
.playground .learning-shelf .portal-grid{gap:20px;grid-template-columns:repeat(4,minmax(0,1fr))}
.playground .learning-shelf .portal-card{border:2px solid #688d6e;background:#fff;box-shadow:0 6px 0 #91ad82;border-radius:23px}
.playground .learning-shelf .portal-link{border-radius:21px}
.playground .learning-shelf .portal-scene{height:190px;min-height:190px;border-radius:20px 20px 0 0;border-bottom:2px solid #688d6e}
.playground .learning-shelf .portal-copy{padding:16px;gap:9px}
.playground .learning-shelf .portal-title{font-size:23px;font-weight:600;color:#244c37;letter-spacing:-.3px}
.playground .learning-shelf .portal-description{font-size:13px;line-height:1.5;color:#4d6053}
.playground .learning-shelf .portal-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:10px;color:#526b59;opacity:1}
.playground .learning-shelf .portal-age{display:inline-flex;align-items:center;flex:0 0 auto;padding:5px 9px;border-radius:6px;background:#244c37;color:#fff;font:800 12px/1.2 var(--body);letter-spacing:0;text-transform:none;white-space:nowrap;text-shadow:0 1px 1px #63418055}
.playground .learning-shelf .portal-meta-copy{min-width:0}
.playground .learning-shelf .portal-play{background:#ffe083;color:#294531;border:1px solid #c49a3e;border-radius:10px;min-height:34px;padding:6px 11px;font-size:13px;font-weight:600;margin-top:5px}
.playground .portal-card:is(:hover,:focus-within,.saying-hello){border-color:#246a3e;box-shadow:0 7px 0 #48814c,0 12px 18px #28593822}
.playground .portal-card.is-open .portal-cover{filter:none}
/* Keep age badges green; the locked scene and copy retain their muted styles. */
.playground .portal-card.is-locked .portal-cover{filter:none}
.playground .portal-paint .portal-scene{background:#66cccf}
.playground .portal-paint .portal-avatar{width:185px;height:185px;left:calc(50% - 92px)}
.playground .portal-paint .paint-blob{opacity:1}.playground .portal-paint .blob-one{background:#ffbd52}.playground .portal-paint .blob-two{background:#ee86af}
.playground .learning-shelf .portal-card.is-locked{border-color:#b1b9ae;box-shadow:0 4px 0 #c4cabf;background:#f0f1eb}
.playground .portal-card.is-locked .portal-scene{border-bottom-color:#b1b9ae}
.playground .portal-card.is-locked .portal-play{background:#6e766d;border-color:#6e766d;color:#fff}
.playground .portal-card.is-locked .portal-title{color:#5c655b}.playground .portal-card.is-locked .portal-description,.playground .portal-card.is-locked .portal-meta{color:#687165}
.playground .pg-hover-note{color:#4e6650;margin-top:18px}
.playground .pg-grownups{background:#d9edcb;border:2px solid #94b98b;color:#295939;box-shadow:0 5px 0 #a6c79b;margin-top:40px}
.playground .pg-grownups p:not(.pg-kicker){color:#45604c}.playground .parent-link{color:#286b45}
.playground .family-story{background:#f3eafa;border:2px solid #bc9ad7;margin-top:42px;box-shadow:0 5px 0 #c4a9d9}
.playground .family-story h2{color:#70488d}.playground .family-story p:not(.pg-kicker){color:#655171}.playground .family-story a{color:#754b95}
.playground .learning-shelf.reveal-pending{opacity:1;translate:none}
.playground a:focus-visible,.playground button:focus-visible,.playground input:focus-visible{outline:3px solid #205bcb;outline-offset:5px}
@media(max-width:1100px){.playground .pg-browse{grid-template-columns:1fr}.playground .pg-search{width:210px;justify-self:end}.playground .learning-categories{grid-row:1;justify-content:center}.playground .pg-browse{gap:10px}.playground .learning-shelf .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.playground .pg-hero{padding:20px;grid-template-columns:1fr 1fr}.playground .hero-boo{left:-20px;width:160px;height:175px}.playground .hero-doodle{right:-15px;width:160px;height:175px}.playground .hero-foo{width:250px;height:260px;left:calc(50% - 125px)}.playground .hero-bubble{font-size:11px}.playground .pg-hero h1{font-size:45px}.playground .pg-surprise{padding:8px 10px;font-size:12px}}
@media(max-width:760px){.playground .pg-wrap{width:calc(100% - 32px)}.playground .pg-header{height:auto;min-height:100px;padding:16px 0;gap:14px}.playground .pg-hero{grid-template-columns:1fr;margin:4px 0 23px;padding:23px 18px 18px;border-radius:25px 25px 42px 25px;gap:0}.playground .pg-hero:before{width:230px;height:230px;right:calc(50% - 115px);top:auto;bottom:23px;box-shadow:0 0 0 15px #d8f3ba}.playground .pg-hero:after{left:-10%;bottom:-108px}.playground .pg-hero h1{font-size:clamp(36px,7.5vw,49px);margin-bottom:12px}.playground .pg-hero-description{font-size:13px;margin:0 auto;max-width:360px}.playground .pg-hero-copy .pg-kicker{font-size:8px;letter-spacing:1px}.playground .pg-hero-actions{margin-top:15px;gap:10px}.playground .pg-primary{font-size:16px;padding:10px 15px}.playground .pg-surprise{font-size:12px;padding:8px 12px}.playground .pg-hero-footnote{font-size:10px;margin-top:13px}.playground .orbit-stage{height:220px;width:min(400px,100%);margin-top:16px}.playground .hero-foo{width:208px;height:214px;left:calc(50% - 104px);top:-3px}.playground .hero-boo{width:140px;height:145px;left:-11px;bottom:-2px}.playground .hero-doodle{width:140px;height:145px;right:-10px;bottom:-5px}.playground .hero-bubble{font-size:10px;padding:6px 8px;right:-3px;top:0;max-width:138px}.playground .hero-tap-note{bottom:-10px;left:24%;font-size:9px}.playground .hero-token{width:31px;height:33px;font-size:22px}.playground .token-a{left:7%;top:27px}.playground .token-five{top:66px;right:1%}.playground .hero-token.token-paint{display:none}.playground .pg-shelf-heading{gap:10px;align-items:flex-start}.playground .pg-shelf h2{font-size:28px;line-height:1.08;max-width:280px}.playground .pg-count{font-size:10px;white-space:normal;text-align:right;max-width:90px;padding-top:5px}.playground .pg-browse{margin-bottom:17px;gap:13px}.playground .learning-categories{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.playground .learning-categories button{padding:9px 10px;min-height:48px}.playground .learning-categories strong{font-size:13px}.playground .learning-categories button>span{font-size:19px}.playground .pg-search{width:100%}.playground .group-heading-copy>strong,.playground #group-art .group-heading-copy>strong{font-size:22px}.playground .group-heading-copy>span{display:none}.playground .group-toggle{padding:10px;gap:9px}.playground .learning-mark{width:36px;height:36px;min-width:36px}.playground .learning-shelf .portal-grid{gap:14px}.playground .learning-shelf .portal-scene{height:155px;min-height:155px}.playground .learning-shelf .portal-copy{padding:12px;gap:8px}.playground .learning-shelf .portal-title{font-size:21px}.playground .learning-shelf .portal-description{font-size:12px}.playground .learning-shelf .portal-meta{font-size:9px}.playground .learning-shelf .portal-play{font-size:12px;padding:6px 9px}.playground .learning-library{gap:24px}.playground .portal-paint .portal-avatar{width:155px;height:155px;left:calc(50% - 77px)}}
@media(max-width:480px){.playground .learning-shelf .portal-grid{grid-template-columns:1fr}.playground .learning-shelf .portal-scene{height:210px;min-height:210px}.playground .learning-shelf .portal-copy{padding:17px;gap:9px}.playground .learning-shelf .portal-title{font-size:25px}.playground .learning-shelf .portal-description{font-size:14px}.playground .learning-shelf .portal-meta{font-size:10px}.playground .learning-shelf .portal-play{font-size:14px;min-height:40px;padding:8px 13px}.playground .learning-shelf .portal-link{display:flex;min-height:0}.playground .portal-paint .portal-avatar{width:210px;height:210px;left:calc(50% - 105px)}.playground .pg-header-actions .toy-nav{font-size:12px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.playground .hero-friend,.playground .hero-token,.playground .portal-avatar{animation:none!important;transition:none!important}.playground .pg-primary,.playground .pg-surprise{transition:none}}


/* Topsy Town keeps the shared full-card hover and illustrated craft treatment. */
.playground .portal-topsy .portal-platform,.playground .portal-topsy .portal-backdrop{display:none}
.playground .portal-topsy .portal-craft-object>img{object-position:35% center}
.playground .portal-topsy .portal-craft-host{inset:auto 2% 2% auto;width:58%;height:92%;z-index:4;transform:rotate(3deg)!important;animation:none;pointer-events:none}
.playground .portal-topsy .portal-craft-host .minion-avatar{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 5px 3px #69492840)}
.playground .portal-topsy .portal-host{z-index:5;background:#fff2dbe8;color:#704d29}


/* WonderWild pairs its paint-to-life scene with a separate little paint helper. */
.playground .portal-wonderwild .portal-platform,.playground .portal-wonderwild .portal-backdrop{display:none}
.playground .portal-wonderwild .portal-craft-object>img{object-position:35% center}
.playground .portal-wonderwild .portal-craft-host{inset:auto 0 -4% auto;width:43%;height:94%;z-index:4;transform:rotate(3deg)!important;animation:none;pointer-events:none}
.playground .portal-wonderwild .portal-craft-host .minion-avatar{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 5px 3px #69492840)}
.playground .portal-wonderwild .portal-host{z-index:5}

/* Keep the clay snail visible beside the small greeting mascot. */
.playground .portal-clay .portal-avatar.portal-craft-host{right:0;bottom:-4%;width:48%;height:90%}

/* Number worlds: full-bleed activity scenes behind the original helpers. */
.portal-numbergarden .portal-scene{background:#abc493}
.portal-numberworkshop .portal-scene{background:#e3caa3}
.playground :is(.portal-numbergarden,.portal-numberworkshop) :is(.portal-platform,.portal-backdrop){display:none}
.playground :is(.portal-numbergarden,.portal-numberworkshop) .portal-scene:after{content:none}
.playground :is(.portal-numbergarden,.portal-numberworkshop) .portal-craft-object{inset:0}
.playground :is(.portal-numbergarden,.portal-numberworkshop) .portal-craft-object>img{width:100%;height:100%;object-fit:cover;object-position:40% center}
.playground .portal-numbergarden .portal-craft-object>img{object-position:40% top}
.portal-numbergarden .portal-craft-host,.portal-numberworkshop .portal-craft-host{position:absolute;right:2%;left:auto;bottom:4%;width:45%;height:73%}
.portal-numbergarden .portal-craft-host img,.portal-numberworkshop .portal-craft-host img{width:100%;height:100%;object-fit:contain}

/* Puffy Grids: dot-to-clay workshop and its own tactile square companion. */
.playground .portal-puffy-grids .portal-scene{background:#ecd9b5}
.playground .portal-puffy-grids .portal-platform,.playground .portal-puffy-grids .portal-backdrop{display:none}
.playground .portal-puffy-grids .portal-scene:after{content:none}
.playground .portal-puffy-grids .portal-craft-object>img{object-position:38% 50%}
.playground .portal-puffy-grids .portal-avatar.portal-puffy-host{inset:auto 2% 0 auto;width:42%;height:86%;z-index:4;transform:none!important;animation:none;pointer-events:none}
.playground .portal-puffy-grids .portal-puffy-host .minion-avatar{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 5px 3px #70563055)}
.playground .portal-puffy-grids .portal-host{z-index:5}

/* Bead Buddies: a small wooden world and its cord-and-bead host. */
.portal-beadbuddies .portal-scene{background:#dec092}.portal-beadbuddies .portal-craft-object{position:absolute;inset:0;display:block}.portal-beadbuddies .portal-craft-object img{width:100%;height:100%;object-fit:cover}.portal-beadbuddies .portal-platform,.portal-beadbuddies .portal-backdrop{display:none}.portal-beadbuddies .portal-craft-host{position:absolute;right:-1%;left:auto;bottom:0;width:34%;height:79%;filter:drop-shadow(0 4px 3px #563d2e38)}.portal-beadbuddies .portal-craft-host img{width:100%;height:100%;object-fit:contain}.portal-beadbuddies .portal-host{display:none}

.portal-sticklings .portal-craft-object{position:absolute;inset:0;display:block}.portal-sticklings .portal-craft-object img{width:100%;height:100%;object-fit:cover;object-position:60% 40%}.portal-sticklings .portal-craft-host{right:2%;bottom:-8%;width:29%;height:55%}.portal-sticklings .portal-host{background:#fff2dacc;color:#634027}.portal-sticklings .portal-backdrop,.portal-sticklings .portal-platform{display:none}
