.game-loading{position:absolute;z-index:15;inset:0;display:grid;place-content:center;gap:1rem;padding:2rem;color:#fff;text-align:center;background:radial-gradient(circle at 50% 30%,#5285b9,#18365e 60%,#10233f)}.game-loading strong{font-size:1.15rem}.game-loading small{color:#dcecff}.game-loading .loading-bar i{animation-duration:4s}.mobile-controls{display:none}@media(hover:none)and (pointer:coarse),(max-width:900px){.mobile-controls{position:fixed;z-index:7;inset:0;display:block;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.virtual-joystick{position:absolute;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));width:clamp(96px,21vmin,128px);height:clamp(96px,21vmin,128px);border-radius:50%;pointer-events:auto;touch-action:none}.joystick-ring{position:absolute;inset:0;border:2px solid #ffffff5c;border-radius:50%;background:#102b506b;box-shadow:inset 0 0 24px #07172b4d,0 5px 18px #07172b38;backdrop-filter:blur(3px)}.joystick-thumb{position:absolute;top:50%;left:50%;width:48px;height:48px;margin:-24px 0 0 -24px;border:2px solid #ffffffb8;border-radius:50%;background:#f6fbffd9;box-shadow:0 5px 14px #07172b66;will-change:transform;transition:transform 70ms ease-out}.virtual-joystick:active .joystick-thumb{transition:none}.camera-touch-zone{position:absolute;z-index:1;top:max(72px,calc(env(safe-area-inset-top) + 62px));right:0;bottom:max(106px,calc(env(safe-area-inset-bottom) + 94px));left:45%;pointer-events:auto;touch-action:none}.mobile-actions{position:absolute;z-index:2;right:max(16px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,auto);align-items:end;gap:clamp(8px,1.8vw,14px);pointer-events:none}.mobile-action{display:grid;place-content:center;width:clamp(54px,12vmin,64px);height:clamp(54px,12vmin,64px);padding:0;gap:1px;border:1px solid #ffffff8c;border-radius:50%;color:#fff;background:#102b50b8;box-shadow:0 4px 12px #07172b59;opacity:.88;pointer-events:auto;touch-action:none;backdrop-filter:blur(4px)}.mobile-action b{font-size:clamp(1rem,4.2vmin,1.35rem);line-height:1}.mobile-action small{font-size:clamp(.46rem,1.7vmin,.58rem);letter-spacing:.04em}.mobile-action.interact{opacity:.58}.mobile-action.interact.available{border-color:#ffd75f;opacity:.98}.mobile-action.primary-action{width:clamp(68px,15vmin,78px);height:clamp(68px,15vmin,78px);color:#17335f;background:#ffd04cdb;border-color:#fff4ba}.mobile-action:hover{filter:none;transform:none}.mobile-action:active{filter:brightness(1.08);transform:scale(.94);box-shadow:0 2px 8px #07172b70}.hud,.prompt,.toasts,.minigame-fab{z-index:10}.game-shell .minigame-fab{bottom:max(102px,calc(env(safe-area-inset-bottom) + 92px))}.touch-controls{display:none!important}}@media(orientation:portrait)and (pointer:coarse){.game-shell .rotate-hint{display:none!important}.camera-touch-zone{left:42%;bottom:124px}.mobile-actions{grid-template-columns:repeat(2,auto)}.mobile-action.interact{grid-column:1 / -1;justify-self:end}}@media(max-height:390px)and (orientation:landscape){.virtual-joystick{width:94px;height:94px}.joystick-thumb{width:42px;height:42px;margin:-21px 0 0 -21px}.mobile-action{width:52px;height:52px}.mobile-action.primary-action{width:64px;height:64px}}.activity-hud{position:absolute;z-index:12;top:max(84px,calc(env(safe-area-inset-top) + 74px));left:50%;width:min(530px,calc(100% - 260px));padding:12px 14px;border:1px solid #ffffff3d;border-radius:18px;color:#fff;background:linear-gradient(135deg,#102d50eb,#173d62dc);box-shadow:0 15px 38px #07172b7a;transform:translate(-50%);backdrop-filter:blur(10px);pointer-events:none}.activity-hud header{display:flex;align-items:center;justify-content:space-between}.activity-hud header div{display:flex;flex-direction:column}.activity-hud header small,.activity-stats small{font-size:.54rem;font-weight:1000;letter-spacing:.13em;color:#7ed9ef}.activity-hud header b{font-family:"Baloo 2",system-ui;font-size:1.1rem}.activity-hud header button{width:30px;height:30px;padding:0;border-radius:50%;box-shadow:none;pointer-events:auto}.activity-hud>p{margin:6px 0 9px;color:#cce0ee;font-size:.72rem}.activity-stats{display:flex;gap:20px}.activity-stats span{display:flex;flex-direction:column}.activity-stats b{font-size:.86rem;color:#ffdc66}.activity-progress{height:5px;margin-top:9px;overflow:hidden;border-radius:20px;background:#ffffff21}.activity-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#55d7a0,#ffdb58);transition:width .3s}.activity-hud>em{display:block;margin-top:6px;color:#ffe681;font-size:.7rem;font-style:normal;font-weight:900}.activity-hud.success{border-color:#ffe16880;background:linear-gradient(135deg,#173e50f2,#235640ed)}.activity-hud.failed{border-color:#ff967a80}.activity-result{display:flex;align-items:center;gap:10px}.activity-result>span{font-size:2rem}.activity-result>div{display:flex;flex:1;flex-direction:column}.activity-result>div b{font-size:.9rem}.activity-result>div small{color:#cadde9;font-size:.7rem}.activity-result>button{padding:.48rem .7rem;border-radius:10px;font-size:.62rem;box-shadow:0 3px #a6b2bb;pointer-events:auto}.minigame-library{width:min(94vw,720px)}.library-intro{margin:0;color:#5d7083;font-size:.86rem}.library-label{margin-top:.6rem!important;color:#357497;font-size:.65rem!important;letter-spacing:.15em}.world-game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.world-game-card{display:flex;min-width:0;min-height:155px;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;border:1px solid #cbdfe7;background:linear-gradient(145deg,#fff,#e7f3f4);box-shadow:0 5px #b8ccd4;text-align:left}.world-game-card>span{font-size:2rem}.world-game-card div{display:flex;flex-direction:column}.world-game-card b{font-size:.8rem}.world-game-card small{margin-top:4px;color:#647789;font-size:.68rem;line-height:1.3}.world-game-card em{margin-top:auto;color:#16789e;font-size:.62rem;font-style:normal;font-weight:1000;letter-spacing:.08em}.compact-games{grid-template-columns:repeat(4,1fr)}.compact-games .game-card{min-height:82px;padding:.55rem;font-size:.7rem}.compact-games .game-card span{font-size:1.55rem}.result-card b{color:#c67a0a;font-size:1.5rem}.aim-meter{position:relative;width:min(420px,90%);height:28px;margin:18px auto;border:4px solid #d7e2e8;border-radius:20px;background:linear-gradient(90deg,#e76c5c,#ffd964 40%,#6fd39d,#ffd964 70%,#e76c5c);box-shadow:inset 0 2px 5px #52677955}.aim-meter i{position:absolute;top:-4px;width:42px;height:28px;border:3px solid #fff1a8;border-radius:10px;background:#ffd84c35;transform:translate(-50%)}.aim-meter b{position:absolute;top:-8px;width:7px;height:36px;border-radius:10px;background:#17345a;box-shadow:0 0 0 3px #fff;transform:translate(-50%)}.organize-game .toy-row{min-height:68px;align-items:center}.organize-game .toy-row button.selected{background:#ffe172;transform:translateY(-5px);box-shadow:0 8px #b87d19}.sort-bins{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(440px,100%);margin:20px auto}.sort-bins button:first-child{background:#dceeff}.sort-bins button:last-child{background:#ffe3d0}.racing-launch-card{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:13px;width:100%;padding:13px 15px;border:1px solid #63cee7;border-radius:18px;color:#fff;background:linear-gradient(110deg,#173b63,#275c7c);box-shadow:0 5px #0b2945;text-align:left}.racing-launch-card>span{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:#ffffff17;font-size:2rem}.racing-launch-card div{display:flex;flex-direction:column}.racing-launch-card small{color:#7edcf0;font-size:.52rem;letter-spacing:.15em}.racing-launch-card b{margin:2px 0;color:#ffdc59;font-family:"Baloo 2";font-size:1.35rem}.racing-launch-card em{font-size:.65rem;font-style:normal;color:#c7dae6}.racing-launch-card>i{font-size:.68rem;font-style:normal;letter-spacing:.08em}@media(max-width:760px){.activity-hud{top:max(61px,calc(env(safe-area-inset-top) + 54px));width:min(440px,calc(100% - 190px));padding:8px 10px;border-radius:13px}.activity-hud header b{font-size:.88rem}.activity-hud>p{overflow:hidden;margin:3px 0 5px;font-size:.58rem;white-space:nowrap;text-overflow:ellipsis}.activity-stats{gap:11px}.activity-stats small{font-size:.43rem}.activity-stats b{font-size:.72rem}.activity-progress{margin-top:5px}.activity-hud>em{font-size:.55rem}.activity-result>span{font-size:1.45rem}.activity-result>button{padding:.38rem .5rem;font-size:.5rem}.world-game-grid{grid-template-columns:repeat(3,1fr)}.world-game-card{min-height:120px;padding:9px}.world-game-card>span{font-size:1.45rem}.world-game-card small{font-size:.57rem}.compact-games .game-card{min-height:68px}.minigame-library{max-height:96vh;padding:1rem 1.2rem}}@media(max-width:620px){.activity-hud{width:min(340px,calc(100% - 150px))}.activity-hud>p{display:none}.activity-stats span:last-child{display:none}.world-game-card small{display:none}}@media(orientation:portrait){.activity-hud{width:calc(100% - 28px);top:88px}.world-game-grid{grid-template-columns:1fr}.world-game-card{min-height:92px}.compact-games{grid-template-columns:repeat(2,1fr)}}.games-hub{position:relative;width:100%;height:100%;overflow:auto;padding:max(24px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left));color:#fff;background:linear-gradient(155deg,#13375e,#0e2441 68%);isolation:isolate}.games-sky{position:absolute;z-index:-1;inset:0;overflow:hidden;background:radial-gradient(circle at 18% 25%,#3f86b8aa,transparent 35%),radial-gradient(circle at 90% 85%,#7358a75e,transparent 38%)}.games-sky:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-35%;height:62%;border-radius:50% 50% 0 0;background:linear-gradient(#5ba75b,#337649);box-shadow:0 -15px 50px #07182f66}.games-sky i{position:absolute;width:8px;height:8px;border-radius:50%;background:#ffdf62;box-shadow:0 0 17px #ffdf62}.games-sky i:nth-child(1){left:12%;top:42%}.games-sky i:nth-child(2){right:18%;top:16%}.games-sky i:nth-child(3){right:8%;top:51%}.games-hub>header{display:flex;align-items:center;justify-content:space-between;width:min(1180px,100%);margin:0 auto 24px}.games-hub>header button{padding:.55rem .8rem;border:1px solid #ffffff25;color:#cde6f5;background:#ffffff0d;box-shadow:none;font-size:.68rem}.games-hub>header>div{text-align:center}.games-hub>header small{font-size:.58rem;font-weight:1000;letter-spacing:.19em;color:#8edbf0}.games-hub>header h1{margin:.1rem 0;font-family:"Baloo 2",system-ui;font-size:3rem;line-height:.9;color:#ffda52}.games-hub>header p{margin:.2rem 0;color:#bcd1df;font-size:.78rem}.games-hub>header>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff21;border-radius:16px;color:#ffdd59;background:#ffffff0b;font-size:1.5rem}.games-showcase{display:grid;grid-template-columns:minmax(520px,1.4fr) minmax(300px,.6fr);gap:18px;width:min(1180px,100%);margin:auto}.racing-game-card{display:grid;grid-template-columns:1.15fr .85fr;min-height:510px;overflow:hidden;border:1px solid #ffffff2e;border-radius:30px;background:#173b61;box-shadow:0 28px 70px #0616298c}.racing-card-art{position:relative;min-height:380px;overflow:hidden;background:linear-gradient(#66bbe0 0 47%,#63a75e 47%)}.racing-card-art:before{content:"";position:absolute;left:-30%;right:-30%;bottom:-34%;height:78%;border:55px solid #384957;border-radius:50%;box-shadow:0 0 0 12px #f1d067,0 20px 40px #12324f70;transform:rotate(-8deg)}.mini-track i{position:absolute;z-index:1;width:18px;height:42px;border-radius:4px;background:repeating-linear-gradient(#fff 0 50%,#ef5b55 50%)}.mini-track i:nth-child(1){left:13%;bottom:27%}.mini-track i:nth-child(2){right:7%;bottom:43%}.mini-track i:nth-child(3){right:20%;bottom:12%}.mini-kart{position:absolute;z-index:3;left:43%;bottom:19%;width:104px;height:74px;filter:drop-shadow(0 15px 10px #12243e78);transform:rotate(-12deg)}.mini-kart b{position:absolute;left:8px;top:20px;width:88px;height:43px;border-radius:20px 20px 10px 10px;background:#f05b45;box-shadow:0 7px #a7332d}.mini-kart span{position:absolute;z-index:2;left:34px;top:0;width:38px;height:35px;border-radius:11px 11px 4px 4px;background:#17335f}.mini-kart em,.mini-kart:after{content:"";position:absolute;z-index:3;bottom:0;width:28px;height:22px;border-radius:8px;background:#111827}.mini-kart em{left:0}.mini-kart:after{right:0}.card-speed-lines i{position:absolute;z-index:2;width:70px;height:5px;border-radius:10px;background:#d4f7ff;transform:rotate(-12deg)}.card-speed-lines i:nth-child(1){left:9%;bottom:30%}.card-speed-lines i:nth-child(2){left:15%;bottom:23%;width:46px}.card-speed-lines i:nth-child(3){left:23%;bottom:37%;width:35px}.racing-card-art>strong{position:absolute;right:11%;top:17%;color:#ffdc4f;font-size:3rem;text-shadow:0 5px 0 #a56e15;animation:home-float 3s ease-in-out infinite}.game-card-copy{display:flex;flex-direction:column;justify-content:center;padding:30px;background:linear-gradient(150deg,#183f67,#102944)}.new-game{align-self:flex-start;padding:.3rem .55rem;border-radius:20px;color:#153454;background:#ffda50;font-size:.55rem;font-weight:1000;letter-spacing:.12em}.game-card-copy>small{margin-top:18px;color:#78d7ee;font-size:.58rem;font-weight:1000;letter-spacing:.16em}.game-card-copy h2{margin:.25rem 0;font-family:"Baloo 2",system-ui;font-size:clamp(2.5rem,4vw,4rem);line-height:.8}.game-card-copy h2 b{display:block;color:#ffd449}.game-card-copy>p{color:#c4d8e5;font-size:.8rem;line-height:1.5}.game-record{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 18px}.game-record span{display:flex;flex-direction:column;padding:9px;border:1px solid #ffffff1c;border-radius:12px;background:#ffffff0a}.game-record small{color:#83d9ed;font-size:.48rem;font-weight:1000}.game-record b{margin-top:3px;color:#ffdc65;font-size:.85rem}.game-card-copy>button{display:flex;justify-content:space-between;padding:.8rem 1rem;color:#17335f;background:linear-gradient(#ffe56d,#ffbd36);box-shadow:0 5px #a86e1d;font-size:.82rem}.game-card-copy>button i{font-style:normal}.other-games{display:grid;grid-template-rows:1fr 1fr;gap:18px}.other-games>button{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:15px;padding:22px;border:1px solid #ffffff25;color:#fff;background:linear-gradient(145deg,#ffffff18,#ffffff0a);box-shadow:0 8px #081b32;text-align:left}.other-games>button>span{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:#ffffff13;font-size:2rem}.other-games div{display:flex;flex-direction:column}.other-games small{color:#7fd8ee;font-size:.52rem;letter-spacing:.14em}.other-games b{margin:.3rem 0;font-family:"Baloo 2";font-size:1.3rem}.other-games p{margin:0;color:#b9cfdd;font-size:.7rem;line-height:1.4}.other-games>button>i{grid-column:2;margin-top:8px;color:#ffdc64;font-size:.58rem;font-style:normal;letter-spacing:.1em}@media(max-width:860px){.games-showcase{grid-template-columns:1fr}.racing-game-card{min-height:390px}.other-games{grid-template-columns:1fr 1fr;grid-template-rows:auto}.games-hub>header{margin-bottom:12px}}@media(max-height:520px)and (orientation:landscape){.games-hub{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.games-hub>header{position:absolute;z-index:4;left:max(14px,env(safe-area-inset-left));top:max(10px,env(safe-area-inset-top));width:auto;margin:0}.games-hub>header>div,.games-hub>header>span{display:none}.games-showcase{grid-template-columns:1.4fr .6fr;gap:10px;height:100%;padding-left:72px}.racing-game-card{grid-template-columns:1.2fr .8fr;min-height:0}.game-card-copy{padding:16px}.game-card-copy>small{margin-top:8px}.game-card-copy h2{font-size:2.5rem}.game-card-copy>p{margin:.45rem 0;font-size:.65rem}.game-record{margin:4px 0 8px}.other-games{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:10px}.other-games>button{grid-template-columns:42px 1fr;padding:10px;gap:8px}.other-games>button>span{width:42px;height:42px;border-radius:13px;font-size:1.35rem}.other-games b{font-size:.95rem}.other-games p{display:none}.other-games>button>i{margin-top:2px}.racing-card-art{min-height:0}}@media(max-width:620px)and (orientation:portrait){.racing-game-card{grid-template-columns:1fr}.racing-card-art{min-height:280px}.other-games{grid-template-columns:1fr}.games-hub>header>span{display:none}.games-hub>header h1{font-size:2rem}}.adventure-home{position:relative;width:100%;height:100%;overflow:auto;color:#f8fbff;background:#122d51;isolation:isolate}.adventure-backdrop{position:absolute;z-index:-2;inset:0;overflow:hidden;background:linear-gradient(180deg,#4c8db9 0 57%,#bfae91 57% 100%)}.adventure-backdrop:before{content:"";position:absolute;inset:57% -8% -25%;background:repeating-linear-gradient(92deg,#d8c9ad 0 10%,#c6b494 10.4% 10.8%);transform:perspective(550px) rotateX(56deg);transform-origin:top;box-shadow:inset 0 18px 40px #314c5a35}.adventure-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a22426b 0,#10284919 45%,#0d264a73),radial-gradient(circle at 28% 25%,#c5efff5c,transparent 33%);pointer-events:none}.room-sun{position:absolute;width:34vw;height:34vw;max-width:470px;max-height:470px;left:8%;top:-18%;border-radius:50%;background:#d8f8ff55;box-shadow:0 0 100px #c4f1ff88}.room-window{position:absolute;left:5%;top:12%;width:22%;height:35%;border:clamp(8px,1.3vw,18px) solid #f6e6c9;border-radius:8px;background:linear-gradient(160deg,#bcecff,#75b1d4);box-shadow:0 24px 50px #0a27465e,inset 0 0 0 3px #385d7866}.room-window:before,.room-window:after{content:"";position:absolute;background:#f6e6c9}.room-window:before{left:48%;top:0;width:5%;height:100%}.room-window:after{left:0;top:48%;width:100%;height:5%}.room-bed{position:absolute;left:-4%;bottom:1%;width:43%;height:28%;border:clamp(10px,1.6vw,22px) solid #805d44;border-radius:22px 50px 12px 8px;background:linear-gradient(150deg,#b8d691,#7fb170);box-shadow:18px 25px 55px #14283e7d;transform:skewY(1deg)}.room-bed:before{content:"";position:absolute;left:5%;top:-24%;width:37%;height:40%;border-radius:45% 45% 16px 16px;background:#fff3da;box-shadow:8px 7px #d6cfb9}.room-shelf{position:absolute;right:3%;top:5%;width:19%;height:49%;border:clamp(8px,1vw,15px) solid #75563f;border-radius:12px;background:repeating-linear-gradient(180deg,#bd8b5f 0 4%,#8b6349 4.4% 6%,#c89a6d 6.4% 31%);box-shadow:-14px 22px 45px #1028446b}.room-rug{position:absolute;left:28%;bottom:3%;width:43%;height:23%;border-radius:50%;background:radial-gradient(ellipse,#62a773 0 54%,#4b875c 55% 65%,#315f43 66%);transform:perspective(500px) rotateX(62deg);filter:drop-shadow(0 15px 15px #24374c70)}.adventure-star{position:absolute;z-index:1;color:#ffd958;text-shadow:0 3px 0 #a56d17,0 0 22px #fff1a7;animation:home-float 3.4s ease-in-out infinite}.star-one{left:31%;top:16%;font-size:2.1rem}.star-two{left:43%;top:42%;font-size:1.25rem;animation-delay:-1.2s}.star-three{right:25%;top:13%;font-size:1.6rem;animation-delay:-2.1s}.adventure-path{position:absolute;left:32%;bottom:20%;display:flex;gap:4.5vw;transform:rotate(-13deg)}.adventure-path b{width:12px;height:12px;border-radius:50%;background:#ffe264;box-shadow:0 0 18px #ffdf5d;animation:path-pulse 1.6s ease-in-out infinite}.adventure-path b:nth-child(2){animation-delay:.25s}.adventure-path b:nth-child(3){animation-delay:.5s}.adventure-path b:nth-child(4){animation-delay:.75s}.home-layout{position:relative;display:grid;grid-template-columns:minmax(370px,1.15fr) minmax(420px,.85fr);gap:clamp(24px,5vw,80px);align-items:center;width:min(1440px,100%);min-height:100%;margin:auto;padding:max(24px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))}.home-hero{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(18px,3vh,34px);max-width:680px;text-shadow:0 3px 18px #071c37a8}.home-brand{display:flex;align-items:center;gap:15px}.brand-orbit{display:grid;place-items:center;width:64px;height:64px;border:2px solid #ffdc63;border-radius:22px;color:#ffe06a;font-size:2rem;background:#173c65d9;box-shadow:0 14px 35px #07192e75,0 0 0 7px #ffffff10;transform:rotate(-7deg)}.home-brand div{display:flex;flex-direction:column}.home-brand small,.home-greeting .eyebrow,.nav-heading small{font-size:.7rem;font-weight:1000;letter-spacing:.18em;color:#bcecff}.home-brand h1{margin:.08rem 0 0;font-family:"Baloo 2",system-ui;font-size:clamp(2.9rem,5.4vw,5.4rem);line-height:.77;letter-spacing:-.045em;color:#fff;-webkit-text-stroke:1px #fff}.home-brand h1 em{font-style:normal;color:#ffce45;-webkit-text-stroke:1px #fff0a4}.home-brand p{margin:.7rem 0 0;font-size:.62rem;font-weight:1000;letter-spacing:.16em;color:#d7edfa}.home-greeting h2{margin:.65rem 0 1.25rem;font-family:"Baloo 2",system-ui;font-size:clamp(1.75rem,3vw,3.05rem);line-height:1.03}.home-greeting h2 strong{color:#ffdf70}.continue-adventure{display:flex;align-items:center;gap:14px;width:min(100%,420px);padding:1rem 1.2rem;border:1px solid #fff2a7;border-radius:20px;color:#183253;background:linear-gradient(135deg,#ffe676,#ffbd36);box-shadow:0 8px #9f671c,0 18px 40px #08182d75;text-align:left}.continue-adventure>span{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#fff7cc;color:#c97612}.continue-adventure div{display:flex;flex:1;flex-direction:column}.continue-adventure b{font-size:1rem;letter-spacing:.035em}.continue-adventure small{margin-top:2px;font-size:.72rem;color:#624a2c}.continue-adventure>i{font-style:normal;font-size:1.5rem}.continue-adventure:hover{transform:translateY(-3px);box-shadow:0 11px #9f671c,0 22px 44px #08182d8c}.home-progress{width:min(100%,440px);padding:14px 16px;border:1px solid #ffffff30;border-radius:19px;background:#0d2947bd;box-shadow:0 14px 40px #06172d60;backdrop-filter:blur(9px)}.progress-summary{display:flex;gap:24px}.progress-summary span{display:grid;grid-template-columns:auto auto;column-gap:6px;align-items:center;font-size:1.1rem}.progress-summary b{font-size:1.1rem}.progress-summary small{grid-column:2;font-size:.6rem;color:#bad4e8}.progress-track{height:6px;margin:10px 0;background:#ffffff20;border-radius:20px;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#56dba5,#ffdc5d);box-shadow:0 0 12px #ffdc5d}.home-progress p{display:flex;justify-content:space-between;gap:14px;margin:0;font-size:.72rem;color:#d8eaf5}.home-progress p b{font-size:.61rem;letter-spacing:.13em;color:#80d8ef}.home-navigation{padding:clamp(18px,2.8vw,34px);border:1px solid #ffffff2b;border-radius:30px;background:linear-gradient(145deg,#102d50e8,#102541dc);box-shadow:0 32px 75px #07182e9c;backdrop-filter:blur(14px)}.nav-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:17px}.nav-heading h2{margin:.2rem 0 0;font-family:"Baloo 2",system-ui;font-size:1.7rem}.nav-heading>span{display:grid;place-items:center;width:51px;height:51px;border:1px solid #ffffff2b;border-radius:50%;color:#ffdc64;background:#ffffff0c;font-weight:1000}.adventure-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.adventure-grid button{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;min-height:74px;padding:10px 12px;border:1px solid #ffffff19;border-radius:17px;color:#f3f8fc;background:#ffffff0c;box-shadow:none;text-align:left}.adventure-grid button>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#ffffff12;font-size:1.15rem}.adventure-grid button div{display:flex;min-width:0;flex-direction:column}.adventure-grid button b{font-size:.75rem;letter-spacing:.045em}.adventure-grid button small{overflow:hidden;margin-top:3px;color:#aac3d6;font-size:.62rem;white-space:nowrap;text-overflow:ellipsis}.adventure-grid button>i{font-style:normal;color:#72cce5;opacity:0;transform:translate(-5px);transition:.2s}.adventure-grid button:hover{border-color:#7ed8ef80;background:#ffffff18;transform:translateY(-2px)}.adventure-grid button:hover>i{opacity:1;transform:none}.adventure-grid button.featured{grid-column:1/-1;border-color:#ffdb6573;background:linear-gradient(100deg,#ffcf4542,#ffffff0d)}.adventure-grid button.featured>span{color:#ffe470;background:#ffc83e2e}.home-credits{display:block;margin:14px auto 0;padding:.3rem;color:#8faac0;background:none;box-shadow:none;font-size:.66rem}.home-credits:hover{transform:none;color:#fff}@keyframes home-float{50%{transform:translateY(-10px) rotate(8deg)}}@keyframes path-pulse{50%{opacity:.35;transform:scale(.7)}}@media(max-width:960px){.home-layout{grid-template-columns:minmax(300px,.9fr) minmax(390px,1.1fr);gap:18px;padding:18px}.home-navigation{padding:20px}.home-brand h1{font-size:3.7rem}.home-greeting h2{font-size:2rem}.home-hero{gap:17px}}@media(max-height:700px)and (orientation:landscape){.home-layout{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.home-hero{gap:10px}.brand-orbit{width:49px;height:49px;border-radius:16px}.home-brand h1{font-size:clamp(2.5rem,6.8vh,3.7rem)}.home-brand p{margin-top:.4rem}.home-greeting h2{margin:.32rem 0 .65rem;font-size:clamp(1.45rem,4.4vh,2rem)}.continue-adventure{padding:.7rem .85rem}.continue-adventure>span{width:36px;height:36px}.home-progress{padding:9px 12px}.progress-track{margin:6px 0}.home-navigation{padding:14px 16px;border-radius:23px}.nav-heading{margin-bottom:8px}.nav-heading h2{font-size:1.35rem}.nav-heading>span{width:40px;height:40px}.adventure-grid{gap:7px}.adventure-grid button{min-height:56px;padding:7px 9px}.adventure-grid button>span{width:32px;height:32px}.home-credits{margin-top:7px}}@media(max-width:760px)and (orientation:landscape){.home-layout{grid-template-columns:minmax(245px,.85fr) minmax(350px,1.15fr);gap:10px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.home-brand{gap:9px}.brand-orbit{display:none}.home-brand small,.home-greeting .eyebrow,.nav-heading small{font-size:.55rem}.home-brand h1{font-size:2.55rem}.home-brand p{font-size:.49rem}.home-greeting h2{font-size:1.4rem}.continue-adventure{border-radius:15px}.continue-adventure b{font-size:.76rem}.continue-adventure small{font-size:.58rem}.home-progress{border-radius:14px}.progress-summary small,.home-progress p{font-size:.52rem}.home-navigation{border-radius:19px}.nav-heading h2{font-size:1.16rem}.adventure-grid{grid-template-columns:1fr 1fr}.adventure-grid button{grid-template-columns:29px 1fr;min-height:48px;border-radius:12px}.adventure-grid button>span{width:28px;height:28px;font-size:.9rem}.adventure-grid button b{font-size:.62rem}.adventure-grid button small{font-size:.5rem}.adventure-grid button>i{display:none}.home-credits{font-size:.52rem}}@media(max-width:620px)and (orientation:landscape){.home-layout{grid-template-columns:42% 58%;gap:7px}.adventure-grid button small,.home-progress p{display:none}.home-progress{padding:7px 9px}.nav-heading small{display:none}}@media(orientation:portrait){.adventure-home{overflow-y:auto}.home-layout{grid-template-columns:1fr;align-content:start;gap:22px;padding:22px 16px 30px}.home-hero{width:100%;margin:auto}.home-navigation{width:100%}.home-brand h1{font-size:clamp(3rem,14vw,4.8rem)}.home-greeting h2{font-size:clamp(1.7rem,7vw,2.5rem)}.room-window{width:42%;height:28%}.room-bed{width:65%;opacity:.75}.adventure-grid button{min-height:66px}}@media(prefers-reduced-motion:reduce){.adventure-star,.adventure-path b{animation:none}}:root{font-family:Nunito,system-ui,sans-serif;color:#17335f;background:#10233f;font-synthesis:none;--blue:#2769a6;--navy:#17335f;--yellow:#ffc43d;--cream:#fff8e9;--coral:#ee704f}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden}button,input,select{font:inherit}button{border:0;border-radius:16px;padding:.8rem 1.1rem;font-weight:900;color:var(--navy);background:#fff;box-shadow:0 5px #cbd5df;cursor:pointer;transition:transform .15s,filter .15s}button:hover{filter:brightness(1.04);transform:translateY(-2px)}button:active{transform:translateY(3px);box-shadow:0 2px #cbd5df}button:disabled{opacity:.55;cursor:default}.primary{color:#17335f;background:linear-gradient(#ffd75f,#ffb92e);box-shadow:0 5px #c47c15}.splash,.auth-screen,.fatal{height:100%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at 50% 25%,#5285b9,#18365e 55%,#10233f);color:#fff}.logo{position:relative;display:inline-flex;flex-direction:column;align-items:center;font-family:"Baloo 2",system-ui;line-height:.73;filter:drop-shadow(0 5px 0 #112c52);transform:rotate(-1deg);padding:1rem}.logo small{font-size:clamp(.75rem,2vw,1.1rem);letter-spacing:.08em;color:#fff}.logo strong{font-size:clamp(3rem,8vw,5.4rem);color:#ffad32;-webkit-text-stroke:3px #fff3d2}.logo b{font-size:clamp(2.1rem,6vw,4rem);color:#65cced;-webkit-text-stroke:2px white}.logo em{position:absolute;color:#ffd14a;font-size:2rem;left:5%;bottom:8%}.loading-bar{width:min(75vw,360px);height:13px;border-radius:20px;background:#ffffff30;overflow:hidden;margin:auto}.loading-bar i{display:block;height:100%;background:var(--yellow);animation:load 1.2s ease-in-out forwards}@keyframes load{0%{width:5%}to{width:100%}}.auth-card{width:min(92vw,460px);padding:1.6rem 2.2rem 2rem;border-radius:32px;background:#ffffff12;border:1px solid #ffffff3b;backdrop-filter:blur(18px);box-shadow:0 30px 80px #07162b99}.tagline{color:#dcecff}.auth-card form{display:flex;flex-direction:column;align-items:center;gap:1rem}.pin-label{font-size:.78rem;letter-spacing:.2em;font-weight:900}.pin-dots{display:flex;gap:14px}.pin-dots span{width:22px;height:22px;background:#fff2;border:2px solid #fff;border-radius:8px}.pin-dots span.filled{background:var(--yellow);border-color:var(--yellow);box-shadow:0 0 18px #ffce58}.pin-input{position:absolute;opacity:.01;width:180px;height:52px}.remember{font-size:.9rem;display:flex;gap:.5rem;align-items:center}.error{color:#ffd0c8;margin:0}.menu-screen{width:100%;height:100%;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);background:linear-gradient(135deg,#71b4d4,#305f91);color:#fff}.menu-scene{position:relative;overflow:hidden;background:linear-gradient(#65a8cf 0 45%,#eadfc9 45%);perspective:700px}.menu-scene:after{content:"";position:absolute;inset:45% 0 0;background:repeating-linear-gradient(90deg,#eee9df 0 12%,#d8d1c6 12.5% 13%);transform:rotateX(55deg);transform-origin:top}.giant-bed{position:absolute;z-index:1;width:65%;height:45%;right:-12%;bottom:5%;background:#dce6bd;border:20px solid #b88a5a;border-radius:35px 0 0 20px;box-shadow:-20px 20px 40px #1b345855}.hero-preview{position:absolute;z-index:3;left:28%;bottom:19%;width:42px;height:100px;animation:breathe 2s ease-in-out infinite}.hero-preview .face{position:absolute;display:grid;place-items:center;width:50px;height:48px;background:#d99c75;border-radius:50%;font-style:normal;color:#40211c;font-weight:900;z-index:2}.hero-preview .hair{position:absolute;width:54px;height:26px;background:#2c1714;border-radius:60% 60% 30% 30%;top:-3px;z-index:3}.hero-preview .body{position:absolute;width:36px;height:40px;background:#f3e1bd;top:43px;left:7px;border-radius:13px}.hero-preview .legs{position:absolute;width:34px;height:28px;border:10px solid #3976ad;border-top:0;top:77px;left:8px}.float-star{position:absolute;z-index:4;color:#ffd14a;text-shadow:0 3px #b77819;animation:float 3s ease-in-out infinite}.s1{left:10%;top:20%;font-size:2rem}.s2{left:70%;top:15%;font-size:1.3rem;animation-delay:-1s}.s3{left:40%;top:44%;font-size:1.5rem;animation-delay:-2s}.s4{left:12%;bottom:12%;font-size:1rem}.s5{right:8%;top:38%;font-size:2rem}.menu-card{z-index:5;padding:max(1.2rem,env(safe-area-inset-top)) clamp(1.2rem,4vw,3rem) max(1.2rem,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;background:#17335fe8;backdrop-filter:blur(15px);overflow:auto}.menu-card .logo{align-self:center}.menu-card h1{font-family:"Baloo 2";font-size:1.6rem;line-height:1.1;margin:.5rem 0 1rem}.menu-card h1 span{font-size:1rem;color:#bedcf2}.menu-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.menu-buttons .big{grid-column:1/-1;font-size:1.15rem}.text-button{background:none;color:#bcd5e9;box-shadow:none;font-size:.75rem;margin-top:1rem}.game-shell,.viewport{position:absolute;inset:0}.viewport canvas{display:block;width:100%;height:100%;touch-action:none}.hud{position:absolute;top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));display:flex;gap:.7rem;pointer-events:none}.quest-pill,.counter{background:#102b50d9;color:#fff;border:1px solid #ffffff30;border-radius:15px;padding:.6rem .85rem;box-shadow:0 8px 25px #07152f4d;backdrop-filter:blur(10px);font-weight:800}.quest-pill small{display:block;font-size:.6rem;color:#9fd9ee;letter-spacing:.1em}.counter{margin-left:auto;font-size:1.2rem}.pause-btn{pointer-events:auto;width:46px;padding:.5rem;background:#fff;box-shadow:0 4px #aebdcb}.minigame-fab{position:absolute;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));font-size:1.35rem}.prompt{position:absolute;bottom:16%;left:50%;transform:translate(-50%);background:#102b50e8;color:#fff;padding:.65rem 1rem;border-radius:15px}.toasts{position:absolute;right:18px;top:88px;display:flex;flex-direction:column;gap:.5rem}.toast{padding:.75rem 1rem;border-radius:14px;background:#fff;color:var(--navy);box-shadow:0 9px 30px #08182c66;animation:toast-in .35s}.toast.achievement{background:#ffd561}.toast.save{font-size:.75rem;background:#ddf5e9}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:1rem;background:#07172ba8;backdrop-filter:blur(8px)}.panel{color:var(--navy);background:linear-gradient(145deg,#fffdf6,#eaf3f5);box-shadow:0 25px 80px #06152c99}.modal-panel{position:relative;width:min(94vw,580px);max-height:90vh;overflow:auto;border-radius:28px;padding:2rem;display:flex;flex-direction:column;gap:.8rem}.modal-panel h2,.modal-panel h3{font-family:"Baloo 2";margin:.2rem 0}.close{position:absolute;right:14px;top:14px;padding:.3rem;width:38px;height:38px;border-radius:50%;font-size:1.5rem}.list{display:grid;gap:.5rem}.list>div{display:flex;gap:.7rem;align-items:center;background:#fff;padding:.6rem;border-radius:13px}.list small{display:block;color:#61758b}.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}.game-card{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center}.game-card span{font-size:2rem}.minigame{text-align:center;min-height:300px}.big-emoji{font-size:5rem}.ball-bounce{animation:bounce 1s infinite}.scoreline{font-weight:900;margin:1rem}.back{align-self:flex-start;padding:.4rem .8rem}.memory-grid,.puzzle-grid{display:grid;grid-template-columns:repeat(3,72px);gap:9px;justify-content:center;margin:1rem}.memory-grid button,.puzzle-grid button{height:72px;font-size:2rem;padding:0}.puzzle-grid button{background:#4a8bbc;color:#fff}.puzzle-grid .empty{visibility:hidden}.toy-row{display:flex;justify-content:center;gap:.5rem}.toy-row button{font-size:2rem}.toy-box{margin:1.5rem auto;border:4px dashed #65a15c;padding:2rem;width:70%;border-radius:20px}.lava-track{display:flex;justify-content:center;gap:.5rem}.lava-track button{font-size:1.5rem}.lava-track .passed{background:#a9df9f}.room-code{font-size:2.5rem;letter-spacing:.2em;font-weight:900;color:#286fa8;text-align:center;background:#dceef8;padding:1rem;border-radius:18px}.emotes,.poses{display:flex;gap:.5rem;flex-wrap:wrap}.emotes button{font-size:1.5rem}.modal-panel input,.modal-panel select{padding:.7rem;border:2px solid #c2d2df;border-radius:12px}.modal-panel label{display:flex;justify-content:space-between;align-items:center;gap:1rem}.collection-grid,.badge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.collection-grid span,.badge-grid span{display:flex;flex-direction:column;text-align:center;filter:grayscale(1);opacity:.4;background:#fff;border-radius:13px;padding:.7rem}.collection-grid span,.badge-grid .earned{filter:none;opacity:1}.fatal{gap:1rem}.fatal button{margin:auto}.debug-panel{position:absolute;left:8px;bottom:8px;margin:0;padding:8px;background:#000c;color:#7dff9c;font:12px monospace;pointer-events:none}.touch-controls,.rotate-hint{display:none}@keyframes breathe{50%{transform:scaleY(1.02) translateY(-2px)}}@keyframes float{50%{transform:translateY(-12px) rotate(10deg)}}@keyframes toast-in{0%{transform:translate(120%);opacity:0}}@keyframes bounce{50%{transform:translateY(-12px) rotate(12deg)}}@media(max-width:760px){.menu-screen{grid-template-columns:1fr}.menu-scene{position:absolute;inset:0;opacity:.38}.menu-card{margin:auto;width:min(92%,470px);max-height:96%;border-radius:26px}.menu-card .logo{padding:.5rem}.menu-card h1{margin:.2rem 0 .7rem}.menu-buttons{gap:.45rem}.menu-buttons button{padding:.62rem}.touch-controls{display:flex;position:absolute;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));justify-content:space-between;align-items:end;pointer-events:none}.touch-controls button{pointer-events:auto;width:54px;height:54px;padding:0;border-radius:50%;opacity:.75;touch-action:none}.dpad>button{display:block;margin:auto}.dpad div{display:flex;gap:4px}.action-buttons{display:flex;gap:8px;align-items:end}.action-buttons button:nth-child(2){width:68px;height:68px;background:#ffd04c}.quest-pill{max-width:55%;font-size:.78rem}.toasts{left:50%;right:auto;top:84px;transform:translate(-50%);width:82%;align-items:center}.toast{text-align:center}.minigame-fab{bottom:100px}.collection-grid,.badge-grid{grid-template-columns:repeat(2,1fr)}}@media(orientation:portrait)and (pointer:coarse){.game-shell .rotate-hint{display:flex}.rotate-hint{position:fixed;z-index:50;inset:0;background:#102b50ee;color:#fff;align-items:center;justify-content:center;flex-direction:column;font-size:4rem}.rotate-hint b{font-size:1rem;margin-top:1rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
