.wonder-kicker{margin:0 0 .45rem;color:var(--green);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.wonder-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.2rem 0}.wonder-choices button{min-height:7rem;display:grid;place-items:center;gap:.35rem;border:2px solid var(--line);border-radius:1rem;background:var(--card);color:inherit}.wonder-choices button:disabled{opacity:1;color:inherit}.wonder-choices button span{font-size:2.25rem}.wonder-choices button[aria-pressed=true]{border-color:var(--green);background:var(--mint)}.wonder-feedback{padding:1rem;border-radius:1rem;background:var(--mint)}.wonder-feedback.is-resolved{border:2px solid var(--green)}.wonder-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.wonder-view-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;padding:.35rem;margin:1rem 0 1.35rem;border-radius:1.15rem;background:var(--mint)}.wonder-view-switch button{min-height:52px;margin:0;padding:.65rem;border:0;border-radius:.85rem;background:transparent;color:inherit;white-space:normal}.wonder-view-switch button[aria-selected=true]{background:var(--card);box-shadow:0 2px 8px #0002}.wonder-view-switch button:focus-visible{outline:3px solid var(--green);outline-offset:2px}.wonder-game-shelves{display:grid;gap:1.5rem}.wonder-game-shelf{padding:1rem;border:1px solid var(--line);border-radius:1.25rem;background:color-mix(in srgb,var(--card) 88%,var(--mint))}.wonder-shelf-heading{display:flex;align-items:center;gap:.8rem}.wonder-shelf-heading>span{display:grid;place-items:center;width:3.5rem;aspect-ratio:1;border-radius:50%;background:var(--mint);font-size:1.75rem}.wonder-shelf-heading small,.wonder-shelf-heading h2{display:block;margin:.1rem 0}.wonder-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}.wonder-game-grid button{display:flex;min-height:9rem;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;margin:0;padding:.8rem;border:2px solid var(--line);border-radius:1rem;background:var(--card);color:inherit;text-align:center}.wonder-game-grid button>span{font-size:2rem}.wonder-game-grid button small{color:inherit;font-weight:400}.wonder-memory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.wonder-memory button,.wonder-sequence button{display:flex;min-height:7rem;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;margin:0;padding:.7rem;border:2px solid var(--line);border-radius:1rem;background:var(--card);color:inherit;text-align:center}.wonder-memory button>span,.wonder-sequence button>span{font-size:2rem}.wonder-memory button[aria-pressed=true]{border-color:var(--green);background:var(--mint)}.wonder-memory button.is-matched{border-color:var(--green);background:var(--mint);opacity:1}.wonder-sequence-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1rem 0}.wonder-sequence-progress>span{display:flex;min-height:4rem;align-items:center;gap:.5rem;padding:.6rem;border:2px dashed var(--line);border-radius:.9rem}.wonder-sequence-progress>span.is-filled{border-style:solid;border-color:var(--green);background:var(--mint)}.wonder-sequence-progress small{display:grid;place-items:center;width:1.6rem;aspect-ratio:1;border-radius:50%;background:var(--green);color:#fff}.wonder-sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:1rem 0}.wonder-rail-wrap{max-width:44rem;margin:0 auto}.wonder-rail{position:relative;padding:0;margin:0;list-style:none}.wonder-station{position:relative;padding-left:4.75rem}.wonder-station:not(:first-child){padding-top:4rem}.wonder-station:not(:last-child):after{content:"";position:absolute;left:1.9rem;top:4rem;bottom:-4rem;width:.55rem;border:2px solid #697b5b;border-block:0;background:repeating-linear-gradient(to bottom,#e7c47b 0 12px,transparent 12px 22px)}.wonder-track{position:absolute;left:1.25rem;top:.45rem;display:grid;place-items:center;width:1.8rem;height:2rem;color:#e7c47b;font-size:1.4rem;font-weight:800}.wonder-station>button,.wonder-next-stop{display:grid;grid-template-columns:4rem minmax(0,1fr);gap:1rem;align-items:center;width:100%;min-height:7rem;margin:0;padding:1rem;border:2px solid var(--line);border-radius:1.2rem;background:var(--card);color:inherit;text-align:left}.wonder-next-stop{border-style:dashed;border-color:var(--green);background:var(--mint)}.wonder-next-stop>span:last-child{min-width:0}.wonder-station-dot{z-index:2;display:grid;place-items:center;width:4rem;aspect-ratio:1;border:.35rem solid #e7c47b;border-radius:50%;background:#293225;font-size:1.7rem}.wonder-station small,.wonder-station strong,.wonder-station span{display:block}.wonder-station strong{font-size:1.2rem}.wonder-next-stop button{margin:.7rem 0 0}.wonder-sticker-album{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.wonder-sticker{display:flex;min-height:14rem;flex-direction:column;align-items:center;justify-content:center;gap:.65rem;margin:0;padding:1rem;border:2px solid var(--line);border-radius:1.25rem;text-align:center}.wonder-sticker.is-earned{background:var(--card);color:inherit}.wonder-sticker.is-waiting{border-style:dashed;background:linear-gradient(145deg,#58634f,#30372c);color:#f3f3e7}.wonder-sticker-back,.wonder-sticker-fallback{display:grid;place-items:center;width:min(100%,8rem);aspect-ratio:1;border-radius:50%;background:repeating-linear-gradient(45deg,#728167 0 12px,#65735b 12px 24px);color:#f3f3e7;font-size:2.5rem}.wonder-sticker img{display:block;width:min(100%,9rem);height:auto;aspect-ratio:1;object-fit:contain;border-radius:50%}.wonder-sticker .bonding-sprite-frame{width:min(100%,9rem);height:auto}.wonder-sticker small{color:inherit}.wonder-empty{text-align:center;padding:2rem;border:1px dashed var(--line);border-radius:1.2rem}.wonder-empty>span{font-size:2.5rem}.character-hub{overflow-wrap:anywhere}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.character-card{display:grid;grid-template-columns:clamp(6.5rem,12vw,9rem) minmax(0,1fr);gap:1.25rem;align-items:start;padding:1.1rem;margin:1rem 0;border:1px solid var(--line);border-radius:1rem;background:var(--card)}.character-card-main{grid-template-columns:clamp(7.5rem,14vw,10rem) minmax(0,1fr);border-color:var(--green)}.character-card>img,.character-card>.chimp-pal-art{width:100%;height:auto;aspect-ratio:1;border-radius:50%;object-fit:cover}.character-card-main>img{object-position:center 18%;background:var(--mint)}.character-card>div{min-width:0}.character-card>span:first-child{font-size:3rem}.character-card h2{margin:.2rem 0;overflow-wrap:anywhere}.character-card button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.wonder-memory button:not([aria-pressed=true]):not(.is-matched){background:repeating-linear-gradient(45deg,#58634f 0 12px,#4c5845 12px 24px);color:#f3f3e7}.wonder-unlock-note{padding:.75rem 1rem;border:2px solid #e7c47b;border-radius:1rem;background:#fff9ec;color:#000;font-weight:700}
.wonder-station{padding-left:0}.wonder-station:not(:last-child):after{left:2.75rem;top:3.5rem;bottom:-4rem;width:.5rem;border:0;border-radius:999px;background:#e7c47b;box-shadow:0 0 0 3px #293225,0 0 0 5px #697b5b}.wonder-track{z-index:2;left:2.1rem;top:.9rem;width:1.8rem;height:1.8rem;border-radius:50%;background:#293225;color:#e7c47b;font-size:.9rem}.wonder-station>button,.wonder-next-stop{position:relative;z-index:1;display:block;padding:1rem 1rem 1rem 6.5rem}.wonder-station-dot{position:absolute;left:-3rem;top:50%;transform:translateY(-50%)}
.wonder-station>button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.wonder-poem-album{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.wonder-poem-cover{position:relative;display:flex;min-height:17rem;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;overflow:hidden;margin:0;padding:1.2rem;border:4px solid #293225;border-radius:.6rem;box-shadow:6px 6px 0 #e7c47b;color:#293225;text-align:center}.wonder-poem-cover:before{content:"";position:absolute;inset:0;z-index:0;background-image:radial-gradient(#29322522 1px,transparent 1px);background-size:9px 9px}.wonder-poem-cover>*{position:relative;z-index:1}.wonder-poem-cover.is-earned{background:linear-gradient(145deg,#fff5bc,#cfe9db);color:#293225}.wonder-poem-cover.is-waiting{border-style:dashed;box-shadow:none;background:linear-gradient(145deg,#59634f,#30372c);color:#f8f3df}.wonder-poem-cover-art{display:grid;place-items:center;width:7rem;aspect-ratio:1;border:4px solid currentColor;border-radius:50%;background:#fff9;font-size:3.6rem}.wonder-poem-cover.is-waiting .wonder-poem-cover-art{background:repeating-linear-gradient(45deg,#728167 0 12px,#65735b 12px 24px)}.wonder-poem-cover strong{max-width:14rem;font-family:Georgia,serif;font-size:clamp(1.3rem,4vw,1.75rem);line-height:1.1}.wonder-poem-cover small{font-weight:800;letter-spacing:.08em;text-transform:uppercase}.wonder-poem-cover span:last-child{font-weight:700}.wonder-poem-page{max-width:56rem}.wonder-comic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0;margin:1.5rem 0;list-style:none;counter-reset:comic}.wonder-comic-panel{position:relative;display:grid;grid-template-rows:minmax(10rem,1fr) auto;min-width:0;min-height:18rem;overflow:hidden;border:4px solid #293225;border-radius:.55rem;background:#cfe8f2;box-shadow:5px 5px 0 #293225}.wonder-comic-panel:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#29322524 1.2px,transparent 1.2px);background-size:10px 10px;pointer-events:none}.wonder-comic-panel.panel-2{background:#dcefc4}.wonder-comic-panel.panel-3{background:#ffe59d}.wonder-comic-panel.panel-4{background:#f6ceb4}.wonder-comic-number{position:absolute;z-index:3;top:.55rem;left:.55rem;display:grid;place-items:center;width:2rem;aspect-ratio:1;border:3px solid #293225;border-radius:50%;background:#fff7d6;color:#293225;font-weight:900}.wonder-comic-scene{position:relative;z-index:1;display:grid;place-items:center;min-height:10rem;padding:1rem}.wonder-comic-scene>span{filter:drop-shadow(3px 4px 0 #ffffffaa);font-size:clamp(4.5rem,14vw,7rem)}.wonder-comic blockquote{position:relative;z-index:2;margin:0;padding:1rem 1.1rem;border-top:4px solid #293225;background:#fffdf3;color:#293225}.wonder-comic blockquote:before{content:"";position:absolute;top:-1.15rem;left:2rem;width:1.6rem;height:1.6rem;border:4px solid #293225;border-right:0;border-bottom:0;background:#fffdf3;transform:rotate(45deg)}.wonder-comic blockquote p{position:relative;margin:0;font-family:Georgia,serif;font-size:clamp(1.12rem,3vw,1.45rem);font-weight:700;line-height:1.35}.wonder-poem-finish{display:flex;align-items:center;justify-content:center;gap:.65rem;padding:1rem;border:2px solid #e7c47b;border-radius:1rem;background:var(--mint);font-weight:700;text-align:center}.wonder-poem-finish>span{color:#c98918;font-size:1.7rem}
@media(max-width:700px){.wonder-game-grid,.wonder-sticker-album{grid-template-columns:repeat(2,minmax(0,1fr))}.wonder-view-switch{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.wonder-choices,.wonder-sequence,.character-grid{grid-template-columns:1fr}.wonder-choices button,.wonder-memory button,.wonder-sequence button{min-height:5.5rem}.wonder-memory{grid-template-columns:repeat(2,minmax(0,1fr))}.wonder-view-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.wonder-game-grid,.wonder-sticker-album,.wonder-poem-album,.wonder-comic{grid-template-columns:1fr}.wonder-game-grid button{min-height:6.5rem}.wonder-sequence-progress{grid-template-columns:1fr}.wonder-station{padding-left:3.75rem}.wonder-station:not(:last-child):after{left:2rem}.wonder-track{left:1.35rem}.wonder-station>button,.wonder-next-stop{padding:.85rem .75rem .85rem 5rem}.wonder-station-dot{left:-3rem;width:3rem;font-size:1.35rem}.wonder-poem-cover{min-height:14rem}.wonder-comic-panel{min-height:16rem}.character-card,.character-card-main{grid-template-columns:5.75rem minmax(0,1fr)}}
@media(max-width:360px){.wonder-memory{grid-template-columns:1fr}.character-card,.character-card-main{grid-template-columns:1fr}.character-card>img,.character-card>.chimp-pal-art{width:min(100%,5.5rem)}}
@media(prefers-reduced-motion:reduce){.wonder-chapter *,.wonder-book *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.wonder-adventures{display:grid;gap:1.4rem}.wonder-adventure{min-width:0;padding:1.25rem;border:1px solid var(--line);border-radius:1.4rem;background:var(--card)}.wonder-adventure-heading{display:flex;align-items:center;gap:1rem}.wonder-adventure-heading>span{font-size:2.5rem}.wonder-adventure-heading h2{margin:.15rem 0}.wonder-adventure-heading small{color:inherit}.wonder-adventure-keepsakes{display:grid;grid-template-columns:minmax(0,10rem) minmax(0,1fr);align-items:center;gap:1.25rem}.wonder-adventure-sticker{display:flex;align-items:center;flex-direction:column;gap:.5rem;margin:0;padding:.7rem;background:var(--mint);color:inherit;border:1px solid var(--line);border-radius:1rem}.wonder-adventure-sticker img,.wonder-adventure-sticker .bonding-sprite-frame{width:min(100%,7rem);height:auto}.wonder-adventure-sticker img{aspect-ratio:1;object-fit:contain}.wonder-adventure-links{display:flex;flex-wrap:wrap;gap:.6rem}.wonder-adventure-links button{margin:0}.wonder-adventure-map{margin-top:1.5rem}.wonder-adventure-map summary{padding:1rem;cursor:pointer;font-weight:700;min-height:48px}.wonder-adventure-map .wonder-rail-wrap{margin-top:1rem}.wonder-play-beat{padding:1.5rem;border:1px solid var(--line);border-radius:1.3rem;background:var(--card);min-height:15rem}.wonder-play-beat>span{font-size:3rem}.wonder-play-beat h2{margin:.5rem 0}.wonder-shared-play .wonder-actions{justify-content:flex-start}.wonder-book button,.wonder-shared-play button{overflow-wrap:anywhere;white-space:normal}.wonder-adventure-sticker:focus-visible,.wonder-adventure-map summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}@media(max-width:560px){.wonder-adventure-keepsakes{grid-template-columns:1fr}.wonder-adventure-sticker{max-width:12rem}.wonder-adventure-links{flex-direction:column}.wonder-play-beat{padding:1rem;min-height:12rem}}

.wonder-adventure-heading>div,.wonder-shelf-heading>div{min-width:0;overflow-wrap:anywhere}.wonder-adventure-heading>span,.wonder-shelf-heading>span{flex-shrink:0}.wonder-adventure-map .wonder-station>button,.wonder-adventure-map .wonder-next-stop{min-width:0;overflow-wrap:anywhere}@media(max-width:560px){.wonder-adventure{padding:.8rem}.wonder-adventure-map .wonder-station{padding-left:0}.wonder-adventure-map .wonder-station>button,.wonder-adventure-map .wonder-next-stop{padding:.85rem}.wonder-adventure-map .wonder-station-dot{position:static;transform:none;margin-bottom:.5rem}.wonder-adventure-map .wonder-station:not(:last-child):after{left:1rem}.wonder-adventure-map .wonder-track{left:.35rem}}

.wonder-game-shelves,.wonder-sticker-album,.wonder-poem-album{min-width:0}.wonder-game-shelf,.wonder-sticker,.wonder-poem-cover,.wonder-comic-panel{min-width:0;overflow-wrap:anywhere}.wonder-poem-cover-art{max-width:100%;height:auto}.wonder-shelf-heading>span{width:clamp(2.5rem,10vw,3.5rem)}@media(max-width:560px){.wonder-game-shelves,.wonder-game-grid,.wonder-sticker-album,.wonder-poem-album,.wonder-comic{grid-template-columns:minmax(0,1fr)}.wonder-game-shelf{padding:.75rem}.wonder-shelf-heading{flex-wrap:wrap}}
.wonder-play-beat{min-width:0;overflow-wrap:anywhere}

.wonder-adventure-links{display:grid;gap:.75rem;min-width:0}.wonder-adventure-links h3{margin:0}.wonder-adventure-play-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.wonder-adventure-play-ideas button{min-width:0;min-height:5rem}.wonder-adventure-links>[data-wonder-poem]{justify-self:start}@media(max-width:700px){.wonder-adventure-play-ideas{grid-template-columns:minmax(0,1fr)}.wonder-adventure-play-ideas button{min-height:48px}}

/* Wonder Woods keeps the illustrated path horizontal on every screen. */
.wonder-book-purpose{max-width:44rem;line-height:1.5}
.wonder-woods{min-width:0;margin:1.5rem 0;padding:1.25rem;border:1px solid #cfdbc4;border-radius:1.5rem;background:linear-gradient(160deg,#fffdf3,#e7efdb);color:#193b32;overflow:hidden}
.wonder-woods-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.wonder-woods-heading>div:first-child{min-width:0;flex:1 1 15rem}
.wonder-woods h2{color:#193b32;margin:0 0 .35rem;font-size:1.6rem;line-height:1.2;overflow-wrap:anywhere}
.wonder-woods-heading p{margin:0;line-height:1.4}
.wonder-woods-controls{display:flex;gap:.4rem}
.wonder-woods-controls button{display:grid;place-items:center;width:3rem;min-height:3rem;margin:0;padding:.25rem;border:1px solid #829879;border-radius:50%;background:#fffdf3;color:#193b32;font-size:1.3rem}
.wonder-woods-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;margin-top:.75rem;scrollbar-color:#799668 #e7efdb;scrollbar-width:thin}
.wonder-woods-scroll:focus-visible{outline:3px solid #41684c;outline-offset:2px;border-radius:.5rem}
.wonder-woods-canvas{position:relative;width:var(--woods-width);min-height:10rem;min-width:100%;padding-bottom:.5rem}
.wonder-woods-path{position:absolute;inset:0;width:100%;height:10rem;pointer-events:none}
.wonder-woods-path path{fill:none;stroke:#adba77;stroke-width:7;stroke-linecap:round}
.wonder-treehouses{position:relative;display:flex;list-style:none;margin:0;padding:0;gap:0}
.wonder-treehouse{flex:1 0 12rem;min-width:0;margin-top:var(--treehouse-offset)}
.wonder-treehouse>button{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:100%;margin:0;padding:.5rem 1rem;background:transparent;border:0;color:#193b32;text-align:center}
.wonder-treehouse-art{position:relative;display:block;width:6.5rem;height:6.5rem;max-width:100%}
.wonder-treehouse-art>img{width:100%;height:100%;object-fit:contain}
.wonder-treehouse-art>img[hidden]{display:none}
.wonder-treehouse-art .wonder-activity-picture{position:absolute;right:.5rem;bottom:.15rem;width:2.5rem;height:2.5rem;border:2px solid #fffdf3;border-radius:50%;box-shadow:0 3px 12px #163d332b}
.wonder-tree-fallback{height:100%;align-items:center;justify-content:center;border:1px solid #9bac89;border-radius:2rem;background:#e0e9ce;color:#193b32}
.wonder-tree-fallback:not([hidden]){display:flex}
.wonder-treehouse strong{max-width:11rem;padding:.35rem .6rem;border-radius:1rem;background:#fffdf3;line-height:1.3;box-shadow:0 2px 5px #26483215}
.wonder-treehouse>button:focus-visible{outline:3px solid #41684c;outline-offset:-3px;border-radius:1rem}
.wonder-activity-picture{display:block;flex-shrink:0;width:5rem;height:5rem;border:2px solid #f8f2d5;border-radius:1rem;background-repeat:no-repeat;background-size:200% auto;background-color:#e7efdb}
.wonder-activity-picture.visual-creatures-meet-the-animal{background-position:100% 91%}
.wonder-activity-picture.visual-earth-watch-it-grow{background-position:100% 9%}
.wonder-activity-picture.visual-sky-whats-the-weather{background-position:0 9%}
.wonder-adventure-heading h2{scroll-margin-top:1rem}
@media(max-width:560px){.wonder-woods{padding:.85rem}.wonder-adventure-heading{align-items:flex-start;gap:.75rem}.wonder-adventure-heading .wonder-activity-picture{width:3.75rem;height:3.75rem}}

.wonder-treehouse-art>.wonder-treehouse-pal{position:absolute;left:35%;top:36%;display:block;width:2rem;height:2rem;border-radius:50%;object-fit:cover;border:1px solid #e8f0d0;box-shadow:0 1px 4px #143b322b}.wonder-treehouse-world{font-size:.75rem;line-height:1.2;color:#456448}.wonder-woods .wonder-treehouse-world{font-weight:600}

/* One shared activity per book page; page turning never requires animation. */
.wonder-book-pages{margin-top:1.2rem;gap:0;border:1px solid #8b9979;border-radius:1rem;background:#fffdf3;color:#193b32;box-shadow:4px 4px 0 #dbe2ca,7px 7px 0 #85967533}
.wonder-book-pages .wonder-adventure{border:0;border-radius:1rem 1rem 0 0;background:transparent;border-left:.4rem solid #d3dcbf}
.wonder-book-pages h2,.wonder-book-pages h3{color:#193b32}
.wonder-book-pages button{background:#e7efdb;color:#193b32;border-color:#819477}
.wonder-page-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;border-top:1px solid #c3cfb5}
.wonder-page-controls button{margin:0;min-height:3rem;white-space:normal}
.wonder-page-controls p{margin:0;font-size:.9rem}
.wonder-page-controls button:disabled{opacity:.55}
.wonder-treehouse>button[aria-current=page] strong{box-shadow:0 0 0 2px #557348}
@media(max-width:560px){.wonder-page-controls{display:grid;grid-template-columns:1fr 1fr}.wonder-page-controls p{grid-row:1;grid-column:1/-1;text-align:center}.wonder-page-controls button{padding:.7rem;font-size:.9rem}}

/* Each world capsule and activity follow the same continuous trail. */
.wonder-treehouse{display:flex;align-items:flex-start;justify-content:space-around;gap:.75rem;flex:1 0 var(--landmark-width);padding:0 .5rem}
.wonder-world-capsule{display:flex;align-items:center;gap:.4rem;flex:0 0 auto;margin-top:.7rem;padding:.3rem .6rem .3rem .3rem;border-radius:999px;background:#dceccb;color:#244b2a;font-size:.8rem;font-weight:700;line-height:1.2;box-shadow:0 1px 3px #193b3215}
.wonder-world-capsule.world-sky{background:#d7eafa;color:#204f70}.wonder-world-capsule.world-creatures{background:#ffe2ba;color:#674318}
.wonder-world-capsule>.wonder-treehouse-pal{display:block;width:2rem;height:2rem;flex-shrink:0;border-radius:50%;object-fit:cover}
.wonder-treehouse>button{width:7rem;flex:0 0 7rem;padding:.5rem .25rem}
.wonder-trail-activity-art{display:block;width:3.5rem;height:3.5rem;border-radius:50%;background:#fffdf3;box-shadow:0 0 0 3px #fffdf3}
.wonder-trail-activity-art .wonder-activity-picture{width:100%;height:100%;border-radius:50%}
.wonder-treehouse strong{font-size:.85rem;padding:.3rem .4rem}
.wonder-unknown-activity{display:grid;place-items:center;height:100%;font-size:2rem;color:#557348}

.launch-shell.wonder-book .wonder-book-pages button.secondary{background:#e7efdb;color:#193b32;border-color:#819477}

.wonder-book-pages .wonder-adventure-keepsakes{margin-top:1rem}

/* The trail records activities; three collections hold the continuing wonder. */
.wonder-collections{margin-top:1.5rem;min-width:0}
.wonder-collection-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.launch-shell.wonder-book .wonder-collection-tabs button{margin:0;min-height:3.25rem;padding:.7rem .25rem;background:#dce5cd;color:#193b32;border:2px solid #71836a;border-radius:1rem 1rem 0 0;white-space:normal;overflow-wrap:anywhere}
.launch-shell.wonder-book .wonder-collection-tabs button[aria-selected=true]{background:#fffdf3;border-bottom-color:#fffdf3}
.wonder-collection-panel{min-width:0;padding:1.25rem;background:#fffdf3;color:#193b32;border:1px solid #899b7e;border-radius:0 0 1rem 1rem}
.wonder-collection-panel h2{color:#193b32;margin:0 0 1rem;font-size:1.5rem}
.wonder-play-arena{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.launch-shell.wonder-book .wonder-play-card{display:flex;min-width:0;flex-direction:column;align-items:center;gap:.65rem;margin:0;padding:1rem;border:1px solid #899b7e;border-radius:1.1rem;background:#e7efdb;color:#193b32;text-align:center;overflow-wrap:anywhere}
.wonder-play-card small{font-weight:400;line-height:1.4}.wonder-play-card .wonder-activity-picture{width:4.5rem;height:4.5rem}
.launch-shell.wonder-book .wonder-poem-cover.is-earned{color:#193b32;background:linear-gradient(145deg,#fff1c8,#dceccb);border-color:#506e55;box-shadow:4px 4px 0 #d4ddc3}
.wonder-poem-cover .wonder-activity-picture{width:6rem;height:6rem;max-width:100%;border-radius:50%}
.collection-stickers{background:radial-gradient(#c2ceb0 1px,transparent 1px),#fffdf3;background-size:18px 18px}
.launch-shell.wonder-book .wonder-sticker.is-earned{background:#f6f3df;color:#193b32;border:1px dashed #92a181;box-shadow:2px 3px 0 #c6cfb740}
.wonder-collections button:focus-visible{outline:3px solid #446848;outline-offset:2px}
@media(max-width:700px){.wonder-play-arena{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.wonder-collection-panel{padding:1rem}.wonder-play-arena{grid-template-columns:minmax(0,1fr)}.wonder-sticker{min-height:12rem}}

.wonder-sticker .bonding-sprite-sheet{border-radius:0}
.wonder-play-card .wonder-activity-picture{max-width:100%}

.wonder-collection-panel{overflow-wrap:anywhere}.wonder-collection-panel h2{min-width:0;overflow-wrap:anywhere}.wonder-woods-controls{max-width:100%;min-width:0;flex-wrap:wrap}.wonder-woods-heading p{overflow-wrap:anywhere}

/* Compact Wonder Book header brings the trail into the first viewport. */
main:has(> .wonder-book){padding-block:clamp(.5rem,1.5vh,1rem)}
.launch-shell.wonder-book{padding-block:.25rem 1.25rem}
.launch-shell.wonder-book>#wonder-book-back{min-height:44px;margin:0 0 .35rem;padding:.35rem .2rem}
.launch-shell.wonder-book>h1{margin:0 0 .45rem;font-size:clamp(2rem,4vw,3rem);line-height:1.1}
.launch-shell.wonder-book>.wonder-book-purpose{margin:0;font-size:1.05rem;line-height:1.4}
.wonder-book>.wonder-woods{margin:.85rem 0}
.wonder-book>.wonder-collections{margin-top:1rem}

/* A play theme offers complete invitations together, without a step flow. */
main:has(> .wonder-shared-play){padding-block:clamp(.5rem,1.5vh,1rem)}
.launch-shell.wonder-shared-play{max-width:48rem;padding-block:.25rem 1.25rem;overflow-wrap:anywhere}
.wonder-shared-play>#wonder-back{min-height:44px;margin:0 0 .35rem;padding:.35rem .2rem}
.wonder-shared-play>h1{margin:0 0 .45rem;font-size:clamp(2rem,4vw,3rem);line-height:1.1}
.wonder-shared-play>.wonder-kicker{margin:.35rem 0}.wonder-shared-play>.launch-intro{margin:.75rem 0 1rem;line-height:1.4}
.wonder-play-invitations{display:grid;gap:.75rem;min-width:0}
.wonder-play-invitation{min-width:0;padding:1rem 1.2rem;border:1px solid #899b7e;border-radius:1rem;background:#fffdf3;color:#193b32;overflow-wrap:anywhere}
.wonder-play-invitation h2{margin:0 0 .4rem;color:#193b32;font-size:1.25rem;line-height:1.3}.wonder-play-invitation p{margin:0;line-height:1.5}
@media(max-width:560px){.wonder-play-invitation{padding:.85rem}}

/* Four distinct collections; labels stay readable on small phones. */
.wonder-collection-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:560px){.wonder-collection-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.launch-shell.wonder-book .wonder-collection-tabs button{border-radius:.75rem}}
.wonder-game-audience{padding:.25rem .6rem;background:#fffdf3;border-radius:999px;font-size:.8rem}.wonder-play-twist{margin-top:.75rem!important;font-style:italic}
main:has(> .wonder-game-screen){padding-block:clamp(.5rem,1.5vh,1rem)}
.launch-shell.wonder-game-screen{max-width:52rem;padding-block:.25rem 1.25rem;overflow-wrap:anywhere}
.wonder-game-screen>#wonder-game-back{min-height:44px;margin:0 0 .35rem;padding:.35rem .2rem}.wonder-game-screen>h1{margin:.5rem 0;font-size:clamp(1.8rem,4vw,2.75rem);line-height:1.1}.wonder-game-screen>.launch-intro{margin:.75rem 0 1rem;line-height:1.4}
.wonder-game-screen button{min-height:44px;min-width:44px;margin:0;white-space:normal;overflow-wrap:anywhere;color:#193b32;background:#e7efdb;border:2px solid #819477}.wonder-game-screen button:focus-visible{outline:3px solid #e7c47b;outline-offset:3px}.wonder-game-screen button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #355d47;background:#fffdf3}.wonder-game-screen button[aria-disabled=true]{opacity:1}
.wonder-game-screen>#wonder-game-back{background:transparent;color:inherit;border:0}.wonder-game-screen .wonder-kicker{margin:.5rem 0}
.wonder-game-art{display:block;position:relative;aspect-ratio:1;width:100%;overflow:hidden;border-radius:.7rem;background:#e1e7d3}.wonder-game-art img{position:absolute;max-width:none;object-fit:fill;margin:0;border-radius:0}.wonder-game-art img[hidden]{display:none}
.wonder-garden-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.wonder-garden-board{min-width:0;padding:.85rem;border:1px solid #819477;border-radius:1rem;background:#fffdf3;color:#193b32}.wonder-garden-board h2{margin:0 0 .75rem;color:#193b32;font-size:1.25rem}.wonder-garden-pictures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.wonder-garden-picture{display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0!important;padding:.4rem;border-radius:.7rem;background:#e7efdb;text-align:center;font-size:.8rem}.wonder-garden-picture.is-found{border-color:#355d47;background:#f9f4d6}
.wonder-crossword-clues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.wonder-crossword-clues button{display:flex;flex-direction:column;align-items:center;gap:.4rem;min-width:0;padding:.65rem;border-radius:1rem}.wonder-crossword-clues .wonder-game-art{max-width:7rem}.wonder-crossword-clues small{font-size:.85rem}
.wonder-crossword-scroll{max-width:100%;overflow-x:auto;margin:1rem 0;padding:.3rem;overscroll-behavior-x:contain}.wonder-crossword-grid{display:grid;grid-template-columns:repeat(var(--crossword-columns),minmax(44px,1fr));gap:4px;width:19rem;max-width:none;min-width:236px;margin:auto}.wonder-crossword-grid button,.wonder-crossword-grid>span{aspect-ratio:1;border-radius:.4rem}.wonder-crossword-grid button{padding:.2rem;background:#fffdf3;font-size:1.4rem;font-weight:700}.wonder-crossword-grid button.is-word{background:#e7efdb}.wonder-crossword-grid button[aria-pressed=true]{background:#f9e6a7}.wonder-letter-bank{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.wonder-letter-bank button{padding:.45rem .75rem;border-radius:.65rem;font-size:1.3rem;font-weight:700}.wonder-letter-instruction{margin:.75rem 0}.wonder-game-status{min-height:1.5em;margin:1rem 0}.wonder-game-actions{display:flex;gap:.75rem;flex-wrap:wrap}.wonder-game-actions button,[data-wonder-game-board]>button{padding:.65rem .9rem;border-radius:.75rem}[data-wonder-game-board]>button{margin-top:.75rem}
@media(max-width:700px){.wonder-garden-boards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.wonder-garden-pictures{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.wonder-crossword-clues{grid-template-columns:minmax(0,1fr)}.wonder-crossword-clues button{display:grid;grid-template-columns:3.5rem minmax(0,1fr);text-align:left}.wonder-crossword-clues .wonder-game-art{grid-row:span 2}}


/* Family-paced peek, hide and reveal; illustrations retain meaning without motion. */
.wonder-hide-scene{position:relative;width:min(100%,42rem);margin:1rem auto;border:2px solid #96a57d;border-radius:1.5rem;overflow:hidden;aspect-ratio:1.9;background:linear-gradient(#f8f3df 0 60%,#d5dfb1 60% 100%)}
.wonder-hide-horizon{position:absolute;inset:45% -10% -10%;border-radius:50% 50% 0 0;background:radial-gradient(ellipse at 30% 0,#e8eccb,#bdcf92)}
.wonder-hide-bushes{position:absolute;inset:8px;display:block}
.wonder-game-screen .wonder-hide-bush{position:absolute;left:calc(var(--slot)*100% / 3);bottom:0;display:block;min-width:44px;min-height:44px;width:calc(100% / 3 - 3px);height:100%;padding:0;border:0;border-radius:1rem;background:transparent;box-shadow:none;overflow:hidden;cursor:pointer}
.wonder-hide-sprite{display:block;position:relative;width:100%;aspect-ratio:1}.wonder-hide-sprite .wonder-game-art{background:transparent;border-radius:0}.wonder-hide-sprite img{border-radius:0}
.wonder-hide-bush>.wonder-hide-cover{position:absolute;bottom:0;height:auto;width:100%;pointer-events:none}
.wonder-hide-friend{position:absolute;inset:4% 7% auto;opacity:0;transform:translateY(28%);pointer-events:none}.wonder-hide-friend.is-visible{opacity:1;transform:translateY(0)}
.wonder-hide-friend .wonder-hide-bird,.wonder-hide-friend .wonder-hide-butterfly{width:75%;margin-inline:auto}
.wonder-hide-bush.is-open>.wonder-hide-cover{transform:translateY(44%);opacity:.65}.wonder-hide-bush.is-found>.wonder-hide-friend{inset:0 7% auto;z-index:1}.wonder-hide-bush.is-found>.wonder-hide-cover{transform:translateY(60%);opacity:.5}
.wonder-hide-tap{position:absolute;bottom:2%;left:40%;font-size:1.5rem;color:#47623b;pointer-events:none}
.wonder-hide-fallback:not([hidden]){position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(2rem,12vw,5rem)}
.wonder-hide-cover:has(img[hidden]){background:#7caa55;border-radius:50% 50% 15% 15%;aspect-ratio:1.35}
.wonder-game-screen .wonder-hide-ready{display:flex;align-items:center;justify-content:center;gap:.75rem;width:min(100%,22rem);margin:.8rem auto 0;padding:.75rem 1rem;border-radius:1rem;background:#e9c878;color:#253d2b;font-size:1.15rem;font-weight:700}.wonder-hide-ready svg{width:2rem;height:2rem;flex:0 0 auto}
@media(prefers-reduced-motion:no-preference){.wonder-hide-friend.is-visible{animation:wonder-elephant-peek .45s ease-out both}.wonder-hide-bush.is-open>.wonder-hide-cover{animation:wonder-bush-reveal .4s ease-out both}}
@keyframes wonder-elephant-peek{from{transform:translateY(24%);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes wonder-bush-reveal{from{transform:translateY(0);opacity:1}to{transform:translateY(44%);opacity:.65}}
@media(prefers-reduced-motion:no-preference){.wonder-hide-friend.is-ducking{animation:wonder-elephant-hide .45s ease-in both}}
@keyframes wonder-elephant-hide{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(70%)}}

@media(prefers-reduced-motion:no-preference){.wonder-hide-bushes.is-shuffling>.wonder-hide-bush{animation:wonder-bush-shuffle 3.6s ease-in-out both}}
@keyframes wonder-bush-shuffle{0%,15%{left:calc(var(--from)*100% / 3);transform:translateY(0)}31%{transform:translateY(var(--arc-one))}48%,55%{left:calc(var(--middle)*100% / 3);transform:translateY(0)}72%{transform:translateY(var(--arc-two))}89%,100%{left:calc(var(--to)*100% / 3);transform:translateY(0)}}

/* First visit explains the collections without showing unearned items. */
.wonder-book-invitation{display:block;font-weight:700;margin-bottom:.35rem}.wonder-first-intro{display:grid;grid-template-columns:8rem minmax(0,1fr);gap:1.5rem;align-items:center;margin:1.5rem 0 2rem}.wonder-first-intro>img{width:8rem;height:9.5rem;object-fit:contain}.wonder-first-intro h2{margin:0 0 .8rem;font-size:clamp(1.7rem,3vw,2.1rem);line-height:1.2}.wonder-first-intro p{margin:0 0 1rem;max-width:36rem;line-height:1.55}.wonder-first-intro button{margin:0;min-height:52px;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:.75rem .65rem}.wonder-first-preview{padding-top:1.2rem;border-top:1px solid #59694e}.wonder-first-preview>h2{margin:0 0 .85rem;font-size:1.15rem}.wonder-first-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.wonder-first-grid article{display:grid;justify-items:center;align-content:start;gap:.55rem;padding:1rem .65rem;border-radius:1.15rem;background:#303b2c;min-width:0;text-align:center}.wonder-first-grid h3{font-size:1.05rem;margin:0;overflow-wrap:anywhere}.wonder-first-grid p{margin:0;font-size:.95rem;line-height:1.4;color:#d1dbc4;overflow-wrap:anywhere}.wonder-first-art{display:grid;place-items:center;width:min(4.5rem,100%);height:auto;aspect-ratio:1;max-width:100%}.wonder-first-art img{width:100%;height:100%;object-fit:contain}.wonder-first-art .wonder-activity-picture{width:100%;height:auto;aspect-ratio:1;max-width:100%}.wonder-first-game{position:relative;overflow:hidden;border-radius:50%;background:#dbe6c8}.wonder-first-game img{position:absolute;left:0;top:0;width:200%;height:200%;max-width:none;object-fit:fill}.wonder-first-poem{position:relative;background:#fffdf3;border-radius:.6rem;box-shadow:4px 3px 0 #acba90;transform:rotate(-5deg);padding:.4rem}.wonder-first-poem .wonder-activity-picture{width:3rem;height:3rem;border:0}.wonder-first-poem:after{content:'';position:absolute;left:.65rem;right:.65rem;bottom:.4rem;height:3px;background:#64816f}.launch-activity-copy .launch-first-browse{display:flex;align-items:center;min-height:44px;margin-top:.5rem;background:transparent;color:#d7e5be;border:0;padding:0;font-size:1rem;white-space:normal;overflow-wrap:anywhere}.launch-first-browse:focus-visible{outline:3px solid #e7c47b;outline-offset:3px}.wonder-first-intro>div{min-width:0;overflow-wrap:anywhere}@media(max-width:560px){.wonder-first-intro{grid-template-columns:4.5rem minmax(0,1fr);gap:.75rem;margin:1.25rem 0 1.5rem;align-items:start}.wonder-first-intro>img{width:4.5rem;height:5.5rem}.wonder-first-intro h2{font-size:1.6rem}.wonder-first-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wonder-first-grid article{padding:.8rem .5rem}.wonder-first-grid p{font-size:.9rem}}
