@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap";:root{font-family:Nunito,ui-rounded,system-ui,sans-serif;color:#55554e;background:#f8f5ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overscroll-behavior:none}button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #527fbe;outline-offset:5px}button:disabled{opacity:.4;cursor:default}.game{height:100dvh;min-height:360px;display:grid;grid-template-rows:100px minmax(0,1fr) 138px;max-width:1400px;margin:auto;padding:env(safe-area-inset-top) max(28px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(28px,env(safe-area-inset-left));-webkit-user-select:none;user-select:none}.toolbar{display:flex;align-items:center;justify-content:space-between;position:relative}.level-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;width:64px;height:64px;background:#eeddae;border-radius:20px;color:#7a6740;box-shadow:0 4px #dcc99b}.level-chip span{font-size:10px;font-weight:900;letter-spacing:1.8px}.level-chip strong{font-size:28px;line-height:1.1;font-weight:900}.color-dots{display:flex;gap:8px;position:absolute;left:50%;transform:translate(-50%)}.color-dots i{width:12px;height:12px;border-radius:50%;background:#83b4ca}.color-dots i:nth-child(2){background:#df9681}.color-dots i:nth-child(3){background:#eac975}.color-dots i:nth-child(4){background:#8dbda5}.top-actions,.tool-group{display:flex;gap:14px}.icon-button{display:grid;place-items:center;width:58px;height:58px;border:0;border-radius:19px;background:#eeece4;color:#73736a;box-shadow:0 4px #dbd8ce;transition:transform .12s,background .12s}.icon-button:active{transform:translateY(3px);box-shadow:0 1px #dbd8ce}.stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:18px}.board{width:min(100%,calc(100dvh - 310px),620px);aspect-ratio:1;touch-action:none;background:#e7e8df;padding:12px;border-radius:32px;box-shadow:0 8px #d5d8cd,inset 0 1px #f9faf4}.maze{width:100%;height:100%;display:block;overflow:visible}.player{transition:transform .16s cubic-bezier(.2,.8,.2,1)}.progress{display:flex;align-items:center;gap:7px;font-size:13px;color:#96968a}.progress strong{font-size:16px;color:#73776b}.little-dot{width:6px;height:6px;border-radius:50%;background:#91bda8;margin-right:3px}.controls{display:flex;align-items:center;justify-content:space-between;width:min(100%,720px);margin:auto;gap:24px}.hint-button{background:#f2e4bd;color:#9b7b35;box-shadow:0 4px #dfcfa3}.dpad{display:grid;grid-template-columns:repeat(3,58px);grid-template-rows:repeat(2,50px);gap:8px}.dpad .icon-button{width:58px;height:50px;border-radius:16px;background:#dfe9ed;color:#658798;box-shadow:0 4px #c4d5dc}.dir-0{grid-column:2}.dir-3{grid-row:2;grid-column:1}.dir-2{grid-row:2;grid-column:2}.dir-1{grid-row:2;grid-column:3}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#53584b44;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);display:grid;place-items:center;z-index:5;padding:24px}.modal{background:#fffdf6;border-radius:30px;padding:36px;width:min(100%,380px);position:relative;text-align:center;box-shadow:0 12px #d8d8c7;outline:none}.modal h2{font-size:27px;font-weight:900;margin:8px 0 22px}.modal p{color:#878779}.close{position:absolute;right:16px;top:16px;width:42px;height:42px;border-radius:14px;box-shadow:none}.close svg{width:20px}.setting-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-weight:800}.setting-row>span{display:flex;align-items:center;gap:10px}.toggle{height:36px;width:60px;border:0;border-radius:18px;background:#dddcd2;padding:5px}.toggle span{display:block;width:26px;height:26px;border-radius:50%;background:#fffdf6;transition:transform .15s}.toggle.on{background:#88b9a2}.toggle.on span{transform:translate(24px)}.setting-label{font-size:13px;text-align:left;margin-top:26px}.segments{display:flex;gap:8px}.segments button{flex:1;padding:12px 0;border:0;border-radius:13px;background:#eeede5;color:#787b6f;display:flex;gap:5px;align-items:center;justify-content:center;font-weight:800}.segments button.selected{background:#dceadd;color:#4c795c}.howto{font-size:13px;line-height:1.6;margin:24px 0}.primary{width:100%;display:flex;align-items:center;justify-content:center;gap:14px;border:0;border-radius:17px;background:#8cbea5;color:#254f40;padding:17px;font-size:16px;font-weight:900;box-shadow:0 4px #6f9f87}.text-button{background:transparent;border:0;color:#88897c;padding:18px 12px 0;font-weight:800}.win-star{color:#e9bf60;margin:10px auto}.modal .win-star+p{margin-bottom:25px}@media(min-width:900px)and (min-height:750px){.game{padding-left:64px;padding-right:64px;grid-template-rows:120px minmax(0,1fr) 160px}.board{width:min(100%,calc(100dvh - 340px),650px)}.controls{width:750px}.icon-button{width:64px;height:64px}.dpad{grid-template-columns:repeat(3,64px);grid-template-rows:repeat(2,54px)}.dpad .icon-button{width:64px;height:54px}}@media(max-width:600px){.game{padding-left:20px;padding-right:20px;grid-template-rows:90px minmax(0,1fr) 140px}.top-actions{gap:8px}.top-actions .icon-button{width:46px;height:46px;border-radius:15px}.level-chip{width:54px;height:54px;border-radius:17px}.level-chip strong{font-size:24px}.color-dots{gap:5px}.color-dots i{width:9px;height:9px}.board{width:min(100%,calc(100dvh - 300px));padding:7px;border-radius:25px}.controls{gap:12px}.tool-group{gap:10px}.tool-group .icon-button{width:52px;height:54px}.dpad{grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,48px);gap:7px}.dpad .icon-button{width:50px;height:48px}}@media(max-height:600px)and (min-width:650px){.game{grid-template-rows:76px minmax(0,1fr) 30px}.stage{gap:12px}.board{width:min(calc(100dvh - 140px),55vw)}.controls{position:absolute;left:5%;right:5%;top:50%;width:auto;pointer-events:none}.controls button{pointer-events:auto}.tool-group{flex-direction:column}.progress{font-size:11px}.level-chip{width:54px;height:54px}.top-actions .icon-button{width:48px;height:48px}}@keyframes bump{25%{transform:translate(-4px)}75%{transform:translate(4px)}}.bump{animation:bump .18s}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(pointer:coarse){.dpad{display:none}.controls{justify-content:center}.tool-group{gap:20px}.game{grid-template-rows:90px minmax(0,1fr) 100px}.board{width:min(100%,calc(100dvh - 245px),740px)}.tool-group .icon-button{width:60px;height:60px}.stage{gap:20px}}@media(pointer:coarse)and (orientation:landscape){.game{grid-template-rows:76px minmax(0,1fr) 30px}.board{width:min(calc(100dvh - 130px),70vw)}.controls{position:absolute;right:24px;left:auto;top:45%;width:auto}.tool-group{flex-direction:column}.stage{gap:10px}}@keyframes bounce{0%{transform:scale(.8,1.15)}55%{transform:scale(1.15,.85)}to{transform:scale(1)}}.bounce{animation:bounce .25s ease-out;transform-box:fill-box;transform-origin:center}.bump{transform-box:fill-box;transform-origin:center}.goal circle{animation:goal-pulse 2.8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}@keyframes goal-pulse{50%{transform:scale(1.12);opacity:.65}}.modal{animation:modal-in .3s ease-out}.win-star{animation:star-in .55s cubic-bezier(.2,1.4,.4,1)}@keyframes modal-in{0%{transform:translateY(15px) scale(.96);opacity:0}to{transform:none;opacity:1}}@keyframes star-in{0%{transform:rotate(-25deg) scale(.2);opacity:0}to{transform:none;opacity:1}}.confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;border-radius:30px;pointer-events:none}.confetti i{position:absolute;left:var(--x);top:-15px;width:8px;height:13px;border-radius:3px;background:#83bba6;animation:confetti-fall 1.8s calc(var(--i)*35ms) ease-out both}.confetti i:nth-child(3n){background:#e9c46b}.confetti i:nth-child(3n+1){background:#df9681}@keyframes confetti-fall{0%{transform:translateY(-15px) rotate(0);opacity:1}to{transform:translateY(390px) rotate(300deg);opacity:0}}@media(prefers-reduced-motion:reduce){.bounce,.goal circle,.modal,.win-star,.confetti i{animation:none!important}.confetti{display:none}}.sound-button{position:relative}.sound-button.enabled{background:#dcebdd;color:#4d7a60;box-shadow:0 4px #bfd4bf}.sound-button.muted{color:#8c8a80;background:#ebe8e0}.music-muted:after{content:"";position:absolute;left:17px;top:29px;width:28px;height:3px;border-radius:2px;background:#8c8a80;transform:rotate(-45deg);box-shadow:0 0 0 2px #ebe8e0}.tool-divider{width:1px;background:#ddd9cd;margin:10px 3px}.tool-group{align-items:center}@media(max-width:600px){.tool-group{gap:8px}.tool-group .icon-button{width:46px;height:50px}.tool-divider{margin:10px 0}}@media(pointer:coarse){.tool-group{gap:16px}.tool-group .icon-button{width:56px;height:56px}.music-muted:after{left:14px;top:26px}}@media(pointer:coarse)and (orientation:landscape){.tool-divider{height:1px;width:25px;margin:4px 0}}@media(max-width:600px){.dpad{display:none}.controls{justify-content:center}}.controls{justify-content:center}.tool-group{gap:16px}@media(max-height:600px)and (min-width:650px){.controls{left:auto;right:24px;top:40%;width:auto}.tool-group{flex-direction:column}.tool-divider{width:25px;height:1px;margin:4px 0}}.game-heading{display:flex;align-items:center;gap:14px}.game-app-icon{position:absolute;left:50%;transform:translate(-50%);width:68px;height:68px}.game-app-icon svg{width:100%;height:100%}.picker{height:100dvh;min-height:520px;display:grid;grid-template-rows:100px minmax(0,1fr) 100px;overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.picker-header{display:flex;align-items:center;padding:0 48px;max-width:1400px;width:100%;margin:auto}.brand{font-size:29px;font-weight:900;letter-spacing:-1.5px;color:#678773;display:flex;align-items:center;gap:5px}.brand-spark{color:#d4b35e;font-size:19px;align-self:flex-start;margin-top:6px}.picker-main{min-height:0;display:flex;flex-direction:column;justify-content:center;gap:30px}.picker-main h1{font-size:30px;font-weight:900;letter-spacing:-.8px;text-align:center;margin:0 0 6px;color:#5b6357}.game-carousel{--card-width:min(390px,72vw);display:flex;gap:26px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:14px calc((100% - var(--card-width))/2) 24px;position:relative;overscroll-behavior-x:contain;touch-action:pan-x;cursor:grab;-webkit-overflow-scrolling:touch}.game-carousel::-webkit-scrollbar{display:none}.game-carousel:active{cursor:grabbing}.game-carousel:focus-visible{outline:2px solid #87b19d;outline-offset:-3px}.game-card{flex:0 0 var(--card-width);scroll-snap-align:center;scroll-snap-stop:always;border-radius:34px;min-height:390px;height:min(480px,calc(100dvh - 320px));padding:30px;display:flex;flex-direction:column;align-items:center;text-align:center;background:#e1eddf;box-shadow:0 7px #cadbc7;opacity:.65;transform:scale(.96);transition:transform .25s,opacity .25s;-webkit-user-select:none;user-select:none}.game-card.active{opacity:1;transform:scale(1)}.game-card.peach{background:#f4e1d5;box-shadow:0 7px #e4cabc}.game-card.blue{background:#e0ecf0;box-shadow:0 7px #c6dbe3}.game-card.yellow{background:#f3ebcf;box-shadow:0 7px #e3d6af}.card-art{width:100%;flex:1;min-height:0;display:grid;place-items:center}.card-art>svg{width:80%;max-width:220px;max-height:100%;overflow:visible}.card-copy{margin:18px 0}.game-category{font-size:12px;font-weight:800;letter-spacing:.4px;color:#72866d}.card-copy h2{font-size:29px;font-weight:900;letter-spacing:-.8px;margin:4px 0;color:#4f6753}.peach .game-category,.peach h2{color:#99705f}.blue .game-category,.blue h2{color:#5e8392}.yellow .game-category,.yellow h2{color:#927e4c}.card-play{border:0;border-radius:18px;width:100%;height:58px;display:flex;align-items:center;justify-content:center;gap:24px;font-size:18px;font-weight:900;color:#3e6d53;background:#fffdf4;box-shadow:0 4px #bfd0b8;transition:transform .15s}.card-play:active{transform:translateY(3px);box-shadow:0 1px #bfd0b8}.coming-soon{height:58px;display:grid;place-items:center;color:#9d8a79;font-size:15px;font-weight:800;background:#fffdf442;border-radius:18px;width:100%}.carousel-dots{display:flex;align-items:center;justify-content:center;gap:12px}.carousel-dots button{padding:0;border:0;background:transparent;width:32px;height:36px;display:grid;place-items:center}.carousel-dots button:before{content:"";width:8px;height:8px;border-radius:50%;background:#d6d3c7;transition:width .2s,background .2s}.carousel-dots button.selected:before{width:24px;border-radius:5px;background:#84b399}.picker-footer{display:flex;align-items:center;justify-content:center;gap:16px}.symbol-art{width:220px;height:210px;display:grid;place-items:center;position:relative;color:#76a7b7}.symbol-art.physics{color:#c1a553}.symbol-art>svg{position:relative;z-index:1}.art-orbit{position:absolute;width:155px;height:155px;background:#fff5;border-radius:50%}.art-bubble{position:absolute;width:25px;height:25px;background:#a6c5d4;border-radius:50%;right:15px;top:25px}.physics .art-bubble{background:#e2c47f;right:35px;top:30px}.symbol-art .art-star{position:absolute;left:20px;bottom:20px;color:#efc974}.card-art svg{animation:card-float 5s ease-in-out infinite}.peach .card-art svg{animation-delay:-1s}.blue .card-art svg{animation-delay:-2s}@keyframes card-float{50%{transform:translateY(-6px) rotate(2deg)}}@media(max-width:600px){.picker{grid-template-rows:80px minmax(0,1fr) 85px}.picker-header{padding:0 24px}.picker-main{gap:18px}.picker-main h1{font-size:24px}.game-carousel{--card-width:76vw;gap:18px}.game-card{padding:24px 20px;min-height:330px;height:calc(100dvh - 285px);max-height:460px;border-radius:28px}.card-copy h2{font-size:26px}.card-art>svg{max-width:185px}.symbol-art{width:180px;height:175px}.game-app-icon{width:54px;height:54px}.game-heading{gap:8px}.game-heading>.icon-button{width:46px;height:46px;border-radius:15px}}@media(max-height:700px)and (min-width:650px){.picker{grid-template-rows:70px minmax(0,1fr) 76px;min-height:360px}.picker-main{gap:8px}.picker-main h1{font-size:23px;margin:0}.game-carousel{--card-width:300px;padding-top:6px;padding-bottom:14px;gap:22px}.game-card{min-height:0;height:calc(100dvh - 235px);max-height:380px;padding:20px}.card-art>svg{max-width:140px}.card-copy{margin:9px 0}.card-copy h2{font-size:23px}.card-play,.coming-soon{height:48px}.symbol-art{width:150px;height:135px}.symbol-art>svg:not(.art-star){width:110px;height:110px}.art-orbit{width:110px;height:110px}.carousel-dots button{height:28px}}@media(prefers-reduced-motion:reduce){.card-art svg{animation:none}.game-card,.card-play,.carousel-dots button:before{transition:none}}.picker-main,.game-carousel{min-width:0;width:100%}.game-carousel.dragging{scroll-snap-type:none;scroll-behavior:auto}@media(pointer:coarse)and (max-height:600px)and (orientation:landscape){.game{min-height:0;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}.controls{top:50%;transform:translateY(-50%);right:max(20px,env(safe-area-inset-right))}.tool-group{gap:10px}.tool-group .icon-button{width:48px;height:48px;border-radius:15px}.music-muted:after{left:12px;top:23px;width:25px}.game-app-icon{width:48px;height:48px}}@media(pointer:coarse)and (max-width:600px)and (orientation:portrait){.game{min-height:0;grid-template-rows:80px minmax(0,1fr) 90px}.board{width:min(100%,calc(100dvh - 220px));padding:7px}.stage{gap:14px}.game-app-icon{width:48px;height:48px}.tool-group .icon-button{width:50px;height:50px}.tool-group{gap:12px}}.game{position:relative}.mascot-picker{position:absolute;left:28px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:2;padding:10px;background:#f1eee5;border-radius:24px}.mascot-choice{width:60px;height:60px;border:2px solid transparent;border-radius:18px;background:transparent;display:grid;place-items:center;transition:transform .15s,background .15s}.mascot-choice svg{width:48px;height:48px}.mascot-choice.selected{background:#fffdf5;border-color:#94bda4;box-shadow:0 3px #d1d8c9}.mascot-choice:active{transform:scale(.9)}@media(min-width:900px){.mascot-picker{left:64px}}@media(max-width:900px){.game .stage{padding-left:80px}.mascot-picker{left:20px;padding:7px;gap:7px}.mascot-choice{width:50px;height:50px;border-radius:15px}.mascot-choice svg{width:40px;height:40px}}@media(max-width:600px)and (orientation:portrait){.mascot-picker{left:8px;padding:5px;gap:8px;border-radius:18px}.mascot-choice{width:40px;height:40px;border-radius:12px}.mascot-choice svg{width:34px;height:34px}.game .stage{padding-left:45px}.game .board{width:min(100%,calc(100dvh - 220px))}.game .progress{font-size:12px}}@media(max-height:600px)and (orientation:landscape){.mascot-picker{left:max(16px,env(safe-area-inset-left));padding:5px;gap:4px}.mascot-choice{width:38px;height:38px;border-radius:12px}.mascot-choice svg{width:32px;height:32px}.game .stage{padding-left:0}}@media(prefers-reduced-motion:reduce){.mascot-choice{transition:none}}.countdown{position:absolute;top:125px;left:50%;transform:translate(-50%);padding:8px 16px;border-radius:14px;background:#f0e5c5;color:#896c38;font-size:21px;font-weight:900;font-variant-numeric:tabular-nums}.countdown.urgent{background:#f4ddd2;color:#a65f49}@media(max-height:600px){.countdown{top:84px;left:22%;font-size:17px}}@media(max-width:600px)and (orientation:portrait){.countdown{top:90px;font-size:18px}}.play-layout{display:contents}.game-status{display:flex;align-items:center;justify-content:center;gap:12px}@media(max-width:600px)and (orientation:portrait){.game{display:flex;flex-direction:column;height:100dvh;min-height:0;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow:hidden}.toolbar{height:60px;flex-shrink:0}.level-chip{height:46px;width:46px;border-radius:15px}.level-chip span{font-size:8px}.level-chip strong{font-size:22px}.game-heading{gap:6px}.game-heading>.icon-button,.top-actions .icon-button{width:44px;height:44px;border-radius:14px}.top-actions{gap:6px}.game-app-icon{width:44px;height:44px}.play-layout{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;margin-top:clamp(16px,6dvh,48px);min-height:0}.game .stage{padding:0;gap:12px;min-width:0}.game .board{width:min(100%,calc(100dvh - 240px));padding:4px;border-radius:22px;box-shadow:0 5px #d5d8cd}.mascot-picker{position:static;transform:none;gap:4px;padding:5px 0;border-radius:16px;width:44px;align-items:center;align-self:center}.mascot-choice{width:44px;height:44px;border-radius:13px}.mascot-choice svg{width:36px;height:36px}.controls{position:static;transform:none;width:auto;margin:24px auto 0;flex-shrink:0;pointer-events:auto}.tool-group{flex-direction:row;gap:14px}.tool-group .icon-button{width:50px;height:50px;border-radius:16px}.tool-divider{height:28px;width:1px;margin:0 2px}.countdown{position:static;transform:none;font-size:17px;padding:5px 12px;border-radius:11px}.game-status{min-height:28px}.game .progress{font-size:12px}.progress strong{font-size:15px}.picker{min-height:0;grid-template-rows:70px minmax(0,1fr) 76px}.picker-header{padding:0 20px}.brand{font-size:24px;letter-spacing:-.8px}.picker-main{gap:12px}.game-card{min-height:0;height:min(440px,calc(100dvh - 250px));padding:20px}.card-copy{margin:12px 0}.card-art>svg{max-width:170px}.card-play,.coming-soon{height:50px;flex-shrink:0}.modal{max-height:calc(100dvh - 40px);overflow-y:auto;padding:28px 24px}}@media(max-height:600px)and (orientation:landscape){.game{display:grid;grid-template-rows:54px minmax(0,1fr);height:100dvh;min-height:0;padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden}.toolbar{height:54px}.level-chip{width:44px;height:44px;border-radius:13px}.level-chip span{font-size:8px}.level-chip strong{font-size:21px}.game-heading>.icon-button,.top-actions .icon-button{width:44px;height:44px;border-radius:13px}.game-app-icon{width:44px;height:44px}.play-layout{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;min-height:0;padding-right:64px}.game .stage{padding:0;gap:6px;min-width:0}.game .board{width:min(100%,calc(100dvh - 104px));padding:4px;border-radius:22px}.mascot-picker{position:static;transform:none;padding:4px;gap:2px;width:48px;max-height:100%;overflow-y:auto;scrollbar-width:none}.mascot-choice{width:40px;height:40px;border-radius:12px;flex-shrink:0}.mascot-choice svg{width:34px;height:34px}.controls{position:absolute;top:calc(50% + 22px);right:max(12px,env(safe-area-inset-right));left:auto;transform:translateY(-50%);width:48px;margin:0;pointer-events:auto}.tool-group{flex-direction:column;gap:8px}.tool-group .icon-button{width:44px;height:44px;border-radius:13px}.tool-divider{height:1px;width:24px;margin:1px 0}.countdown{position:static;transform:none;font-size:15px;padding:3px 10px;border-radius:9px}.game-status{height:22px;gap:10px}.progress strong{font-size:13px}.progress{font-size:11px}.modal{max-height:calc(100dvh - 24px);overflow-y:auto;padding:22px 28px}.modal h2{margin:4px 0 14px;font-size:24px}.howto{margin:16px 0}}@media(max-width:600px)and (orientation:portrait){.play-layout{display:flex;flex-direction:column;gap:16px;margin-top:20px;align-items:stretch}.mascot-picker{width:max-content;max-width:100%;align-self:center;flex-direction:row;padding:5px;gap:5px;overflow-x:auto;overflow-y:hidden;border-radius:18px}.mascot-choice{flex:0 0 44px;height:44px}.game .stage{width:100%}.game .board{width:min(100%,calc(100dvh - 290px))}.controls{margin-top:20px}.game-status{min-height:24px}}@media(max-height:600px)and (orientation:landscape){.play-layout{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;padding-right:60px;min-height:0}.mascot-picker{width:max-content;max-width:100%;flex-direction:row;align-self:center;padding:3px 5px;gap:5px;overflow-x:auto;overflow-y:hidden;flex-shrink:0;border-radius:14px}.mascot-choice{width:36px;height:36px;flex:0 0 36px}.mascot-choice svg{width:30px;height:30px}.game .stage{width:100%;gap:5px}.game .board{width:min(100%,calc(100dvh - 155px))}}.mascot-choice{padding:0;display:flex;align-items:center;justify-content:center;line-height:0;box-sizing:border-box}.mascot-choice svg{display:block;flex-shrink:0;max-width:100%;max-height:100%}.memory-game{height:100dvh;min-height:0;max-width:1200px;margin:auto;display:grid;grid-template-rows:88px minmax(0,1fr) 88px;padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px,env(safe-area-inset-left))}.memory-app-icon{position:absolute;left:50%;transform:translate(-50%);width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#f1ddd0;color:#bc8e5a;box-shadow:0 4px #dec6b6}.memory-stage{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.memory-score{display:flex;justify-content:center;gap:26px;color:#8c8272;font-weight:800;font-size:14px}.memory-score span{display:flex;align-items:center;gap:6px}.memory-grid{--cols:4;--rows:4;display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:12px;width:min(100%,680px,calc((100dvh - 235px)*var(--cols)/var(--rows)))}.memory-grid.pairs-10{--rows:5}.memory-grid.pairs-12{--rows:6}.memory-card{padding:0;border:0;aspect-ratio:1;background:none;border-radius:16px;perspective:800px;touch-action:manipulation}.card-inner{display:block;width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .35s cubic-bezier(.2,.7,.3,1)}.flipped .card-inner{transform:rotateY(180deg)}.memory-back,.memory-front{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:16px;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:grid;place-items:center;overflow:hidden}.memory-back{background:#ead0be;color:#b98b6d;box-shadow:inset 0 0 0 3px #f5e6d8,0 4px #cfb39f}.memory-front{background:#fffaf0;transform:rotateY(180deg);box-shadow:inset 0 0 0 2px #e5dccb,0 4px #d7caba}.memory-picture{width:100%;height:100%;display:block;background-image:url(/images/memory-collection.png);background-size:600% 500%;background-repeat:no-repeat}.matched .memory-front{box-shadow:inset 0 0 0 3px #9ac4a1,0 4px #bfd1b7}.match-check{position:absolute;right:6px;bottom:6px;background:#d7e9cf;color:#557b50;border-radius:50%;width:23px;height:23px;display:grid;place-items:center}.memory-tools{display:flex;align-items:center;justify-content:center;gap:16px}.memory-tools .tool-divider{height:30px}.memory-card:active:not(.flipped){transform:scale(.96)}@media(max-width:600px){.memory-game{grid-template-rows:68px minmax(0,1fr) 76px;padding-left:12px;padding-right:12px}.memory-grid{gap:8px;width:min(100%,calc((100dvh - 205px)*var(--cols)/var(--rows)))}.memory-score{font-size:13px}.memory-back,.memory-front,.memory-card{border-radius:12px}.memory-app-icon{width:44px;height:44px;border-radius:14px}.memory-tools .icon-button{width:48px;height:48px}.memory-game .level-chip{width:44px;height:44px}.memory-game .level-chip strong{font-size:22px}}@media(max-height:600px)and (orientation:landscape){.memory-game{grid-template-rows:54px minmax(0,1fr);padding-right:76px}.memory-grid{--cols:8;--rows:2;gap:8px;width:min(100%,calc((100dvh - 112px)*var(--cols)/var(--rows)))}.memory-grid.pairs-10{--cols:5;--rows:4}.memory-grid.pairs-12{--cols:6;--rows:4}.memory-stage{gap:8px}.memory-tools{position:absolute;right:max(12px,env(safe-area-inset-right));top:50%;transform:translateY(-50%);flex-direction:column;gap:10px}.memory-tools .icon-button{width:44px;height:44px}.memory-tools .tool-divider{height:1px;width:24px}.memory-score{font-size:12px}}@media(prefers-reduced-motion:reduce){.card-inner{transition:none}}.game-card.peach .card-play{color:#99705f;box-shadow:0 4px #d7b5a3}.game-card.peach .card-play:active{box-shadow:0 1px #d7b5a3}.game-card.blue .card-play{color:#5e8392;box-shadow:0 4px #bad2dd}.game-card.blue .card-play:active{box-shadow:0 1px #bad2dd}.game-card.yellow .card-play{color:#927e4c;box-shadow:0 4px #d9c994}.game-card.yellow .card-play:active{box-shadow:0 1px #d9c994}.memory-front{background:#fffaf0}.memory-picture{background:none;width:86%;height:86%;object-fit:contain;display:block;pointer-events:none;border-radius:8px}.modal .segments+.primary{margin-top:22px}.chemistry-back{position:absolute;left:max(24px,env(safe-area-inset-left));top:24px}.game-card[aria-label="Hóa học"],.game-card[aria-label="Xưởng bóng bay"]{cursor:pointer}.balloon-lab{min-height:100dvh;max-width:1200px;margin:auto;padding:max(18px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:24px;color:#556e73}.lab-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.lab-header>div{text-align:center}.lab-header h1{margin:3px 0 0;font-size:26px;font-weight:900}.lab-eyebrow{font-size:10px;letter-spacing:2px;font-weight:900;color:#839ca1}.lab-main{flex:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:36px;max-width:1000px;width:100%;margin:0 auto}.lab-scene{background:#e2ecea;border-radius:36px;box-shadow:0 7px #d1ddda;position:relative;padding:20px;min-width:0;overflow:hidden}.lab-target{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:900;color:#688b80}.lab-target svg{color:#ccaa57}.bottle-drop{width:100%;max-width:440px;margin:auto;border-radius:24px}.bottle-drop>svg{width:100%;max-height:430px;display:block;overflow:visible}.lab-balloon{transform-box:view-box;transform-origin:210px 219px;transform:scale(.25);transition:transform 3s cubic-bezier(.2,.55,.3,1)}.reacting .lab-balloon,.result .lab-balloon{transform:scale(var(--balloon-scale))}.lab-bubbles circle{animation:lab-bubble 1.2s ease-in infinite;animation-delay:var(--delay)}.setup .lab-bubbles circle,.result .lab-bubbles circle{animation:none}.result .lab-bubbles{opacity:0!important}.lab-scene-caption{text-align:center;font-weight:800;font-size:14px;min-height:20px;color:#6b9185}.result .lab-scene-caption{font-size:24px}.reaction-progress{position:absolute;left:24px;right:24px;bottom:10px;height:3px;background:#ccdcd5;border-radius:3px;overflow:hidden}.reaction-progress span{display:block;height:100%;background:#81b49c;animation:lab-progress 3.2s linear forwards}.lab-panel{min-width:0;padding:12px 0}.lab-panel h2{font-size:25px;font-weight:900;margin:0 0 10px}.lab-panel p{font-size:15px;line-height:1.6;margin:0 0 16px}.lab-hint{color:#839093}.lab-panel fieldset{border:0;padding:0;margin:22px 0}.lab-panel legend{display:flex;gap:7px;align-items:center;font-weight:900;font-size:15px;margin-bottom:10px;padding:0}.lab-options{display:flex;gap:10px}.lab-options button{flex:1;min-height:52px;background:#eeece4;color:#7b8177;border:0;border-radius:16px;box-shadow:0 4px #dcdcd2;font-weight:900;font-size:17px}.lab-options button.selected{background:#c8e0d1;color:#47735d;box-shadow:0 4px #a7c8b5}.lab-options button:active{transform:translateY(2px)}.lab-panel small{display:block;margin-top:10px;font-size:12px;color:#85938f;line-height:1.5}.lab-spoon{width:100%;min-height:82px;border:0;border-radius:22px;background:#b9d5dd;box-shadow:0 5px #99bbc5;color:#456c7a;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;touch-action:none}.lab-spoon>svg{width:100px;flex-shrink:0}.lab-spoon span{font-weight:900;font-size:18px;display:flex;align-items:center;gap:8px}.lab-spoon:active{transform:translateY(3px);box-shadow:0 2px #99bbc5}.dragging .bottle-drop{outline:3px dashed #91b9a2;background:#d5e6dd}.lab-wait{padding:50px 0;text-align:center;color:#779e9b}.lab-wait>svg{animation:lab-rock 1s ease-in-out infinite}.lab-wait h2{margin-top:20px}.lab-result-badge{display:inline-flex;align-items:center;gap:8px;background:#efdfb4;color:#8d7946;border-radius:16px;padding:10px 14px;font-size:16px;font-weight:900;margin-bottom:20px}.lab-result-badge.success{background:#d6e8d9;color:#528163}.lab-insight{background:#e3ece8;border-radius:20px;padding:16px 18px;margin:14px 0}.lab-insight strong{color:#52846e;font-size:15px}.lab-insight p{margin:5px 0 0;font-size:14px}.lab-application span{font-size:10px;letter-spacing:1.3px;color:#ad8a59;font-weight:900}.lab-application p{font-size:14px;margin:6px 0}.lab-result-actions{margin-top:22px}.lab-result-actions .primary{width:100%;display:flex;justify-content:center;align-items:center;gap:10px}.lab-result-actions .text-button{display:block;margin:10px auto 0}.lab-footer{display:flex;justify-content:center;align-items:center;gap:16px;padding-top:8px}.spoon-ghost{position:fixed;transform:translate(-50%,-50%) rotate(-25deg);font-size:50px;pointer-events:none;z-index:10}@keyframes lab-bubble{0%{transform:translate(0);opacity:0}20%{opacity:1}to{transform:translate(var(--drift),-95px);opacity:0}}@keyframes lab-progress{0%{width:0}to{width:100%}}@keyframes lab-rock{50%{transform:rotate(10deg)}}@media(max-width:650px){.chemistry-back{left:16px;top:16px;width:44px;height:44px}.picker:has(.chemistry-back) .brand{font-size:18px}.balloon-lab{padding:max(12px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));gap:18px}.lab-header h1{font-size:20px}.lab-header .icon-button{width:44px;height:44px;border-radius:15px}.lab-main{display:flex;flex-direction:column;gap:16px}.lab-scene{width:100%;padding:16px;border-radius:26px}.bottle-drop{max-width:280px}.bottle-drop>svg{max-height:260px}.lab-target{font-size:13px}.lab-panel{width:100%;padding:8px 4px}.lab-panel h2{font-size:22px}.lab-panel fieldset{margin:18px 0}.lab-panel p{font-size:14px}.lab-footer .icon-button{width:48px;height:48px}.lab-wait{padding:10px 0}.lab-model-note{font-size:11px!important}}@media(max-height:600px)and (orientation:landscape){.balloon-lab{padding:10px 18px;gap:12px}.lab-header h1{font-size:18px}.lab-header .icon-button{width:40px;height:40px;border-radius:13px}.lab-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.lab-scene{padding:12px}.bottle-drop>svg{max-height:230px}.lab-panel{padding:0}.lab-panel h2{font-size:19px}.lab-panel p{font-size:13px;margin-bottom:8px}.lab-panel fieldset{margin:12px 0}.lab-options button{min-height:44px;font-size:15px}.lab-spoon{min-height:58px}.lab-spoon>svg{width:74px}.lab-spoon span{font-size:15px}.lab-footer{padding:0}.lab-footer .icon-button{width:42px;height:42px}.lab-result-badge{margin-bottom:10px}.lab-insight{padding:10px;margin:10px 0}.lab-insight p,.lab-application p{font-size:13px}}@media(prefers-reduced-motion:reduce){.lab-balloon{transition:none}.lab-bubbles circle,.lab-wait>svg{animation:none}.reaction-progress span{animation:none;width:100%}}.spoon-ghost{width:140px;filter:drop-shadow(0 5px 3px #688c7b44)}.spoon-ghost svg{display:block;width:100%}.card-art>.game-cover-art{width:100%;height:100%;max-width:250px;max-height:250px;object-fit:contain;display:block;pointer-events:none;animation:card-float 5s ease-in-out -1s infinite}@media(max-width:600px){.card-art>.game-cover-art{max-width:215px;max-height:215px}}@media(max-height:700px)and (min-width:650px){.card-art>.game-cover-art{max-width:160px;max-height:160px}}@media(prefers-reduced-motion:reduce){.card-art>.game-cover-art{animation:none}}.card-art{position:relative}.card-art>.game-cover-art{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;max-height:min(100%,250px)}@media(min-width:650px)and (min-height:701px){.game-card{min-height:0;height:min(480px,calc(100dvh - 380px))}}@media(min-width:650px)and (min-height:701px)and (max-height:800px){.picker{grid-template-rows:70px minmax(0,1fr) 76px}.picker-main{gap:18px}.game-card{height:min(480px,calc(100dvh - 300px))}}:root{font-family:IBM Plex Sans,system-ui,sans-serif;color:#202a2c;background:#f4f6f6;--ink: #202a2c;--muted: #657175;--line: #dbe1e1;--paper: #ffffff;--accent: #2a554f}body{background:#f4f6f6}button:focus-visible{outline:2px solid #2a554f;outline-offset:4px}button{font-weight:600}.picker-header{max-width:1280px;padding-inline:36px;position:relative}.brand{color:var(--ink);font-size:21px;font-weight:750;letter-spacing:-.7px;gap:11px}.brand-arcade{font-weight:500;color:#59685d}.brand-symbol{width:34px;height:34px;display:grid;place-items:center;color:#f8faf4;background:#2a554f;border-radius:10px}.brand-spark{display:none}.picker-header:has(.chemistry-back){padding-left:110px}.chemistry-back{top:50%;transform:translateY(-50%);left:36px}.picker-main h1{color:var(--ink);font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-1.2px;text-wrap:balance}.game-carousel{gap:22px;padding-top:10px;padding-bottom:18px}.game-card,.game-card.peach,.game-card.blue,.game-card.yellow{--card-ink: #243235;--card-line: #dbe1e1;background:#fff;border:1px solid #dbe1e1;border-radius:14px;box-shadow:0 5px 18px #233d3805;opacity:1;transform:none;padding:22px;transition:border-color .2s ease,box-shadow .2s ease}.game-card.active,.game-card.peach.active,.game-card.blue.active,.game-card.yellow.active{border-color:#9cafab;box-shadow:0 8px 24px #233d380b}.card-meta{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:16px}.card-number{font-size:11px;color:#859194;font-weight:500;font-variant-numeric:tabular-nums}.card-art{background:#f1f4f3;border-radius:10px;min-height:0}.card-art>.game-cover-art{width:86%;max-width:190px;max-height:min(90%,190px)}.card-art>svg{width:65%;max-width:170px;max-height:90%}.card-copy{width:100%;text-align:left;margin-block:19px 15px}.game-category,.peach .game-category,.blue .game-category,.yellow .game-category{font-size:12px;font-weight:500;color:#647276;letter-spacing:.1px}.card-copy h2,.peach h2,.blue h2,.yellow h2{color:var(--card-ink);font-size:25px;line-height:1.2;font-weight:600;letter-spacing:-.4px;margin:0}.card-art svg,.card-art>.game-cover-art{animation:none;transition:transform .3s ease}.card-play,.game-card.peach .card-play,.game-card.blue .card-play,.game-card.yellow .card-play{border:1px solid var(--card-line);background:#2a554f;color:#fff;border-radius:8px;box-shadow:0 1px 1px #38452e09;font-size:16px;font-weight:650;justify-content:space-between;padding-inline:20px;gap:12px;flex-shrink:0}.card-play:active,.game-card.peach .card-play:active,.game-card.blue .card-play:active,.game-card.yellow .card-play:active{transform:translateY(1px);box-shadow:none}.coming-soon{border:1px solid #e0e5e5;background:#f7f9f9;color:#7a8689;border-radius:8px;font-size:13px;font-weight:550;flex-shrink:0}.carousel-dots button:before{width:6px;height:6px;background:#ccd3c9}.carousel-dots button.selected:before{background:#2a554f;width:20px}.picker-footer{gap:12px}.icon-button,.top-actions .icon-button,.game-heading>.icon-button,.tool-group .icon-button,.memory-tools .icon-button,.lab-header .icon-button,.lab-footer .icon-button{background:#fff;color:#596a6c;border:1px solid #dbe1e1;border-radius:13px;box-shadow:0 1px 2px #202a2c0a}.icon-button:active{transform:translateY(1px);box-shadow:none}.sound-button.enabled{background:#e0e9df;color:#2a554f;border-color:#c3d1bf;box-shadow:none}.sound-button.muted{background:#fff;color:#778178}.music-muted:after{background:#778178;box-shadow:0 0 0 2px #eeeee6}.hint-button{background:#eee5cc!important;color:#826a33!important;border-color:#dbcfad!important}.level-chip{background:#edf2f1;color:#384d48;border:1px solid #d6e0dd;border-radius:9px;box-shadow:none}.level-chip span{font-weight:600;letter-spacing:1px}.level-chip strong{font-weight:650;font-variant-numeric:tabular-nums}.board{background:#edf1f0;border:1px solid #d8e0dd;border-radius:12px;box-shadow:none}.mascot-picker{background:#fff;border:1px solid #dbe1e1;border-radius:12px}.mascot-choice{border-radius:11px}.mascot-choice.selected{border-color:#638975;background:#fff;box-shadow:none}.progress,.memory-score{color:var(--muted);font-weight:550}.progress strong{color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums}.countdown{border:1px solid #d9cfb3;border-radius:10px;font-weight:650}.memory-app-icon{border-radius:9px;box-shadow:none;border:1px solid #d6e0dd;background:#edf2f1}.memory-back{background:#e2ebe8;color:#728d83;box-shadow:inset 0 0 0 1px #bdcec7,0 2px #bdcec7}.memory-front{box-shadow:inset 0 0 0 1px #ddd3c1,0 2px #d0c4b2}.matched .memory-front{box-shadow:inset 0 0 0 2px #729879,0 2px #bdcdb7}.memory-back,.memory-front,.memory-card{border-radius:12px}.overlay{background:#25332955;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{border:1px solid #dbe1e1;border-radius:16px;box-shadow:0 16px 48px #26362a20;background:#fff}.modal h2{color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-.6px}.modal p,.text-button{color:#667466}.primary{border:1px solid #355f46;background:#446e54;color:#fffef8;border-radius:12px;font-weight:650;box-shadow:0 2px #2f553f}.primary:active{transform:translateY(1px);box-shadow:none}.segments button{border-radius:10px;font-weight:600;border:1px solid #dbe1e1}.segments button.selected{border-color:#638975;background:#e0e9df;color:#2a554f}.text-button{font-weight:550}.balloon-lab{color:var(--ink)}.lab-header h1{font-size:25px;font-weight:700;letter-spacing:-.7px}.lab-eyebrow{color:#637970;font-weight:600;letter-spacing:1.3px}.lab-scene{border-radius:16px;border:1px solid #d3dfda;background:#edf2f0;box-shadow:none}.lab-target{color:#47685a;font-weight:650}.lab-panel h2{color:var(--ink);font-weight:650;font-size:24px;letter-spacing:-.6px}.lab-panel p{color:#5e7064}.lab-panel legend{font-weight:650}.lab-options button{border-radius:11px;border:1px solid #dbe1e1;box-shadow:0 1px #d4d9cd;font-weight:600}.lab-options button.selected{background:#e0e9df;color:#2a554f;border-color:#638975;box-shadow:none}.lab-spoon{border-radius:14px;background:#dce8ea;border:1px solid #b9ced2;box-shadow:0 2px #bed0d5}.lab-spoon span{font-weight:650;font-size:16px}.lab-spoon:active{transform:translateY(1px);box-shadow:none}.lab-insight,.lab-result-badge{border-radius:14px}.lab-result-badge,.lab-insight strong{font-weight:650}.lab-application span{font-weight:600}.lab-panel small{color:#687a6e}.lab-scene-caption{color:#47685a;font-weight:600;font-variant-numeric:tabular-nums}@media(hover:hover)and (pointer:fine){.game-card.active:hover .game-cover-art{transform:translateY(-4px)}.card-play:hover{background:#21453f;border-color:#21453f}.icon-button:hover{border-color:#a5b49f;background:#e8ede4}}@media(max-width:600px){.picker-header{padding-inline:20px}.brand{font-size:18px;letter-spacing:-.5px;gap:9px}.brand-symbol{width:30px;height:30px;border-radius:9px}.brand-symbol svg{width:19px;height:19px}.picker-main h1{font-size:28px;letter-spacing:-.5px}.game-card,.game-card.peach,.game-card.blue,.game-card.yellow{border-radius:13px;padding:20px}.card-copy{margin-block:14px}.card-copy h2{font-size:24px}.picker-header:has(.chemistry-back){padding-left:74px}.picker:has(.chemistry-back) .brand{font-size:16px}.chemistry-back{left:16px}.lab-header h1{font-size:20px}.lab-panel h2{font-size:22px}}@media(max-height:600px)and (orientation:landscape){.picker-main h1{font-size:22px}.brand{font-size:18px}.card-copy{margin-block:8px}.card-copy h2{font-size:20px}.card-play,.coming-soon{height:44px}.lab-header h1,.lab-panel h2{font-size:19px}}@media(prefers-reduced-motion:reduce){.card-art>.game-cover-art{transition:none}}.lab-options .ingredient-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:86px;padding:10px 6px}.ingredient-bottle{width:28px;height:36px;display:block;flex-shrink:0}.ingredient-spoons{height:36px;display:flex;align-items:center;justify-content:center;gap:1px}.ingredient-spoons svg{width:23px;height:32px;display:block}.ingredient-option>span:last-child{line-height:1.25}@media(max-height:600px)and (orientation:landscape){.lab-options .ingredient-option{min-height:66px;gap:4px;padding:6px}.ingredient-bottle{width:21px;height:27px}.ingredient-spoons{height:27px}.ingredient-spoons svg{width:18px;height:25px}}.picker-main h1{font-size:32px;font-weight:500;letter-spacing:-.7px;text-align:left;width:min(100% - 72px,1040px);margin:0 auto 4px}.picker-header{max-width:1280px}.brand{font-size:20px;font-weight:600;letter-spacing:-.4px}.brand-arcade{color:#778387;font-weight:400}.brand-symbol{border-radius:8px;background:#263f3c}.card-play,.game-card.peach .card-play,.game-card.blue .card-play,.game-card.yellow .card-play{height:48px;font-size:15px;font-weight:500;border-color:#2a554f}.card-art svg,.card-art>.game-cover-art{animation:none}.sound-button.enabled{background:#e7efec;color:#2a554f;border-color:#c6d7d0}.mascot-picker{background:#f1f4f2}.primary{background:#2a554f;border-color:#2a554f;border-radius:8px;box-shadow:none;font-weight:500}.lab-panel h2,.lab-header h1,.modal h2{font-weight:600}.lab-options button{box-shadow:none;border-radius:8px}.lab-options button.selected{background:#e7efec;border-color:#879f94}.lab-spoon{border-radius:10px;box-shadow:none;background:#e3ebe9;border-color:#c4d4ce;color:#2f554a}.lab-spoon span{font-weight:500}@media(max-width:600px){.picker-main h1{width:calc(100% - 40px);font-size:28px}.card-copy{margin-block:16px 13px}.card-meta{margin-bottom:12px}.card-art>.game-cover-art{max-width:180px;max-height:min(90%,180px)}}@media(max-height:600px)and (orientation:landscape){.picker-main h1{font-size:22px}.card-meta{margin-bottom:8px}.card-copy{margin-block:9px}.game-card,.game-card.peach,.game-card.blue,.game-card.yellow{padding:16px}.card-art>.game-cover-art{max-width:120px;max-height:min(90%,120px)}.card-play,.coming-soon{height:44px}}@media(min-width:650px){.game-carousel{padding-left:max(36px,calc((100% - 1040px)/2));padding-right:calc(100% - max(36px,calc((100% - 1040px)/2)) - var(--card-width));scroll-padding-left:max(36px,calc((100% - 1040px)/2))}.game-card{scroll-snap-align:start}}.board{position:relative;touch-action:none;cursor:grab}.board:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:inherit}.board:active{cursor:grabbing}@media(max-width:600px)and (orientation:portrait){.game .board{width:min(100%,calc(100dvh - 265px));padding:6px;border-radius:14px}.play-layout{gap:12px}.game .stage{padding-left:0}}@media(max-height:600px)and (orientation:landscape){.game .board{width:min(100%,calc(100dvh - 150px));border-radius:12px}}.game .board{box-shadow:none}.game .progress{font-size:14px;gap:9px}.game .progress strong{font-size:20px}.level-chip strong{font-size:30px;font-weight:600}.memory-score{font-size:16px}@media(min-width:900px)and (min-height:750px){.game .board{width:min(100%,calc(100dvh - 290px),720px)}.game{grid-template-rows:100px minmax(0,1fr) 120px}}@media(max-width:600px)and (orientation:portrait){.game .toolbar{height:64px}.game .level-chip{width:50px;height:50px}.game .level-chip strong{font-size:26px}.game .level-chip span{font-size:9px}.game .board{width:min(100%,calc(100dvh - 250px));padding:5px}.game .play-layout{margin-top:12px;gap:12px}.game .controls{margin-top:16px}.game .tool-group .icon-button{width:50px;height:50px}.game .mascot-choice{width:44px;height:44px;flex-basis:44px}.game .progress strong{font-size:18px}.game .countdown{font-size:20px}}@media(max-height:600px)and (orientation:landscape){.game .progress{font-size:12px}.game .progress strong{font-size:15px}.level-chip strong{font-size:24px}}.maze>polyline:first-of-type{stroke:#81c6ae;filter:drop-shadow(0 0 2px #81c6ae40)}.maze .player{filter:drop-shadow(0 1px 2px #346b5140)}.tutorial{max-width:420px}.tutorial-demo{display:flex;align-items:center;justify-content:center;gap:22px;color:#347660;margin:8px 0 22px}.tutorial-demo>svg:first-child{animation:tutorial-swipe 1.8s ease-in-out infinite}.tutorial p{display:flex;align-items:flex-start;gap:12px;text-align:left;font-size:16px;line-height:1.5}.tutorial-step{display:grid;place-items:center;flex:0 0 24px;height:24px;background:#e0eee7;color:#346b51;border-radius:6px;font-size:13px}.tutorial .primary{margin-top:24px}.tutorial-overlay{z-index:100}@keyframes tutorial-swipe{0%,to{transform:translate(-5px);opacity:.65}50%{transform:translate(7px);opacity:1}}@media(prefers-reduced-motion:reduce){.tutorial-demo>svg:first-child{animation:none}}.maze>rect{fill:#f7f8f4}.maze>circle{fill:#d0d9d2}.maze g[stroke="#c5c4ba"]{display:none}.maze g[stroke="#fffdf7"]{stroke:#7d9185;stroke-width:7}.game .board{padding:5px;background:#f7f8f4;border-radius:10px}.maze g[stroke="#fffdf7"]{stroke-width:5}.maze-particle{transform-box:fill-box;transform-origin:center;animation:maze-particle-fade .65s ease-out both}@keyframes maze-particle-fade{0%{opacity:0;transform:translate(0) scale(.5)}15%{opacity:.9;transform:translate(0) scale(1)}to{opacity:0;transform:translate(var(--particle-x),var(--particle-y)) scale(.15)}}@media(prefers-reduced-motion:reduce){.maze-particles{display:none}}.speech-layer{position:absolute;top:5px;right:5px;bottom:5px;left:5px;pointer-events:none;z-index:2}.mascot-speech{position:absolute;left:clamp(112px,var(--speech-x),calc(100% - 112px));top:calc(var(--speech-y) - 22px);transform:translate(-50%,-100%);width:max-content;max-width:220px;border:1px solid #b8d4c4;border-radius:14px;padding:10px 13px;background:#fffefa;color:#346b51;box-shadow:0 4px 14px #345c4b18;font-size:14px;font-weight:500;line-height:1.4;text-align:center;animation:speech-pop .2s ease-out}.mascot-speech:after{content:"";position:absolute;left:var(--speech-tail);bottom:-5px;width:9px;height:9px;background:#fffefa;border-right:1px solid #b8d4c4;border-bottom:1px solid #b8d4c4;transform:rotate(45deg)}.mascot-speech.nudge{color:#7a6a47;border-color:#ddcfaf}.mascot-speech.nudge:after{border-color:#ddcfaf}@keyframes speech-pop{0%{opacity:0;transform:translate(-50%,-85%) scale(.9)}to{opacity:1;transform:translate(-50%,-100%) scale(1)}}@media(prefers-reduced-motion:reduce){.mascot-speech{animation:none}}.game-card[role=button]{cursor:pointer}.game-card[aria-disabled=true]{cursor:default}.game-card[role=button]:focus-visible{outline:3px solid #347660;outline-offset:3px}.game-card .card-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}.game-card .coming-soon{width:auto;height:auto;padding:5px 9px;font-size:11px;white-space:nowrap}@media(hover:hover)and (pointer:fine){.game-card[aria-disabled=false]:hover{border-color:#6e9785}}.lab-scene{background:radial-gradient(ellipse at 50% 45%,#fafff8,#edf4ef 65%,#e6eeea)}.lab-vessel .lab-balloon{transform:scale(.28)}.reacting .lab-vessel .lab-balloon,.result .lab-vessel .lab-balloon{transform:scale(var(--balloon-scale))}.card-art .lab-vessel .lab-balloon{transform:scale(var(--balloon-scale));transition:none}.balloon-skin{animation:latex-idle 4s ease-in-out infinite;transform-origin:210px 219px}.liquid-surface{animation:liquid-shimmer 3s ease-in-out infinite}.soda-grains circle{animation:soda-fall 1.1s ease-in infinite;animation-delay:var(--grain-delay)}@keyframes latex-idle{50%{transform:rotate(1.5deg)}}@keyframes liquid-shimmer{50%{opacity:.5}}@keyframes soda-fall{0%{transform:translateY(0);opacity:0}15%{opacity:.9}to{transform:translateY(100px);opacity:0}}@media(prefers-reduced-motion:reduce){.balloon-skin,.liquid-surface,.soda-grains circle{animation:none}.soda-grains{display:none}}.candle-steps{padding:0;list-style:none;display:grid;gap:12px;margin:20px 0}.candle-steps li{display:flex;align-items:center;gap:12px;color:#89958f;font-size:15px}.candle-steps li>span{width:28px;height:28px;border:1px solid #d6dfda;border-radius:8px;display:grid;place-items:center;font-size:13px}.candle-steps .current{color:#295b4b;font-weight:600}.candle-steps .current>span,.candle-steps .complete>span{background:#e1eee6;border-color:#abc9b7;color:#346b51}.candle-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:20px}.water-swatch{display:inline-block;width:13px;height:13px;border-radius:50%;margin-right:8px}.candle-predictions button{font-size:14px}.candle-source{display:inline-block;color:#4c7567;font-size:12px;margin-top:12px}.candle-safety{margin-top:20px!important}.candle-cup{transition:transform .8s ease-in-out}.candle-water{transition:transform 3s ease-in-out}.candle-flame{transform-origin:210px 252px;animation:flame-flicker .55s ease-in-out infinite alternate}.candle-flame.fading{animation:flame-out 2.2s ease-in forwards}.candle-smoke{animation:candle-smoke 2s ease-out forwards}.pressure-arrows{animation:pressure-flow 1.5s ease-in-out infinite}@keyframes flame-flicker{to{transform:scale(.94,1.05) rotate(2deg)}}@keyframes flame-out{to{transform:scale(.3);opacity:0}}@keyframes candle-smoke{to{transform:translateY(-35px);opacity:0}}@keyframes pressure-flow{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){.candle-cup,.candle-water{transition:none}.candle-flame,.candle-smoke,.pressure-arrows{animation:none}}.balloon-bench{position:relative;width:100%;aspect-ratio:420/430}.bench-receiver{position:absolute;top:0;right:0;bottom:0;left:0}.bench-receiver .lab-vessel{width:100%;height:100%}.bench-tools{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible}.vinegar-source{transform-origin:65px 260px}.phase-pouring .vinegar-source{animation:bench-pour 1.4s ease-in-out}.vinegar-stream{stroke-dasharray:8 9;animation:stream-flow .25s linear infinite}.source-liquid{transition:opacity .5s}.balloon-bench:not(.phase-setup):not(.phase-pouring) .source-liquid{opacity:.08}.bench-label{position:absolute;bottom:1%;left:50%;transform:translate(-50%);font-size:11px;color:#789184}.bench-powder{animation:powder-drop .7s ease-in forwards}.spoon-count{display:flex;align-items:center;gap:18px;margin:20px 0;color:#476b59}.spoon-count .ingredient-spoons{min-width:72px}.bench-react{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.bench-retry{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px auto 0}.spoon-ghost>svg{width:100px}.bench-tools text{font-family:inherit}@keyframes bench-pour{25%,75%{transform:translate(70px,-73px) rotate(65deg)}to{transform:none}}@keyframes stream-flow{to{stroke-dashoffset:-17}}@keyframes powder-drop{to{transform:translate(15px,40px);opacity:0}}@media(prefers-reduced-motion:reduce){.vinegar-source,.vinegar-stream,.bench-powder{animation:none!important}}.phase-pouring .vessel-liquid{transform-origin:210px 402px;animation:vinegar-fill 1.4s ease-in-out both}@keyframes vinegar-fill{0%{transform:scaleY(.03);opacity:0}to{transform:scaleY(1);opacity:1}}@media(prefers-reduced-motion:reduce){.phase-pouring .vessel-liquid{animation:none}}.bench-tools .bench-control{pointer-events:all;cursor:pointer}.bench-tools .bench-control[aria-disabled=true]{pointer-events:none;cursor:default}.bench-control:focus-visible{outline:2px solid #347660;outline-offset:4px}.candle-tool{touch-action:none;cursor:grab}.candle-tool[aria-disabled=true]{cursor:default;pointer-events:none}.candle-tool:active{cursor:grabbing}.candle-tool:focus-visible{outline:2px solid #347660;outline-offset:4px}.candle-gesture-hint{color:#668074}.candle-art text{font-family:inherit}.tool-dragging .candle-cup{transition:none}.phase-pouring .candle-source{animation:candle-pour 1.4s ease-in-out}.phase-pouring .candle-plate-water{animation:plate-fill 1.4s ease-in-out both;transform-origin:210px 348px}.candle-pour-stream{stroke-dasharray:7 8;animation:stream-flow .3s linear infinite}.phase-lighting .candle-match{animation:match-light .9s ease-in-out}@keyframes candle-pour{25%,75%{transform:translate(70px,-60px) rotate(65deg)}to{transform:none}}@keyframes plate-fill{0%{transform:scale(.03);opacity:0}to{transform:scale(1);opacity:.55}}@keyframes match-light{40%,80%{transform:translate(-154px,60px)}to{transform:none}}@media(prefers-reduced-motion:reduce){.candle-source,.candle-match,.candle-plate-water,.candle-pour-stream{animation:none!important}}.candle-lab .candle-art{touch-action:none}.game-card .card-meta{justify-content:flex-start}.game-card .game-category{display:inline-flex;align-items:center;width:max-content;padding:6px 10px;border-radius:7px;background:#e8f0ec;border:1px solid #d6e4db;color:#527565;font-size:12px;line-height:1.3}.game-card .card-copy{justify-content:center;text-align:center;flex-wrap:wrap}.game-card .card-copy h2{text-align:center}.game-card .card-art>.game-cover-art{width:96%;max-width:235px;max-height:min(94%,235px);object-fit:contain}.game-card .card-art>svg{width:80%;max-width:215px;max-height:94%}@media(max-width:600px){.game-card .card-art>.game-cover-art{max-width:215px;max-height:min(94%,215px)}.game-card .card-art>svg{max-width:200px}}@media(max-height:600px)and (orientation:landscape){.game-card .game-category{padding:4px 8px;font-size:11px}.game-card .card-art>.game-cover-art{max-width:145px;max-height:min(94%,145px)}.game-card .card-art>svg{max-width:145px}}.bench-control:focus:not(:focus-visible){outline:none}.bench-control:focus-visible{outline:2px dashed #657d71;outline-offset:3px}.phase-dosing .bench-spoon{animation:spoon-into-flask 1.1s ease-in-out both;transform-origin:297px 184px}.phase-dosing .bench-powder{animation:spoon-powder-fall 1.1s ease-in both}.vessel-soda{transition:opacity 2.4s}.vessel-soda.dissolving{opacity:0}@keyframes spoon-into-flask{0%,to{transform:translate(0) rotate(0)}35%,75%{transform:translate(-87px,43px) rotate(-35deg)}}@keyframes spoon-powder-fall{0%,40%{opacity:0;transform:translateY(0)}50%{opacity:1}80%,to{opacity:0;transform:translateY(110px)}}@media(prefers-reduced-motion:reduce){.phase-dosing .bench-spoon,.phase-dosing .bench-powder{animation:none}.vessel-soda{transition:none}}.balloon-direct .lab-main{display:flex;justify-content:center;max-width:780px}.balloon-direct .lab-scene{width:100%;padding:12px 18px 20px}.balloon-direct .balloon-bench{max-width:600px;margin:auto}.balloon-direct .source-liquid{opacity:.8!important}.direct-instruction{text-align:center;min-height:80px;display:flex;flex-direction:column;justify-content:center;gap:6px;color:#375f52}.direct-instruction p{margin:0;font-size:18px;font-weight:500;line-height:1.5}.direct-notice{font-size:14px;color:#718279}.balloon-direct .phase-dosing .bench-spoon,.balloon-direct .phase-dosing .bench-powder{animation-duration:1.5s}.phase-dosing .spoon-load{animation:spoon-empty 1.5s linear both}@keyframes spoon-empty{0%,40%{opacity:1}50%,to{opacity:0}}.balloon-explanation{max-width:460px;text-align:left;max-height:85dvh;overflow:auto}.balloon-explanation h2{font-size:25px}.balloon-explanation p{line-height:1.6}.balloon-explanation small{display:block;color:#78847e;font-size:12px;line-height:1.5}.balloon-explanation .primary{width:100%;margin-top:20px;display:flex;align-items:center;justify-content:center;gap:10px}@media(max-width:600px){.balloon-direct{gap:12px}.balloon-direct .lab-scene{padding:8px 6px 16px}.direct-instruction p{font-size:16px}.direct-notice{font-size:12px}}@media(max-height:600px)and (orientation:landscape){.balloon-direct .lab-main{max-width:580px}.balloon-direct .balloon-bench{max-width:200px}.balloon-direct .lab-scene{padding:0 8px 8px}.direct-instruction{min-height:42px}.direct-instruction p{font-size:14px}.balloon-direct .lab-header h1{font-size:20px}.balloon-direct{gap:8px}.balloon-direct .lab-footer{padding:0}}.balloon-direct .reacting .lab-balloon{animation:direct-balloon-inflate 3s ease-out both}@keyframes direct-balloon-inflate{0%{transform:scale(.28)}to{transform:scale(var(--balloon-scale))}}@media(prefers-reduced-motion:reduce){.balloon-direct .reacting .lab-balloon,.phase-dosing .spoon-load{animation:none}}.candle-direct-art{max-width:600px;margin:auto}.candle-direct .candle-art{display:block;width:100%;height:auto}.candle-direct .candle-flame.fading{animation-duration:1.2s}.candle-direct .candle-water{transition-duration:1.8s}.candle-tool:focus:not(:focus-visible){outline:none}@media(max-height:600px)and (orientation:landscape){.candle-direct-art{max-width:200px}}.picker-header{justify-content:center}.picker.with-tabs{grid-template-rows:140px minmax(0,1fr) 100px}.with-tabs .picker-header{flex-direction:column;gap:18px}.picker-tabs{display:flex;gap:4px;padding:5px;border:1px solid #d4e1db;background:#e8efec;border-radius:999px}.picker-tabs button{min-height:44px;padding:10px 28px;border:0;border-radius:999px;background:transparent;color:#657b73;font-size:15px;font-weight:600;transition:background .18s,color .18s,box-shadow .18s}.picker-tabs button[aria-selected=true]{background:#2a554f;color:#fff;box-shadow:0 2px 6px #203f3820}.picker-tabs button:hover:not([aria-selected=true]){background:#dce7e1;color:#2a554f}.picker-tabs button:focus-visible{outline:2px solid #2a554f;outline-offset:3px}.with-tabs .game-card{min-height:0;height:min(460px,calc(100dvh - 350px))}@media(max-width:600px){.picker.with-tabs{grid-template-rows:130px minmax(0,1fr) 85px}.with-tabs .picker-header{gap:14px}.picker-tabs button{font-size:14px;padding-inline:24px}}@media(max-height:600px)and (orientation:landscape){.picker.with-tabs{grid-template-rows:96px minmax(0,1fr) 70px}.with-tabs .picker-header{gap:8px}.picker-tabs{padding:3px}.picker-tabs button{font-size:12px;padding:6px 20px}.with-tabs .game-card{height:min(300px,calc(100dvh - 240px))}}@media(prefers-reduced-motion:reduce){.picker-tabs button{transition:none}}.picker{padding-bottom:calc(24px + env(safe-area-inset-bottom))}@media(max-width:650px),(hover:none)and (pointer:coarse){button[aria-label="Toàn màn hình"]{display:none}.lab-header>button[aria-label="Toàn màn hình"]{display:block;visibility:hidden;pointer-events:none}}.picker-main h1{text-align:center}.picker-header:has(.chemistry-back){padding-inline:80px}.picker-header .chemistry-back{top:50%;transform:translateY(-50%)}@media(max-width:600px){.picker-header:has(.chemistry-back){padding-inline:64px}}.connect-game{min-height:100dvh;height:100dvh;display:grid;grid-template-rows:84px minmax(0,1fr) 80px;max-width:1200px;margin:auto;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(24px,env(safe-area-inset-left));color:#263b36}.connect-title{text-align:center;position:absolute;left:50%;transform:translate(-50%)}.connect-title h1{font-size:22px;line-height:1.2;margin:0 0 3px;font-weight:600}.connect-title span{font-size:12px;color:#73827a}.connect-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:12px}.connect-score{display:flex;align-items:center;gap:8px;color:#547a66;font-size:14px}.connect-board{width:min(100%,510px,calc(100dvh - 260px));aspect-ratio:1;flex-shrink:0;background:#eff5f1;border:1px solid #c8d8cf;border-radius:12px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;overflow:hidden;cursor:crosshair}.connect-board svg{display:block;width:100%;height:100%}.connect-board:focus{outline:none}.connect-board:focus-visible{outline:2px solid #347660;outline-offset:4px}.connect-hint{margin:0;color:#4f655a;font-size:14px;text-align:center}.connect-stage>small{color:#87928b;font-size:12px}.connect-modal{max-width:460px;max-height:88dvh;overflow:auto}.connect-modal h2{font-size:25px}.connect-modal .primary{margin-top:18px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px}.connect-modal .text-button{margin-top:14px}.connect-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}.connect-modes button{padding:12px 4px;display:flex;flex-direction:column;gap:4px;border:1px solid #d7e0d9;border-radius:8px;background:#f1f4f0;color:#6b7b71}.connect-modes strong{font-size:15px;font-weight:600}.connect-modes span{font-size:11px}.connect-modes .selected,.connect-levels .selected{border-color:#4d876c;background:#e0eee5;color:#2a654b}.connect-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.connect-levels button{position:relative;border:1px solid #dce3dc;background:#f7f9f6;color:#637369;border-radius:7px;min-height:44px;font-size:14px}.connect-levels svg{position:absolute;right:3px;bottom:3px;color:#2b9c66}.connect-win-star{color:#dbb14a;animation:connect-win .5s ease-out}.connect-line.complete{animation:connect-pulse .35s ease-out}.connect-ring{animation:connect-win .3s ease-out;transform-box:fill-box;transform-origin:center}@keyframes connect-pulse{50%{opacity:.55}}@keyframes connect-win{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@media(max-width:600px){.connect-game{padding-inline:14px;grid-template-rows:78px minmax(0,1fr) 78px}.connect-game .icon-button{width:44px;height:44px}.connect-game .game-heading{gap:6px}.connect-game .level-chip{min-width:40px;padding:7px}.connect-game .level-chip strong{font-size:21px}.connect-game .level-chip span{font-size:8px}.connect-title h1{font-size:18px}.connect-title span{font-size:10px}.connect-game .top-actions{gap:6px}.connect-hint{font-size:12px}.connect-board{width:min(100%,calc(100dvh - 260px))}.connect-modal{padding:25px 20px}}@media(max-height:600px)and (orientation:landscape){.connect-game{grid-template-rows:58px minmax(0,1fr) 52px;padding-inline:18px}.connect-stage{gap:5px}.connect-board{width:min(100%,calc(100dvh - 164px))}.connect-hint{font-size:11px}.connect-stage>small{display:none}.connect-score{font-size:11px}.connect-game .icon-button{width:40px;height:40px}.connect-title h1{font-size:18px}.connect-title span{font-size:10px}.connect-game .level-chip{min-width:38px;padding:5px}.connect-game .level-chip strong{font-size:20px}.connect-game .level-chip span{font-size:8px}.connect-game .lab-footer{gap:12px;padding:0}}@media(prefers-reduced-motion:reduce){.connect-line.complete,.connect-ring,.connect-win-star{animation:none}}@media(max-height:600px)and (orientation:landscape){.connect-game{grid-template-columns:140px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:12px}.connect-game .toolbar{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.connect-game .connect-title{position:static;transform:none}.connect-game .connect-stage{grid-column:2;grid-row:1}.connect-game .connect-board{width:min(100%,calc(100dvh - 88px))}.connect-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;justify-content:center}.connect-game .lab-footer .tool-divider{width:28px;height:1px}}.fit-game{height:100dvh;min-height:360px;display:grid;grid-template-rows:76px minmax(0,1fr) 74px;gap:8px;max-width:1100px;margin:auto;padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px,env(safe-area-inset-left));color:#2a4035}.fit-header{display:flex;align-items:center;justify-content:space-between;position:relative}.fit-title{position:absolute;left:50%;transform:translate(-50%);text-align:center}.fit-title h1{font-size:22px;font-weight:600;margin:0 0 3px}.fit-title span{font-size:11px;color:#829287}.fit-main{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.fit-stats{display:flex;justify-content:space-between;gap:25px;width:min(100%,520px);font-size:12px;color:#7d8c80}.fit-stats strong{font-size:17px;color:#41664f;font-weight:600}.fit-scene{height:min(720px,calc(100dvh - 230px));max-width:100%;aspect-ratio:5/6;position:relative;border-radius:14px;border:1px solid #d1e0d6;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;flex-shrink:0}.fit-scene svg{width:100%;height:100%;display:block}.fit-scene:focus{outline:none}.fit-scene:focus-visible{outline:2px solid #528268;outline-offset:3px}.fit-player{transition:transform .17s ease-in-out}.fit-roll{transform-origin:32px 32px;animation:fit-roll .17s ease-out}.fit-wall{transition:opacity .18s}.fit-progress{position:absolute;height:3px;bottom:0;left:0;right:0;background:#bccfbe}.fit-progress span{display:block;height:100%;background:#799c84;transform-origin:left}.fit-hint{margin:0;font-size:13px;color:#6c8073;text-align:center}.fit-modal{max-width:390px}.fit-modal .primary{width:100%;margin-top:22px;display:flex;justify-content:center;align-items:center;gap:10px}.fit-modal .text-button{margin-top:12px}.fit-modal small{display:block;color:#849083;font-size:12px}.fit-success{animation:fit-success .55s ease-out}.phase-crashed .fit-player{animation:fit-bump .25s}@keyframes fit-roll{0%{transform:rotate(var(--roll-from))}to{transform:rotate(0)}}@keyframes fit-success{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-30px)}}@keyframes fit-bump{25%{opacity:.4}75%{opacity:1}}@media(max-width:600px){.fit-game{padding-inline:14px;grid-template-rows:64px minmax(0,1fr) 66px;gap:6px}.fit-header .icon-button{width:44px;height:44px}.fit-header .top-actions{gap:6px}.fit-title h1{font-size:19px}.fit-title span{font-size:10px}.fit-main{gap:8px}.fit-scene{height:auto;width:min(100%,calc((100dvh - 212px)*5/6))}.fit-stats{gap:10px;font-size:11px}.fit-stats strong{font-size:16px}.fit-hint{font-size:12px}}@media(max-height:600px)and (orientation:landscape){.fit-game{min-height:0;grid-template-columns:140px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:12px;padding-inline:18px}.fit-header{grid-column:1;grid-row:1;flex-direction:column;justify-content:space-around}.fit-title{position:static;transform:none}.fit-title h1{font-size:19px}.fit-main{grid-column:2;grid-row:1;gap:6px}.fit-scene{height:calc(100dvh - 62px);width:auto;aspect-ratio:5/6}.fit-stats{max-width:360px;font-size:10px}.fit-stats strong{font-size:13px}.fit-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;gap:12px;justify-content:center}.fit-game .lab-footer .tool-divider{width:28px;height:1px}.fit-game .icon-button{width:40px;height:40px}.fit-hint{font-size:11px}}@media(prefers-reduced-motion:reduce){.fit-player,.fit-wall{transition:none}.fit-roll,.fit-success,.phase-crashed .fit-player{animation:none}}.picture-game{min-height:100dvh;display:grid;grid-template-rows:82px minmax(0,1fr) 78px;max-width:1200px;margin:auto;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(24px,env(safe-area-inset-left));color:#2c4035}.picture-stage{display:grid;grid-template-columns:minmax(0,440px) minmax(0,340px);gap:36px;align-items:center;justify-content:center;width:100%;margin:auto;padding:18px 0}.picture-play{display:flex;flex-direction:column;align-items:center;gap:12px}.picture-score{display:flex;align-items:center;gap:7px;color:#63816e;font-size:14px}.picture-board{width:min(100%,calc(100dvh - 230px));aspect-ratio:1;position:relative;border:1px solid #b9ccbf;border-radius:10px;overflow:hidden;background:#fffdf5}.picture-whole{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.picture-grid{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-auto-rows:1fr}.picture-cell,.picture-slot{border:1px solid #879c8b33}.picture-slot{position:relative;display:grid;place-items:center;background:#f0f5f1;color:#a2b9aa;min-width:0;padding:0;border-radius:0;box-shadow:none!important;transition:background .15s}.picture-slot.filled{background:transparent}.picture-slot:disabled{opacity:1}.picture-slot.available{background:#e5efe8}.picture-slot.hovered{background:#d6e7dc;box-shadow:inset 0 0 0 3px #7dab90!important}.picture-slot.wrong{animation:picture-wrong .35s;background:#f2e2dc}.slot-cross{font-size:22px;font-weight:300}.picture-check{position:absolute;right:4px;bottom:4px;background:#d5e8db;color:#438764;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;animation:connect-win .3s ease-out}.picture-tray-section{text-align:center}.picture-tray-section p{font-size:20px;font-weight:500;margin:0 0 6px}.picture-tray-section>small{font-size:12px;color:#859389}.picture-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px auto 12px;max-width:320px}.picture-piece{aspect-ratio:1;position:relative;min-width:0;border:1px solid #b5cbbd;border-radius:8px;background:#fffdf5;padding:0;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.picture-piece svg{display:block;width:100%;height:100%;pointer-events:none}.picture-piece.selected{border:3px solid #5e9273;box-shadow:0 0 0 3px #dceadf}.picture-piece.dragging{opacity:.35}.picture-piece.used{display:grid;place-items:center;border:1px dashed #d3dfd6;background:#ecf3ee;color:#a0bba8}.picture-feedback{font-size:12px;line-height:1.5;color:#768c7b;min-height:36px;margin:0 auto;max-width:280px}.picture-ghost{position:fixed;z-index:50;transform:translate(-50%,-60%);pointer-events:none;border:2px solid #7b9e85;border-radius:7px;background:#fffdf5;box-shadow:0 8px 22px #2d574333;overflow:hidden}.picture-ghost svg{display:block;width:100%;height:100%}@keyframes picture-wrong{25%,75%{transform:translate(-2px)}50%{transform:translate(2px)}}@media(max-width:600px){.picture-game{padding-inline:14px;grid-template-rows:76px minmax(0,1fr) 74px}.picture-game .icon-button{width:44px;height:44px}.picture-game .game-heading{gap:6px}.picture-game .level-chip{min-width:40px;padding:7px}.picture-game .level-chip strong{font-size:21px}.picture-game .level-chip span{font-size:8px}.picture-game .top-actions{gap:6px}.picture-stage{grid-template-columns:minmax(0,1fr);gap:14px;padding:12px 0}.picture-board{width:min(100%,max(280px,calc(100dvh - 400px)))}.picture-play{gap:8px}.picture-tray-section p{font-size:15px;margin-bottom:4px}.picture-tray{grid-template-columns:repeat(4,minmax(0,1fr));max-width:340px;gap:8px;margin:12px auto 8px}.picture-feedback{font-size:11px;min-height:28px}.picture-tray-section>small{font-size:11px}}@media(max-height:600px)and (orientation:landscape){.picture-game{grid-template-columns:120px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:12px;padding-inline:18px}.picture-game .toolbar{grid-column:1;grid-row:1;flex-direction:column;justify-content:space-around;align-items:center}.picture-game .connect-title{position:static;transform:none}.picture-game .connect-title h1{font-size:18px}.picture-game .level-chip{min-width:38px;padding:5px}.picture-game .level-chip strong{font-size:20px}.picture-game .level-chip span{font-size:8px}.picture-game .icon-button{width:40px;height:40px}.picture-stage{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;padding:8px 0}.picture-board{width:min(100%,calc(100dvh - 65px))}.picture-score{font-size:11px}.picture-tray-section p{font-size:14px}.picture-tray-section>small{font-size:10px}.picture-tray{gap:6px;margin:12px auto 8px}.picture-feedback{font-size:10px;min-height:24px}.picture-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;gap:12px;justify-content:center}.picture-game .lab-footer .tool-divider{width:28px;height:1px}}@media(prefers-reduced-motion:reduce){.picture-slot{transition:none}.picture-slot.wrong,.picture-check{animation:none}}@media(max-width:600px){.picture-tray:has(>.picture-piece:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}.connect-tutorial-art{display:block;width:min(100%,240px);margin:20px auto}.connect-demo-line{stroke-dasharray:1;animation:connect-demo-draw 3s linear infinite}@keyframes connect-demo-draw{0%,10%{stroke-dashoffset:1}70%,to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.connect-demo-line{animation:none;stroke-dashoffset:0}.connect-demo-finger{display:none}}.indicator-cover{display:flex;align-items:flex-end;width:84%;max-width:270px;gap:8px}.indicator-cover svg{width:33%}.indicator-cover svg:nth-child(2){transform:translateY(-16px)}.indicator-lab .lab-main{display:flex;flex-direction:column;justify-content:center;gap:16px;max-width:700px}.indicator-scene{width:100%;padding:18px 20px 10px}.indicator-bench{position:relative;width:100%;aspect-ratio:1.1;max-width:540px;margin:auto}.indicator-samples{position:absolute;inset:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;z-index:2}.indicator-sample{border:0;background:transparent;padding:0 8px;color:#45645b;display:flex;flex-direction:column;align-items:center;min-height:44px;transition:opacity .2s}.indicator-sample svg{width:78px;max-width:100%;height:auto}.indicator-sample span{font-size:14px;font-weight:600}.indicator-sample small{font-size:10px;color:#7a8f84;margin-top:2px}.indicator-sample:disabled{opacity:.3}.indicator-sample.chosen:disabled{opacity:1}.phase-pouring .indicator-sample.chosen{animation:indicator-pour 1.1s ease-in-out}.indicator-receiver{position:absolute;bottom:0;left:50%;transform:translate(-50%);width:42%;display:flex;flex-direction:column;align-items:center}.indicator-receiver svg{width:100%}.indicator-receiver>span{font-size:13px;color:#637d70;white-space:nowrap}.indicator-liquid rect,.indicator-liquid ellipse{transition:fill 1.4s ease,stop-color 1.4s ease}.indicator-receiver stop{transition:stop-color 1.4s ease}.indicator-stream{position:absolute;left:50%;top:31%;height:19%;width:5px;background:#bddcd8;border-radius:3px;animation:indicator-stream 1.1s ease both;z-index:1}.indicator-ripples{position:absolute;left:50%;top:70%;width:28%;transform:translate(-50%);pointer-events:none}.indicator-ripples i{position:absolute;top:0;right:0;bottom:0;left:0;height:12px;border:2px solid #ffffff88;border-radius:50%;animation:indicator-ripple 1.4s ease-out infinite}.indicator-ripples i:nth-child(2){animation-delay:.35s}.indicator-ripples i:nth-child(3){animation-delay:.7s}.indicator-discoveries{display:flex;justify-content:center;gap:12px}.indicator-discoveries>span{display:flex;align-items:center;gap:6px;color:#8a9990;font-size:13px;min-width:66px}.indicator-discoveries i{width:13px;height:13px;border-radius:50%}.indicator-discoveries .discovered{color:#47665a}.indicator-result-color{width:48px;height:48px;border-radius:50%;margin-bottom:18px;box-shadow:inset -5px -5px #00000012,inset 5px 5px #ffffff25}@keyframes indicator-pour{0%,to{transform:none}35%,75%{transform:translate(var(--shift),30%) rotate(-35deg)}}@keyframes indicator-stream{0%,30%,90%,to{opacity:0}40%,80%{opacity:1}}@keyframes indicator-ripple{0%{transform:scale(.4);opacity:1}to{transform:scale(1.1);opacity:0}}@media(max-width:600px){.indicator-scene{padding:14px 8px 8px!important}.indicator-sample svg{width:65px}.indicator-sample span{font-size:12px}.indicator-receiver>span{font-size:11px}.indicator-bench{aspect-ratio:.95}.indicator-lab .lab-header h1{font-size:19px}}@media(max-height:600px)and (orientation:landscape){.indicator-lab .lab-main{flex-direction:row;max-width:650px;gap:20px}.indicator-bench{max-width:250px}.indicator-sample svg{width:40px}.indicator-sample span{font-size:10px}.indicator-sample small{font-size:8px}.indicator-receiver>span{font-size:10px}.indicator-discoveries{flex-direction:column}.indicator-scene{width:auto;flex:1}.indicator-lab .direct-instruction{min-height:32px}}@media(prefers-reduced-motion:reduce){.indicator-sample,.indicator-stream,.indicator-ripples i{animation:none!important}.indicator-ripples{display:none}}@media(max-height:600px)and (orientation:landscape){.indicator-receiver{width:34%}}.slide-game{min-height:100dvh;height:100dvh;display:grid;grid-template-rows:82px minmax(0,1fr) 82px;max-width:1200px;margin:auto;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.slide-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:0}.slide-stats{display:flex;justify-content:space-between;width:min(100%,480px);font-size:13px;color:#637970}.slide-board{position:relative;aspect-ratio:1;width:min(100%,480px,calc(100dvh - 290px));background:#dde7e2;border:6px solid #dde7e2;border-radius:16px;box-shadow:0 6px 16px #294b3810;touch-action:pan-y;-webkit-user-select:none;user-select:none;overflow:hidden}.slide-board:focus-visible{outline:2px solid #477b63;outline-offset:4px}.slide-board:focus:not(:focus-visible){outline:none}.slide-tile,.slide-empty{position:absolute;width:calc(100% / var(--size));height:calc(100% / var(--size))}.slide-empty{background:#c6d8cc;border:2px solid #dde7e2;border-radius:7px}.slide-tile{border:2px solid #dde7e2;padding:0;border-radius:7px;background:#fffdfa;overflow:hidden;transition:left .18s ease,top .18s ease;touch-action:none;cursor:pointer;box-shadow:inset 0 0 0 1px #fff5}.slide-tile:disabled{opacity:1}.slide-tile svg{display:block;width:100%;height:100%;pointer-events:none}.slide-tile>span{position:absolute;top:5px;left:5px;font-size:10px;min-width:18px;height:18px;border-radius:5px;display:grid;place-items:center;color:#425e50;background:#ffffffc9;pointer-events:none}.slide-tile.movable{border-color:#b5ccbd}.slide-tile:focus-visible{outline:2px solid #356b4e;outline-offset:-4px;z-index:2}.slide-original{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:#fffdfa;pointer-events:none}.slide-tools{display:flex;gap:12px}.slide-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #d7e2db;border-radius:9px;background:#fff;color:#496658;padding:8px 14px;font-size:13px}.slide-action[aria-pressed=true]{background:#e3eee6}.slide-demo{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:210px;margin:22px auto}.slide-demo i{display:grid;place-items:center;aspect-ratio:1;border-radius:9px;background:#b8d7c7;color:#35614f;font-size:22px;font-style:normal}.slide-demo .slide-demo-empty{background:#eaf0ec}.slide-demo-moving{animation:slide-demo-move 2.8s ease infinite;z-index:1}@keyframes slide-demo-move{0%,15%,to{transform:none}45%,75%{transform:translate(calc(100% + 6px))}}@media(max-width:600px){.slide-game{padding-inline:14px;grid-template-rows:76px minmax(0,1fr) 80px}.slide-game .icon-button{width:44px;height:44px}.slide-game .game-heading{gap:6px}.slide-game .level-chip{min-width:40px;padding:7px}.slide-game .level-chip strong{font-size:21px}.slide-game .level-chip span{font-size:8px}.slide-game .top-actions{gap:6px}.slide-game .connect-title h1{font-size:18px}.slide-game .connect-title span{font-size:10px}.slide-stage{gap:14px}.slide-board{border-width:4px;border-radius:12px}.slide-action{font-size:12px;padding-inline:12px}}@media(max-height:600px)and (orientation:landscape){.slide-game{grid-template-columns:130px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:16px;min-height:0;padding:12px 18px}.slide-game .toolbar{grid-column:1;grid-row:1;flex-direction:column;justify-content:space-around}.slide-game .connect-title{position:static;transform:none}.slide-stage{grid-column:2;grid-row:1;gap:8px}.slide-board{width:min(100%,calc(100dvh - 110px))}.slide-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;justify-content:center}.slide-game .lab-footer .tool-divider{height:1px;width:24px}.slide-game .icon-button{width:42px;height:42px}.slide-stats{max-width:280px;font-size:11px}.slide-tools{gap:8px}.slide-action{min-height:40px;font-size:11px;padding:6px 10px}}@media(prefers-reduced-motion:reduce){.slide-tile{transition:none}.slide-demo-moving{animation:none;transform:translate(calc(100% + 6px))}}.slide-play{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:20px;width:min(100%,620px)}.slide-play .slide-board{width:100%;max-width:480px}.slide-reserve{display:flex;flex-direction:column;align-items:center;gap:10px}.slide-reserve>span{font-size:13px;color:#698273}.slide-reserve-slot{position:relative;width:100%;aspect-ratio:1;background:#edf3ef;border:2px dashed #a6c1af;border-radius:9px;padding:0;overflow:hidden;color:#769584}.slide-reserve-slot:disabled{opacity:1}.slide-reserve-slot svg{display:block;width:100%;height:100%;pointer-events:none}.slide-reserve-slot>span:not(.reserve-plus){position:absolute;left:4px;top:4px;font-size:10px;background:#ffffffcf;border-radius:4px;padding:2px 4px}.reserve-plus{font-size:26px}.slide-reserve-hint{font-size:12px;text-align:center;color:#678273;margin:0}.slide-empty{display:grid;place-items:center;color:#719b83;padding:0}.slide-empty:disabled{opacity:1}.slide-empty:focus-visible{outline:2px solid #477b63;outline-offset:-4px}@media(max-width:600px){.slide-play{grid-template-columns:minmax(0,1fr) 68px;gap:12px}.slide-reserve>span{font-size:12px}.slide-reserve-hint{font-size:11px}.slide-stage{gap:12px}}@media(max-height:600px)and (orientation:landscape){.slide-play{grid-template-columns:minmax(0,1fr) 66px;gap:14px;width:min(100%,calc(100dvh - 50px))}.slide-play .slide-board{max-width:calc(100dvh - 155px)}.slide-reserve-hint{font-size:10px}.slide-stage{gap:6px}}.slide-play{--frame:6px;grid-template-columns:calc((100% * var(--size) + 2 * var(--frame)) / (var(--size) + 1)) minmax(0,1fr);gap:0;align-items:stretch}.slide-play .slide-board{max-width:none;overflow:visible;border-radius:12px;box-shadow:none}.slide-reserve{position:relative;display:block;align-self:stretch}.slide-reserve-slot{position:absolute;top:calc(var(--frame) + var(--reserve-row) * (100% - 2 * var(--frame)) / var(--size));left:calc(-1 * var(--frame));width:100%;height:calc((100% - 2 * var(--frame)) / var(--size));aspect-ratio:auto;background:#c6d8cc;border:4px solid #dde7e2;border-left:2px solid #dde7e2;border-radius:0 9px 9px 0}.slide-reserve-slot svg{background:#fffdfa;border-radius:5px}.slide-reserve-slot:disabled{color:#719b83}.slide-original{border-radius:8px}@media(max-height:600px)and (orientation:landscape){.slide-play{width:min(100%,calc(100dvh - 85px))}.slide-play .slide-board{max-width:none}}.rail-game{height:100dvh;min-height:480px;display:grid;grid-template-rows:82px minmax(0,1fr) 82px;max-width:1100px;margin:auto;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.rail-stage{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.rail-stats{display:flex;align-items:center;justify-content:space-between;width:min(100%,630px);font-size:13px;color:#647c6c}.rail-board{position:relative;width:min(100%,630px);aspect-ratio:7 / calc(var(--depth) + 1);background:#edf3ef;border:1px solid #d2dfd6;border-radius:18px;box-shadow:0 8px 24px #294b3808}.rail-tracks{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.rail-token{position:absolute;transform:translate(-50%,-50%);width:calc(100% / 7 * .88);aspect-ratio:1;border-radius:50%;padding:0}.rail-token{display:grid;place-items:center;background:radial-gradient(ellipse at 32% 22%,#ffffff55,transparent 44%),var(--cap-color);color:#ffffffd9;border:2px solid #ffffff35;box-shadow:inset 0 -4px #00000018,0 3px 4px #294b3820;transition:left .1s linear,top .1s linear;touch-action:none}.rail-token:disabled{opacity:1}.rail-token span{font-size:15px;pointer-events:none}.rail-token.selected{outline:3px solid #456d58;outline-offset:3px}.rail-token:active{transform:translate(-50%,-50%)}.rail-targets{display:grid;grid-template-columns:repeat(7,1fr);width:min(100%,630px)}.rail-targets>span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:#65806e;text-align:center}.rail-targets i{width:13px;height:13px;border-radius:50%}.rail-instruction{margin:4px 0 0;color:#557764;text-align:center;font-size:13px;min-height:20px}.rail-demo{display:block;width:220px;max-width:100%;margin:20px auto}@media(max-width:600px){.rail-game{padding-inline:14px;grid-template-rows:76px minmax(0,1fr) 80px}.rail-game .icon-button{width:44px;height:44px}.rail-game .game-heading{gap:6px}.rail-game .level-chip{min-width:40px;padding:7px}.rail-game .level-chip strong{font-size:21px}.rail-game .level-chip span{font-size:8px}.rail-game .top-actions{gap:6px}.rail-game .connect-title h1{font-size:17px}.rail-game .connect-title span{font-size:10px}.rail-token span,.rail-instruction{font-size:12px}}@media(max-height:600px)and (orientation:landscape){.rail-game{min-height:0;grid-template-columns:130px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:18px;padding:12px 18px}.rail-game .toolbar{grid-column:1;grid-row:1;flex-direction:column;justify-content:space-around}.rail-game .connect-title{position:static;transform:none}.rail-game .connect-title h1{font-size:18px}.rail-stage{grid-column:2;grid-row:1;gap:6px}.rail-board,.rail-stats,.rail-targets{max-width:420px}.rail-stats .slide-action{min-height:36px;font-size:11px}.rail-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;justify-content:center}.rail-game .lab-footer .tool-divider{height:1px;width:24px}.rail-game .icon-button{width:42px;height:42px}.rail-instruction{font-size:11px}}@media(prefers-reduced-motion:reduce){.rail-token{transition:none}.rail-demo animateMotion{display:none}}.rail-token{min-width:44px;min-height:44px}.rail-token.selected{outline:2px solid #ffffffc9;outline-offset:1px;z-index:2}.rail-board:focus:not(:focus-visible){outline:none}@media(max-height:600px)and (orientation:landscape){.rail-board,.rail-stats,.rail-targets{max-width:min(420px,calc((100dvh - 150px)*1.4))}}.pipe-game{height:100dvh;min-height:480px;display:grid;grid-template-rows:82px minmax(0,1fr) 82px;max-width:1100px;margin:auto;padding:env(safe-area-inset-top) max(24px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.pipe-stage{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px}.pipe-stats{display:flex;align-items:center;justify-content:space-between;width:min(100%,480px,calc(100dvh - 280px));font-size:13px;color:#647c6c}.pipe-board{position:relative;width:min(100%,480px,calc(100dvh - 280px));aspect-ratio:1;background:#d5dfd6;border:7px solid #d5dfd6;border-radius:18px;box-shadow:0 8px 22px #294b3810;-webkit-user-select:none;user-select:none;touch-action:none}.pipe-tile,.pipe-empty{position:absolute;width:25%;height:25%;border:3px solid #d5dfd6;border-radius:12px}.pipe-tile{padding:0;overflow:hidden;background:linear-gradient(145deg,#f4e4bf,#dfbf84);box-shadow:inset 0 -4px #a5884c28;transition:left .16s ease,top .16s ease;touch-action:none}.pipe-tile svg{width:100%;height:100%;display:block;pointer-events:none}.pipe-tile.fixed{background:linear-gradient(145deg,#a3cab2,#72a28b)}.pipe-tile:disabled{opacity:1}.pipe-tile:active{transform:none}.pipe-tile:focus-visible{outline:2px solid #31604a;outline-offset:-5px}.pipe-empty{background:#c4d2c7}.pipe-lock{position:absolute;left:8px;bottom:8px;width:11px!important;height:11px!important;color:#426c59}.pipe-ball-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:3}.pipe-board.connected .start svg>circle{opacity:0}.pipe-instruction{font-size:13px;color:#5c7568;text-align:center;margin:0;min-height:20px}.pipe-board:focus:not(:focus-visible){outline:none}.pipe-demo{display:flex;gap:5px;position:relative;width:210px;margin:28px auto}.pipe-demo span{width:66px;height:66px;border-radius:10px;background:#e8d0a0;box-shadow:inset 0 -4px #c9ae7855}.pipe-demo span:after{content:"";display:block;height:18px;background:#a78956;margin-top:24px}.pipe-demo .pipe-demo-hole{background:#d7e4db;box-shadow:none}.pipe-demo-hole:after{display:none!important}.pipe-demo-piece{animation:pipe-demo-slide 2.5s ease infinite;z-index:1}@keyframes pipe-demo-slide{0%,20%,to{transform:none}50%,80%{transform:translate(71px)}}@media(max-width:600px){.pipe-game{padding-inline:14px;grid-template-rows:76px minmax(0,1fr) 80px}.pipe-game .icon-button{width:44px;height:44px}.pipe-game .game-heading{gap:6px}.pipe-game .level-chip{min-width:40px;padding:7px}.pipe-game .level-chip strong{font-size:21px}.pipe-game .level-chip span{font-size:8px}.pipe-game .top-actions{gap:6px}.pipe-game .connect-title h1{font-size:18px}.pipe-game .connect-title span{font-size:10px}.pipe-board{border-width:5px;border-radius:14px}.pipe-tile,.pipe-empty{border-width:2px;border-radius:9px}.pipe-instruction{font-size:12px}}@media(max-height:600px)and (orientation:landscape){.pipe-game{min-height:0;grid-template-columns:130px minmax(0,1fr) 62px;grid-template-rows:minmax(0,1fr);gap:18px;padding:12px 18px}.pipe-game .toolbar{grid-column:1;grid-row:1;flex-direction:column;justify-content:space-around}.pipe-game .connect-title{position:static;transform:none}.pipe-stage{grid-column:2;grid-row:1;gap:8px}.pipe-board,.pipe-stats{width:min(100%,calc(100dvh - 110px))}.pipe-game .lab-footer{grid-column:3;grid-row:1;flex-direction:column;justify-content:center}.pipe-game .lab-footer .tool-divider{height:1px;width:24px}.pipe-game .icon-button{width:42px;height:42px}.pipe-instruction{font-size:11px}.pipe-stats .slide-action{min-height:36px;font-size:11px}}@media(prefers-reduced-motion:reduce){.pipe-tile{transition:none}.pipe-demo-piece{animation:none;transform:translate(71px)}.pipe-rolling-ball{display:none}}@media(max-width:600px){.slide-play{--frame:4px}}.pipe-static-ball{display:none}@media(prefers-reduced-motion:reduce){.pipe-static-ball{display:block}}.pipe-tile{transform:translate(0);transition:left .16s ease,top .16s ease,transform .16s ease}.pipe-tile.dragging,.pipe-tile.dragging:active{transform:translate(var(--drag-x),var(--drag-y));transition:none;z-index:4;cursor:grabbing}@media(prefers-reduced-motion:reduce){.pipe-tile{transition:none}}.ink-lab .lab-main{max-width:900px}.ink-lab .ink-scene{overflow:visible;padding:30px 24px 20px}.ink-bench{display:grid;grid-template-columns:90px minmax(0,1fr) 110px;gap:24px;align-items:center;max-width:740px;margin:auto}.ink-toolbox{display:flex;flex-direction:column;align-items:center;gap:18px}.ink-swab,.ink-lamp{border:0;background:transparent;padding:0;color:#547562;display:flex;flex-direction:column;align-items:center;touch-action:none;min-height:44px;cursor:grab;position:relative;z-index:5}.ink-swab svg{width:85px;height:120px;pointer-events:none}.ink-swab span,.ink-lamp span,.ink-juice span{font-size:13px;white-space:nowrap}.ink-swab:disabled,.ink-lamp:disabled{opacity:1;cursor:default}.ink-swab:focus:not(:focus-visible),.ink-lamp:focus:not(:focus-visible){outline:none}.ink-swab:focus-visible,.ink-lamp:focus-visible{outline:2px solid #4e8066;outline-offset:3px;border-radius:8px}.ink-juice{display:flex;flex-direction:column;align-items:center;color:#698571}.ink-juice svg{width:100px;display:block}.ink-swab.dipping{animation:ink-dip .8s ease-in-out}.ink-paper{position:relative;aspect-ratio:300/260;width:100%;background:linear-gradient(125deg,#fffefb,#faf7ed);border:1px solid #e4e2d7;border-radius:4px 4px 20px;box-shadow:0 10px 22px #5d736418,3px 4px #e8ebdf;touch-action:none;-webkit-user-select:none;user-select:none;transition:transform .7s ease}.ink-paper.writable{cursor:crosshair}.ink-paper.dry{cursor:grab}.ink-paper.dragging{transition:none;z-index:4}.ink-paper.heated{transition:transform .8s ease;cursor:default}.ink-drawing{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden}.ink-stroke{fill:none;stroke:#d2ba72;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;opacity:.55;transition:stroke 3s ease,opacity 2.2s ease}.phase-drying .ink-stroke,.phase-dry .ink-stroke{opacity:0}.ink-paper.heated .ink-stroke{stroke:#a27143;opacity:1;transition:stroke 3s ease,opacity 3s ease}.ink-page-fold{position:absolute;bottom:0;right:0;width:18px;height:18px;border-radius:4px 0 0;background:#ebe9db;pointer-events:none}.ink-lamp-area{visibility:hidden;pointer-events:none}.ink-lamp-area.visible{visibility:visible;pointer-events:auto}.ink-lamp svg{width:110px;height:165px;pointer-events:none}.ink-actions{display:flex;justify-content:center;gap:12px;margin-bottom:14px}.ink-notice{display:block;text-align:center;font-size:11px;color:#7a897d;line-height:1.5}.ink-lab .direct-instruction{min-height:74px}.ink-lab .direct-instruction p{font-size:17px}@keyframes ink-dip{40%,70%{transform:translateY(85px) rotate(-18deg)}}@media(max-width:650px){.ink-lab{gap:16px}.ink-lab .ink-scene{padding:16px 14px 18px}.ink-bench{grid-template-columns:1fr 1fr;gap:18px 12px}.ink-toolbox{grid-row:1;grid-column:1;flex-direction:row;gap:12px;align-items:flex-end}.ink-swab svg{width:52px;height:90px}.ink-juice svg{width:78px}.ink-swab span,.ink-juice span,.ink-lamp span{font-size:11px}.ink-paper{grid-column:1/-1;grid-row:2;max-width:390px;justify-self:center}.ink-lamp-area{grid-column:2;grid-row:1;justify-self:end}.ink-lamp svg{width:75px;height:104px}.ink-lab .direct-instruction{min-height:66px}.ink-lab .direct-instruction p{font-size:14px}.ink-lab .lab-header h1{font-size:21px}.ink-lab .lab-eyebrow{font-size:8px;letter-spacing:1px}.ink-actions .slide-action{font-size:12px}.ink-notice{font-size:10px}@keyframes ink-dip{40%,70%{transform:translate(64px,22px) rotate(-35deg)}}}@media(max-height:600px)and (orientation:landscape){.ink-lab{gap:10px}.ink-lab .lab-main{display:flex;max-width:670px}.ink-lab .ink-scene{padding:12px 20px}.ink-bench{grid-template-columns:75px minmax(0,1fr) 85px;gap:20px;max-width:560px}.ink-toolbox{grid-column:1;grid-row:1;flex-direction:column;gap:8px}.ink-swab svg{width:46px;height:70px}.ink-juice svg{width:70px}.ink-paper{grid-column:2;grid-row:1;max-width:240px;justify-self:center}.ink-lamp-area{grid-column:3;grid-row:1}.ink-lamp svg{width:85px;height:125px}.ink-lab .direct-instruction{min-height:34px}.ink-lab .direct-instruction p{font-size:13px}.ink-actions{margin-bottom:7px}.ink-notice{font-size:9px}.ink-lab .lab-header h1{font-size:19px}@keyframes ink-dip{40%,70%{transform:translateY(55px) rotate(-18deg)}}}@media(prefers-reduced-motion:reduce){.ink-swab.dipping{animation:none}.ink-paper,.ink-stroke,.ink-paper.heated .ink-stroke{transition:none}}@media(max-height:600px)and (orientation:landscape){.ink-lab .lab-main{max-width:760px}.ink-lab .ink-scene{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px 18px;align-items:center}.ink-bench{grid-column:1;grid-row:1/3;max-width:none;width:100%}.ink-paper{max-width:215px}.ink-lab .direct-instruction{grid-column:2;grid-row:1}.ink-actions{grid-column:2;grid-row:2;flex-direction:column;gap:8px;margin:0}.ink-notice{grid-column:1/-1;grid-row:3}}.garden-lab .lab-main{max-width:740px}.garden-lab .garden-scene{overflow:visible;padding:22px 28px 20px}.garden-mission{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#53745e}.garden-mission>div{display:flex;gap:5px;color:#a4b4a4}.garden-mission .earned{color:#d6ae44;animation:connect-win .35s ease-out}.garden-cups{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%;max-width:220px;margin:0 auto 12px}.garden-cup{position:relative;text-align:center;background:transparent;border:0;padding:0 0 6px;color:#567660;border-radius:12px;min-width:0;transition:background .2s}.garden-cup>svg{display:block;width:100%;height:clamp(150px,calc(100dvh - 560px),250px);pointer-events:none}.garden-cup>span{display:flex;justify-content:center;align-items:center;gap:4px;font-size:13px}.garden-cup small{display:block;font-size:12px;min-height:18px;font-weight:600}.garden-cup.active>span{font-weight:700}.garden-cup.active:after{content:"";position:absolute;bottom:0;left:calc(50% - 16px);width:32px;height:3px;border-radius:2px;background:#94b79b}.garden-cup.recorded{background:#cee5d345}.garden-cup:disabled{opacity:1;cursor:default}.garden-cup:active{transform:none}.garden-cup:focus:not(:focus-visible),.garden-tool:focus:not(:focus-visible){outline:none}.garden-cup:focus-visible,.garden-tool:focus-visible{outline:2px solid #4b7a5e;outline-offset:3px}.garden-controls{display:flex;align-items:center;justify-content:center;min-height:115px;position:relative}.garden-tool{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:64px;min-height:44px;background:transparent;border:0;padding:0 6px;color:#52705c;touch-action:none;cursor:grab;border-radius:8px;-webkit-user-select:none;user-select:none}.garden-tool>svg{display:block;width:78px;height:98px;pointer-events:none}.garden-tool>span{font-size:12px;white-space:nowrap}.garden-tool:disabled{opacity:.55;cursor:default}.garden-tool:active{transform:none}.garden-flower>svg{width:85px;height:120px}.garden-tool.trimming{animation:garden-trim .75s ease-in-out}.garden-palette{display:flex;justify-content:center;gap:20px}.garden-dye>svg{width:57px;height:88px}.garden-dye[aria-pressed=true]>span{font-weight:700}.garden-time{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 22px;border:1px solid #bfd4c4;background:#deece0;color:#406950;border-radius:14px;font-weight:600;font-size:16px}.garden-clock{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;max-width:240px;color:#5b7b66;font-size:14px}.garden-clock i{display:block;width:100%;height:5px;overflow:hidden;background:#d7e4d8;border-radius:5px}.garden-clock b{display:block;height:100%;background:#84ae91;transition:width .08s linear}.garden-notebook{display:flex;align-items:center;gap:10px;color:#65856e}.garden-notebook>span{min-width:66px;display:flex;align-items:center;justify-content:center;gap:5px;padding:14px 10px;border-radius:8px;background:#ffffff70;border:1px dashed #b9cbbc;color:#98aa9d;font-size:13px}.garden-notebook>span.saved{border-style:solid;color:#567360;animation:connect-win .3s ease-out}.garden-notebook i,.garden-result-colors i{display:inline-block;width:10px;height:10px;border-radius:50%}.garden-lab .direct-instruction{min-height:52px;margin-top:2px}.garden-lab .direct-instruction p{font-size:17px}.garden-notice{display:block;text-align:center;font-size:11px;color:#718175;line-height:1.5}.garden-result>svg{color:#d5ae45}.garden-result-colors{display:flex;justify-content:center;gap:16px;margin:20px 0}.garden-result-colors>span{display:flex;align-items:center;gap:6px;color:#58705d;font-size:14px}.garden-result>small{display:block;font-size:12px;color:#728176;margin:18px 0}.garden-water.filling{animation:garden-fill .75s ease-out;transform-origin:80px 290px}.garden-pour{stroke-dasharray:100;animation:garden-pour .75s ease-in-out}.garden-drops circle{animation:garden-drip .4s ease-in both}.garden-stirring{transform-origin:80px 202px;animation:garden-stir .33s ease-in-out 3}.garden-water .mixing{animation:garden-mix 1s ease-in-out}@keyframes garden-fill{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes garden-pour{0%,to{opacity:0;stroke-dashoffset:100}30%,70%{opacity:.9;stroke-dashoffset:0}}@keyframes garden-drip{0%{transform:translateY(-25px);opacity:0}25%{opacity:1}to{transform:translateY(76px);opacity:0}}@keyframes garden-stir{50%{transform:rotate(12deg)}}@keyframes garden-mix{50%{transform:translate(6px);opacity:.3}to{opacity:0}}@keyframes garden-trim{40%,70%{transform:rotate(-8deg) scale(.95)}}@media(max-width:650px){.garden-lab{gap:16px}.garden-lab .garden-scene{padding:18px 14px 16px}.garden-lab .lab-header h1{font-size:20px}.garden-lab .lab-eyebrow{font-size:8px;letter-spacing:1px}.garden-mission{font-size:12px}.garden-mission svg{width:17px}.garden-cups{gap:4px;margin-bottom:10px}.garden-cup>svg{height:clamp(150px,calc(100dvh - 510px),245px)}.garden-cup>span{font-size:12px}.garden-cup small{font-size:11px}.garden-controls{min-height:115px}.garden-palette{gap:6px}.garden-dye{min-width:58px;padding:0 4px}.garden-dye>svg{width:46px;height:78px}.garden-lab .direct-instruction{min-height:58px}.garden-lab .direct-instruction p{font-size:15px}.garden-notice{font-size:10px}.garden-notebook{gap:6px}.garden-notebook>span{min-width:60px;padding:12px 7px;font-size:12px}}@media(max-height:600px)and (orientation:landscape){.garden-lab{gap:8px}.garden-lab .lab-main{max-width:740px}.garden-lab .garden-scene{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:auto 1fr auto;align-items:center;gap:0 18px;padding:12px 20px}.garden-mission{grid-column:1;grid-row:1}.garden-cups{grid-column:1;grid-row:2/4;gap:0;margin:0}.garden-cup>svg{height:145px}.garden-cup>span,.garden-cup small{font-size:10px}.garden-controls{grid-column:2;grid-row:1/3;min-height:100px}.garden-tool>svg{height:76px;width:58px}.garden-flower>svg{height:100px;width:54px}.garden-palette{gap:0}.garden-dye{min-width:50px}.garden-dye>svg{width:40px;height:70px}.garden-lab .direct-instruction{grid-column:2;grid-row:3;min-height:38px}.garden-lab .direct-instruction p{font-size:13px}.garden-notice{grid-column:1/-1;margin-top:8px;font-size:9px}.garden-lab .lab-header h1{font-size:19px}.garden-notebook{gap:4px}.garden-notebook>span{min-width:51px;font-size:11px;padding:10px 5px}}@media(prefers-reduced-motion:reduce){.garden-tool.trimming,.garden-mission .earned,.garden-notebook>span.saved,.garden-water.filling,.garden-pour,.garden-drops circle,.garden-stirring,.garden-water .mixing{animation:none}.garden-cup,.garden-clock b{transition:none}}.balloon-lab .lab-scene{background:radial-gradient(ellipse at 34% 15%,#fffef8,#f2f7f3 42%,#e8f0eb);border-color:#d7e3db;box-shadow:0 18px 42px -30px #3d66543d,inset 0 1px #fff}.ink-paper{background:repeating-linear-gradient(0deg,#a9a38a05 0px,#a9a38a05 1px,transparent 1px,transparent 3px),linear-gradient(135deg,#fffefb,#f6f0df);box-shadow:0 14px 20px -9px #3d514f30,1px 2px #fff,3px 4px #e4e4d5}.ink-page-fold{background:linear-gradient(135deg,#c9c9b7,#faf8ed 68%);box-shadow:-2px -2px 3px #817e5d10}.ink-lamp svg{overflow:visible}.ink-light{pointer-events:none}.phase-drying .ink-stroke{transition:opacity 3s linear}.ink-dry-countdown{position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);width:112px;aspect-ratio:1;background:#fffdf3f2;border-radius:50%;box-shadow:0 5px 20px #735c2420;display:grid;place-items:center;pointer-events:none;color:#527a62}.ink-dry-countdown>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:none;stroke-width:4}.ink-clock-track{stroke:#e1e9df}.ink-clock-progress{stroke:#d8ac48;stroke-linecap:round;stroke-dasharray:263.9;transform:rotate(-90deg);transform-origin:50px 50px;animation:ink-clock-drain 3s linear forwards}.ink-clock-crown{stroke:#527a62;stroke-linecap:round}.ink-dry-countdown b{font-size:40px;line-height:1;margin-top:-8px;animation:ink-count-tick .35s ease-out}.ink-dry-countdown>span{position:absolute;bottom:21px;font-size:11px}@keyframes ink-clock-drain{to{stroke-dashoffset:263.9}}@keyframes ink-count-tick{0%{opacity:.4;transform:scale(.75)}to{opacity:1;transform:scale(1)}}@media(max-width:650px){.ink-dry-countdown{width:96px}.ink-dry-countdown b{font-size:34px}.ink-dry-countdown>span{bottom:18px;font-size:10px}}@media(prefers-reduced-motion:reduce){.ink-clock-progress,.ink-dry-countdown b{animation:none}}.ink-paper:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 100% 35%,#ffd46770,transparent 72%);opacity:0;transition:opacity .7s ease}.phase-dry .ink-paper:after{opacity:.45}.ink-paper.heated:after{opacity:1}.ink-drawing{z-index:1}.ink-page-fold{z-index:2}@media(max-width:650px){.ink-paper:after{background:radial-gradient(ellipse at 80% 0%,#ffd46770,transparent 75%)}.ink-light{transform:rotate(-35deg);transform-origin:39px 55px}}@media(max-height:600px)and (orientation:landscape){.ink-light{transform:none}}@media(prefers-reduced-motion:reduce){.ink-paper:after{transition:none}}.garden-dye>svg,.ink-juice>svg,.indicator-sample>svg{filter:drop-shadow(1px 3px 2px #30544812)}@media(max-height:600px)and (orientation:landscape){.garden-lab .lab-header>button[aria-label="Toàn màn hình"]{visibility:hidden;pointer-events:none}}.garden-controls:empty{min-height:0}.garden-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0 0 10px}.garden-steps li{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12px;color:#85948a;text-align:center;padding-bottom:8px;border-bottom:2px solid #dbe5dc}.garden-steps li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6ede6;font-size:11px}.garden-steps li.active{color:#416c51;border-color:#82ab8e;font-weight:600}.garden-steps li.active>span{background:#cfe3d3;color:#416c51}.garden-steps li.done{color:#607e66;border-color:#bbd3c0}.garden-prepare-flower{padding:0;width:100%}.garden-prepare-flower>svg{width:100%;height:clamp(150px,calc(100dvh - 590px),250px)}.garden-cup>svg{height:clamp(150px,calc(100dvh - 590px),250px)}.garden-clock{gap:8px;max-width:280px}.garden-clock>div{display:flex;flex-direction:column;gap:2px}.garden-clock small{font-size:10px;color:#728574}.garden-countdown{font-size:29px;font-weight:600;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#416b52}.garden-clock>i{height:4px}@media(max-width:650px){.garden-steps{gap:4px}.garden-steps li{font-size:10px}.garden-cup>svg,.garden-prepare-flower>svg{height:clamp(150px,calc(100dvh - 550px),245px)}.garden-countdown{font-size:26px}}@media(max-height:600px)and (orientation:landscape){.garden-steps{grid-column:1;grid-row:1;gap:4px;margin-bottom:6px}.garden-steps li{font-size:8px;padding-bottom:4px;gap:2px}.garden-steps li>span{width:18px;height:18px;font-size:9px}.garden-cup>svg,.garden-prepare-flower>svg{height:115px}.garden-countdown{font-size:23px}.garden-clock small{font-size:9px}}.water-game{min-height:100dvh;background:#f2f6f3;padding:18px max(20px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));box-sizing:border-box;color:#315047}.water-content{min-height:calc(100dvh - 46px);display:flex;flex-direction:column;gap:18px}.water-header{display:flex;justify-content:space-between;align-items:center;position:relative;gap:10px}.water-header h1{position:absolute;left:50%;transform:translate(-50%);font-size:25px;margin:0;white-space:nowrap}.water-main{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:auto;width:100%;max-width:460px}.water-board{display:block;width:min(100%,420px,calc((100dvh - 355px)*.75));min-width:240px;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;border:1px solid #dce7db;border-radius:24px;box-shadow:0 12px 32px #36584409;box-sizing:border-box}.water-board:focus-visible{outline:3px solid #86ad96;outline-offset:3px}.water-meter{display:flex;align-items:center;gap:12px;width:100%;max-width:420px;font-size:12px;color:#738b7c}.water-meter>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.water-meter>div{height:7px;flex:1;overflow:hidden;background:#dce6db;border-radius:10px}.water-meter i{height:100%;display:block;background:#88b595;border-radius:10px;transition:width .1s}.water-meter .water-percent{color:#459abc;font-variant-numeric:tabular-nums;min-width:65px;justify-content:flex-end}.water-tools{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:360px}.water-tools .primary{width:auto;flex:1;min-height:46px;margin:0;padding:10px 24px;font-size:15px;gap:8px}.water-tools .slide-action{min-width:46px;min-height:46px;padding:9px;justify-content:center}.water-draw-mode{display:flex;justify-content:center;align-items:center;gap:20px;min-height:32px}.water-draw-mode .text-button{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 10px;margin:0;min-height:44px;font-size:12px}.water-instruction{font-size:13px;margin:0;color:#7b907f;text-align:center;min-height:20px}.water-footer{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:6px}.water-demo{width:200px;margin:10px auto}.water-demo svg>path[stroke-dasharray]{animation:water-demo-flow 1s linear infinite}@keyframes water-demo-flow{to{stroke-dashoffset:-36}}.water-levels{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:24px 0 10px}.water-levels button{min-height:70px;border:1px solid #d9e3db;background:#f3f6f1;border-radius:12px;color:#62806d;font-size:18px;font-weight:700}.water-levels button.selected{background:#e1efe3;border-color:#699e82}.water-levels small{display:block;font-size:11px;color:#c6a442;letter-spacing:1px;margin-top:7px}.water-stars{display:flex;justify-content:center;gap:10px;color:#dfe6dc;margin:12px 0 24px}.water-stars .earned{color:#dfb64e}.water-modal .primary{gap:8px}.water-modal{position:relative}@media(max-width:650px){.water-game{padding:12px 14px max(24px,env(safe-area-inset-bottom))}.water-header h1{font-size:19px}.water-header .icon-button{width:44px;height:44px}.water-header .level-chip{padding:5px 8px;min-width:38px}.water-header .level-chip strong{font-size:24px}.water-content{gap:14px}.water-main{gap:10px}.water-board{width:min(100%,calc((100dvh - 355px)*.75))}.water-instruction{font-size:12px}.water-footer{padding-top:12px}.water-draw-mode .text-button{font-size:11px}.water-levels{gap:7px}.water-levels button{min-height:62px}}@media(prefers-reduced-motion:reduce){.water-demo svg>path[stroke-dasharray]{animation:none}.water-meter i{transition:none}}.shoot-game{min-height:100dvh;color:#263f39;background:#f2f6f3;padding:20px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));box-sizing:border-box}.shoot-content{min-height:calc(100dvh - 44px);display:flex;flex-direction:column;gap:16px}.shoot-header{display:flex;align-items:center;justify-content:space-between;position:relative;gap:12px}.shoot-header h1{position:absolute;left:50%;transform:translate(-50%);margin:0;font-size:25px;white-space:nowrap}.shoot-main{width:min(480px,100%);margin:auto;flex:1;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px}.shoot-stats{display:flex;width:100%;justify-content:space-between;align-items:center;color:#748b80;font-size:13px;gap:12px}.shoot-stats span{display:flex;align-items:center;gap:7px}.shoot-stats strong{color:#436c5d}.shoot-score{font-size:clamp(52px,8vh,82px);line-height:1;font-weight:650;color:#8aab9a;text-align:center;margin-top:10px;font-variant-numeric:tabular-nums}.shoot-score span{display:block;margin-top:5px;font-size:12px;font-weight:500;letter-spacing:2px}.shoot-scene{display:block;width:min(100%,440px,57dvh);padding:0;border:0;background:none;border-radius:50%;touch-action:manipulation;cursor:pointer;-webkit-tap-highlight-color:transparent}.shoot-scene svg{display:block;width:100%;overflow:visible}.shoot-scene:focus-visible{outline:3px solid #709b87;outline-offset:5px}.shoot-caption{font-size:14px;color:#698273;margin:0 0 10px}.shoot-footer{display:flex;justify-content:center;align-items:center;gap:12px;flex-shrink:0;padding-top:10px}.shoot-demo{width:180px;margin:12px auto}.shoot-demo svg>g{transform-origin:0 0;animation:shoot-preview 9s linear infinite}.shoot-modal small{display:block;color:#74877b;margin:-8px 0 24px}.shoot-result-score{font-size:76px;color:#5d947a;font-weight:700;line-height:1.1;margin:24px 0 12px}.shoot-result-score span{display:block;font-size:15px;font-weight:500}.shoot-miss{animation:shoot-shake .25s ease-out}@keyframes shoot-preview{to{transform:rotate(360deg)}}@keyframes shoot-shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}@media(max-width:650px){.shoot-game{padding:14px 16px max(30px,env(safe-area-inset-bottom))}.shoot-content{min-height:calc(100dvh - 44px);gap:16px}.shoot-header h1{font-size:19px}.shoot-header .icon-button{width:44px;height:44px}.shoot-main{gap:16px}.shoot-stats{padding-inline:10px;box-sizing:border-box;font-size:12px}.shoot-scene{width:min(100%,52dvh)}.shoot-score{font-size:70px}.shoot-caption{font-size:13px}.shoot-footer{padding-bottom:10px}}@media(max-height:520px)and (orientation:landscape){.shoot-content{display:grid;grid-template-columns:130px 1fr 60px;gap:20px}.shoot-header{flex-direction:column;justify-content:space-around}.shoot-header h1{position:static;transform:none;white-space:normal;text-align:center;font-size:20px}.shoot-header .top-actions{flex-direction:column}.shoot-main{gap:3px}.shoot-score{font-size:32px;margin:0}.shoot-score span{display:none}.shoot-scene{width:65dvh}.shoot-caption{font-size:11px;margin:0}.shoot-footer{flex-direction:column}.shoot-footer .tool-divider{width:24px;height:1px}}@media(prefers-reduced-motion:reduce){.shoot-demo svg>g,.shoot-miss{animation:none}.shoot-particles{display:none}}.card-sort-stage{width:min(720px,94vw);margin:auto;flex:1;display:flex;flex-direction:column;justify-content:center;padding:25px 18px}.card-sort-status{display:flex;align-items:center;justify-content:space-between;color:#688277;margin-bottom:35px}.card-sort-table{position:relative;display:grid;grid-template-columns:repeat(var(--columns),minmax(0,125px));justify-content:center;gap:80px 36px;padding:50px 25px 40px;border-radius:36px;background:radial-gradient(ellipse at 45% 10%,#fff9eb,#eee6d4);box-shadow:inset 0 2px 2px #fff,0 18px 40px #425e4d0a;isolation:isolate}.card-sort-stack{position:relative;height:150px;padding:0;border:0;background:none;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;overflow:visible;outline-offset:14px}.card-sort-stack.chosen{z-index:5}.card-sort-pad{position:absolute;top:33px;right:-8px;bottom:7px;left:-8px;border-radius:17px;background:linear-gradient(145deg,#fffefb,#f9f5e9);box-shadow:0 6px #d9d3c2,0 10px 15px #66593818,inset 0 1px 2px #fff}.chosen .card-sort-pad{outline:3px solid #92b8a5}.sort-card{position:absolute;left:0;width:100%;height:96px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:linear-gradient(125deg,#ffffff38,transparent 45%),var(--card-color);border:1px solid #ffffff70;box-shadow:inset 0 -5px 2px #00000013,inset 1px 2px 2px #ffffff60,0 4px 2px #38225a33;pointer-events:none;color:#ffffffad;font-size:23px}.sort-card:before{content:"";position:absolute;top:8px;right:9px;width:15px;height:25px;border-right:3px solid #ffffffb0;border-radius:50%;transform:rotate(-30deg)}.stack-count{position:absolute;top:162px;left:0;right:0;color:#7c8173;font-size:13px;font-weight:650}.flying-card{z-index:120;animation:sort-flight .5s both cubic-bezier(.3,.1,.3,1)}@keyframes sort-flight{0%{transform:translate(0) rotate(0)}45%{transform:translate(calc(var(--dx)*.5),calc(var(--dy)*.5 - 100px)) rotate(-15deg) scale(1.06)}to{transform:translate(var(--dx),var(--dy)) rotate(0)}}.card-sort-hint{text-align:center;color:#688277;font-size:15px;margin:30px 0 0;min-height:24px}.sort-burst{position:absolute;left:50%;top:60%;pointer-events:none}.sort-burst i{position:absolute;width:8px;height:13px;border-radius:3px;animation:sort-confetti .9s both;transform:rotate(var(--angle))}@keyframes sort-confetti{0%{opacity:1;transform:rotate(var(--angle)) translateY(0)}to{opacity:0;transform:rotate(var(--angle)) translateY(-100px) rotate(100deg)}}.sort-demo{height:140px;position:relative;width:240px;margin:25px auto}.sort-demo span,.sort-demo i{position:absolute;bottom:5px;width:85px;height:95px;background:#9470df;border-radius:13px;box-shadow:0 6px #7958bd,0 12px #9470df,0 18px #7958bd}.sort-demo span:first-child{left:10px}.sort-demo span:nth-child(2){right:10px}.sort-demo i{left:10px;animation:sort-demo 2s infinite;background:linear-gradient(135deg,#c0a0ff,#9470df);box-shadow:0 4px #7958bd}@keyframes sort-demo{0%,15%{transform:translate(0)}55%{transform:translate(65px,-40px) rotate(-10deg)}80%,to{transform:translate(135px,-15px)}}@media(max-width:550px){.card-sort-stage{padding:20px 12px}.card-sort-table{gap:65px 23px;padding:45px 20px 35px}.card-sort-game .connect-title{font-size:18px}.card-sort-status{margin-bottom:20px}.sort-card{height:96px}.card-sort-hint{font-size:13px}}@media(prefers-reduced-motion:reduce){.flying-card{animation-duration:1ms}.sort-demo i{animation:none;transform:translate(135px,-15px)}.sort-burst i{animation-duration:1ms}}.game.card-sort-game{display:flex;flex-direction:column;height:auto;min-height:100dvh;overflow:visible;gap:0}.card-sort-game .lab-footer{position:static;flex-shrink:0;padding:20px 0 max(28px,env(safe-area-inset-bottom))}.card-sort-game .card-sort-stage{flex:1}.card-sort-game .card-sort-table{row-gap:70px;padding-top:45px;padding-bottom:35px}.card-sort-game .card-sort-status{margin-bottom:18px}.card-sort-stack .sort-card{pointer-events:auto;touch-action:none}.card-sort-stack .sort-card span{pointer-events:none}
