/* Each screen has a bounded play area. Collections and text use real pages. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
body{--screen-height:100dvh}
[hidden]{display:none!important}
#app{height:var(--screen-height);overflow:hidden}
.shell{height:100%;min-height:0;overflow:hidden}
.sidebar{height:100%;min-height:0;padding:22px 18px 15px}
.sidebar-nav{margin-top:26px;gap:6px}.sidebar-footer{padding-top:14px}.side-companion{padding-bottom:13px}.side-companion img{height:92px}.side-companion p{margin-top:5px}
.main-wrap{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.topbar{height:68px;min-height:0;flex:0 0 68px;padding:0 28px}
.main{min-height:0;flex:1;display:flex;flex-direction:column;gap:12px;padding:0 28px 18px;overflow:hidden}
.main>*{flex-shrink:0;min-width:0}
.page-heading{margin:0;gap:10px}.page-heading h1{font-size:clamp(1.5rem,3vw,2.25rem);margin:4px 0}.page-heading p{font-size:.87rem}.page-heading .eyebrow{font-size:.7rem}
.back-row{margin:0}.back-row .link-btn{min-height:34px;padding:3px 0}
.section-title{margin:0;min-height:24px}.section-title h2{font-size:1.3rem}
.home-title{margin:0}.home-title h1{font-size:clamp(1.4rem,2.5vw,2rem);margin-bottom:4px}.home-title p{font-size:.87rem}
.hero-scene{flex:1;min-height:0;border-radius:25px}.hero-copy{height:100%;padding:25px 30px;display:flex;flex-direction:column;align-items:flex-start}.hero-copy h2{font-size:clamp(2rem,3.7vw,3.3rem);margin:12px 0}.hero-copy .btn{margin-top:auto}.hero-copy p{line-height:1.5}.hero-progress{bottom:16px}
.activity-grid{gap:13px}.activity-card{min-height:0;padding:13px 17px}.activity-icon{width:47px;height:48px}.activity-icon .icon{width:28px;height:28px}.activity-card h3{font-size:1.08rem}.activity-card p{font-size:.77rem;margin-top:3px}
.bottom-strip{margin:0;padding:8px 15px;min-height:42px}.bottom-strip .link-btn{min-height:30px}.bottom-strip p{font-size:.82rem}
.map-panel{flex:1;min-height:0;border-width:5px}.region-list{display:none}.map-legend{font-size:.75rem;padding:8px 12px}.map-node .node-pin{width:47px;height:47px}.map-node .node-label{font-size:.78rem;padding:6px 9px;margin-top:5px}.map-list-toggle{display:flex;justify-content:flex-end;gap:8px;flex-shrink:0}
.region-hero{height:clamp(85px,16dvh,145px);min-height:0;margin:0;padding:17px 23px}.region-hero h2{font-size:1.6rem}.region-hero p{font-size:.82rem}.region-hero .chapter-tag{font-size:.66rem;padding:5px 10px}
.quest-grid,.collection-grid,.item-grid,.quick-grid{align-content:start;min-height:0;gap:12px}
.quest-card{min-height:125px;padding:17px}.quest-card h3{font-size:1.06rem}.quest-card p{font-size:.8rem;line-height:1.4}.quest-number{width:34px;height:34px;font-size:1rem;margin-bottom:10px}.quest-card .quest-state{top:19px;right:16px}
.book-card>.link-btn{display:flex;margin-top:4px;font-size:.78rem;min-height:30px}
.vp-paged{display:flex;flex-direction:column;gap:9px;min-height:0;flex:1;overflow:hidden}
.practice-suggestion{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #b3cda5;border-radius:14px;background:#edf6e4;color:#25483f;font-size:.86rem}
.practice-suggestion p{flex:1;margin:0;line-height:1.35}.practice-suggestion .icon{flex:none;color:#547d42}.practice-suggestion .btn{flex:none}
.quick-card.suggested{border-color:#679352;background:#f5faed}
.high-contrast .practice-suggestion,.high-contrast .quick-card.suggested{border:2px solid #111;background:#fff;color:#111}
@media(max-width:640px){.practice-suggestion{padding:8px 10px;gap:7px;font-size:.75rem}.practice-suggestion .btn{padding:6px 8px;min-height:32px}}
.vp-window{flex:1;min-height:0;overflow:hidden}.vp-window>div{min-width:0}
.vp-pager{display:flex;align-items:center;justify-content:center;gap:15px;flex:0 0 42px;min-height:42px;font-size:.84rem;font-weight:800}
.vp-pager button{height:40px;min-width:44px;border:1px solid #d7e1cf;background:#fffdf5;border-radius:12px;padding:7px 13px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:6px}.vp-pager button:disabled{opacity:.35}.vp-pager span{min-width:55px;text-align:center}
.vp-tabs{display:flex;flex:0 0 auto;gap:5px;padding:4px;border-radius:13px;background:#e7efdc}.vp-tabs button{flex:1;min-height:39px;border-radius:10px;background:none;padding:7px 12px;font-weight:900;font-size:.86rem}.vp-tabs button[aria-selected=true]{background:#fffdf6;color:var(--teal);box-shadow:0 2px 4px #224a2210}
.nook-banner{margin:0;padding:12px 17px}.nook-banner h3{font-size:1.1rem}.nook-banner p{font-size:.8rem}.nook-decor{max-width:140px}.book-card{padding:16px}.book-cover{height:clamp(80px,15dvh,145px);margin-bottom:13px;padding:12px;gap:9px}.book-cover h3{font-size:1.27rem}.book-cover .icon{width:32px;height:32px}.book-card>h3{font-size:1rem}.book-card p{font-size:.78rem;line-height:1.35;margin:7px 0 10px}.book-card .btn{min-height:40px;padding:8px 13px}
.search-row{margin:0}.search-input{min-height:44px;padding:10px 15px}
#word-results{display:flex;flex-direction:column;flex:1;min-height:0}.word-card{padding:17px}.word-card h3{font-size:1.5rem;margin-bottom:5px}.word-card p{line-height:1.35}.word-card small{margin-top:8px;font-size:.74rem}
.tabs{margin:0;padding:4px}.tab{padding:8px 14px;min-height:38px}
.shop-layout{flex:1;min-height:0;gap:18px}.shop-preview{position:static;padding:17px}.shop-preview img{height:145px}.shop-preview h2{font-size:1.2rem}.shop-preview p{font-size:.81rem}.item-card{padding:14px}.item-card small{margin:4px 0 10px}.item-card h3{font-size:1.05rem}.item-art{height:85px;margin-bottom:8px}.item-sprite{width:83px;height:83px}.item-card .btn{min-height:40px;padding:8px 12px}
.quick-card{padding:20px;min-height:90px}.quick-card p{line-height:1.45}.empty-state{padding:25px;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.game-header{margin:0;flex:0 0 auto;gap:12px}.game-header h1{font-size:1.4rem}.game-header .eyebrow{font-size:.66rem}.game-layout{flex:1;min-height:0}.game-scene{min-height:0;height:100%;border-width:5px}.scene-top{left:13px;right:13px;top:13px}.scene-bottom{bottom:13px;left:13px;right:13px;padding:11px;font-size:.83rem}.scene-bottom .btn{min-height:42px;padding:8px 14px}.scene-hotspot{min-height:44px;padding:9px 12px}.scene-hotspot[data-index="0"]{top:34%}.scene-hotspot[data-index="1"]{top:54%}.scene-hotspot[data-index="2"]{top:21%}
.companion-panel{padding:17px;max-height:100%;overflow:hidden}.companion-panel img{height:125px}.companion-panel p{font-size:.88rem;margin:9px 0 12px}.companion-name{margin-bottom:8px}.quest-bag{margin-top:15px;padding-top:12px}.quest-bag h4{margin-bottom:8px}
.game-panel{min-height:0;height:100%;display:flex;flex-direction:column;gap:10px;padding:20px;overflow:hidden}.puzzle-label{margin:0;font-size:.73rem}.puzzle-prompt{margin:0;font-size:clamp(1.15rem,2.3vw,1.6rem);line-height:1.25;flex-shrink:0}.vp-task-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.vp-task-pane{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.passage{margin:0;padding:17px;font-size:1.1rem;line-height:1.65}.vp-text-box{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}.vp-text-page{min-height:0;flex:1;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.vp-text-page p{margin:0}.vp-text-box .vp-pager{flex-basis:38px;min-height:38px}.vp-text-box .vp-pager button{height:36px}
.choices{gap:10px;min-height:0}.choice{min-height:47px;padding:10px 13px;font-size:1rem;line-height:1.4}.choice-letter{flex-shrink:0}.answer-slots{gap:6px;min-height:47px;margin:0;padding:6px 0 10px;flex:0 0 auto}.tile-bank{gap:8px;min-height:0;padding:3px 0 6px;align-content:start;flex:1}.tile{min-height:46px;min-width:43px;padding:8px 11px;font-size:1.3rem}.tile.word{min-height:41px;font-size:1rem;padding:7px 10px}.tile.used{display:none}.feedback{margin:0;padding:16px;line-height:1.6;overflow-wrap:anywhere}.puzzle-actions{margin:0;gap:10px;flex:0 0 auto}.puzzle-actions .btn{min-height:43px;padding:10px 17px;min-width:140px}.puzzle-actions .link-btn{min-height:40px}.help-row{margin:0;padding-top:4px;flex:0 0 auto;gap:8px}.help-row .link-btn{min-height:34px;font-size:.82rem;padding:3px 0}
.result{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;gap:12px;align-items:center;margin:0 auto;padding:22px}.result-scene{flex:1;min-height:65px;max-height:210px;width:100%;margin:0}.result-medal{width:73px;height:73px;border-width:5px}.result-medal .icon{width:38px;height:38px}.result h1{font-size:clamp(1.5rem,3vw,2.15rem);margin:0}.result p{font-size:.95rem;line-height:1.5}.reward-row{margin:0;gap:9px}.reward-chip{padding:9px 13px;font-size:.88rem}.result-actions{margin:0;gap:12px;flex-shrink:0}.result .mini-note{font-size:.78rem}.result-actions .btn{min-height:44px;padding:10px 16px}
.reader{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;margin:0 auto;padding:23px;overflow:hidden}.reader h1{font-size:clamp(1.5rem,3vw,2rem);margin:0!important}.reader img.story-image{height:clamp(65px,15dvh,140px);margin:0;flex:0 0 auto}.reader-text{flex:1;min-height:0;padding:0;font-size:1.2rem;line-height:1.7;overflow:hidden}.reader-text p{margin-bottom:12px}.reader-controls{margin:0;flex:0 0 auto;gap:8px}.reader-controls .btn{min-height:41px;padding:8px 12px}.reader-controls>span{font-size:.75rem!important}.reader-controls>div{gap:7px!important}
.studio{flex:1;min-height:0}.studio-paper{padding:20px;min-height:0;display:flex;flex-direction:column;gap:9px;overflow:hidden}.studio-paper h2{font-size:1.35rem}.studio-paper label{margin:0;font-size:.86rem}.studio-paper input{padding:9px 12px;min-height:42px}.studio-paper textarea{flex:1;min-height:50px;height:0;resize:none;overflow:hidden;padding:12px;font-size:1rem;line-height:1.55}.studio-aside{padding:17px;max-height:100%;overflow:hidden}.studio-aside img{height:100px!important}.studio-aside p{margin:10px 0;font-size:.82rem}.studio .puzzle-actions .btn{font-size:.86rem}.vp-draft-pager{flex-basis:38px;min-height:38px;gap:9px}.vp-draft-pager button{font-size:.8rem;min-height:35px;height:35px;padding:6px 10px}
dialog{height:min(630px,calc(var(--screen-height) - 24px));max-height:calc(var(--screen-height) - 24px);padding:22px;overflow:hidden}
dialog[open]{display:flex;flex-direction:column;gap:12px}.dialog-head{flex-shrink:0;margin:0;gap:10px}.dialog-head h2{font-size:1.45rem}.dialog-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dialog-actions{flex-shrink:0;margin:0;gap:10px}.dialog-actions .btn{min-height:42px;padding:9px 14px}.dialog-pip{height:95px;width:95px;margin:0 auto 8px}.dialog-body p{margin:7px 0;line-height:1.55}.setting-group{padding:12px 0}.setting-group p{margin:5px 0}.setting-group label{margin-bottom:6px}.dialog-body .vp-pager{margin-top:auto}.vp-dialog-page{flex:1;min-height:0;overflow:hidden}.vp-dialog-page>.track-option{display:block;width:100%;margin-bottom:8px}.vp-dialog-page>.choice{width:100%;margin-bottom:8px}.progress-skill{margin:13px 0}.vp-dialog-page>.vp-text-box{height:100%}.vp-dialog-page>.passage{margin:8px 0}.vp-dialog-page .item-art{height:100px}
.save-warning{flex-shrink:0;font-size:.76rem;padding:7px 15px}
@media(max-height:740px){.sidebar-nav{margin-top:17px;gap:3px}.nav-btn{padding:12px 14px;min-height:44px}.side-companion{display:none}.sidebar-footer{margin-top:auto}.companion-panel img{height:94px}.companion-panel p{font-size:.82rem}.companion-name{font-size:.64rem}.quest-bag{margin-top:10px}.studio-aside img{display:none}.page-heading p{display:none}.home-title p{display:none}.hero-copy p{font-size:.9rem}.book-cover{height:80px}.shop-preview img{height:110px}}
@media(max-width:940px){.activity-card{flex-direction:row;padding:12px}.activity-card p{display:none}.activity-card h3{font-size:.95rem}.activity-icon{width:35px;height:38px}.hero-copy{max-width:68%}.shop-preview{padding:12px}.shop-layout{grid-template-columns:170px minmax(0,1fr)}.game-layout{grid-template-columns:1fr}.studio{grid-template-columns:1fr}}
@media(max-width:640px){
 .shell{display:flex;flex-direction:column}.main-wrap{flex:1;height:auto}.topbar{flex-basis:55px;height:55px;padding:0 15px}.greeting{font-size:0}.greeting strong{font-size:.99rem;margin:0}.header-actions{gap:7px}.star-wallet{padding:6px 10px}.icon-btn{width:39px;height:39px}.main,.playing .main{padding:0 13px 10px;gap:9px}.mobile-nav{position:static;flex:0 0 calc(62px + env(safe-area-inset-bottom));height:calc(62px + env(safe-area-inset-bottom));padding:5px 6px calc(5px + env(safe-area-inset-bottom))}.mobile-nav button{font-size:.7rem;gap:3px}.mobile-nav .icon{height:21px;width:21px}
 .home-title h1{font-size:1.32rem;line-height:1.2;margin:0}.home-title p{display:none}.hero-copy{padding:17px;max-width:100%;min-height:0}.hero-copy h2{font-size:clamp(1.7rem,7vw,2.25rem);line-height:1.05;margin:8px 0}.hero-copy p{font-size:.8rem;line-height:1.35;max-width:225px}.hero-copy .btn{margin-top:auto;margin-bottom:30px;min-height:44px;min-width:175px;padding:10px 16px}.hero-progress{left:17px;bottom:13px}.hero-progress strong{display:none}.hero-progress small{font-size:.75rem}.hero-progress .icon{height:19px;width:19px}.chapter-tag{font-size:.64rem;padding:6px 9px;letter-spacing:1px}.section-title{min-height:20px}.section-title h2{font-size:1.07rem}.section-title small{display:none}.activity-grid{gap:8px}.activity-card{padding:9px 7px;min-height:64px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;border-radius:13px}.activity-card h3{font-size:.76rem}.activity-icon{height:25px;width:30px;background:none!important}.activity-icon .icon{width:24px;height:24px}.bottom-strip{padding:5px 10px;gap:5px;flex-wrap:nowrap;min-height:34px}.bottom-strip>svg{display:none}.bottom-strip p{font-size:0}.bottom-strip p strong{font-size:.76rem}.bottom-strip .link-btn{margin:0;font-size:.75rem;min-height:30px}.bottom-strip .link-btn .icon{display:none}
 .page-heading h1{font-size:1.6rem}.page-heading p{display:none}.page-heading .eyebrow{font-size:.64rem;letter-spacing:1.4px}.map-panel{min-height:0;border-width:4px}.map-node{max-width:100px}.map-node .node-pin{width:38px;height:38px;border-width:3px}.map-node .node-pin .icon{width:20px;height:20px}.map-node .node-label{font-size:.65rem;padding:5px 6px;margin-top:4px}.map-legend{font-size:.66rem;padding:6px 9px;left:7px;bottom:7px;max-width:95%}.map-list-toggle .link-btn{min-height:30px;font-size:.78rem}
 .region-hero{height:105px;padding:12px 16px}.region-hero h2{font-size:1.33rem;margin-top:8px!important}.region-hero p{display:none}.quest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quest-card{padding:14px;min-height:137px}.quest-card h3{font-size:1rem}.quest-card p{font-size:.77rem}.quest-card .quest-state{position:static;display:block;font-size:.69rem;margin:5px 0}.quest-number{width:29px;height:29px;margin:0}.vp-pager{gap:13px;font-size:.79rem}.vp-pager button{font-size:.8rem}
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.book-card{padding:13px}.book-cover{height:100px;padding:11px;margin-bottom:10px;gap:6px}.book-cover h3{font-size:1.07rem}.book-cover .icon{height:25px;width:25px}.book-card>h3{font-size:.92rem}.book-card p{font-size:.75rem}.book-card .btn{font-size:.77rem;padding:8px 10px}.book-card .link-btn{font-size:.76rem;line-height:1.35}.nook-banner{padding:9px 12px;gap:9px;flex-wrap:nowrap}.nook-banner h3{font-size:.92rem}.nook-banner p{display:none}.nook-banner .link-btn{font-size:.74rem;min-height:32px;margin-left:auto}.nook-decor{font-size:1.4rem;max-width:90px}.nook-decor .item-sprite{width:26px;height:26px}
 .word-card{padding:14px}.word-card h3{font-size:1.35rem}.word-card p{font-size:.87rem}.word-card small{font-size:.68rem}.search-input{font-size:.95rem;min-height:42px}.shop-layout{display:flex;flex-direction:column;gap:9px}.shop-preview{display:none}.tabs{width:100%;gap:2px;justify-content:space-between;flex-wrap:nowrap}.tab{font-size:.72rem;padding:7px 8px;min-height:37px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.item-card{padding:12px}.item-card h3{font-size:.96rem}.item-card small{font-size:.71rem}.item-card .btn{font-size:.79rem}.item-art{height:77px;margin-bottom:6px}.item-sprite{width:75px;height:75px}
 .game-header{gap:9px;flex-wrap:nowrap;position:relative;padding-bottom:12px}.game-header h1{font-size:1.12rem;line-height:1.15}.game-header .eyebrow{font-size:.56rem;letter-spacing:1px}.game-header .steps{position:absolute;bottom:0;left:48px;width:auto;margin:0;gap:5px}.step-dot{width:24px;height:5px}.game-scene{min-height:0;border-width:4px}.scene-top{font-size:.82rem;padding:9px 11px;top:10px;left:10px;right:10px}.scene-hotspot{font-size:.76rem;padding:8px;min-height:44px}.scene-hotspot[data-index="0"]{left:5%;top:34%}.scene-hotspot[data-index="1"]{left:39%;top:51%}.scene-hotspot[data-index="2"]{right:5%;top:20%}.scene-bottom{font-size:.78rem;bottom:10px;left:10px;right:10px}.scene-bottom .btn{margin-top:0;min-height:42px;font-size:.85rem}
 .game-panel{padding:14px;gap:8px;border-radius:20px}.puzzle-label{font-size:.66rem}.puzzle-prompt{font-size:1.22rem}.vp-tabs{padding:3px}.vp-tabs button{font-size:.78rem;padding:6px 8px;min-height:37px}.choice{font-size:1rem;padding:10px;min-height:46px;gap:9px}.choice-letter{height:25px;min-width:25px}.passage{padding:14px;font-size:1.08rem;line-height:1.6}.answer-slots{min-height:43px;gap:5px;padding-bottom:8px}.tile-bank{gap:7px}.tile{min-width:38px;min-height:43px;font-size:1.25rem;padding:7px 9px}.tile.word{font-size:.93rem;min-height:39px;padding:6px 8px}.puzzle-actions .btn{width:auto;min-width:135px;min-height:43px;padding:9px 13px}.puzzle-actions .link-btn{font-size:.79rem;margin:0;min-height:38px}.help-row .link-btn{font-size:.75rem;min-height:34px}.help-row .icon{width:17px;height:17px}.feedback{font-size:1rem;padding:14px}
 .result{padding:16px;gap:11px}.result-scene{max-height:170px;min-height:50px}.result h1{font-size:1.6rem}.result p{font-size:.87rem;line-height:1.45}.result .eyebrow{font-size:.63rem;letter-spacing:1.2px}.result-medal{width:63px;height:63px}.result-medal .icon{width:31px;height:31px}.reward-row{gap:7px}.reward-chip{padding:8px 10px;font-size:.77rem}.reward-chip .icon{height:19px;width:19px}.result-actions{width:100%;gap:9px}.result-actions .btn{width:100%;font-size:.85rem;min-height:42px}.result .mini-note{font-size:.72rem}
 .reader{padding:17px;gap:10px}.reader h1{font-size:1.55rem}.reader .eyebrow{font-size:.68rem}.reader img.story-image{height:88px}.reader-text{font-size:1.12rem;line-height:1.65}.reader-controls{justify-content:space-between;flex-wrap:wrap;gap:7px}.reader-controls>.btn{font-size:.8rem}.reader-controls>span{font-size:.7rem!important}.reader-controls>div{margin-left:auto}.reader-controls .btn{font-size:.8rem;min-height:39px;padding:8px 10px}.vp-text-box .vp-pager{font-size:.73rem;gap:8px}
 .studio-paper{padding:15px;gap:7px}.studio-paper h2{display:none}.studio-paper label{font-size:.8rem}.studio-paper input{min-height:40px;padding:8px 11px}.studio-paper textarea{min-height:45px;padding:10px;font-size:1rem}.studio .puzzle-actions{flex-wrap:nowrap;gap:7px}.studio .puzzle-actions .btn{min-width:0;font-size:.78rem;padding:9px 11px}.studio .puzzle-actions #draft-status{font-size:.7rem!important}.studio .help-row .link-btn{font-size:.73rem}.vp-draft-pager{font-size:.75rem}.vp-draft-pager button{font-size:.72rem;min-width:36px;padding:6px 8px}
 .quick-grid{grid-template-columns:1fr}.quick-card{padding:17px;min-height:86px;gap:14px}.quick-card h3{font-size:1.1rem}.quick-card p{font-size:.83rem;margin-top:5px}.quick-card .icon{width:29px;height:29px}
 dialog{width:calc(100% - 20px);padding:17px;gap:10px!important}.dialog-head h2{font-size:1.35rem}.dialog-pip{height:85px;width:85px}.dialog-actions .btn{font-size:.82rem;padding:8px 12px}.dialog-body p{font-size:.95rem}.dialog-body .mini-note{font-size:.8rem}.track-option{padding:12px}.track-option small{font-size:.82rem}.dialog-body .setting-group select{font-size:.9rem}#toast{bottom:76px;max-height:160px}.playing #toast{bottom:12px}
}
@media(max-width:640px) and (max-height:690px){.hero-copy p{display:none}.hero-copy h2{font-size:1.85rem}.home-title h1{font-size:1.24rem}.main{gap:8px}.hero-copy{padding:13px}.hero-copy .btn{margin-bottom:29px}.hero-progress{left:13px;bottom:10px}.book-cover{height:76px}.reader img.story-image{height:58px}.region-hero{height:86px}.nook-banner{padding:6px 10px}.result .mini-note{display:none}.result .eyebrow{display:none}.result-actions{gap:7px}.result{gap:9px}}
@media(max-height:500px) and (min-width:641px){.shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{padding:10px 9px}.brand-text,.side-companion,.sidebar-footer,.nav-btn span{display:none}.brand-icon{width:37px;height:37px}.brand{justify-content:center}.sidebar-nav{margin-top:9px;gap:0}.nav-btn{justify-content:center;min-height:39px;padding:8px}.nav-btn .icon{width:20px;height:20px}.topbar{height:43px;flex-basis:43px;padding:0 18px}.greeting{font-size:0}.greeting strong{font-size:.92rem;margin:0}.icon-btn,.avatar{height:34px;width:34px}.star-wallet{padding:4px 10px}.main{padding:0 18px 10px;gap:8px}.page-heading h1{font-size:1.4rem}.page-heading .eyebrow{display:none}.page-heading p{display:none}.back-row .link-btn{min-height:27px}.section-title h2{font-size:1.05rem}.game-header h1{font-size:1.12rem}.game-header .eyebrow{font-size:.62rem}.game-layout{grid-template-columns:1fr}.companion-panel{display:none}.game-panel{padding:11px 15px;gap:6px}.puzzle-label{font-size:.63rem}.puzzle-prompt{font-size:1.08rem}.vp-tabs button{min-height:31px;font-size:.78rem;padding:5px}.puzzle-actions .btn{min-height:35px;padding:6px 13px}.puzzle-actions .link-btn{min-height:32px}.help-row .link-btn{min-height:28px}.vp-pager{min-height:33px;flex-basis:33px}.vp-pager button{height:31px;padding:4px 11px}.scene-top{top:8px;padding:7px 11px;font-size:.81rem}.scene-bottom{font-size:.75rem;padding:8px;bottom:8px}.scene-bottom .btn{min-height:34px;padding:6px 12px}.scene-hotspot{min-height:38px;font-size:.75rem}.scene-hotspot[data-index="0"]{top:34%}.scene-hotspot[data-index="1"]{top:41%;left:42%}.scene-hotspot[data-index="2"]{top:25%;right:8%}.region-hero{height:70px;padding:9px 16px}.region-hero .chapter-tag{display:none}.region-hero h2{font-size:1.3rem;margin:0!important}.region-hero p{font-size:.75rem}.quest-card{min-height:103px;padding:12px}.quest-number{width:28px;height:28px;margin-bottom:5px}.quest-card h3{font-size:.94rem}.quest-card p{margin-top:4px;font-size:.73rem}.quest-card .quest-state{top:13px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-card{padding:11px}.book-cover{height:55px;padding:7px;flex-direction:row;margin-bottom:8px}.book-cover h3{font-size:1rem}.book-cover .icon{height:22px;width:22px}.book-card>h3{display:none}.book-card p{font-size:.72rem;margin:5px 0}.book-card .btn{min-height:34px;font-size:.75rem;padding:6px 10px}.nook-banner{padding:6px 12px}.nook-banner p{display:none}.nook-banner h3{font-size:.95rem}.nook-banner .link-btn{min-height:30px;font-size:.77rem}.shop-layout{display:flex}.shop-preview{display:none}.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.item-card{padding:9px}.item-art{height:54px;margin-bottom:5px}.item-sprite{width:53px;height:53px}.item-card h3{font-size:.9rem}.item-card small{font-size:.65rem;margin:2px 0 6px}.item-card .btn{min-height:32px;font-size:.73rem;padding:5px 9px}.tabs{padding:3px}.tab{min-height:30px;font-size:.75rem;padding:5px 13px}.word-card{padding:12px}.word-card h3{font-size:1.2rem}.word-card p{font-size:.82rem}.word-card small{font-size:.66rem}.quick-card{padding:13px;min-height:72px}.quick-card h3{font-size:1rem}.quick-card p{font-size:.76rem}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader{padding:13px;gap:7px;max-width:none}.reader>.eyebrow,.reader img.story-image{display:none}.reader h1{font-size:1.3rem}.reader-text{font-size:1.04rem;line-height:1.55}.reader-controls .btn{min-height:33px;font-size:.78rem;padding:6px 11px}.result{padding:14px;gap:8px;max-width:none}.result .eyebrow,.result .mini-note{display:none}.result-scene{max-height:75px;min-height:40px}.result-medal{width:49px;height:49px}.result-medal .icon{width:27px;height:27px}.result h1{font-size:1.5rem}.result p{font-size:.84rem;line-height:1.4}.result-actions .btn{min-height:36px;padding:7px 12px;font-size:.82rem}.reward-chip{font-size:.76rem;padding:6px 11px}.studio{grid-template-columns:1fr}.studio-aside{display:none}.studio-paper{padding:12px;gap:5px}.studio-paper h2,.studio-paper label[for=story-title]{display:none}.studio-paper input{min-height:32px;padding:5px 10px}.studio-paper label{font-size:.75rem}.studio .puzzle-actions #draft-status{font-size:.7rem!important}.studio .puzzle-actions .btn{min-height:32px;padding:5px 11px;font-size:.78rem}.studio .help-row{position:absolute;right:29px;top:54px;border:0;padding:0;gap:20px}.studio .help-row .link-btn{font-size:.7rem;min-height:28px}.studio .page-heading{max-width:40%}.studio-paper textarea{padding:7px 10px;font-size:.94rem;line-height:1.45}.vp-draft-pager{min-height:31px;flex-basis:31px}.vp-draft-pager button{height:29px;min-height:29px}.vp-text-box .vp-pager{min-height:30px;flex-basis:30px}.vp-text-box .vp-pager button{height:28px}.dialog-head h2{font-size:1.2rem}.dialog-head .icon-btn{height:31px;width:31px}dialog{padding:13px;gap:8px!important}.dialog-actions .btn{min-height:34px;padding:6px 10px;font-size:.78rem}.dialog-pip{height:60px;width:60px}.setting-group{padding:8px 0}.dialog-body p{font-size:.86rem}.setting-group select,.setting-group input[type=text]{padding:7px 10px}.track-option{padding:9px}.track-option small{font-size:.75rem}
 body[data-view=home] .main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(215px,1fr);grid-template-rows:auto 1fr auto;grid-template-areas:'title title' 'hero activities' 'hero strip';gap:9px 15px}body[data-view=home] .home-title{grid-area:title}body[data-view=home] .home-title h1{font-size:1.32rem}body[data-view=home] .hero-scene{grid-area:hero}body[data-view=home] .hero-copy{max-width:100%;padding:16px}body[data-view=home] .hero-copy h2{font-size:1.8rem}body[data-view=home] .hero-copy p{display:none}body[data-view=home] .hero-copy .btn{min-height:40px;padding:8px 15px;min-width:0}body[data-view=home] .hero-progress{display:none}body[data-view=home] .activity-grid{grid-area:activities;grid-template-columns:1fr;gap:8px}body[data-view=home] .activity-card{flex-direction:row;padding:9px 14px;gap:10px}body[data-view=home] .activity-card h3{font-size:.95rem}body[data-view=home] .activity-card p{display:none}body[data-view=home] .bottom-strip{grid-area:strip;padding:5px 10px}body[data-view=home] .bottom-strip>svg{display:none}body[data-view=home] .bottom-strip p{font-size:0}body[data-view=home] .bottom-strip strong{font-size:.72rem}body[data-view=home] .bottom-strip .link-btn{font-size:.7rem}body[data-view=home] .section-title{display:none}
}
.vp-compact .book-cover{height:55px}.vp-compact .book-cover .icon{display:none}.vp-compact .item-art{height:55px}.vp-compact .item-sprite{width:54px;height:54px}.vp-compact .quest-card{min-height:105px;padding:12px}.vp-compact .quest-card p{font-size:.75rem}.vp-compact .quest-number{height:25px;width:25px;margin:0}.vp-compact .item-card{padding:10px}.vp-compact .book-card{padding:11px}
@media(max-width:640px) and (max-height:650px){
 .playing .topbar{height:43px;flex-basis:43px}.game-panel{padding:12px;gap:6px}.puzzle-label{display:none}.puzzle-prompt{font-size:1.1rem}.vp-tabs button{min-height:35px}.help-row .link-btn{min-height:30px}.game-header .eyebrow{display:none}
}
@media(max-height:500px) and (min-width:641px){
 .game-panel{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.4fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:'label tabs' 'prompt body' 'help actions';column-gap:18px}
 .game-panel>.puzzle-label{grid-area:label}.game-panel>.puzzle-prompt{grid-area:prompt;align-self:start}.game-panel>.vp-tabs{grid-area:tabs}.game-panel>.vp-task-body{grid-area:body;height:100%}.game-panel>.puzzle-actions{grid-area:actions}.game-panel>.help-row{grid-area:help;flex-wrap:wrap}.passage{padding:12px;font-size:1rem;line-height:1.5}
}
