.layout_stage__ztD2s{height:100dvh;bottom:auto;--key-gap:clamp(3px,0.7vw,8px);--key-width:min(6.5rem,calc((100vw - 1.5rem - env(safe-area-inset-left) - env(safe-area-inset-right) - 9 * var(--key-gap)) / 10))}.layout_stage__ztD2s .scene-frame{inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);min-width:0;min-height:0}.layout_stage__ztD2s .keyboard-row{display:flex;justify-content:center;margin-bottom:var(--key-gap)}.layout_stage__ztD2s .keyboard-letters{display:grid;gap:var(--key-gap);max-width:100%}.layout_stage__ztD2s .letter-key{width:100%;min-width:0}.layout_stage__ztD2s .keyboard-actions{display:flex;justify-content:center;gap:.75rem}.layout_stage__ztD2s .companion-anchor{left:var(--dragon-left,var(--rest-left));top:var(--dragon-top,var(--rest-top));transform:translate(-50%,-50%) scale(var(--dragon-fit,1));transition:left .4s,top .4s,transform .4s}.layout_stage__ztD2s .mobile-speech,.layout_stage__ztD2s .session-speech-slot{display:none}.layout_stage__ztD2s .game-dialog{overflow-y:auto}.layout_stage__ztD2s .game-dialog>div{max-width:100%;margin-block:auto;overflow-wrap:anywhere}@media (max-height:600px),(max-width:899px){.layout_stage__ztD2s{--dragon-fit:0.5}.layout_stage__ztD2s .round-end>*{flex-shrink:0}.layout_stage__ztD2s .game-dialog>div{padding:1.25rem}.layout_stage__ztD2s .hatch-egg>span:last-child{font-size:clamp(1rem,4vw,1.75rem)}.layout_stage__ztD2s[data-scene=home],.layout_stage__ztD2s[data-scene=roundEnd]{--dragon-left:50%;--dragon-top:min(15dvh,110px)}.layout_stage__ztD2s[data-scene=session] .companion-anchor{--dragon-left:2rem;--dragon-top:6.5rem;--dragon-fit:0.32}.layout_stage__ztD2s .speech-bubble{display:none}.layout_stage__ztD2s .mobile-speech{display:block;position:absolute;z-index:40;top:max(.5rem,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(26rem,calc(100% - 1rem));font-size:clamp(.875rem,2.5vw,1.125rem);text-align:center}.layout_stage__ztD2s .session-speech-slot{display:block;flex:none;height:4.5rem;overflow-y:auto;overscroll-behavior:contain}.layout_stage__ztD2s[data-scene=session] .mobile-speech{position:static;transform:none;margin:.5rem auto 0}.layout_stage__ztD2s[data-scene=hatch] .mobile-speech,.layout_stage__ztD2s[data-scene=home] .mobile-speech{top:max(3.5rem,env(safe-area-inset-top))}.layout_stage__ztD2s .home-menu{inset:min(30dvh,220px) 0 0;width:auto;justify-content:flex-start;gap:1rem;padding:1rem 1.25rem 2rem;overflow-y:auto;overflow-x:hidden}.layout_stage__ztD2s .home-menu>*{flex-shrink:0}.layout_stage__ztD2s .home-menu h1{font-size:clamp(1.75rem,5vw,3rem);text-align:center}.layout_stage__ztD2s .big-button{gap:.75rem;padding:.875rem 1rem;max-width:100%}.layout_stage__ztD2s .button-icon,.layout_stage__ztD2s .button-icon>*{width:3rem;height:3rem}.layout_stage__ztD2s .button-copy>span:first-child{font-size:clamp(1.375rem,4vw,2rem)}.layout_stage__ztD2s .button-copy>span:nth-child(2){font-size:1rem;overflow-wrap:anywhere}.layout_stage__ztD2s .wake-label{left:50%;top:12%;max-width:calc(100% - 1.5rem);padding:.75rem 1rem;font-size:clamp(1rem,4vw,1.75rem);white-space:normal}.layout_stage__ztD2s .session-header{height:4rem;gap:.5rem;padding:.25rem .75rem .25rem 4rem}.layout_stage__ztD2s .lair-header>button,.layout_stage__ztD2s .session-header>button{width:2.75rem;height:2.75rem}.layout_stage__ztD2s .egg-progress{gap:.125rem}.layout_stage__ztD2s .progress-egg{width:min(3rem,7vw);height:min(3.5rem,9vw);min-width:0}.layout_stage__ztD2s .session-main{padding:.5rem;gap:.5rem}.layout_stage__ztD2s .learning-progress{gap:.5rem;padding:.375rem .75rem}.layout_stage__ztD2s .learning-chest{width:2.5rem;height:2.5rem}.layout_stage__ztD2s .listen-buttons{gap:.5rem}.layout_stage__ztD2s .listen-buttons button,.layout_stage__ztD2s .peek-button{height:2.75rem;width:2.75rem}.layout_stage__ztD2s .copy-model{padding:.5rem;gap:.375rem}.layout_stage__ztD2s .copy-model>div{gap:.25rem}.layout_stage__ztD2s .answer-tiles>span,.layout_stage__ztD2s .copy-model>div>span{width:clamp(1.375rem,6vw,2.75rem);height:2.5rem;font-size:1.75rem}.layout_stage__ztD2s .answer-tiles{min-height:2.75rem;gap:.25rem;max-width:100%}.layout_stage__ztD2s .answer-tiles>.answer-caret{width:.375rem;height:2.5rem}.layout_stage__ztD2s .game-keyboard{padding:.625rem .5rem}.layout_stage__ztD2s .game-keyboard button{height:2.75rem;border-radius:.625rem;font-size:clamp(1rem,4vw,1.75rem)}.layout_stage__ztD2s .keyboard-actions>button{margin:0}.layout_stage__ztD2s .keyboard-actions>button:last-child{min-width:8rem;width:auto}.layout_stage__ztD2s .lair-header{gap:.75rem;padding:.75rem}.layout_stage__ztD2s .lair-header h2{font-size:clamp(1.5rem,5vw,2.75rem)}.layout_stage__ztD2s .lair-content{padding-inline:.75rem;padding-bottom:6rem}.layout_stage__ztD2s .lair-content h3{font-size:1.125rem}.layout_stage__ztD2s .lair-ledge{display:grid;grid-template-columns:repeat(auto-fit,minmax(5.5rem,1fr));padding-inline:.5rem;gap:.75rem}.layout_stage__ztD2s .lair-ledge button{width:100%}.layout_stage__ztD2s .lair-ledge button>span:first-child{width:5rem;height:6rem}.layout_stage__ztD2s .lair-ledge button>span:last-child{font-size:1.125rem;overflow-wrap:anywhere}.layout_stage__ztD2s .round-end{justify-content:flex-start;padding:min(30dvh,220px) .75rem 1.5rem;gap:1rem;overflow-y:auto;overflow-x:hidden}.layout_stage__ztD2s .round-end h2{font-size:clamp(1.5rem,5vw,3rem);text-align:center}.layout_stage__ztD2s .growth-cards{gap:.75rem;max-width:100%}.layout_stage__ztD2s .growth-cards>div{width:6rem}.layout_stage__ztD2s .growth-cards>div>div{width:5rem;height:6rem}.layout_stage__ztD2s .growth-cards>div>span{font-size:1.125rem;overflow-wrap:anywhere;max-width:100%}.layout_stage__ztD2s .help-scene{padding:1rem}.layout_stage__ztD2s .help-scene label{margin-left:0}.layout_stage__ztD2s .game-dialog{padding:.75rem}.layout_stage__ztD2s .hatch-egg{width:min(40dvh,70vw);height:min(48dvh,84vw)}}@media (min-width:600px) and (max-height:600px){.layout_stage__ztD2s[data-scene=home]{--dragon-left:22%;--dragon-top:55%;--dragon-fit:0.6}.layout_stage__ztD2s .home-menu{inset:0 0 0 44%;padding-top:3.5rem}.layout_stage__ztD2s .wake-label{left:22%;max-width:40%}}@media (max-height:500px){.layout_stage__ztD2s[data-scene=session] .companion-anchor{--dragon-top:5rem;--dragon-fit:0.27}.layout_stage__ztD2s[data-scene=roundEnd]{--dragon-fit:0.3}.layout_stage__ztD2s .session-header{height:3rem}.layout_stage__ztD2s .session-speech-slot{height:3.5rem}.layout_stage__ztD2s .mobile-speech{font-size:.875rem;padding-block:.25rem}.layout_stage__ztD2s .game-keyboard button{height:2.25rem}}@media (prefers-reduced-motion:reduce){.layout_stage__ztD2s .companion-anchor{transition:none}}@media (max-height:500px){.layout_stage__ztD2s[data-scene=session] .scene-frame{overflow-y:auto}.layout_stage__ztD2s .session-main{min-height:12rem;flex:none;overflow-y:visible}}