:root{font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:#f6fbff;background:#06113b;font-size:16px;--cyan:#2cd4ff;--purple:#806cff;--panel:#10235f;--line:rgba(151,206,255,.24);--shadow:0 22px 50px rgba(0,0,25,.34)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:300px;background:radial-gradient(circle at 12% 12%,#173a80 0,transparent 25%),radial-gradient(circle at 85% 20%,#302a84 0,transparent 30%),linear-gradient(160deg,#06113b,#0a1c50 55%,#09133d);min-height:100vh}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.35;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:46px 46px}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:4px solid #ffe35c;outline-offset:4px}.world-header{min-height:80px;padding:10px max(3%,calc((100vw - 1400px)/2));display:flex;align-items:center;gap:16px;background:rgba(5,15,52,.86);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.back-home,.parent-button,.lang-button{border:1px solid var(--line);background:rgba(255,255,255,.08);border-radius:15px;min-height:44px;padding:10px 14px;font-weight:800}.back-home{display:flex;align-items:center;gap:8px}.back-home span{font-size:1.4rem}.world-brand{display:flex;align-items:center;gap:10px}.brand-planet{font-size:2.4rem;filter:drop-shadow(0 0 12px #2cd4ff)}.world-brand strong,.world-brand small{display:block}.world-brand strong{font-size:1.35rem}.world-brand small{color:#76dfff}.player-stats{margin-inline-start:auto;display:flex;gap:8px}.player-stats span{background:#112c70;border:1px solid var(--line);padding:9px 12px;border-radius:14px}.parent-button,.lang-button{border:1px solid #527dcc}.lang-button{color:#71dcff}main{max-width:1400px;margin:auto;padding:28px}.view{display:none}.view.active{display:block}.world-hero{min-height:430px;border:1px solid var(--line);border-radius:36px;overflow:hidden;position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:radial-gradient(circle at 72% 50%,rgba(62,230,255,.38),transparent 18%),linear-gradient(120deg,rgba(21,63,133,.9),rgba(59,41,136,.82));box-shadow:var(--shadow)}.world-hero:before{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(103,223,255,.35);border-radius:50%;left:-110px;bottom:-180px}.hero-copy{padding:50px 7%;z-index:3}.eyebrow{display:inline-block;color:#6ce7ff;background:rgba(13,26,81,.72);border:1px solid #3f8fb6;padding:8px 13px;border-radius:16px;font-weight:900}.hero-copy h1,.lab-hero h1,.parent-hero h1{font-size:3rem;line-height:1.25;margin:18px 0 10px}.hero-copy h1 small{display:block;color:#67dcff;font-size:1.35rem;margin-top:8px}.hero-copy>p,.lab-hero p,.parent-hero p{font-size:1.2rem;line-height:1.8;color:#d8e9ff}.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.hero-badges span{background:rgba(3,15,51,.62);border:1px solid var(--line);padding:10px 13px;border-radius:16px}.hero-scene{height:430px;position:relative}.hero-scene img{height:115%;position:absolute;bottom:-20%;left:26%;z-index:2;filter:drop-shadow(0 18px 25px rgba(0,0,20,.5))}.portal-ring{position:absolute;left:20%;top:8%;width:320px;height:320px;border-radius:50%;border:20px solid rgba(62,220,255,.28);box-shadow:0 0 40px #2a87ff,inset 0 0 40px #34dfff}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:38px 0 18px}.section-heading span{color:#70ddff;font-weight:800}.section-heading h2{margin:6px 0 0;font-size:2rem}.section-heading p{background:#102b66;border:1px solid var(--line);padding:10px 13px;border-radius:15px;margin:0}.pulse{display:inline-block;width:10px;height:10px;border-radius:50%;background:#4cff9b;margin-inline-end:8px;box-shadow:0 0 12px #4cff9b}.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.portal{min-height:310px;border-radius:28px;padding:25px;text-align:start;border:1px solid rgba(255,255,255,.22);position:relative;overflow:hidden;color:#fff;background:#14255a;box-shadow:var(--shadow)}button.portal{font:inherit}.portal:before{content:"";position:absolute;width:210px;height:210px;border:30px solid rgba(255,255,255,.1);border-radius:50%;inset-inline-end:-105px;bottom:-120px}.portal.open{background:linear-gradient(145deg,#ff5579,#9b316f);border:2px solid #ffb9d0;transition:transform .2s}.portal.open:hover{transform:translateY(-6px)}.brain-portal{background:linear-gradient(145deg,#643b91,#302b71)}.language-portal{background:linear-gradient(145deg,#21799b,#17436f)}.space-portal{background:linear-gradient(145deg,#263d9a,#171b61)}.animal-portal{background:linear-gradient(145deg,#19744f,#174f55)}.robot-portal{background:linear-gradient(145deg,#8c6326,#5b3961)}.portal-icon{display:block;font-size:4.6rem;filter:drop-shadow(0 10px 9px rgba(0,0,0,.25));margin-top:20px}.portal-number{position:absolute;top:20px;inset-inline-end:22px;font-size:1.5rem;font-weight:900;color:rgba(255,255,255,.55)}.available{position:absolute;top:20px;inset-inline-start:22px;background:#fff;color:#a1275b;padding:7px 11px;border-radius:13px;font-size:.82rem;font-weight:900}.lock{position:absolute;top:20px;inset-inline-start:22px;background:rgba(0,0,0,.25);padding:9px;border-radius:50%}.portal h3{font-size:1.45rem;margin:14px 0 8px}.portal p{line-height:1.65;color:#e3ecff;margin:0 0 20px}.portal>b{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);padding:10px 14px;border-radius:14px}.portal.open>b{background:#fff;color:#8c2854}.portal.locked{filter:saturate(.65);opacity:.78}.view-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.back-view{border:1px solid var(--line);background:#112b68;border-radius:15px;padding:11px 17px}.lab-chip{color:#70ddff;background:#10285f;border:1px solid var(--line);padding:10px 14px;border-radius:15px;font-weight:900}.lab-hero{min-height:310px;border-radius:32px;display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px 7%;background:linear-gradient(125deg,#70295f,#cf3c6c);box-shadow:var(--shadow)}.lab-hero>div:first-child{max-width:760px}.lab-orb{font-size:8rem;filter:drop-shadow(0 12px 14px rgba(0,0,0,.28))}.lab-actions{display:flex;flex-wrap:wrap;gap:12px}.primary-link,.secondary-button{border:0;border-radius:16px;padding:14px 20px;font-weight:900}.primary-link{background:#fff;color:#9a2e62}.secondary-button{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.4)}.game-status{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.game-status>div{background:#10245c;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;align-items:center;gap:13px}.game-status>div>span{font-size:2rem}.game-status p{margin:0}.game-status b,.game-status small{display:block}.game-status small{color:#a9c9e9;margin-top:4px}.compact{margin-bottom:15px}.level-list{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.level-card{min-height:215px;padding:20px;border-radius:24px;background:#10255e;border:1px solid var(--line);position:relative;display:flex;flex-direction:column}.level-card.open{background:linear-gradient(155deg,#1c91b9,#18507f);border:2px solid #67e3ff}.level-index{position:absolute;top:15px;inset-inline-end:16px;color:#8cb7de;font-weight:900}.level-icon{font-size:2.8rem;margin:16px 0}.level-card small{color:#9fc5e9}.level-card h3{font-size:1.08rem;line-height:1.5;margin:7px 0}.level-card b{color:#ffe268}.level-state{margin-top:auto;background:rgba(255,255,255,.13);border-radius:12px;padding:8px;text-align:center}.organ-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.organ-tile{min-height:190px;border-radius:24px;background:linear-gradient(145deg,color-mix(in srgb,var(--organ) 35%,#10235f),#10235f 65%);border:1px solid color-mix(in srgb,var(--organ) 65%,white);display:flex;flex-direction:column;align-items:flex-start;padding:20px}.organ-tile>span{font-size:3.2rem}.organ-tile strong{font-size:1.35rem;margin-top:10px}.organ-tile small{color:#c5dbf1;margin-top:5px}.organ-tile b{margin-top:auto;background:rgba(255,255,255,.14);padding:8px 12px;border-radius:12px}.parent-hero{min-height:280px;padding:38px 7%;border-radius:30px;background:linear-gradient(130deg,#126f9a,#263f91);position:relative;overflow:hidden}.parent-hero>div{max-width:700px}.parent-hero img{position:absolute;height:135%;bottom:-35%;inset-inline-end:7%}.time-settings{margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;color:#0b275c;border-radius:24px;padding:22px}.time-settings h2,.time-settings p{margin:0}.time-settings p{color:#5d7596;margin-top:5px}.time-options{display:flex;align-items:center;gap:8px}.time-options button{border:1px solid #bdd8ed;background:#eaf6ff;color:#174875;border-radius:14px;padding:11px 17px;font-weight:900}.time-options button.selected{background:#1676df;color:#fff}.time-options span{color:#5d7596}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.dashboard-grid article{background:#10245c;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;align-items:center;gap:13px}.dashboard-grid article>span{font-size:2rem}.dashboard-grid p{margin:0}.dashboard-grid small,.dashboard-grid b{display:block}.dashboard-grid small{color:#a9c9e9}.dashboard-grid b{font-size:1.5rem;margin-top:5px}.review-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.review-panel>div{background:#fff;color:#102c64;border-radius:22px;padding:20px;display:flex;gap:14px;align-items:center}.review-panel>div>span{font-size:2.2rem}.review-panel p{margin:0}.review-panel b,.review-panel small{display:block}.review-panel small{margin-top:6px;color:#607998;line-height:1.5}dialog{width:min(720px,calc(100% - 24px));max-height:90vh;overflow:auto;border:1px solid #6acfff;border-radius:28px;background:#0f2258;color:#fff;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.55)}dialog::backdrop{background:rgba(1,6,25,.75);backdrop-filter:blur(5px)}.dialog-close{position:sticky;float:inline-end;top:12px;margin:12px;background:#fff;color:#173064;border:0;border-radius:50%;width:42px;height:42px;font-size:1.5rem;z-index:3}.organ-detail{padding:35px}.detail-icon{display:grid;width:90px;height:90px;place-items:center;border-radius:26px;background:color-mix(in srgb,var(--organ) 35%,#14255a);font-size:4rem}.kicker{color:#7de3ff;font-weight:900}.organ-detail h2{font-size:2.2rem;margin:8px 0}.explanation{font-size:1.15rem;line-height:1.9;color:#d9e8ff}.voice-row{display:flex;flex-wrap:wrap;gap:10px}.voice-row button,.hint-button{background:#193873;border:1px solid var(--line);border-radius:14px;padding:11px 15px}.question-box{background:#091945;border:1px solid var(--line);border-radius:22px;padding:22px;margin-top:22px}.question-box small{color:#76e5ff;font-weight:900}.question-box h3{font-size:1.4rem}.answer-list{display:grid;gap:9px}.answer-list button{text-align:start;background:#152f68;border:1px solid #385b93;border-radius:13px;padding:12px}.answer-list button.correct{background:#176d52;border-color:#4bdf9c}.answer-list button.wrong{background:#79364e;border-color:#ff809a}.hint-button{margin-top:12px}.success-text{color:#6fffb0;font-weight:900}.question-box p{line-height:1.7}footer{text-align:center;padding:34px;color:#9bc2e5}footer small{display:block;margin-top:5px;color:#5f89b7}
@media(max-width:1050px){.parent-button span{display:none}.portal-grid{grid-template-columns:repeat(2,1fr)}.level-list{grid-template-columns:repeat(3,1fr)}.organ-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.world-header{gap:7px;padding:9px 10px}.back-home b,.player-stats span:nth-child(1),.player-stats span:nth-child(3){display:none}.world-brand strong{font-size:1rem}.brand-planet{font-size:1.8rem}.player-stats{margin-inline-start:auto}.parent-button,.lang-button{padding:8px}.world-header{position:static}main{padding:14px}.world-hero{grid-template-columns:1fr;min-height:600px}.hero-copy{padding:32px 24px;align-self:start}.hero-copy h1,.lab-hero h1,.parent-hero h1{font-size:2.15rem}.hero-scene{height:300px}.hero-scene img{height:125%;left:20%}.portal-ring{width:230px;height:230px;left:18%}.section-heading{align-items:flex-start}.section-heading p{font-size:.78rem}.portal-grid{grid-template-columns:1fr}.portal{min-height:275px}.lab-hero{padding:30px 24px}.lab-orb{display:none}.game-status{grid-template-columns:repeat(2,1fr)}.level-list{display:flex;overflow-x:auto;padding-bottom:10px}.level-card{min-width:210px}.organ-grid{grid-template-columns:repeat(2,1fr)}.organ-tile{min-height:175px}.parent-hero{padding:28px 22px;min-height:340px}.parent-hero>div{position:relative;z-index:2}.parent-hero img{height:75%;opacity:.45}.time-settings{align-items:flex-start;flex-direction:column}.time-options{flex-wrap:wrap}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.review-panel{grid-template-columns:1fr}.organ-detail{padding:24px 18px}.answer-list{grid-template-columns:1fr}}
@media(max-width:420px){.world-brand small{display:none}.parent-button{display:none}.game-status,.organ-grid,.dashboard-grid{grid-template-columns:1fr}.hero-badges span:nth-child(3){display:none}}
@media(prefers-reduced-motion:no-preference){.view.active{animation:fade .3s ease}.portal-icon,.brand-planet{animation:float 3.2s ease-in-out infinite}@keyframes fade{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-8px)}}}

.cartoon-gate{display:flex;align-items:center;gap:20px;padding:22px 26px;margin-bottom:24px;background:linear-gradient(125deg,#ffe6b4,#ffc57c);color:#143a5f;border-radius:24px;text-decoration:none}.cartoon-gate>span{font-size:3rem}.cartoon-gate h2{margin:0 0 7px}.cartoon-gate p{margin:0;line-height:1.6}.cartoon-gate>b{margin-inline-start:auto}.cartoon-gate:focus-visible{outline:4px solid #fff;outline-offset:4px}@media(max-width:540px){.cartoon-gate{padding:18px;gap:12px;flex-wrap:wrap}.cartoon-gate p{font-size:.8rem}.cartoon-gate>b{font-size:.9rem}}
.mother-gate{background:linear-gradient(125deg,#ffe4ee,#f5a8c5);color:#642b48}
