.kindergarten-game:has(.kg-overlay:not([hidden]))>.kg-guidance{display:none}
.kg-overlay{padding:18px}
.kg-window{display:flex;flex-direction:column;max-height:calc(100dvh - 44px)}
.kg-window-head,.kg-goal,.kg-window-foot{flex-shrink:0}
.kg-game-scene{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.kg-held-object{position:absolute;right:15px;bottom:89px;width:66px;height:76px;pointer-events:none;filter:drop-shadow(0 3px 3px #5f4b3455);z-index:9}
.kg-held-object>.kg-held-hand{position:absolute;inset:23px -9px -8px;width:82px;height:65px}
.kg-held-object>.kg-held-toy{position:absolute;inset:0;width:63px;height:63px;transform-origin:center}
.kg-held-object .kg-art{width:100%;height:100%}
.kg-window-foot>.kg-reset{width:44px;height:44px;flex:none;padding:3px}
.kg-camera-controls{display:flex;gap:6px;margin-top:8px}
.kg-camera-controls button{min-width:36px;min-height:36px;border:1px solid #cfbd98;border-radius:10px;background:#fff9e7;color:#607b59;font-size:20px}
.kg-world-transfer{position:fixed;left:-32px;top:-32px;width:64px;height:64px;pointer-events:none;z-index:100}
.kg-world-transfer .kg-art{width:100%;height:100%}
.kg-svg-button[data-open="true"]{filter:drop-shadow(0 0 5px #d5f5bf)}
.kg-svg-button[data-open="true"]>.kg-art{rotate:35deg}
.kg-window-lunch .kg-fruit-in-bowl{transition:opacity .4s}
.kg-wash-hands{touch-action:none}
.kg-wash-hands.is-soapy::after{content:'· ˚ ｡ · ˚ ｡';position:absolute;inset:30% 10% auto;color:#fff;font-size:40px;letter-spacing:4px;text-shadow:0 2px 4px #9dc3b8;pointer-events:none}
.kg-wash-hands.is-clean::after{content:'✧';position:absolute;top:12%;right:17%;color:#fff8cd;font-size:39px}
@media(max-width:650px){.kg-overlay{padding:8px}.kg-window{max-height:calc(100dvh - 22px)}.kg-held-object{width:52px;height:58px;right:8px;bottom:93px}.kg-held-object>.kg-held-toy{width:47px;height:47px}.kg-held-object>.kg-held-hand{width:60px;height:48px;inset:17px -5px -6px}.kg-window-foot>.kg-reset{width:44px;height:44px}.kg-camera-controls{margin-top:5px}}
@media(max-height:540px) and (orientation:landscape){.kg-overlay{padding:7px}.kg-window{max-height:calc(100dvh - 20px)}.kg-board-svg{min-height:220px}.kg-held-object{bottom:66px}}
