/* Final layout rules: shared spacing, bounded illustrations and deliberate rows. */
.everyday-home .word-home-header{display:grid;grid-template-columns:minmax(0,1fr) 72px 72px;gap:var(--space-sm);align-items:center;padding:20px var(--lesson-page-gutter) 16px}
.word-home-header .music-button{margin:0}.word-home-header>:last-child{margin:0}.everyday-home .word-home-logo{width:112px;max-width:100%;height:auto}
.everyday-home .word-home-content{padding:0 var(--lesson-page-gutter) 40px}
.everyday-home .word-profile{display:flex;align-items:center;gap:var(--space-sm);width:100%;max-width:100%;min-width:0;min-height:80px;text-align:left;padding:8px 0;margin:0;color:var(--world-ink)}
.everyday-home .word-profile>img{width:64px;height:64px;flex:0 0 64px;object-fit:contain;border-radius:22px;background:#ffedbe}
.word-profile>span{display:grid;gap:4px;min-width:0}.everyday-home .word-profile small{font:500 10px/1.4 var(--world-title);letter-spacing:1.2px;color:var(--world-primary-deep);margin:0}.word-profile strong{font:600 24px/1.2 var(--world-title);overflow-wrap:anywhere}.word-profile em{font:12px/1.5 var(--world-copy);font-style:normal;color:var(--world-muted)}
.everyday-home .word-welcome{margin:24px 0 20px}.everyday-home .word-welcome>p{font-size:10px;line-height:1.5;letter-spacing:1px;margin:0 0 8px}.everyday-home .word-welcome h1{font-size:32px;line-height:1.15;letter-spacing:-.4px;margin:0}.home-ribbons{display:none!important}
.everyday-home .world-hero{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:16px 8px;padding:20px;min-height:0;align-items:center;overflow:visible}
.everyday-home .world-hero>.world-hero-copy{display:flex;gap:12px;max-width:none;min-width:0;align-items:flex-start;position:static}
.world-hero-copy small{font:500 10px/1.5 var(--world-title);letter-spacing:.7px}.everyday-home .world-hero-copy strong{font:600 26px/1.15 var(--world-title);overflow-wrap:normal;word-break:normal}.world-hero-copy em{font:13px/1.6 var(--world-copy);font-style:normal}
.everyday-home .world-hero>img{position:static;display:block;width:116px;height:144px;object-fit:contain;transform:none;filter:drop-shadow(0 6px 4px #b9782d20)}
.everyday-home .world-hero>.world-hero-cta{grid-column:1/-1;max-width:none;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;min-height:72px;padding:16px;gap:12px;font-size:19px;border:2px solid #b798e2;box-shadow:inset 0 2px #fff4,0 5px #513187;border-radius:24px;background:linear-gradient(145deg,#9671d4,#7049af)}
.world-shortcuts{gap:12px;margin:24px 0}.world-shortcuts button{display:flex;flex-direction:column;gap:8px;min-height:100px;padding:14px 6px;font-size:16px}.world-shortcuts .world-icon{width:36px!important;height:36px!important}
.home-journey{display:grid;grid-template-columns:64px minmax(0,1fr) 28px;gap:12px;align-items:center;width:100%;padding:16px;border:2px solid #fff;background:linear-gradient(135deg,#fff0c0,#ffefdc);box-shadow:inset 0 2px #fff,0 5px #e4cbb0;border-radius:28px;text-align:left;color:var(--world-ink)}
.journey-art{display:grid;place-items:center;width:64px;height:72px}.journey-art img{width:64px;height:64px;object-fit:contain}.home-journey strong{display:block;font:500 19px/1.25 var(--world-title)}.home-journey small{display:block;font:12px/1.6 var(--world-copy);margin-top:6px}.home-journey>.world-icon{width:28px!important;height:28px!important;min-width:0;flex-basis:28px!important}
.everyday-home .discovery-section{margin-top:40px}.everyday-home .discovery-heading{margin-bottom:24px}.everyday-home .discovery-heading h2{font-size:28px;line-height:1.2}.game-family{margin:0 0 32px}.game-family h3{font:500 20px/1.3 var(--world-title);margin:0 0 16px}.everyday-home .discovery-grid,.world-grid{gap:24px 16px}
.everyday-home .discovery-card{padding:12px;gap:12px;min-height:224px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;overflow:hidden}.everyday-home .discovery-card strong{font:500 19px/1.25 var(--world-title);overflow-wrap:normal;word-break:normal;max-width:100%;text-wrap:balance}.engine-art{min-height:108px;margin:0;border-radius:20px;flex-shrink:0}.engine-art>img{display:block;max-width:100%;width:108px;height:96px;object-fit:contain}.engine-state{font:500 12px/1.4 var(--world-title);gap:8px;padding-top:0;min-height:28px;flex-shrink:0}.engine-state>.world-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
.world-card-copy{gap:8px;padding:16px 12px}.world-card strong{line-height:1.3}.home-see-all{display:flex;justify-content:center;align-items:center;gap:12px;min-height:72px;width:100%;padding:16px;margin-top:24px;border:2px solid #fff;border-radius:24px;background:linear-gradient(#f8f1ff,#e8dcfa);box-shadow:0 5px #cbb6df;color:var(--world-primary-deep);font:500 18px/1.3 var(--world-title)}
.world-speaking-banner{display:grid;grid-template-columns:52px minmax(0,1fr) 28px;gap:16px;padding:24px 16px}.world-speaking-symbol{width:52px;height:64px}.world-speaking-banner>span:nth-child(2){min-width:0}.world-speaking-banner strong{font-size:22px;line-height:1.25;margin:8px 0}.world-speaking-banner>.world-icon{width:28px!important;height:28px!important;flex-basis:28px!important}.world-speaking-banner small,.world-speaking-banner em{line-height:1.6}
.sticker-album{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.sticker-card{display:flex;align-items:center;flex-direction:column;gap:12px;min-width:0;padding:16px 10px;border:2px solid #fff;border-radius:28px;background:linear-gradient(145deg,#fff9e3,#ffebac);box-shadow:0 5px #ddc58f;color:var(--world-ink);min-height:200px}.sticker-card img{width:104px;max-width:100%;height:96px;object-fit:contain}.sticker-card strong{font:500 17px/1.3 var(--world-title);text-align:center}.sticker-card small{font:12px/1.4 var(--world-copy);text-align:center}.sticker-card.to-discover{background:#f2eaf8;box-shadow:0 5px #d9cbe3}.sticker-card.to-discover img{filter:grayscale(1);opacity:.4}.collection-count{font:500 20px/1.3 var(--world-title)!important;color:var(--world-primary-deep)}
/* One lesson shell. On short screens the question area scrolls; actions stay reachable. */
:is(.trace-shell,.spell-shell,.letters-shell,.play-shell,.count-shell,.upper-shell,.lit-shell){height:100svh;min-height:0;padding:16px var(--lesson-page-gutter) max(24px,env(safe-area-inset-bottom));gap:0}
:is(.trace-top,.spell-top,.letters-top,.play-top,.count-top,.lit-header){display:grid;grid-template-columns:72px minmax(0,1fr) 72px;gap:12px;align-items:center;flex-shrink:0;min-height:72px}
:is(.trace-top,.spell-top,.letters-top,.play-top,.count-top,.lit-header)>:nth-child(2){font:500 19px/1.25 var(--world-title);text-align:center;min-width:0;overflow-wrap:anywhere}
.upper-shell header{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;gap:12px;min-height:72px;flex-shrink:0}.upper-shell header strong{font-size:20px;min-width:0;text-align:center}.upper-count{width:48px}
:is(.trace-main,.spell-main,.letters-main,.play-main,.count-shell>main,.upper-shell>main,.lit-main){min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--lesson-row-gap);padding:24px 4px;scroll-padding:20px;text-align:center}
:is(.trace-main,.spell-main,.letters-main,.play-main,.count-shell>main,.upper-shell>main,.lit-main)>*{flex-shrink:0;max-width:100%}
:is(.trace-main,.spell-main,.letters-main,.play-main,.count-shell>main,.upper-shell>main,.lit-main)>:is(p,h1){margin:0;line-height:1.5}
:is(.trace-main,.spell-main,.letters-main,.play-main,.count-shell>main,.upper-shell>main,.lit-main)>h1{font-size:28px;line-height:1.2;text-wrap:balance;overflow-wrap:anywhere}
:is(.trace-bottom,.spell-shell>footer,.letters-shell>footer,.play-shell>footer,.count-shell>footer,.upper-shell>footer,.lit-footer){flex-shrink:0;display:flex;flex-direction:column;gap:16px;padding-top:8px;margin:0}
:is(.lit-header,.trace-top,.spell-top,.letters-top,.play-top,.count-top) button{width:72px;height:72px;min-height:72px;padding:0}
:is(.trace-lesson-progress,.spell-progress,.letters-progress,.play-progress,.count-progress,.lit-progress,.upper-steps){flex-shrink:0;margin-top:20px}
:is(.trace-coach,.spell-coach,.letters-coach,.play-coach,.upper-coach,.lit-coach){display:flex;gap:12px;align-items:center;width:100%;min-width:0;margin:0;padding:8px 0;text-align:left;min-height:64px}
:is(.trace-coach,.spell-coach,.letters-coach,.play-coach,.upper-coach,.lit-coach)>img{width:48px;height:56px;flex:0 0 48px;object-fit:contain}
:is(.trace-coach,.spell-coach,.letters-coach,.play-coach,.upper-coach,.lit-coach)>p{margin:0;min-width:0;font:14px/1.6 var(--world-copy);overflow-wrap:anywhere}
.trace-board-wrap{width:100%;aspect-ratio:1;min-height:240px;max-height:340px;margin:0}.trace-canvas{max-height:340px}.trace-tools{gap:16px}.trace-tools button{flex:1;gap:8px;padding:12px 6px;font-size:15px;line-height:1.3}.trace-tools .woph-ui-glyph{width:28px;height:28px}
.trace-main{display:grid;grid-template-rows:auto auto minmax(180px,1fr) 40px;gap:12px;align-items:stretch;padding:16px 4px;overflow:hidden}.trace-main>.trace-eyebrow{display:none}.trace-main>h1{font-size:26px;line-height:1.2}.trace-main>.trace-instruction{margin:0;font-size:13px;line-height:1.5}.trace-main>.trace-board-wrap{min-height:0;aspect-ratio:auto;height:100%;max-height:none}.trace-main .trace-canvas{max-height:none}.trace-main>.trace-coach{min-height:40px;padding:0}.trace-main>.trace-coach>img{width:32px;height:36px;flex-basis:32px}.trace-main>.trace-coach>p{font-size:12px;line-height:1.5}
@media(max-height:680px){.trace-main{grid-template-rows:auto auto minmax(160px,1fr);padding:12px 4px}.trace-main>.trace-coach{display:none}.trace-main>h1{font-size:24px}}
.trace-main>.trace-board-wrap{display:block;align-self:stretch;position:relative}.trace-main .trace-canvas{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0}
.trace-shell>.trace-main{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(180px,1fr) 40px;gap:12px;align-items:stretch;justify-content:stretch;padding:16px 4px;overflow:hidden}.trace-shell>.trace-main>h1{font-size:26px;line-height:1.2}
@media(max-height:680px){.trace-shell>.trace-main{grid-template-rows:auto auto minmax(160px,1fr);padding:12px 4px}.trace-shell>.trace-main>h1{font-size:24px}}
.spell-picture{width:176px;height:164px;margin:0}.spell-picture>img{width:144px;height:144px}.spell-picture>span,.upper-picture>span,.play-hero>span,.letters-target>span{right:8px;bottom:8px;width:40px;height:40px}.spell-picture>span .woph-ui-glyph,.upper-picture>span .woph-ui-glyph,.play-hero>span .woph-ui-glyph,.letters-target>span .woph-ui-glyph{width:26px;height:26px}
.spell-slots,.spell-bank{width:100%;gap:16px;padding:4px;align-items:center}.spell-slot,.spell-tile{flex:0 1 84px;width:84px;min-width:72px;height:92px;min-height:92px;padding:8px}.spell-glyph,.spell-slot.filled .spell-glyph{width:100%;max-width:64px;height:72px;object-fit:contain}
.upper-friends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:center;width:100%}.upper-alive,.upper-picture{width:100%;max-width:164px;height:184px;min-width:0;justify-self:center;border-radius:28px}.upper-alive>img,.upper-picture>img{width:calc(100% - 20px);height:156px;max-width:140px;object-fit:contain}.upper-word{font:28px/1.5 var(--world-copy);overflow-wrap:anywhere}.upper-choices,.letters-options,.play-choices{gap:16px;width:100%;padding:4px}.upper-choice,.letters-choice,.play-choice{min-width:0;padding:8px;height:118px}.upper-choice img,.letters-choice>img{width:100%;height:96px;object-fit:contain}.upper-recap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;padding:4px}.upper-recap img{width:100%;height:104px;object-fit:contain}
.lit-choices{gap:16px;padding:4px;margin:0}.lit-choice{min-height:156px;padding:12px 8px;gap:12px}.lit-choice img{width:100%;height:88px}.lit-choices.is-text .lit-choice{gap:16px;min-height:80px}.lit-choices.is-text .lit-choice>span:first-child{min-width:0}.lit-cue{max-width:100%;gap:16px;font-size:36px;line-height:1.4;min-height:80px;padding:12px 20px;overflow-wrap:anywhere}.lit-rail{gap:16px;padding:16px 12px 22px}.lit-rail button{min-height:112px;font-size:60px}.lit-word-change{gap:12px;padding:4px}.lit-word-change>span{font-size:54px;min-height:100px}.lit-token-bank,.lit-order-slots{gap:16px;padding:12px}.lit-order-slots{padding:20px 12px}.lit-word-token{font-size:21px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.lit-story-sentence{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 16px;width:100%;font-size:27px;line-height:1.5;text-wrap:wrap}.lit-story-sentence button{display:block;min-height:72px;min-width:72px;max-width:100%;padding:8px 12px;overflow-wrap:anywhere;line-height:1.5;background:#fff9;border-radius:18px}.lit-story-art{height:180px;margin:0}.lit-book-choices{gap:16px;padding:4px}.lit-book-choice{min-width:0;padding:12px 6px;gap:12px;font-size:16px;line-height:1.4}.lit-book-choice img{width:100%;height:88px;object-fit:contain}.lit-book-cover{padding:20px;display:grid;gap:16px}.lit-book-cover p{margin:0;font-size:23px;line-height:1.6}
.lit-footer .lit-answer-actions{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px}.lit-footer:has(.lit-tools){display:grid;grid-template-columns:152px minmax(0,1fr);gap:16px}.lit-primary,.lit-secondary{line-height:1.3;min-width:0;min-height:72px;white-space:normal}.lit-primary{font-size:18px;padding:14px 12px;gap:10px}.lit-primary>.world-icon{width:28px!important;height:28px!important;flex-basis:28px!important}.lit-footer .lit-tools{gap:8px}.lit-footer .lit-tools .lit-secondary{padding:0}
.play-recap{gap:16px;padding:4px}.play-recap>div{padding:8px;min-width:0}.play-recap img,.play-recap .play-shape{width:100%;height:88px}.play-target{flex-shrink:0}.count-scene{flex-shrink:0;height:380px;min-height:380px}.count-instruction{max-width:100%;line-height:1.6}
.count-shell>main{display:grid;grid-template-rows:auto auto minmax(220px,1fr) minmax(40px,auto);gap:12px;align-items:stretch;justify-content:stretch;padding:16px 4px;overflow-y:auto}.count-shell>main>.count-kicker{display:none}.count-shell>main>h1{font-size:25px;line-height:1.2}.count-shell>main>.count-scene{width:100%;height:100%;min-height:0;max-height:none}.count-shell>main>.count-caption{display:grid;place-items:center;min-height:40px;margin:0;font:500 16px/1.4 var(--world-title);text-align:center}
/* A persistent souvenir replaces decorative three-star ratings. */
.effort-souvenir{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;padding:16px;width:100%;border-radius:28px;background:linear-gradient(140deg,#fff2bd,#ffebcf);border:2px solid #fff;box-shadow:0 5px #dfc59e;text-align:left;color:var(--world-ink)}.effort-souvenir>img{width:72px;height:80px;object-fit:contain}.effort-souvenir strong{display:block;font:500 21px/1.25 var(--world-title)}.effort-souvenir small,.effort-souvenir em{display:block;font:13px/1.6 var(--world-copy);margin-top:8px;font-style:normal}.effort-souvenir em{font-size:12px;color:var(--world-muted)}
.has-souvenir :is(.spell-stars,.upper-stars,.twins-stars,.play-stars,.trace-stars,.letters-stars){display:none}
:is(.trace-summary,.spell-summary,.letters-summary,.play-summary,.count-summary,.twins-summary){overflow-y:auto;justify-content:flex-start;align-items:center;gap:24px;padding-top:32px;padding-bottom:32px;text-align:center}
:is(.trace-summary,.spell-summary,.letters-summary,.play-summary,.count-summary,.twins-summary)>*{flex-shrink:0;max-width:100%}
:is(.trace-summary,.spell-summary,.letters-summary,.play-summary,.count-summary,.twins-summary)>img{width:120px;height:132px;object-fit:contain}
.lit-main>.lit-summary-image{width:120px;height:132px;object-fit:contain}.parent-name-form{display:grid;gap:12px;margin:24px 0}.parent-name-form label{font:16px/1.5 var(--world-copy)}.parent-name-form input{width:100%;min-height:72px;border:2px solid #d8c7e8;border-radius:20px;padding:16px;font:20px var(--world-copy)}.parent-name-form button{min-height:72px}.parent-name-form small{font:12px/1.6 var(--world-copy);color:var(--world-muted)}
.lit-main>.lit-coach:not(.has-feedback){display:none}.has-souvenir .lit-coach{display:flex!important}
.music-panel #music-status{margin:24px 0 0}.music-panel .music-toggle{margin-top:8px}.language-options{gap:16px}.language-choice{gap:12px;min-width:0;line-height:1.4}.language-choice .ph{flex:0 0 32px}
@media(max-height:780px){.lit-main{gap:16px;padding:16px 4px}.lit-main>.lit-kicker{display:none}.lit-cue{min-height:72px;font-size:32px;padding:10px 16px}.lit-word-change>span{height:88px;min-height:88px}.lit-choice:has(.lit-letter-choice){min-height:96px}.lit-letter-choice{font-size:54px}.lit-word-token{font-size:20px;padding:10px;min-width:72px}.lit-token-bank{padding:8px 0}.literacy-player[data-mode="order"] .lit-story-art{height:110px}.literacy-player[data-mode="blend"] .lit-main>img.lit-art{width:120px;height:80px}.lit-story-art{height:144px}.lit-coach.has-feedback{min-height:40px;padding:0}.lit-coach.has-feedback img{width:32px;height:36px;flex-basis:32px}.lit-coach.has-feedback p{font-size:12px;line-height:1.5}}
@media(max-width:359px){:root{--lesson-page-gutter:16px;--lesson-row-gap:20px}.everyday-home .word-home-header{gap:8px!important}.everyday-home .word-home-logo{width:96px!important}.word-profile strong{font-size:23px}.everyday-home .word-welcome h1{font-size:29px}.everyday-home .world-hero{grid-template-columns:minmax(0,1fr) 88px;padding:16px;gap:16px 12px}.everyday-home .world-hero>img{width:88px;height:124px}.everyday-home .world-hero-copy strong{font-size:24px}.world-shortcuts{gap:12px}.world-shortcuts button{font-size:15px;gap:8px}.home-journey{grid-template-columns:48px minmax(0,1fr) 24px;gap:12px;padding:14px}.journey-art,.journey-art img{width:48px;height:56px}.home-journey strong{font-size:18px}.home-journey>.world-icon{width:24px!important;height:24px!important;flex-basis:24px!important}.everyday-home .discovery-grid,.world-grid{column-gap:16px}.everyday-home .discovery-card{padding:10px;min-height:220px}.everyday-home .discovery-card strong{font-size:18px}.world-speaking-banner{grid-template-columns:40px minmax(0,1fr) 24px;gap:12px}.world-speaking-symbol{width:40px}.world-speaking-banner strong{font-size:20px}.lit-header>strong,.play-top>strong,.spell-top>strong,.trace-top>span{font-size:17px}.lit-choices{gap:12px}.lit-choice{padding:12px 4px;font-size:15px}.lit-choice img{height:76px}.lit-letter-choice{font-size:54px}.lit-rail{gap:12px;padding:12px 8px 18px}.lit-rail button{font-size:54px}.lit-word-change{gap:12px}.lit-word-change>span{font-size:46px}.lit-book-choices{gap:12px}.lit-book-choice{font-size:14px}.lit-footer:has(.lit-tools){grid-template-columns:152px minmax(0,1fr);gap:12px}.lit-footer:has(.lit-tools)>.lit-primary{font-size:16px;padding:12px 8px;gap:8px}.effort-souvenir{grid-template-columns:56px minmax(0,1fr);padding:14px;gap:12px}.effort-souvenir>img{width:56px;height:64px}.effort-souvenir strong{font-size:19px}.upper-alive,.upper-picture{height:166px}.upper-alive>img,.upper-picture>img{height:142px}}
@media(prefers-reduced-motion:no-preference){.effort-souvenir{animation:souvenir-arrive .35s ease-out 1}@keyframes souvenir-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
/* Family notebook: short rows, explicit spacing, no icon shrink or long-name collisions. */
.parent-child-heading{margin:24px 0 16px;overflow-wrap:anywhere}
.parent-child-heading small{font-size:13px;letter-spacing:.09em}
.parent-child-heading h2{font-size:32px;margin:8px 0}
.parent-shell .section-heading{flex-wrap:wrap;gap:16px}
.parent-shell .profiles{display:flex;flex-wrap:wrap;gap:12px}
.parent-shell .profile-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:64px}
.parent-shell .profile-chip[aria-pressed=true]{outline:3px solid #6642a5;outline-offset:3px}
.parent-shell .panel,.world-report{min-width:0;overflow-wrap:anywhere}
.parent-week{padding:20px 0;margin:24px 0;border-top:2px solid #e6dbf1;border-bottom:2px solid #e6dbf1}
.parent-week h3{margin:16px 0 12px}
.parent-week-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:24px 0}
.parent-week-bars>div{height:126px;display:grid;grid-template-rows:24px 76px 24px;justify-items:center;align-items:end;gap:2px}
.parent-week-bars i{height:var(--bar);min-height:3px;width:100%;max-width:28px;background:#8362b6;border-radius:10px 10px 4px 4px}
.parent-week-bars span,.parent-week-bars small{font-size:12px;white-space:nowrap}
.parent-recent{list-style:none;padding:0;margin:16px 0;display:grid;gap:12px}
.parent-recent li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:12px 0;border-bottom:1px solid #e6dbf1}
.parent-keepsake-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:72px;width:100%;padding:16px;background:#eadffc;color:#302047;border-radius:24px;font:20px/1.3 var(--font-heading, Fredoka,sans-serif)}
.parent-keepsake-button .world-icon{flex:0 0 32px;width:32px;height:32px}
.parent-celebration{max-height:90svh;overflow:auto;padding:24px}
.parent-celebration label{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:17px}
.parent-celebration input[type=checkbox]{width:28px;min-height:28px;height:28px;margin:0;flex:none}
.parent-celebration canvas{display:block;width:100%;height:auto;border-radius:24px;margin:16px 0}
.celebration-actions{display:flex;gap:12px;flex-wrap:wrap}
.celebration-actions button{flex:1;min-height:64px;padding:12px;border-radius:20px;background:#eadffc;color:#302047;font-size:18px}
.profiles .profile-card{min-width:0;overflow-wrap:anywhere}
.profiles .profile-card .character{max-width:100%;object-fit:contain}
@media(max-width:430px){.parent-shell .panel{padding:18px}.parent-shell .topbar{gap:12px;flex-wrap:wrap}.parent-shell .section-heading h1{font-size:28px}.world-report{padding:18px}.world-report-heading{gap:12px}.world-report-heading h2{font-size:24px}.world-skill-list>div{gap:8px;flex-wrap:wrap}.world-report-stats{gap:12px}.world-report-stats strong{font-size:30px}}
.parent-details{margin:16px 0}
.parent-details>summary{cursor:pointer;min-height:56px;padding:14px 0;font-size:19px;font-weight:600;line-height:1.4}
.parent-details[open]>summary{margin-bottom:16px}
.parent-grid{align-items:start}
.shell>.profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}
.shell>.profiles .profile-card{width:100%;min-height:200px;padding:20px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:28px}
.shell>.profiles .profile-card .character{width:132px;height:132px}
.shell>.profiles .profile-card span{max-width:100%;line-height:1.3}
.shell .top-actions{min-width:0}
.shell .top-actions .profile-chip{max-width:132px;overflow-wrap:anywhere;white-space:normal}
.shell .topbar{gap:12px;flex-wrap:wrap}
/* Preschool art direction: a little scenery on Home, quiet surfaces for questions. */
.everyday-home .world-hero{background:linear-gradient(90deg,#fff4cfef 0%,#fff4cfe6 42%,#fff4cf22 100%),url('assets/ornaments/neighborhood-park-v2.webp') center 61%/cover;border:2px solid #fff8e9;box-shadow:0 6px 0 #d4bc7a,0 12px 24px #5d432412}
.everyday-home .world-hero-copy{color:#302047}
.everyday-home .world-hero-copy small{font-size:11px;letter-spacing:.05em}
.everyday-home .world-hero>img{filter:drop-shadow(0 8px 4px #79513020)}
.everyday-home .discovery-card{border:2px solid #fff;box-shadow:0 5px 0 #e1d7e8,0 9px 18px #30204708;transition:transform .16s ease,box-shadow .16s ease}
.everyday-home .discovery-card .engine-art{background:radial-gradient(ellipse at 50% 75%,#ffffffcc 0%,var(--card-soft) 75%);box-shadow:inset 0 2px 0 #fff}
.everyday-home .engine-art>img{filter:drop-shadow(0 5px 3px #30204712)}
.world-card-art .world-scene{mix-blend-mode:normal}
.world-card{border:2px solid #fff;box-shadow:0 5px 0 #ded5d0}
.world-card-copy strong,.everyday-home .discovery-card strong{text-wrap:balance}
:is(.lit-choice,.play-choice,.spell-letter,.upper-choice){transition:transform .15s ease,box-shadow .15s ease}
:is(.lit-choice,.play-choice,.spell-letter,.upper-choice):active{transform:scale(.96)}
.lit-choice{background:linear-gradient(155deg,#fff,#fff9ee);box-shadow:0 5px 0 #ded5e8;border:3px solid #efe7f6}
.lit-choice.selected{border-color:#7650aa;background:#f1e8ff}
.lit-choice.correct{border-color:#368269;background:#e4f5df}
.lit-main h1{color:#302047}
.lit-progress span.done{background:#59a88c}
.lit-story-art{background:#fff9ee;border:2px solid #f0e6d8;box-shadow:0 5px 0 #e9dfd4;padding:8px}
.lit-book-cover{background:#fffcf6}
button:focus-visible{outline:4px solid #245a87;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.everyday-home .discovery-card,:is(.lit-choice,.play-choice,.spell-letter,.upper-choice){transition:none;animation:none}}
.lit-quick-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:72px}
.lit-quick-tools>.lit-secondary{min-width:72px;min-height:72px}
.lit-quick-tools>span{font:17px/1.4 var(--world-copy);text-align:right;color:#594b68}
.lit-cue .lit-cue-picture{width:80px;height:80px;object-fit:contain}
.lit-choice.lit-eliminated{opacity:.3;filter:grayscale(1)}
.lit-choice.lit-answer-clue{outline:4px solid #e7b142;outline-offset:3px}
.spell-long-word .spell-slots{gap:8px;flex-wrap:nowrap}
.spell-long-word .spell-slot{min-width:52px;flex:1 1 0;width:auto;max-width:76px;height:82px}
.spell-long-word .spell-bank{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.spell-long-word .spell-tile{min-width:0;width:100%;height:86px}
@media(max-width:359px){.spell-long-word .spell-bank{grid-template-columns:repeat(2,84px);justify-content:center}.spell-long-word .spell-tile{min-width:72px;min-height:72px}.spell-long-word .spell-picture img{max-height:120px}}
.spell-word-done .spell-bank{display:none}
.spell-word-done .spell-instruction{display:none}
.spell-word-done .spell-coach{margin-top:8px}
.market-launch{display:flex;gap:12px;align-items:center;justify-content:center;width:100%;min-height:80px;border:2px solid white;border-radius:26px;background:#eadffc;color:#302047;padding:16px;font:22px/1.3 var(--world-title);margin-bottom:24px;box-shadow:0 5px #d4c2e6}
.market-request{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:center}
.market-guide{width:90px;height:100px;object-fit:contain}
.market-request button{min-height:120px;background:#fff1c6;border-radius:28px;border:2px solid #fff;padding:10px;display:flex;align-items:center;justify-content:center}
.market-request button>img{width:100px;height:100px;object-fit:contain}
.market-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.market-choices button{min-height:100px;min-width:72px;border:3px solid #fff;border-radius:24px;background:#e3f2ed;box-shadow:0 5px #bfd8cf;padding:8px}
.market-choices img{width:100%;height:80px;object-fit:contain;pointer-events:none}
.market-bag{display:flex;justify-content:center;align-items:center;gap:12px;min-height:110px;border:3px dashed #d7b579;border-radius:22px;background:#fff0d4;padding:12px}
.market-bag img{width:70px;height:70px;object-fit:contain}
.market-hint{outline:4px solid #bb8b19;outline-offset:3px}
.market-feedback{min-height:48px;font-size:18px}
.parent-next-step{padding:18px;border:2px solid #dfd1ee;border-radius:24px;background:#f3ecfc;margin:20px 0}
.parent-next-step h3{margin:0 0 12px}.parent-next-step small{font:13px/1.5 var(--world-copy);display:block}
.lit-demo-launch{align-self:center;display:flex;align-items:center;gap:8px;min-height:48px;background:transparent;color:#5b3a83;border:0;font:16px var(--world-title);padding:8px;flex-shrink:0}
.lit-demo-sheet{max-height:90svh;overflow:auto;text-align:center;padding:24px}
.lit-demo-stage{position:relative;min-height:150px;display:flex;align-items:center;justify-content:center;background:#fff0cc;border-radius:28px;margin:16px 0}
.lit-demo-stage>img{width:120px;height:140px;object-fit:contain}
.lit-demo-touch{position:absolute;right:22px;bottom:16px;animation:woph-demo-tap 1.8s ease-in-out infinite}
.lit-demo-touch .world-icon{width:56px;height:56px}.lit-demo-touch img{width:100%;height:100%}
.lit-demo-dots{display:flex;gap:8px;padding:20px}.lit-demo-dots i{width:20px;height:20px;background:#ad8ed4;border-radius:50%}
.lit-demo-sheet>button{min-height:72px;width:100%;border:2px solid white;border-radius:24px;background:#eadffc;color:#302047;font:20px var(--world-title);margin-top:12px;padding:12px;display:flex;align-items:center;justify-content:center;gap:12px}
.lit-demo-sheet>p{font:19px/1.5 var(--world-copy)}
@keyframes woph-demo-tap{50%{transform:translateY(-14px) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.lit-demo-touch{animation:none}}
.quest-reward{display:block;width:150px;height:150px;object-fit:contain;margin:12px auto}
.lit-color-cue{display:block;width:80px;height:80px;border:3px solid #946c18;border-radius:22px;box-shadow:inset 0 3px #fff7;flex-shrink:0}
@media(max-height:700px){
 .literacy-player[data-mode="choice"] .lit-main{gap:10px;padding:10px 4px}
 .literacy-player[data-mode="choice"] .lit-main h1{font-size:24px;line-height:1.2}
 .literacy-player[data-mode="choice"] .lit-instruction{display:none}
 .literacy-player[data-mode="choice"] .lit-cue{min-height:76px;font-size:28px;padding:8px 12px;gap:8px}
 .literacy-player[data-mode="choice"] .lit-cue-picture,.literacy-player[data-mode="choice"] .lit-color-cue{width:56px;height:56px}
 .literacy-player[data-mode="choice"] .lit-choice{min-height:112px;padding:8px 4px;font-size:17px}
 .literacy-player[data-mode="choice"] .lit-choice img{height:64px}
}
.lit-choice .lit-long-label{font-size:15px;white-space:nowrap;letter-spacing:0;line-height:1.4}
.readiness-launch{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:72px;border:2px solid #e5d9f2;border-radius:24px;background:#fffefa;color:#513595;margin-top:20px;font:19px/1.4 var(--world-title);padding:12px}
.readiness-choices{display:grid;gap:18px}.readiness-choices>button{display:grid;grid-template-columns:76px minmax(0,1fr) 24px;gap:14px;align-items:center;min-height:120px;border:2px solid white;border-radius:26px;background:#eee5ff;color:#302344;text-align:left;padding:16px;box-shadow:0 5px #d9c9e8}
.readiness-choices img{width:76px;height:76px;object-fit:contain}.readiness-choices strong{display:block;font:22px/1.2 var(--world-title)}.readiness-choices small{display:block;margin-top:10px;font:15px/1.5 var(--world-copy)}
.demo-action-stage{background:#fff0cc;border-radius:26px;padding:16px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.demo-action-stage>img{width:110px;height:100px;object-fit:contain}
.demo-example-slots{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;flex-wrap:wrap}
.demo-example-slots>span{min-width:52px;min-height:64px;padding:10px;border:3px solid #e2cdb1;border-radius:18px;background:#fffefa;display:grid;place-items:center;font:24px/1.3 var(--world-copy)}
.demo-example-slots img{width:64px;height:64px;object-fit:contain}.demo-example-slots .world-icon{width:30px;height:30px}
.demo-example-slots>span.demo-lit{background:#d9efdc;border-color:#388468}
.demo-example-label{font:11px/1.5 var(--world-copy)!important;color:#6c6178}
.market-choices button{touch-action:none}
.quest-drag-ghost{position:fixed;width:76px;height:76px;transform:translate(-50%,-50%);pointer-events:none;z-index:100;background:#fff7df;border-radius:20px;padding:8px;box-shadow:0 7px 20px #30204744}
.quest-drag-ghost img{width:100%;height:100%;object-fit:contain}
.quest-growth,.quest-workbench{display:flex;align-items:center;justify-content:center;gap:16px;min-height:120px;padding:12px;border-radius:24px;background:#e3f2dc;margin:16px 0}
.quest-growth img{width:100px;height:110px;object-fit:contain}
.quest-workbench>img{width:130px;height:100px;object-fit:contain}
.quest-workbench>span{border:3px dashed #79649b;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;font-size:52px}
.quest-workbench>span img{width:66px;height:66px;object-fit:contain}
.quest-dragging .market-bag,.quest-dragging .quest-workbench{position:fixed;bottom:20px;left:24px;right:24px;z-index:80;margin:0;background:#fff0cf;box-shadow:0 0 0 4px #b9893a,0 8px 24px #30204755}
.quest-dragging .market-bag{min-height:100px}
.quest-soil{display:block;width:130px;height:52px;border-radius:50%;background:radial-gradient(ellipse at 45% 30%,#b28b5a,#73512e);box-shadow:0 6px #60401f,inset 0 3px #d4aa72}
.quest-dragging .quest-growth{position:fixed;bottom:20px;left:24px;right:24px;z-index:80;margin:0;background:#e3f2dc;box-shadow:0 0 0 4px #75a27c,0 8px 24px #30204755}
.demo-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.demo-controls button{min-height:64px;border:2px solid white;border-radius:20px;background:#eadffc;color:#302047;font:16px/1.4 var(--world-title);padding:10px;display:flex;align-items:center;justify-content:center;gap:8px}
@media(max-height:700px){.lit-demo-sheet{padding:18px}.lit-demo-sheet h2{font-size:25px;margin:0 0 10px}.lit-demo-sheet>p{font-size:17px;line-height:1.4;margin:10px 0}.demo-action-stage{min-height:120px;padding:10px}.demo-action-stage>img{height:64px;width:80px}.demo-example-slots>span{min-height:48px;min-width:44px;font-size:21px;padding:8px}.demo-example-slots img{height:52px;width:52px}.lit-demo-sheet>.demo-example-label{font-size:10px!important}.lit-demo-sheet>button{margin-top:12px}}
.demo-pair{display:flex;align-items:center;gap:8px;font:34px var(--world-copy);color:#513595;width:100%;justify-content:center}
.demo-pair span{display:grid;place-items:center;width:64px;height:64px;border:3px solid #d4c4e4;border-radius:18px;background:white}
.demo-pair i{width:40px;height:8px;border-radius:12px;background:#d4c4e4}.demo-pair.connected i{background:#388468}.demo-pair.connected span{border-color:#388468;background:#d9efdc}
.demo-shape-outline{width:110px;height:110px;border:4px dashed #79669d;border-radius:50%;display:grid;place-items:center}.demo-shape-outline span{width:96px;height:96px;border-radius:50%;background:#ffb15f}
.demo-action-stage>.woph-ui-glyph{width:64px;height:64px;object-fit:contain}
