.play-area{min-height:610px;background:#b2e4f6}
.world-canvas{position:absolute;inset:0;z-index:0;overflow:hidden}
.world-canvas canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px}
.world-canvas canvas:active{cursor:grabbing}
.world-canvas canvas:focus-visible{outline:3px solid #1f5eff;outline-offset:-4px}
.stage-top{pointer-events:none}.stage-top button{pointer-events:auto}
.stage-tag{font-size:12px}.question-bubble{top:65px;pointer-events:none;padding:13px 15px 13px 23px;box-shadow:0 5px 0 #2548330c,0 8px 20px #1e665915}
.question-bubble .hear-button{pointer-events:auto}.question-bubble p{font-size:clamp(21px,2vw,30px)}
.stage-feedback{bottom:17px;padding:9px 21px;box-shadow:0 3px 12px #182b4320;white-space:normal;width:max-content;max-width:62%;line-height:1.3;pointer-events:none}
.direction-pad{display:grid;grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px);gap:3px;left:16px;bottom:20px;transform:none}
.direction-pad button{width:36px;height:36px;border:1px solid #ffffffc0;border-radius:10px;box-shadow:0 2px 3px #1a4b5720;background:#fffffff2}
.direction-pad .icon{width:19px;height:19px}
.direction-forward{grid-column:2;grid-row:1}.direction-left{grid-column:1;grid-row:2}.direction-jump{grid-column:2;grid-row:2;color:#1f5eff}.direction-right{grid-column:3;grid-row:2}.direction-back{grid-column:2;grid-row:3}
.camera-tools{position:absolute;bottom:24px;right:16px;z-index:8;display:flex;gap:5px}
.camera-tools button{display:grid;place-items:center;background:#fffffff2;border:1px solid #ffffffc0;border-radius:11px;width:34px;height:34px;box-shadow:0 2px 5px #34587420}
.camera-tools button:hover{color:var(--blue);background:white}.camera-tools .icon{width:17px;height:17px}
.stage-hint{display:block!important;bottom:65px;right:17px;left:auto!important;max-width:none!important;font-size:11px!important;color:#294b58;background:#ffffffd9;border-radius:8px;padding:4px 8px;pointer-events:none}
.journey-status{position:absolute;left:19px;bottom:151px;z-index:7;background:#ffffffed;border-radius:13px;padding:9px 11px;max-width:150px;box-shadow:0 3px 10px #18384913;pointer-events:none}
.journey-status>span{display:flex;gap:6px}.journey-status .icon{width:21px;height:21px;color:#aab9bd}.journey-status .collected .icon{fill:#ff8172;color:#d95743}.journey-status p{font-size:11px;font-weight:850;margin-top:5px;color:#436051;line-height:1.3}
.breath-caption{position:absolute;left:50%;top:36%;transform:translateX(-50%);z-index:7;background:#ffffffeb;padding:8px 22px;border-radius:99px;font-size:24px;font-weight:900;color:#3d698d;box-shadow:0 2px 7px #34587410;pointer-events:none}
.scene-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#e5f5fb;z-index:20;text-align:center;padding:30px;color:#254863;font-size:18px;font-weight:800}
.loading-ring{width:40px;height:40px;border:4px solid #c9dffa;border-top-color:#1f5eff;border-radius:50%;animation:load-garden .8s linear infinite}
.scene-error strong{font-size:22px}.scene-error p{font-size:16px;font-weight:600;max-width:400px;line-height:1.6}.scene-error button{min-width:140px}
.action-button{min-height:58px}.action-button.wide{min-height:43px}.teacher-panel{padding-top:23px}.teacher-instruction{margin-bottom:16px}.game-controls.movement-controls{grid-template-columns:1fr 1fr}
body.fullscreen .play-area{min-height:0}.play-area.breathing .stage-feedback{bottom:17px}
@keyframes load-garden{to{transform:rotate(360deg)}}
@media(max-width:1150px){.workspace{grid-template-columns:minmax(0,1fr) 285px}.play-area{min-height:630px}.stage-feedback{font-size:17px;max-width:64%;bottom:20px}.camera-tools{bottom:20px;right:12px}.direction-pad{left:12px}.stage-hint{bottom:64px;right:12px}}
@media(max-width:850px){.workspace{display:flex;flex-direction:column}.play-area{width:100%;height:590px;min-height:0;aspect-ratio:auto}.teacher-panel{display:block;padding:22px}.panel-heading{font-size:12px}.teacher-panel h3{font-size:23px}.teacher-instruction{font-size:16px;max-width:620px}.game-controls{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.game-controls.movement-controls{grid-template-columns:repeat(6,minmax(0,1fr))}.game-controls.colors-controls{grid-template-columns:repeat(6,minmax(0,1fr))}.game-controls.weather-controls,.game-controls.feelings-controls{grid-template-columns:repeat(4,minmax(0,1fr))}.action-button{min-height:65px;font-size:14px}.action-button.wide{grid-column:auto;min-height:65px;flex-direction:column}.extra-controls{display:flex;gap:10px;margin-top:13px}.extra-controls>*{flex:1}.panel-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:8px;padding-top:14px}.try-saying{border:0;padding-top:0}.gentle-note{margin-top:0}.camera-tools button{width:36px;height:36px}.stage-feedback{font-size:19px;bottom:22px}.direction-pad{bottom:19px}.journey-status{bottom:150px}.question-bubble p{font-size:26px}body.fullscreen .workspace{height:auto;display:flex}body.fullscreen .play-area{height:calc(100dvh - 95px);min-height:400px}body.fullscreen .teacher-panel{overflow:visible}body.fullscreen .game-controls.movement-controls{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:650px){.play-area{height:500px;min-height:0;aspect-ratio:auto}.question-bubble{top:63px;max-width:94%;padding:12px 12px 12px 16px}.question-bubble p{font-size:22px}.stage-feedback{font-size:17px;max-width:76%;bottom:136px}.direction-pad{left:13px;bottom:17px;grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px)}.camera-tools{bottom:23px;right:14px}.stage-hint{bottom:68px;right:14px}.journey-status{bottom:auto;top:123px;left:15px;padding:7px 9px;background:#ffffffd9}.journey-status p{display:none}.journey-status .icon{width:19px;height:19px}.game-controls.movement-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.game-controls.colors-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.game-controls.weather-controls,.game-controls.feelings-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.action-button{min-height:59px;flex-direction:row;gap:9px;font-size:14px}.action-button.wide{min-height:59px}.game-controls:not(.movement-controls):not(.number-controls):not(.colors-controls):not(.weather-controls):not(.feelings-controls){grid-template-columns:repeat(2,minmax(0,1fr))}.game-controls:not(.movement-controls) .action-button.wide{grid-column:1/-1;flex-direction:row;min-height:43px}.number-button{min-height:48px;font-size:20px}.game-controls.number-controls{grid-template-columns:repeat(5,minmax(0,1fr))}.panel-bottom{gap:14px}.breath-caption{top:32%;font-size:21px}.play-area.breathing .stage-feedback{bottom:136px}body.fullscreen .play-area{min-height:500px;height:calc(100dvh - 100px)}body.fullscreen .game-controls.movement-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.loading-ring{animation:none}}
